« first day (1702 days earlier)      last day (2281 days later) » 

04:04
@sockevalley Hey, I am here only :D
@Ramona I am not dead yet. I am still alive ;) How are you Ramona?
04:15
heollo
how to get image size for android , for example img1.jpg , img1.jpg=12kb;
any idea this my question please share your idea
i think understand my question
is the image present locally? or coming from server?
how to get image memory size for android any one this question answer please share ...
04:49
@Shubhank @Shivaay @BoominadhaPrakashM @ColdFire @Duggu @Erum @GurpreetKaur @HimanshuJoshi @RobinHood @SweetWisherツ @ALL "Good Morning Friends :)"
Good Morning
05:17
Good morning :)
Good Morning Friends!!!
Good morning
Any one has used [UIView animateKeyframesWithDurationUIView animateKeyframesWithDuration] ?
05:55
@iShwar Good morning :)
@Shailesh thanxx...cookies issue done
using Application class
06:22
Good MornNoons :)
@iShwar Good morning iShwarbhai
06:32
any one know about user of .otf fonts in kotlin without typeface method?
07:08
@AshishKakkad hi bro, how are you..
07:22
hello
any hybrid Developer is there??
i want to create Fingure Crop Functionality in my ionic App
any one can help me?
?
crop image via fingure
how to play m4a audio file in android ?
as its not playing in chrome and using android mediaplayer code too
how to handle this
@RobinHood
07:37
from url?
how can i install node,npm,peer,socketio into live server like amazonws or microsoft azure?and also how can it run automatically.For ex: we running our local system command prompt node server.js how can i run these command automatically on live server?
@Shailesh
url is from our server of AMAZON
@RobinHood
08:26
0
Q: We want to use the Rocket.chat with our own server instead of open.rocket.chat some how we are not able to go ahead

