> we resolved the error but we are passing some information to the
> intent
>
> which is not geeting to the another class

Your putting the Intent in a PendingIntent, right ? Extras aren't
sufficient
to differentiate, you need to e.g. set the intent data different:

notificationIntent.setData( Uri.parse( String.valueOf( NOTIFICATION_ID ) ) );

Or use the filename.

Pent

>
> the code which used for passing the info is below
>
> Intent notificationIntent = new Intent(this,DownloadDetails.class);
>
> notificationIntent.putExtra("filename", dmanager.getFilename());
>
> notificationIntent.putExtra("size", dmanager.getFilesize());
>
> notificationIntent.putExtra("downtime",
> dmanager.getTime_to_download());
>
> and the code which we wrote to the info is
>
> try
>
> {
>
> filename=(String) b.get("filename");
>
> size=(Long)b.get("size");
>
> time=(Long)b.get("downtime");
>
> }
>
> catch(Exception ex)
>
> {
>
> Log.e("Error At Email Passing", ex.getMessage());
>
> }
>
> we are not getting any info from that
>
> On Nov 12, 1:32 pm, kampy <[email protected]> wrote:
>
> > private int NOTIFY_ID = 1;
>
> > mNotificationManager.notify(NOTIFY_ID++, notification);
>
> > hey we replaced the code like this but now alo we are geting like same
> > as before
> > On Nov 12, 1:15 pm, Pent <[email protected]> wrote:
>
> > > I would guess it's because you're using the same notify ID for both.
>
> > > Pent

-- 
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

Reply via email to