Hello Team,
i am using broadcastreceiver to check if user is online or not,once user
get online i want to run a service,
Problem is broadcastreceiver is running 2 times
MainfestFile
<receiver android:name="com.fc.utils.AutoSyncRec" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"
/>
</intent-filter>
</receiver>
In BroadcastReceiver
Intent i = new Intent(context, AutoSync.class);
context.startService(i);
PLease suggest
Thanks
RK
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.