Re: [android-developers] App is killed when home button is pressed from any activity
Clearing the back stack If the user leaves a task for a long time, the system clears the task of all activities except the root activity. When the user returns to the task again, only the root activity is restored. The system behaves this way, because, after an extended amount of time, users likely have abandoned what they were doing before and are returning to the task to begin something new. There are some activity attributes that you can use to modify this behavior: alwaysRetainTaskState If this attribute is set to"true" in the root activity of a task, the default behavior just described does not happen. The task retains all activities in its stack even after a long period. On Sep 29, 2011 4:59 AM, "ANKUR GOEL" wrote: > Hi all, > > i had make one application ... > > while clicking from any activity the Home button the restarts again from the > first activity . > > its not going to the same activity > > > can anybody help me regarding this . > > > Thanks and Regards:- > > Ankur Goel > 09019040351 > S/W Engg. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] plz help..!!!
Pray about it On Sep 27, 2011 9:13 AM, "Divyata P" wrote: > *how to solve error given below..!!!* > > ERROR/ActivityThread(14320): Service com.micro.btsT.BtsService has > leaked IntentReceiver com.micro.btsT.BtsService$1@462b5288 that was > originally registered here. Are you missing a call to > unregisterReceiver()? > ERROR/ActivityThread(14320): android.app.IntentReceiverLeaked: Service > com.micro.btsT.BtsService has leaked IntentReceiver > com.micro.btsT.BtsService$1@462b5288 that was originally registered > here. Are you missing a call to unregisterReceiver()? > ERROR/ActivityThread(14320): at > android.app.ActivityThread$PackageInfo$ReceiverDispatcher.(ActivityThread.java:972) > ERROR/ActivityThread(14320): at > android.app.ActivityThread$PackageInfo.getReceiverDispatcher(ActivityThread.java:755) > ERROR/ActivityThread(14320): at > android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:799) > ERROR/ActivityThread(14320): at > android.app.ContextImpl.registerReceiver(ContextImpl.java:786) > ERROR/ActivityThread(14320): at > android.app.ContextImpl.registerReceiver(ContextImpl.java:780) > ERROR/ActivityThread(14320): at > android.content.ContextWrapper.registerReceiver(ContextWrapper.java:318) > ERROR/ActivityThread(14320): at > com.micro.btsT.BtsService.onStart(BtsService.java:134) > ERROR/ActivityThread(14320): at > android.app.Service.onStartCommand(Service.java:420) > ERROR/ActivityThread(14320): at > android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3267) > ERROR/ActivityThread(14320): at > android.app.ActivityThread.access$3600(ActivityThread.java:135) > ERROR/ActivityThread(14320): at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:2211) > ERROR/ActivityThread(14320): at > android.os.Handler.dispatchMessage(Handler.java:99) > ERROR/ActivityThread(14320): at android.os.Looper.loop(Looper.java:144) > ERROR/ActivityThread(14320): at > android.app.ActivityThread.main(ActivityThread.java:4937) > ERROR/ActivityThread(14320): at > java.lang.reflect.Method.invokeNative(Native Method) > ERROR/ActivityThread(14320): at > java.lang.reflect.Method.invoke(Method.java:521) > ERROR/ActivityThread(14320): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) > ERROR/ActivityThread(14320): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) > ERROR/ActivityThread(14320): at > dalvik.system.NativeStart.main(Native Method) > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] hi
If nothing else works try a factory reset. On Aug 30, 2011 6:22 PM, "gaby debro" wrote: > Hello help me I can't install any aplication in ma G1 after > downloading it always says unsuccess > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to you think about the future of PhoneGap
Thx On Aug 17, 2011 3:51 AM, "Cleuton Sampaio" wrote: > Hi, we have a Blog about Android app development: > http://www.thecodebakers.org. It is in Portuguese, but we have added a > Google Translator Widget (bottom right of the pages) which allows you to > have an english version. > > I our Blog we have some free online courses, including a PhoneGap > programming course. He have also plugins and open source code. > > Please, visit us. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Open "OpenOffice" with Read only access to Data
Hope this helps http://developer.android.com/guide/topics/intents/intents-filters.html On Aug 17, 2011 12:20 AM, "Neeraj" wrote: > Hi, > > I am trying to open PDF/DOC/XLS format using INTENT and Openoffice is > default viewer. > > I have defined following properties to launch my PDF/DOC > > Intent intent = new Intent(Intent.ACTION_VIEW); > intent.setData(uri);//PDF path > intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); > context.startActivity(intent); > > but even after setting FLAG_GRANT_READ_URI_PERMISSION OpenOffice is > comming with menu that has "Save" option and allowing saving of my > PDF file to /sdcard. > > Is there is any way to force other application not to save any of data > called through Intent. > > Thanks in advance > Neeraj > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Glad to help
Download adobe PDF viewer -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Motorola Milestone not appearing on Eclipse
Did having the correct drivers solve the issue? On Aug 17, 2011 3:30 AM, "Mark Murphy" wrote: > If you are on Windows, ensure that you have the latest Motorola USB > drivers for development. > > On Wed, Aug 17, 2011 at 1:12 AM, limtc wrote: >> Hi, >> >> For some reasons, updated to one of the current Android SDK causes my >> Motorola Milestone no longer appeared on the device list. This used to >> work fine. >> >> I have checked: USB debugging, Unknown sources are all checked. The >> phone is now running Android 2.1-update 1 (Motorola no longer >> provides , and I can get my wife's Nexus phone to work. >> >> Any idea what has happened? I am very frustrated to lose a testing >> phone... (to the point that I am considering switching to other >> platforms). >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0 > Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en