iShwarWe want to use Rocket.chat app with our server (domain) instead of open.rocket.chat, but when we replaced the open.rocket.chat with our server URL we are getting the error as below... [WebSocket] did disconnect with error (Optional(Error Domain=WebSocket Code=400 "Invalid HTTP upgrade" UserInfo...

@Shubhank @Shivaay @BoominadhaPrakashM @AshishKakkad @ColdFire @Duggu @Erum @GurpreetKaur @HimanshuJoshi @RobinHood : Hi friends please any one could help me on this, I am after the same issue since yesterday, not able to get anything relevant or reliable ..
 
1 hour later…
09:39
hiya
10:00
@MukeshRana mUkesh THE BIg troll, how ya doing
Hey, sup? I am good lol
haha it's alright, getting really pissed at android studios atm
there is no way to position your menu items in your toolbar and no one brings up how to do that
hahaha.. It was created for pissing off developers lol
lol i totally understand that. I mean doing logic is fine but designing is like css x3
it's so idiotic that they don't cover on how to position menu items in menu.xml
positioning always start from the right, no way to move it to the left until unless you create your own toolbar layout
10:04
ANYONE pls tell me how can i play m4a audio file using mediaplayer in android ?
what's the problem with that? You don't have to do anything extra, you can simply play that
no no its only playing audio in safari browser
while this file is not playable in Chrome too
firefox too
and media player is also not playing this extension file
@MukeshRana I have my own toolbar layout style
@Erum post media url.
@Erum then that's not actually .m4a file. It's just a file extension but with different encoding codecs
@sockevalley I mean you don't have to use the menu items instead your own icons that you can place anywhere
10:10
@MukeshRana Okej so you say that I should place the items within my toolbar in the activity.xml file?
yeah if you want to fully customize the positions
dammit lol
hahaha
would i still need to do this?
getMenuInflater().inflate(R.menu.menu, menu);
One thing I learn in android is that everything is possible lol
10:13
in my onCreateOptionsMenu?
@sockevalley nope not at all, if you defining your own icons inside your toolbar layout.
oki, I see. Gonna try this shit
btw how's the design for your toolbar? you can share the screenshot only then I can tell you the better way
but menu item start from right then I think there shouldn't be issue with positioning.
@MukeshRana I can send a photo in a sec
10:15
sure npp
@RobinHood He might want to place that on the left. who knows lol. that's why I asked for the screenshot
He :( handover :P
so I guess this can be your problem
4
Q: Add checkbox on a menu item in ActionBar

Amay DiamI have a problem in my action bar. I'm trying to add a checkbox on a menu item in ActionBar, but it does not work. It only shows the title of the checkbox. This is my menu.xml: <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-aut...

@MukeshRana should I group them?
10:23
setAudioStreamType: 3 what should i do for this warning @RobinHood @MukeshRana
@sockevalley Frankly speaking I never placed a checkable item in toolbar/actionbar, so I am not sure about the problem but if your problem is same as the above question, you should group them
@Erum I really dont' understand your problem. Can you explain a bit what you have been trying?
@MukeshRana ty man. Have you ever used android:actionLayout?
Nope :(
:(
@MukeshRana lol I have this:
Toolbar toolbar = (Toolbar) findViewById(R.id.action_bar);
setSupportActionBar(toolbar);
and in within my toolbar I added a <Switch> but it doesnt appear lol
10:47
lol now it kinda works. I manage to get the switch up. However
Switch actionView = (Switch) findViewById(R.id.mySwitch);
this one becomes null though:S
@sockevalley you need to use toolbar object to initialize that Switch
ty @Ninja gonna try it
like this

Toolbar toolbar = (Toolbar) findViewById(R.id.action_bar);
setSupportActionBar(toolbar);
Switch actionView = (Switch) toolbar.findViewById(R.id.mySwitch);
@sockevalley good luck
@Ninja one question though. Is it through that if you seperate your toolbar items to menu.xml file where they're all are <items>. Then there is no further way to position them, only change the order from which they appear to the right hand side?
10:55
@Erum are you using this?
i m thinking to use
is this good ?
because my exoplayer is changing my video orientation at the time of play
@sockevalley by using menu you can use only menu item only but if you create custom layout and set into Toolbar in ActionBar then you need to use toolbar object to initialize your control
@sockevalley you can try that group solution, may be that can help
check this and judge yourself, there are couple of question which are unanswered, so make sure that same problem will not occure to you else you will latak jayegi :P
https://github.com/tcking/GiraffePlayer2/issues
oh
thanks
@RobinHood
11:02
@MukeshRana I did everything locally within the toolbar. Thanks to @Ninja I was managed to get the function to work properly with the switch. Ty so much Ninja. I was finally able to learn this. Been stuck with the toolbar for over 24h. If I would like a text to the right or left side of the Switch, can I simply just use the title/text within the Switch or do I need to create a seperate textView within the <Switch>?
oh so you created your own toolbar layout?
@RobinHood exoplayer video complete listener kese mlyega ?
exoplayer??
yes
Ask Rahul, he has used that
11:06
@MukeshRana yeah exactly.
Rahul is not here can u call him here @AnshulTyagi
I can ask you to go
hi anyone know about jenkins
I have an doubt in it
Jenkins dead but pid file exists
@Ninja I suspect that my switch statements in onOptionsItemSelected(MenuItem item) will no longer function eh? I guess I have to do each menu button manually like I initialized the switch right?
i installed videochat from here(https://github.com/ourcodeworld/videochat-peerjs-example) successfully on my local system
Now i want to check into live server so i need to host into linux Server like amazon ws or microsoft azure.
Is it possible to host? and using command prompt we running( node website-server.js and node peer-server.js )manually.but,
how wiLl it run on live server automatically on live server and also how can i install all npm and peer js into live?
please help me how to do this?
11:11
@sockevalley you can do as per your requirement because possible to create toolbar with menu also
12
Q: How to set menu to Toolbar in Android

Dr.NoBodyI want use ToolBar instead of ActionBar, but don't show me menu in toolbar!!! i want set menu such as Refresh or Setting buttons in ActionBar. Please show this link for my problem image : Image Link Toolbar.xml code : <?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.Toolbar ...

@Ninja ok, I did like that before but that didn't allow me to position the items.
@Ninja Hmm, lol when i add android:text="something" to my <Switch>. Nothing appears. Why could that be? Could my layout_width and height be to little? or is my marginLeft: 160dp pushing the text away?
@sockevalley you are doing something wrong
what's your xml for switch?
@MukeshRana happy u back :)
@sockevalley you wanned Mukesh, there he is ;)
magic ;)
11:22
;)
@sockevalley may be your android:layout_width is too less
hello Ninja :) nice avatar :)
@Ninja, it was the width ^^
@Ramona yup ;)
@sockevalley use suggest you that use wrap_content and for space between text and switch use this property switchPadding
Ty so much @Ninja you're a legend;)
11:28
welcome
@Ninja but we're far from done ;) just kidding, I had this in my menu items as well:
<item
android:id="@+id/logout_action"
android:icon="@drawable/ic_exit_to_app_black_48dp"
android:title=""
app:showAsAction="always" />
What type of tag should it have within the ToolBar? ImageButton? Button? It is a signout button more or less. I'm using a icon from material design.
its depend on your layout
@Ninja https://imgur.com/a/YVA1J
it looks like that atm, the icon that is. Probably gonna replace it with a white icon.
I believe I can place the icon within a button but dunno was the prettiest
@sockevalley cool (Y)
@Ramona I was here all the time though not on this particular group :D How are you btw?
Right now i m playing video using exoplayer .... with its controller like play pause etc
on video finished
its controller is still showing pause option and tapping on it is doing nothing
while my requirement is on video finish it should show Play button of controller and tapping on play will play video again from scratch
how will i do this @MukeshRana
11:39
@MukeshRana doing good, "from bug to bug" i can say :)
@Ninja any thought of the image?
@sockevalley simple if yo are using your custom layout then don't use menu just set that in your layout
that it
@Ninja What do you mean?
I was asking which type the button should be. ImageButton or Button? The issue with dealing with these is that they work with android:src and put the icon on top of a button or something.
there is no any issue with Button, ImageButton but Button don't have src
i suggest you that use imageview and set image on that
as you want
@Ninja I did some googling and it seems that ImageView was most sutiable.
https://stackoverflow.com/questions/33450657/how-to-add-icon-image-button-in-android-studio
Haha
11:51
:P
12:14
@Ninja One question regarding the projectname that is usually displayed in the toolbar. For the time speaking it is not showing since the other menu items are taking up to much space I think. How to I inforce to title? I know that items can have: app:showAsAction="always". But how do you do with the text?
@Erum there must be some listeners for video completion in exoplayer
@Ramona that's good. You are growing up gradually technically then :D
yes i added that listener but this is getting called twice ?
@MukeshRana
then you need to debug that
or not sure if that's the general behaviour
@MukeshRana
@RobinHood can u pls point me how to reoslve ?
10
A: How to restart video on Exoplayer after ExoPlayer.STATE_ENDED

