I use AlarmManager to start Service at specific time.
intent = new Intent(ACTION_RECORDER_START);
intent.putExtra(EXTRA_COMMAND_ID, command.id);
pendingIntent = PendingIntent.getService(context, 0, intent,
PendingIntent.FLAG_ONE_SHOT);
alarmManager.set(AlarmManager.RTC_WAKEUP,
Hi All,
If I got multiple intents, how do I use:
@Override
protected void onActivityResult(int requestCode, int
resultCode,
Intent data) {
.
}
I have multiple intents upon different button clicks in my
application, and for one of the intent, I need to
Send some different data in each of the intents. Then check that data. If it
is the data from the intent in question do whatever you have to.
Thanks
On Sat, Jul 30, 2011 at 2:42 PM, perumal316 perumal...@gmail.com wrote:
Hi All,
If I got multiple intents, how do I use:
@Override
On Sat, Jul 30, 2011 at 4:12 AM, perumal316 perumal...@gmail.com wrote:
If I just place it at the bottom, it is not executing.
What does that mean?
How to differentiate between he different intents?
That's the whole point of the resultCode parameter ... it tells you what
the result was.
4 matches
Mail list logo