Re: [android-developers] how to use network broadcast receiver?

2011-08-01 Thread Thomas Economous
The broadcast receiver should call a service which will start the activity. See the info below from the android developer site. *Receiver Lifecycle* *A BroadcastReceiver object is only valid for the duration of the call to onReceive(Context,

[android-developers] how to use network broadcast receiver?

2011-07-29 Thread baran bartu demirci
Hi, i want to make an application ,this application include that, when the phone connected the network ,program will start automatically. i used the below as broadcast receiver; /* public class ConnectivityReceiver extends BroadcastReceiver { @Override public void onReceive(Context context,