[android-developers] Multiple intents of the same tipe for AlarmManager

2012-07-24 Thread mighter
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,

[android-developers] Multiple Intents

2011-07-30 Thread perumal316
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

Re: [android-developers] Multiple Intents

2011-07-30 Thread Raghav Sood
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

Re: [android-developers] Multiple Intents

2011-07-30 Thread TreKing
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.