« first day (798 days earlier)      last day (2677 days later) » 
04:00 - 13:0013:00 - 17:00

4:18 AM
any one idea how to apply proguard in android code ?
so that no one can extract code from apk
 
4:34 AM
@lakshmi good morning.Yes tell me sorry for the delay
 
 
1 hour later…
5:44 AM
VGM all
 
Good Morning Guys
 
6:00 AM
ans
can any one tel me how use Fragment in android ?
 
Gm all
 
6:34 AM
posted on January 14, 2015

New Cyanide and Happiness Comic

 
6:52 AM
Hello All... I have a question. I need to call three Webservice at a time. Which one is better way, either calling three async task with single webservice call inside or single async task with three webservice call inside.??
 
Use Volley and enqueue each webservice call.
 
Good morning
everyone is in festive mood @TheLittleNaruto :D
 
I have no holiday today :( @kaushik
 
yes here is same :'(
 
@TheLittleNaruto since it is already developed can you suggest me either one of this scenerio?
 
7:12 AM
@TamilselvanKalimuthu Use ThreadPoolExecutor for executing multiple AsyncTask
 
i hve aplied proguard and have reverse engineering my apk using apk extractor but its showing all names of my activity same as no encryption done till yet in manifest.xml file
 
will it only apply in java files ?
 
ok let see i have download code as well
 
7:17 AM
@TamilselvanKalimuthu u can take a look at this SO thread
http://stackoverflow.com/questions/4068984/running-multiple-asynctasks-at-the-same-time-not-possible
 
@ErumHannan Okay
 
hello @kaushik
 
hi
 
may i ask a question?
 
yes of course
 
7:29 AM
i want to add an notification image with counter (like facebook) on actionbar
 
i use other images on action bar
if i create custom layout then it effect on other
?
 
7:53 AM
wat happend? @kaushik
 
8:08 AM
posted on January 14, 2015 by Emily Wood

Often the hardest part of traveling is navigating the local language. If you've ever asked for "pain" in Paris and gotten funny looks, confused "embarazada" with "embarrassed" in Mexico, or stumbled over pronunciation pretty much anywhere, you know the feeling. Now Google Translate can be your guide in new ways. We’ve updated the Translate app on Android and iOS to transform your mobile device

 
9:02 AM
yes @Prabhakar
 
9:13 AM
yo peeps
 
Yo berserk-sama
 
baby-kun!
 
yo
 
kaushik-kun
tears @DroidDev apart
 
kun-berserk
 
9:15 AM
lol
 
where were you whole day ? :O
are you using eclipse ? @TheLittleNaruto
 
No more Eclipse. It's been 4-5 months already :)
 
oooo
I forgot that command
 
Even me too.
 
find it
keytool -list -v -keystore c:/Users/<your_username>/.android/debug.keystore -alias androiddebugkey - storepass android -keypass android
 
9:23 AM
I was working :(
 
@kaushik No No , not that one
 
wow
which one then
 
@kaushik Show some respect :P
 
I forgot
 
9:24 AM
what did I do? :O
 
hello @berserk @TheLittleNaruto
 
its berserk-san B-)
or berserk-sama
 
ok
 
yo @devil
 
gotcha
berserk-sama
ma bad
 
9:25 AM
lol
 
XD
 
going to start a chatting app
 
good @devil
 
great
@devil
 
but befor that thinking of to study fragments
i have never studied fragments
 
9:26 AM
Then first learn Fragments
 
so what you people suggest do i make this app on fragmenmts
?
 
yea
 
Yes Of course
 
Yes Of course
 
any good link for fragments
 
9:27 AM
just search for some examples
 
i guess
 
found this
ok @berserk
thanks all of you
 
:)
 
@TheDarkKnight why so serious ? :D
 
9:28 AM
sometimes my service stops working
 
@ErumHannan yes its stop when your system kills bg services to free ram
n again gets self started when resources are available
 
but i have others app their servics are working fine
 
like?
 
and there is enough ram avaialable
like Battery Doctor
 
show code that you used for service
29
A: Background Service getting killed in android

AlexNThe main problem is that we cannot say Services are not meant to be killed. They are meant to run in background as long as we want it to. Basically, that is not true. System still can terminate the service in low memory and possibly other situations. There are 2 ways to overcome this: I...

@ErumHannan try this
4
A: How can we prevent service from killing by OS in android

