plz i want only c language
On Tue, Aug 31, 2010 at 4:09 PM, anders wrote:
> I've done some more investigations, and it seems like the random FCs
> never happens when the activity starts the service. It's rather the
> system that sometime feels like starting the serviceand when this
> happens
It might be a good idea to check for intent being null, rather than
catching the NPE - exceptions are for exceptional situations :)
You also might find this useful:
http://developer.android.com/reference/android/app/Service.html#START_REDELIVER_INTENT
This is a flag that makes Android redeliv
I've done some more investigations, and it seems like the random FCs
never happens when the activity starts the service. It's rather the
system that sometime feels like starting the serviceand when this
happens, the intent is null. My solution for this problem right now is
just to swallow that
I also want to know why, random FCs on Nexus One.
On Mon, Aug 23, 2010 at 7:03 PM, anders wrote:
> Hi,
>
> I've got the same issue, here's my code snapshot:
>
> (code from the Activity that starts the service)
>
> Bundle bundle = new Bundle();
> bundle.putString("key1", val1);
> bundle.putString
Hi,
I've got the same issue, here's my code snapshot:
(code from the Activity that starts the service)
Bundle bundle = new Bundle();
bundle.putString("key1", val1);
bundle.putString("key2", val2);
Intent intent = new Intent(TheActivity.this, TheService.class);
intent.putExtras(bundle);
startSer
Hi,
I got the same issue, here's my code snapshot:
(code from the Activity that starts the Service...)
Bundle bundle = new Bundle();
bundle.putString(key1, val1);
bundle.putString(key2, val2);
Intent intent = new Intent(TheActivity.this, TheService.class);
intent.putExtras(bundle);
startService
6 matches
Mail list logo