Hmmm, but how should I use it?? I am not using any uri(i dont even know what for is it). I only need to start an activity from the click on the notification. But the problem is, i want to run an activity from different application. There are usually examples like Intent notifyIntent = new Intent(context, notify.class); -> but this is for notify.class in the same application, but i want to run activity in different application. When i use the example above it is ok and the notify.class runs, but when i want to run the activity as i described in my code -> intent.setClassName("com.iwaneez", "com.iwaneez.PlaceSettings"); nothing happens on the click. Aren't there any permission or something else?? I really don't understand why i cannot run it this way..
I really need this...pls help :( On 31. Máj, 03:20 h., TreKing <treking...@gmail.com> wrote: > On Mon, May 30, 2011 at 7:50 PM, ivan harmady <ivan.harm...@gmail.com>wrote: > > > but this activity never starts when i click on the notfication...can > > you help me please?? i really need this and I'm out of ideas. > > Every advice worth. > > Try this > constructor:http://developer.android.com/reference/android/content/Intent.html#In..., > java.lang.Class<?>) > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en