« first day (847 days earlier)      last day (2628 days later) » 

5:04 AM
@rekire lol
 
6:03 AM
Good morning guys :)
 
posted on March 04, 2015

New Cyanide and Happiness Comic

 
6:21 AM
good morning guys
@TheLittleNaruto PlayServices 7.0 are out, and that sloves properbly one issue
 
vgm @rek
 
@rekire @TheLittleNaruto goede morgen
 
@ChintanRathod fast ;) guten morgen :-D
 
The one with conflict of play services for wearables
 
@TheLittleNaruto that one that I need the read accounts permission for getting a oauth token
 
6:32 AM
@rekire :)
actually i had a session of dutch language learning last sat..
 
Anyone having idea for how to implement loading animation with images with five small round images initially in normal state and after 3 sec first image will get change as in active state. After 3 second second image and so on.
after 5th image again all the images becomes normal and same process starts

@TheLittleNaruto
can you help me in this
 
@ChintanRathod in dutch that could be correct, that is a similar language, but still quiet different
 
ohk..
but morgen was right.. :D
 
yes :D
 
@rek FYI: I am about to reach my hometown :)
 
6:38 AM
@TheLittleNaruto oh great how long are you traveling? and how?^^
 
My flight landed last night, then I had to catch a train, I'll be reaching soon. Most probably after 1 hour. :) @rekire
10 days vacation :)
 
@TheLittleNaruto that is great
 
@LuminiousAndroid can't help. I am on phone sorry :(
 
I go to a hackaton tomorrow about wearable programming
 
@rekire yeah it is :)
Nice
 
6:44 AM
Let's hope that I learn there something :-D
 
Who is organizing ? Google guys ?
 
no it is a local developer group
 
@TheLittleNaruto congrats for the holiday.............
 
@rekire do you have got a presentation to give on wearable as you said those are local guys , you might get a chance ?
 
6:46 AM
@Anjali thanks :)
 
@TheLittleNaruto the results should been shown
 
I am losing internet connection as I am on my way :(
@rekire saw the list of people who are organizing
 
@TheLittleNaruto okay no problem have fun :D
 
Yeah I am having fun certainly ;)
 
7:13 AM
Good Afternoon guys.. :)
 
GA Mukesh
I need some hint plzz. if anyone
From a background service, I am starting an activity when certain condition become true. when I finish it, my app is being displayed. while it should not. The app last opened should be shown after finishing activity. Any hints?
@rekire
 
you should do that background things directly in the service not in an activity
 
I have to do some UI stuff, and need user input, so have to use activity for that
 
can you give some less abstract hints what you want to do?
 
Actually, I am making app locker. Service in background checks if app to be locked is in foreground. If yes, then it starts an activity that takes code input. If I try to dismiss that activity by calling finish(), that locked app should be shown.
Instead, my locker app opens up
 
7:26 AM
okay in that case you need to observe app starts in your service... then you start from the service the locker app.
 
I dont start locker app, I just starts one of activity :\
 
I mean that...
 
lol sorry
 
out of my perspective the only complex part is to detect the app start of an locked app.
 