Hugo GresseI've updated the library to ExoPlayer r1.4.2 and it does the job... mPlayer.seekTo(0); mPlayer.setPlayWhenReady(true); // replay from start // Pause video after restart mPlayer.seekTo(0); mPlayer.setPlayWhenReady(false);

i comment here
Hi All
@Erum debug
I have some doubt regarding swift singleton
12:47
@RobinHood
chuche
@AndroidExpert hahaha.. chucha
maine bola to deja chu hoga
hahah
12:52
@AndroidExpert hi
@Erum I haven't worked with ExoPlayer but I guess you can find the issue by merely debugging or reading the documentation
@RobinHood yes?
@MukeshRana Displaying Map inside DialogFragment, on first attempt its showing but on next attempt getting error as duplicate entry.
Even I removed the fragment onDestroy.
@RobinHood this is a very common problem as far as I know. Let me google the solution for you
btw by error you meant to say crashing?
Let me check my old codes where I have implemented this map thing. It's being a while I have worked on Maps but I do know that I have faced this issue in the past
not able to find
but I guess I found the problem in your code
13:12
and the problem is?
your SupportFragment is coming out to be null in your onDestroyView
it's not getting removed
can you please debug that
SupportMapFragment f = (SupportMapFragment) getParentFragment().getChildFragmentManager().findFragmentById(R.id.map);
this is how you should get that
1 min
same way you did in the onCreateView
Previously I was getting duplicate Id error so I added onDestoryView code
and after adding that code its give java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
and there is no null.
OnDestroyView code is fine I believe that has to be added when you are dealing with MapFragment inside a Fragment
13:17
yep showing map inside DailogFragment
getFragmentManager().beginTransaction().remove(f).commit()
Its return me -1.
did you defined the SupportMapFragment in xml?
<fragment
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
Last I remember is they said you shouldn't add SuppportMapFragment directly inside the xml if you are using that inside a Fragment instead you should dynamically add that
but anyhow it's been a long time I have worked on Map things
so let me look for the code again
:P ok
hold on.. with fragment same thing is working fine, problem with DialogFragment
13:22
yep
then the problem is with how you are getting the SupportMapFragment instance
you are not doing that right way
@MukeshRana let me check again
yeah its working fine with fragment
can you try this code
just comment the code inside onDestroyView
ok
this time on second attempt getting
Binary XML file line #0: Duplicate id 0x7f0800b4, tag null, or parent id 0xffffffff with another fragment for com.google.android.gms.maps.SupportMapFragment
First Attempt#
Open the dialogFragment
Back Press to close.
Next time try to open dialogFragment it crashed with above error
Then I have to say that I need to try myself inside DialogFragment before suggesting any solution lol
13:28
:D
you can try today, if you didn't get any solution, I will create a demo project for the same tomorrow
 
