Insert calendar with alarm on birthdays - Java for Android App Development

HI friends! i'm a newbie in android app development, i am working on a contact application and i want to add CALENDAR which will automatically get the birthday dates of the contact/usernames in the application and trigger the alarm manager on those days for a notification. any help and idea will be appreciated.

You can use Contacts Provider to grab birthday date from contact and AlarmManager to schedule alarm.
The question is, what to do if user doesn't have (or want) to manually insert birthdays to Contact, is there a way to synchronize contacts and get these birthdays from outside?

Related

Multiple Outlook birthday reminders

I don't know if this is the best place to post but I'd be grateful for any suggestions.
A number of my Outlook contacts have Birthdays entered in the Birthday field with a 7 day reminder. Although I only get 1 reminder in Outlook on the TyTn I get 3 reminders for the same event at the same time (it used to be 2 but it's never been only 1!).
I know I don't have duplicate events in Outlook because I've checked.
Can anyone help?
Thanks
I had the same problem. It was caused by multiple backing up and restores under different regional settings.
Solution:
Remove all calendar events (SKTools), kill the partnership, resyncronize. Don't play with regional settings.

Notification of birthday events set in contacts

Hi everybody!
I've noticed that the birthday information set in Contacts is not displayed in the Today screen of the TF3D.
Does anybody knows about a solution for this?
Note: an obviously solution is create a calendar event for every birthday but I'd rather use information in contacts
For some reason my birthday information works, and i had no events set!
I'll look into it and report back as to why it works.
Addicteddddd said:
For some reason my birthday information works, and i had no events set!
I'll look into it and report back as to why it works.
Click to expand...
Click to collapse
That's because you've synched your device with Outlook. Doing so automatically creates reminders in your Calendar.
I sync with Exchange Server and it doesn't create automatic reminders. So, I'm screwed, like the thread starter... I wish there were a way to create reminders for contacts birthdays without having to sync with Outlook.
heretic said:
That's because you've synched your device with Outlook. Doing so automatically creates reminders in your Calendar.
I sync with Exchange Server and it doesn't create automatic reminders. So, I'm screwed, like the thread starter... I wish there were a way to create reminders for contacts birthdays without having to sync with Outlook.
Click to expand...
Click to collapse
Mmmm... I sync with Outlook 2003 and I have no reminders... But I used to have Outlook 97 and I remember that in some contact information (probably those created in Outlook 97) I've seen shortcuts to calendar events (probably I have reminders just in those ones)
May be Outlook 2003 doesn't create reminders automatically any more... Or may be there's an option to activate in order to create them.
Anyway that could be a solution for me... Let's investigate!
I'll check too.
I belive that once I set the birthday in contacts (outlook 2007) it works fine. I'll let you know
I belive mine works, but I'm not sure I'll investigate too
I have a similar problem.
I sync with outlook 2003 at work (but dont check the contact option) because this outlook has "n" work contacts that i dont want in my personal mobile.
At home if i sync the contacts (could not check the calendar because its synced with other computer - work) i dont get the allday events from the birthdays.
{}s
CreativeBR
I think I've got it!
Ok... The fact is that REMINDERS WORK! As simply as it is...
So... Why did'nt I get the reminders in the Today screen? Easy... I did got the reminders but I DIDN'T SEE THEM.
The problem is the Today screen. The clock is sooooo BIG that covers almost all the usable surface of the screen, so the Diamond only shows you one event at a time.
If you want to see the rest of them you have to scroll down. But, what if you don't know that there are more events in the list? You won't be notified!!!
I think I would be enough if the Today screen would show then number of events that happens today. So the user would be notified and our reminders would do the job.
Any ideas?
mine doesn't work as well. using bepe's 0.99dx rom. i don't use outlook at all. pimbackup does the backup job for me
stupid slow connection...
i tried different things out, and it seems to be working fine for me. when i add birthday to a contact in outlook on my pc, it shows up in the calendar as an all-day-event, and syncs to the diamond. same thing if i enter birthday on the diamond and sync it back - it appears in my outlook...
however, those events are only created for the future, so if you created now a birthday for somebody, who was born on, say, August 1., it would first appear starting from 2009.
the only problem that i have is that for some contacts there are multiple birthday "events" in the calender, but this might be somehow caused by me cross-syncing my contacts first with neo/elf, then with touch, and now with diamond...

Unable to synchronize appointment created on phone with Outlook (PC)

Hi,
I've just tested the synchronization of Contacts and Calendar with the Hero, and I can't seem to get it to synchronize appointments made on the phone to Outlook on my PC. I have the latest version of HTC Sync (2.0.4) installed. I haven't changed any of the default settings.
Anyone else have the same problem? Please test it.
Thank you.
when you create new events in the phone calendar, you need to attend to the top-most drop-down, which is to which calendar the new event should be added. The choices are "My Calendar", "Outlook", and then your Google Calendars listed.
If you get this wrong, the sync won't work as expected. The default is the first in the list "My Calendar", and I took ages wondering why it wouldn't sync to my Google Calendar, which was the third in the list.
Then I read about this in another thread, set my google cal when creating a new event, and it did sync.
tedious though.
I can second this.
Just change the Calendar to Outlook and it will sync as expected.
Caught me out also!
Thank you sooooo much!
and if you go into "calendars" you can permanently de-select the ones you don't use - all but Google in my case, perhaps all but Outlook in yours - and then it should be fine. And I think the new event calendar selector remembers your last choice anyway.

Birthday from contact into Google calendar

Hi all,
i filled in a birthday information for one of my contacts. The tattoo informs me that there is a birthday but the info was not syncted to my google calendar. Is it possible to sync the contact birthday information into the google calendar with a rembering?
kind regards
srkonus
Hey,
Try the following:
1) Simply go into Google Calendar
2) Select "Add" under other Calendars on the left
3) Select "Interesting Calendars"
4) Click the "More" tab
5) Subscribe to the "Contacts' birthdays and events" calendar.
Next time your phone syncs, you should get all your contacts birthdays.
Hope this is what you were after
Hi,
thank you for the answer. Unfortunately this works not by me. I saved my contacts on the phone (synced with outlook) and now entry for a birthday was created.

