0

i'm beginner in android and i don't know how to create a notification manager even my app is not running for example show a notify every hour .Any ideas?

Miquel Coll
  • 759
  • 15
  • 49
  • AlarmManager (http://developer.android.com/training/scheduling/alarms.html) + NotificationCompat (http://developer.android.com/guide/topics/ui/notifiers/notifications.html)? – Phantômaxx May 23 '14 at 10:12

1 Answers1

0

Look into this..notification using BroadcastReceiver

http://karanbalkar.com/2013/07/tutorial-41-using-alarmmanager-and-broadcastreceiver-in-android/

Hope it helps you.

Born To Win
  • 3,319
  • 3
  • 19
  • 27
  • thanks but if i want to parse a json file (if wifi is connected) what permission should i use (instead of myAlarmService) –  May 23 '14 at 10:32
  • MyAlaramService is Service not an permission..If you want to parse the data..you have to include the INTERNET permission and WIFI permission or ACCESS_NETWORK_STATE Permission. – Born To Win May 23 '14 at 10:52