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 <mmurphy@commonsware.com> 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 <livehappy7@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+unsubscribe@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+unsubscribe@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home