Re: [android-developers] Broadcast receiver not working in ICS
On 12/07/2012 11:02, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs Don't you see any errors in Logcat ? -- 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] Broadcast receiver not working in ICS
there is no errors in the Logcat nothing appears maybe the boot complete intent dont wok on ics anymore On Fri, Jul 13, 2012 at 11:38 AM, Fabien R theedge...@free.fr wrote: On 12/07/2012 11:02, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs Don't you see any errors in Logcat ? -- 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] Broadcast receiver not working in ICS
On Android 3.1+, something has to manually run one of your components (e.g., user launches an activity) before manifest-registered BroadcastReceivers will work. On Thu, Jul 12, 2012 at 5:02 AM, Live Happy livehap...@gmail.com wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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 Android Training in NYC: http://marakana.com/training/android/ -- 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] Broadcast receiver not working in ICS
so can u please explain to me how the whatsup work when the BroadcastReceivers will not work till u launch an activity!! On Fri, Jul 13, 2012 at 1:39 PM, Mark Murphy mmur...@commonsware.comwrote: On Android 3.1+, something has to manually run one of your components (e.g., user launches an activity) before manifest-registered BroadcastReceivers will work. On Thu, Jul 12, 2012 at 5:02 AM, Live Happy livehap...@gmail.com wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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 Android Training in NYC: http://marakana.com/training/android/ -- 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] Broadcast receiver not working in ICS
Take a look at this info here: http://developer.android.com/about/versions/android-3.1.html#launchcontrols (if the link doesn't take you directly to this section, search for 'stopped' on that page.) Add this flag to your intent to override this behavior: Intent.FLAG_INCLUDE_STOPPED_PACKAGEShttp://developer.android.com/reference/android/content/Intent.html#FLAG_INCLUDE_STOPPED_PACKAGES On Friday, July 13, 2012 9:29:01 AM UTC-4, Live Happy wrote: so can u please explain to me how the whatsup work when the BroadcastReceivers will not work till u launch an activity!! On Fri, Jul 13, 2012 at 1:39 PM, Mark Murphy wrote: On Android 3.1+, something has to manually run one of your components (e.g., user launches an activity) before manifest-registered BroadcastReceivers will work. On Thu, Jul 12, 2012 at 5:02 AM, Live Happy wrote: i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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 Android Training in NYC: http://marakana.com/training/android/ -- 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] Broadcast receiver not working in ICS
On Fri, Jul 13, 2012 at 11:06 AM, Streets Of Boston flyingdutc...@gmail.com wrote: Add this flag to your intent to override this behavior: Intent.FLAG_INCLUDE_STOPPED_PACKAGES That will not work for BOOT_COMPLETED, as Android is the one broadcasting the Intent -- FLAG_INCLUDE_STOPPED_PACAKGES is for the one sending the broadcast, not for the one receiving it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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] Broadcast receiver not working in ICS
Whoops, forgot to realize that his app is not doing the sending of the broadcast. :-) On Friday, July 13, 2012 11:55:16 AM UTC-4, Mark Murphy (a Commons Guy) wrote: On Fri, Jul 13, 2012 at 11:06 AM, Streets Of Boston wrote: Add this flag to your intent to override this behavior: Intent.FLAG_INCLUDE_STOPPED_PACKAGES That will not work for BOOT_COMPLETED, as Android is the one broadcasting the Intent -- FLAG_INCLUDE_STOPPED_PACAKGES is for the one sending the broadcast, not for the one receiving it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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] Broadcast receiver not working in ICS
i have a service with separate processes in my application run from Broadcast receive after boot completed i tested the code in android 2.3.3 and all is work fine but when i tested on ICS 4.0.3 even the processes exist in the applications runing but its not write the throw logs in the receiver class and n the service class is there any help with that please service android:name=.Services.MyServices android:process=:my_process android:label=MyServices intent-filter action android:name = .Services.MyServices /action /intent-filter /service receiver android:name=com.tele.Services.MyReceiver android:enabled=true android:permission=android.permission.RECEIVE_BOOT_COMPLETED intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.DEFAULT / /intent-filter /receiver -- 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