+1

Starting your own thread is broken: it won't work across process boundaries.

G. Blake Meike
Marakana

The second edition of Programming Android is now on-line:
http://shop.oreilly.com/product/0636920023005.do


On Thursday, July 5, 2012 6:09:47 AM UTC-7, rahul kaushik wrote:
>
>
> Intent intent = new Intent(this, TimeAlarm.class);
>   PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0,intent, 
> PendingIntent.FLAG_ONE_SHOT);
>
>   am.set(AlarmManager.RTC_WAKEUP,System.currentTimeMillis() + (1 * 1000), 
> pendingIntent);
>
> TimeAlarm.class is insame life as other classs 
>
>  am.set(AlarmManager.RTC_WAKEUP,System.currentTimeMillis() + (1 * 1000), 
> pendingIntent); 
> this line giving me error=null
>
> RK
>
>

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

Reply via email to