Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Darel Bitsy
Darel Bitsy
6,910 Points

Problem with AlarmManager android

Well, i'm writing my first real android app, it's based on the stormy app from teamtreehouse (Thanks for teaching me programming). Everything was fine i managed to put sqlite database , notification , new icon and designing .i learned to do all this by doing, i did not watch the courses so if you find mistakes in my code please let me know . the app is working perfectly on an emulator ,real phones and tablets (Tested) . But i'm getting crazy with alarm manager, i'm trying to schedule an bar notification and dialog box that will appear 3 times in a day, the notification show and dialog box like i planned but it's showing up at the wrong time !!! i rechecked my code , googled , i checked the time in milliseconds from the debugger everything is fine . i'm out of ideas, i will be very happy if someone can help me please .

my repository : https://github.com/bitsydarel/DBWeather Alarm setting classe : https://github.com/bitsydarel/DBWeather/blob/master/app/src/main/java/com/darelbitsy/dbweather/helper/AlarmConfigHelper.java