Birthdays & Calendar

Greetings,
I have a problem which I heard around the places before but haven't found any solution.
So, we have a contact - then we add a birthday date for it, after all the calendar does not remind us about it in any possible way.
I must enter an event by myself.
Writing this after almost missing the birthday yersterday of a closed one.
Any help would be appreciated,
Thanks.
P.S. I know about "Manila Birthday for Leo", but still I want to have a full synchronized contact list with calendar, can I?
Any help guys?
try entering the contact into the microsoft contact app.
you need to sync your callendar with outlook, then you will see birthdays in your HD2 in callendar
Can that be done automatically? Or you need sync with Outlook every time to add birthdays into calendar? Because after synchronizing it I may add some new ones' and still they would not be displayed.
you need to have set B'days in your contacts in the field Birthday. if you do and then you sync Contacts and Callendar with Outlook, then Outlook will automatically assign B'days to your callendar. if you enter birthday to a contact after syncing, then you ofcourse need to sync again.
I synchronize my HD2 with Outlook once per week to be updated as much as possible.
also in case of losing your device you have all contacts and callendar in Outlook
Or if you don't use outlook, you can install "Manila Birthday", it detects all birthday entries in your contacts, and adds calendar entries for them.
You can even set it to repeat those entries every year.
Works very well here.
use a free app called birthday2calendar. it scans your contacts and syncs the birthdays with the calendar. works fine here so far and it's small and free!
http://www.freewarepocketpc.net/ppc-download-b2c-birthday2calendar.html
Thanks for answers people, as far as I understood we can't sync it automatically like in Nokia phones. Too bad...
You can do it automatically only if you use full Outlook features. It's quite normal for Microsoft to promote its own products...

Categories

Resources