1 hour later…
14:38
hello All
Ranjit here
Has anyone faced, issues with statusBar color on iOS 11 due to safearea layout guidelines
?
Hello all,
Can somebody help me with httpclient and Android Nougat 7.0 ?
@Pascal what?
When I Postasync with nativemessagehandler with wifi off, it takes few minutes before i get an Status: 200 OK back.
But I dont know why
Here is my question, I Dont know what am I doing wrong:
https://stackoverflow.com/questions/47268702/xamarin-forms-httpclient-lte-too-slow?noredirect=1#comment81540497_47268702
15:04
@Ninja :) can i somehow set the second id xml (textView4) to this line text = view.findViewById(R.id.textView);?
:( busy
so i can later display them both in one code text.setText(stringValue);
not getting ?
no problem :)
okay
15:07
i will ask @sockevalley :)
@Ninja can you help me later too?
15:21
@Pascal sure, i will try
@Ninja Thanks!
 
2 hours later…
16:57
@Ramona back now, what's up?
17:21
hi @sockevalley :)
hiho :)
one sec :)
public Fragment1(String title, String info, String question, int imageView, String[] rb) is this correct? or too many parameters?:) here is the layout imgur.com/a/Yezgp
The design looks good :)
I think the parameters shouldn't matter, it all depends on the matter
one more thing... :)
is something not working properly? :)
17:30
i need to add two more Strings and call in else statement
and wonder if i can add one extra xml string to this line text = view.findViewById(R.id.textView);
or i have to create two extra lines text1 = view.findViewById(R.id.title);
and text1 = view.findViewById(R.id.question);
and later call another two times text.setText(textView1); and text.setText(textView3);
Have you tried that approach?
will try if you say it's correct way and there isnt any simpler way :)
sounds like it should work :P
:)
if you say so.. :)
17:46
@Ramona I'm no expert. I am self trying to figure out to display my toolbar label haha
18:06
posted on November 16, 2017 by Android Developers

Posted by Wojtek Kalicinski, Android Developer Advocate, Akshay Kannan, Product Manager for Android Authentication, and Felipe Leme, Software Engineer on Android Frameworks Starting in Oreo, Autofill makes it easy for users to provide credit cards, logins, addresses, and other information to apps. Forms in your apps can now be filled automatically, and your users no longer have to remember com

18:36
Hello All
Can anybody help me with this
0
Q: iOS 11 and StatusBar issue.(Xcode 9)

RanjitHello I updated to new Xcode 9 and started using safeAreaLayout guide to support iphone X. From xib, I just used safeAreaLayout guide and adjusted by top and bottom constraints to safeArea. Here is what I got iphone X (iOS 11) iphone 6 (iOS 11) As you can see my custom navigation bar is dow...

 
3 hours later…
21:08
posted on November 16, 2017

Enable your watchOS apps to connect anywhere and anytime, even without a phone nearby, by updating for watchOS 4 and Apple Watch Series 3. Take advantage of increased performance, new background modes for navigation and audio recording, built-in altimeter capabilities, direct connections to accessories with Core Bluetooth, and more. In addition, the size limit of a watchOS app bundle has increa


« first day (1702 days earlier)      last day (2281 days later) »