« first day (1523 days earlier)      last day (1952 days later) » 

3:21 AM
!!hang love
 
 
6 hours later…
9:00 AM
@AshuKumar Something went wrong !! but is finally back
 
 
3 hours later…
11:52 AM
Hi
 
 
3 hours later…
2:41 PM
Hello anybody there??
I am using Firebase Cloud Messaging in my android app, I wanted to ask: Is it a problem if I try to subscribe to a specific topic multiple times from a same client?
I want to put this in onCreate of MainActivity, is it good? FirebaseMessaging.getInstance().subscribeToTopic("global");
 
3:28 PM
!!sayyo
 
Heyo All
 
Joe
hi
I have a quez
 
Yes
Remember Java != JavaScript like Car != Carpet
 
4:05 PM
Hi guys, i have a question - I want to use animationdrawable with a function as follows:
random image
background color
random image
background color

Is is possible to use AnimationDrawable with randomly picked images?
 
4:28 PM
@tigercode I would use XML drawable instead with animation-list as parent node.
 
@TheLittleNaruto I'm really new to android, so sorry for my noob-questions - can you be a bit more detailed?
 
Ok, Do you know what is XML drawables ?
 
Not shure - have googled asap and found that for example: vogella.com/tutorials/AndroidDrawables/article.html
 
@tigercode Perfect!
Go through it, you'll find your destiny.
 
4.3 ... it's getting warm?
 
4:42 PM
I am not sure if I understand you...
 
In the tutorial im meant the point 4.3 - because I havent understood the diefference between an XML Drawable and an Animation Drawable (which Items are stored in a xml)
 
I would suggest go through the whole tutorial for better understanding, Dont rush as you're just a beginner!
 
ok. thank you!
 
Good boy
 
@TheLittleNaruto I carefully read through this, but I have no Idea to combine the stuff there with randomization of showing images - animationdrawable seems to work through a list from 1 to X, but has no ability to show a random image with a specific duration.
 
4:55 PM
@tigercode check 6. AnimationDrawables
 
Yeah, and this plays: phase1, phase2, phase3, each 400ms, in an infinite loop
 
Isn't it what you wanted ?
 
random is my big wish / challenge
 
I've already implemented this (-> 79 images pool) - new challenge: don't display 1,2,3 ... 78,79, but display: 50, 3, 9, 27, 37 -> everytime i press the button (or start with the activity), the order is different
 
5:00 PM
That is just array of images which your animation drawable should accept
 
and here is it more challenging, for example to work with "setimageresouce" and pick it with a random number (I've done that with getResourceId and an array), but this only changes one image and shows no animation
 
I am really sleepy....
my eyes can't keep up
Can you ask tomorrow ?
 
of course
 
thanks
And good night
 
Good night!
 

« first day (1523 days earlier)      last day (1952 days later) »