Android is everything for me@Override public void onDestroy() { super.onDestroy(); startService(new Intent(this, YourService.class)); } write above code in your service and your service will never stop even user want to destroy it or they want to kill it it will never kill untill your app not get uninstall from ...

 
9:40 AM
i also have done this code second link
pls check this code
 
1 min ago, by devil
4
A: How can we prevent service from killing by OS in android

Android is everything for me@Override public void onDestroy() { super.onDestroy(); startService(new Intent(this, YourService.class)); } write above code in your service and your service will never stop even user want to destroy it or they want to kill it it will never kill untill your app not get uninstall from ...

 
public void onDestroy()
{
Log.d(TAG,"onDestroy");
/*Intent intent = new Intent("com.example.batterylevel");
intent.putExtra("yourvalue","restore");
sendBroadcast(intent);*/
super.onDestroy();
Intent pushIntent = new Intent(getApplicationContext(),BatteryService.class);
getApplicationContext().startService(pushIntent);
}
yes i also have this code already in my service class
 
try to use this 'getApplicationContext()' for less times
 
u mean use "this "
instead of "getApplicationContext()"
 
yes its better to use 'this'
are you getting this in log?
onDestroy
ok tell me 1 more thing
are you killing app from recent apps?
 
9:46 AM
no i m not killing
although i m running
task cleaner
that may kill background services
but it should start again
 
ok
firstly tell have you got toast of ondestroy?
 
why its not starting it again ?
let me check after applying toast
 
ok
 
no my task killer killed the app but it still in restarting mode
and i did not get any toast of myservice class
 
declare in manifest like
<service
android:enabled="true"
android:name=".MyService"
android:exported="false"
android:stopWithTask="false" />
agar fir b kill hoti hai
then tell i have a way that it will never let the service to get killed
 
9:54 AM
let my try
 
n use startservice code in onStopService()
 
no i did not use
after adding code in manifest still its stopped by task killer
 
do last thing
3 mins ago, by devil
n use startservice code in onStopService()
n if you dont clear task?
 
if i dnt clear task then in night sometimes it usually stops service i have checked in morning my service was not showing me my updated values in notification
if service is running then notification shows me updated values
 
use this n if you'll not clear
it will not stop
9 mins ago, by devil
n use startservice code in onStopService()
 
10:06 AM
ok doing
 
ok
 
one thing more i m doing is i have started service and this service shows notifcation
then when user click on notification then activity open
and i wnt when user presses button then now do work and cancel notification then again after every hour i want my service to show notification i have done code but issue is
same this service shows me notifcation when app is in use and after some time it does not show notification after every hour
 
1 min ago, by Erum Hannan
and i wnt when user presses button then now do work and cancel notification then again after every hour i want my service to show notification i have done code but issue is
not clear
presses button?
 
inside activity i have button when user press button then now notification should clear
and after an hour service should start again and check condition and if condition true then show notification
 
10:12 AM
ok
 
i have code
but this is not working as expected
no error
but not working fine
 
n why are you not clearing notification when user is clicking on notification?
 
actually when user click on notification i wnt to clear ram first which is insid activity and then notification should be cleared
 
ok
2 mins ago, by Erum Hannan
and after an hour service should start again and check condition and if condition true then show notification
after an hour service must be restarted
is it?
 
i m not sure but i m not getting notification
if service start then it should show notification
 
10:15 AM
no i am asking
you want service to restart?
 
onStopService()
?
yes it should start service after every hour
onStopService()
what should i need to write in this block
 
you are getting confuse
firstly tell service stop honi chaiye?
 
yes honi chahye
ta k battery kam drain ho
 
ok
n start kbb honi chaiye?
 
hr ek ghante baad
 
10:18 AM
ok
simple use alarm manager for this
 
i guess alarm use kr k hr ek ghante baad service start krdun ?
ok i was thinking the same
ok
abhi jo code btaya tha service stop na hone ka
n use startservice code in onStopService()
@devil
 
hmm
 
error arah hae
@Override
public void onStopService()
{

}
 
onStop() me startservice ka code likhdo
 
onStop or onStopService
?
 
10:23 AM
sorry in onDestroy()
kbi system kill krega toh it will restart
 