then y do my app opens :( just initializing an activity opens app?
I have already done that dear
 
7:31 AM
yeah sure... you just have to call on your service startActivity(yourIntent); while your intent must have the flag newTask
 
Intent lockIntent = new Intent(ForegroundAppCheckerService.this, LockScreenActivity.class);
lockIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(lockIntent);
this is what I am doing currently
 
that looks fine so far
 
hi @iAnum @rekire
 
@Barun hi
 
hello @Barun what's up
@rekire One more thing I want to tell u if this seems ok. I am launching this service with 2 seconds interval, to check foreground app - Using alarm manager for frequently launching service.
service checks condition, and launches activity if necessary
Intent foregroundAppCheckIntent2 = new Intent(context, ForegroundAppCheckerService.class);
foregroundAppCheckIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
PendingIntent appCheckPI2 = PendingIntent.getService(context, MainActivity.FOREGROUND_CHECK_REQUEST_CODE, foregroundAppCheckIntent2, PendingIntent.FLAG_CANCEL_CURRENT);
this is code for scheduling service launch after every 2 secs
are my flags correct?
 
7:47 AM
@iAnum going good yaar.
 
cool ^
 
back
 
guys, any idea how to create our layout as pdf
 
@iAnum you don't need to restart the service as often AFIK, that should be very bad for performance too. just check that current app in a kind of loop if there is nothing better
 
@rekire I was doing that before. This is not suitable algo in my case since service can be killed anytime by OS. and I want to keep check on apps for good
@Barun what have u searched?
 
7:53 AM
@iAnum normally you should have some callbacks if your app is crashed of if the service will been shutdown, so you can handle that
 
yr rekire :( I have changed logic many times. I am going to be fed up with this app soon
 
yr? what does that mean?
 
buddy
 
^^
 
8:07 AM
I am trying to get location with GPS OFF and WIFI ON but it always returns 0.0 in 5.0.2(Lollipop). isn't possible to get location with GPS OFF in lollipop??
@Duggu
 
8:30 AM
@droid_dev yes but in lolipop i dnt know ?
@droid_dev use last known location and gps provider
 
with gps provider i am getting location but want to get location with network provider and it returns 0.0
@Duggu
 
@droid_dev the play services 7.0 offers a new api to enable gps by code, you asked for that some time ago
 
That's great! This way i can disable after getting the location.
 
2
Q: Android 4.1.2 How to turn off GPS programmatically

GIKOI am trying to switch on GPS by code. The following is the code I've used. String provider = Settings.Secure.getString(context.getContentResolver(),Settings.Secure.LOCATION_PROVIDERS_ALLOWED); if(provider.contains("gps")){ //if gps is enabled final Intent poke = new Intent(); poke.setCla...

 
8:46 AM
How to List all camera images from phone in Android?
 
via content provider check those apis
 
9:09 AM
@rekire please help to get stuff for changing layout into pdf
 
@Barun I never worked with pdfs in android
 
ok.thanks
 
I could just tell you something about LaTeX
 
okay no problem @TheLittleNaruto
 
9:25 AM
@rekire :(
 
@iAnum ?
 
i m getting error WrappedIOException cannot be resolved
 
u didn't tell solution to my problem. u just suggested something else
Intent foregroundAppCheckIntent2 = new Intent(context, ForegroundAppCheckerService.class);
foregroundAppCheckIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
PendingIntent appCheckPI2 = PendingIntent.getService(context, MainActivity.FOREGROUND_CHECK_REQUEST_CODE, foregroundAppCheckIntent2, PendingIntent.FLAG_CANCEL_CURRENT);
this is code for scheduling service launch after every 2 secs
are my flags correct?
if I use this code, are flags correctly set, can u tell me..?
 
@iAnum I see there no problem with... but I did not use services yet... however I would maybe not cancle the current service
 
@rekire ohh okz np :)
@ErumHannan not enough info sis
 
9:28 AM
i m using ObjectSerializer class
and getting this error inside the class error WrappedIOException cannot be resolved
 
debugged?
 
there is some issue of import files
 
umm ok
 
10:07 AM
hii
 
10:21 AM
Hello all
 
@iAnum I tried som examples but all changes in different layout. not in same xml format
 
10:49 AM
I have more than 200 images in server.I need to download all images and show like a video(Image animating .) In iPhone there is a method image animating it it showing all imegs like a video. I have to the same in Android. So could you please anyone help me
 
 
1 hour later…
12:18 PM
Guys does this makes any sense?
Could not find class 'com.codebrew.skoopevents.MainActivity$5$1', referenced from method com.codebrew.skoopevents.MainActivity$5.onClick
I mean it is showing different class names i.e. $5$1 and $5
@rekire @DroidDev
beats @DroidDev to a pony
 
I think its saying that in com.codebrew.skoopevents.MainActivity$5.onClick method(if that really is a class), it is not able to find MainActivity$5$1. Are you starting an intent or something?
 
@MukeshRana that $x just means there is a nested (possible anonymous) class
 
so its the context of MainActivity missing in onClick
 
@DroidDev right
@rekire didn't get you again
 
@MukeshRana if you are using this then you should try MainActivity.this
in onClick()
beats @Mukesh with smiting stick
 
12:24 PM
e.g. class Foo{
Foo foo = new Foo() { void example() {} };
abstract void example();
}
there is a Foo$1 class which is defined in the second line
 
@rekire I am just using the context of MainActivity and not creating its object.
@DroidDev I am using "new OnClickListener()"
 
@MukeshRana you have click listeners if you don't have defined them as a class that are those $ classes
 
@MukeshRana but you are creating a new class in your onClickListener when you are setting a new onclickListener on your view
that creates a new object of OnClickListener
 
@DroidDev right!
 
breaks the stick and spanks @DroidDev
@DroidDev but not of MainActivity
 
12:27 PM
@MukeshRana yes, but anything you write inside that onClickListener is in another class, which is inside MainActivity
when you use this inside listener, it picks context of clickListener instead of MainActivity
and hence the error you are getting
 
I know that.
 
:/
 
turns into titan mode and eats @Mukesh
now spank me from inside :P
lmao!
 
3
Q: Getting TypeNotPresentException followed by ClassNotFoundException or NoClassDefFoundError on All android versions except android L

Mukesh RanaI am getting very interesting bug in one of my apps. My app is working fine on android L, But as soon as i try to run it on other android versions, I am getting ClassNotFoundException or NoClassDefFoundError while trying to call web services using Retrofit, even though all those classes are exist...

causes @DroidDev stomachache
 
12:29 PM
so you didn't shift to eclipse
poops him out
even more lmao!!!
 
-200 WTF
 
:(
evil maven
 
@MukeshRana are you @berserk :O
 
lol ya but for short duration :P
 
?!
 
12:38 PM
:3
leave
 
@berserk died due to sadness
blame @MukeshRana
@MukeshRana seems legit tried it?
 
@maveň yeah checking
 
Gud Luck
 
Hello Everyone a Quick question. Anyone heard of Bluetooth HDMI for android devices. OR you know the principle behind this work, i mean any sample work or code ?
 
1:16 PM
@B.rohitNare No, but i am interest to know that one.
 
@maveň its working.. YAY :)
 
@MukeshRana so @mav won the bounty?
 
@DroidDev lol.. no ;)
 
so that was about another problem?
 
no lol.. actually he referred to the answer posted by someone for my question on SO
 
1:34 PM
@johnsakthi I felt that interesting but TBH but we go this app from chrome remote desktop
but using this HDMI bluetooth we can even make our mobile slave or master
 
1:54 PM
@MukeshRana atleast you can say I was lucky for you.
 
@maveň lol.. d moment you ping me i was already working on that thread.. but anyways.. you are lucky enough :P
 
:xD
1 hour ago, by Mukesh Rana
@maveň yeah checking
you should say checking the same.
 
@maveň lolwa.. one and the same thing :P
 
maybe
for( ; ; ){
    do{
        code(Android major);
        learn(Java minor);
        art(Playing onMood, Gymming ifGetTime);
    }while(awaken);
}
 
lol
 
 
9 hours later…
11:05 PM
hi room
 

« first day (847 days earlier)      last day (2628 days later) »