yes its already done
@Override
public void onDestroy()
{
Log.d(TAG,"onDestroy");
/*Intent intent = new Intent("com.example.batterylevel");
intent.putExtra("yourvalue","restore");
sendBroadcast(intent);*/
super.onDestroy();
Toast.makeText(getApplicationContext(),"onDestroy",Toast.LENGTH_SHORT).show();
Intent pushIntent = new Intent(getApplicationContext(),BatteryService.class);
getApplicationContext().startService(pushIntent);
}
and have added power manager lock screen code as well
can u come on skype pls ?
 
have you got the toast onDestroy?
 
write super.onDestroy(); after getApplicationContext().startService(pushIntent);
tried?
 
yes still did not get toast
saari processes kill horahe hain except only one app "Battery doctor" uski service and process kill nh horae
its really amazing
 
10:32 AM
Hii
 
hai toh mere paas b way jisse kuch b krlo kill ni ho skti
but it has a demerit
 
Can any one help me with this : stackoverflow.com/questions/27937042/…
 
haan ye tu hae
its consuming too much battery
 
yup
how you know?
 
let see k ye aaj raat me stop hoti hae ya nhi
2 min skype pe ajao
 
10:33 AM
can't come
this time i am in ofc
 
ok in night ?
 
ok
have you worked on fragments?
 
nhi abhi tk sirf activity use kia hae
krungi
 
ok
 
@devil @ErumHannan Dont speak in other Languages except English. I had warned you earlier.
 
10:35 AM
@TheLittleNaruto to me?
 
@TheLittleNaruto Hii, Can you help me with this : stackoverflow.com/questions/27937042/…
@TheLittleNaruto please
 
pastie is working now \0/
 
no you haven't said me to use english, anyways i'll not repeat
 
10:37 AM
@TheLittleNaruto I guess it is ok, if they write a line or two in regional languages :)
 
Yea
2 lines per day is ok.
 
@ItachiUchiha 1-2 lines are okay, But no more, But here it kept going that is why I had to tell
@berserk (facepalm)
 
its ok all, i'll not repeat
actually i was not understanding her fully
that's why
anyways i'll not repeat
 
@TheLittleNaruto :c
LOL
 
:P
 
10:57 AM
@devil how to show enable and disable keyboard in animation wise
 
@senti sorry no idea
 
How to's about server, backend for an android application?
Hey any android folks here?
 
11:32 AM
@berserk that was substitution jutsu :P
 
hello @DroidDev
 
Okay :'(
 
@devil hi
 
u r hard to kill
 
trying to learn fragments
 
11:33 AM
 
took two fragments
i want to just change the text in fragment2 on click of changeText button
 
@berserk haha, once I played this kind of RPG with big time anime fan. He used someone who was able to bend space and time and I only used jutsus. Decision was tie. Indeed very hard to kill :P
 
lol
sounds fun
I am jiraiya!
 
can you people tell?
 
@DroidDev Fight me Pein (or whatever u like xD):P
 
11:37 AM
@devil hasNeverWorkedOnFragment
@berserk lol
 
ok bro
 
anyone applied proguard in code
i m applying but still reverse engg showing me my actual java code
 
Sun
0
Q: How to Cache Parsed JSON for Offline usage

SunI have parsed JSON successfully but now i want to Cache it for offline usage, even internet is not available, and if any new entry comes i want to cache that as well. And what would be the best option to cache data ? SharedPreferences or SQLite database Here is my code, which i am using to Pars...

 
throws @berserk into ocean using universal push and keep him buried under the vast volume of water until he dies with lack of oxygen
 
@DroidDev reverse summoning by toads outside ocean
 
11:43 AM
@berserk could you please send me the link to these?
 
these?
 
@berserk send the toad with @berserk into ocean with same jutsu
 
@berserk any idea about proguard
 
@DroidDev Used more toads for reverse summoning.
@ErumHannan yes?
 
can u pls help me how can i protect my code
 
11:44 AM
@berserk all these smilies. I think there is a zip file for these
 
i have tried edit code in project.properties file
 
Come to my clan chat
 
ok
site is block by admin
 
NSFW tho
 
anyother option
 
11:46 AM
not u Erum lol
 
awwww
 
Hi, can we show title in actionbar in the middle?
 
@berserk can you tell bro?
 
@berserk kill every frog and @berserk using jutsu that pulls the soul out of living being
 
?
 
11:48 AM
@Droidde
can you tell?
 
@ishanjain you can use custom layout for action bar
 
@DroidDev used substitution jutsu and on ur back with giant rasengan
 
@berserk I have six pair of eyes
:P
 
how can i check that proguard has been applied to my code
?
 
Damn gave u a strong char
 
11:53 AM
lol, you can change, before I think of my next attack
:P
 
lol
pervy sage gonna slay u :P
 
yes @Droi
yes @DroidDev, that may work.
 
@berserk absorbs the rasengan with rennegan and locks @berserk inside five seal barrier
 
yes....:)
done
 
@DroidDev confuses all pains with toad song. break free... and BOOM!!
All dead in one swipe
 
12:07 PM
anyone here can pls tell me
about proguard
i have removed one library from libs folder and then creating apk of project with proguard applied in project.properties but getting this error /Library-ListViewAnimations/gen already exists but is not a source folder. Convert to a source folder or rename it.
 
@berserk I think you don't know about five seal barrier of nagato. You have to remove all the five seals at same time and even then, you appear against yourself as your own opponent. So, even if you might have removed all the seals, you are still fighting with yourself, a clone that has power equal to you. On the other hand, I am totally free and can kill you anytime :P
 
But its just a genjutsu
and toads genjutsu undo it
 
nope, try to remember the time when naruto goes to get gara from akatsuki
there was a five seal barrier at that place
where lee and company had to face their clones
 
ah that
but it need special conditions
and we are in a duel :P
 
@berserk any idea why getting error in proguard
 
12:10 PM
what error?
 
well, you are only fighting one, I have other five persons at my disposal :P
why you keep forgetting things? :P
 
if so, u are already dead with my rasengan back then
coz no one there to absorb
i mean atleast real pain dead
and u cant revive him
coz i dispose him off compeletely
 
read my response again, absorb the rasengan and then put the five seal barrier
 
you can only turn into titan
 
12:14 PM
anyone here can pls tell me
about proguard
i have removed one library from libs folder and then creating apk of project with proguard applied in project.properties but getting this error /Library-ListViewAnimations/gen already exists but is not a source folder. Convert to a source folder or rename it. @berserk
 
:(
 
if I have to explain my moves like this, I think you don't even need a jutsu to kill me. I'll be killed just by typing these many explanations :P
ROFL
 
i have removed that library from libs folder because i dnt need anymore now that was extra liibrary
@berserk
 
well...so, now it is established that you are within a five seal barrier, right?
 
lol
 
12:17 PM
@berserk pls
 
try clean and rebuild
adter removing lib
@DroidDev I surrender :P
 
lol, that was quick :P
 
lets play in real game next time :P
 
I haven't played naruto ever, you'll win in first round
...and hence surrenders even before the game
now that's a record
 
lol
 
12:31 PM
libs/AndroidViewAnimations-1.1.3.jar
libs/NineOldAndroid-2.4.0.jar libs/universal-image-loader-1.9.2-with-sources.jar i have added these jars in libs folder how will i add this in project.properties
 
I want to set session timeout in my settings...I have managed timer , onUserInteraction etc. But my problem is How to get user interaction in dialogue preferences . I have asked in SO.But didnt get any answer,,......somebody should please help me
 
12:45 PM
@berserk there ?
i stuck here from several hours
 
proguard error still?
 
yes
i have used library i already mentioned above
now i m getting so many errors when trying to create apk after applying proguard
@berserk pls
 
by using export?
 
yes
by using export
libs/AndroidViewAnimations-1.1.3.jar
libs/NineOldAndroid-2.4.0.jar libs/universal-image-loader-1.9.2-with-sources.jar i have added these jars in libs folder how will i add this in project.properties
 
u got this lib?
com.daimajia.androidanimations
in the project?
 
12:52 PM
Hey guys I have a question maybe someone of you guys can help me I have implemented a accelerometer class and try to visualize that in my SecondActivitiy but I only got 0 ass result
 
i have added this jar file AndroidViewAnimations-1.1.3.jar
not library
 
add to build path?
 
yes
 
clean?
 
here is the link would be cool if you can help stackoverflow.com/questions/27745930/…
 
12:54 PM
yes
these libs are already inside build path -->android private libraries
tried a lot even restart eclipse
nothin works
 
can u show me project.properties content?
 
can u pls come till 7
just one hr later
i need to bind up
pls
@berserk
 
04:00 - 13:0013:00 - 17:00

« first day (798 days earlier)      last day (2677 days later) »