How do I let the user set multiple Alarms via AlarmManager? - Java for Android App Development

Hi all,
I'm starting a new app so I want to get some of the ideas out of the way on how to do this. Part of my new application is going to allow users to set reminders for whatever they want, they can set as many reminders as they like. They can set the time/date and a short description. I looked into AlarmManager as a result and it looks like it does what I want however I have no idea how to do it on a bigger scale.
Obviously these reminders need to go off even when the user is not in my app and AlarmManager does that but right now I've only managed to learn how to set up AlarmManager via a basic tutorial.
Just like the default Alarm app is there a way for me to do it all via a good UI? I mean when a user sets up an alarm does it get saved into the system or do I have to save it in SharedPreferences myself? I want them to be able to set a number of reminders but also see the reminders they have set on a page in my app. Just like the default Alarm app where you can see what you've set.
Are there any good tutorials out there or good open source apps I can learn from? Sorry if this is a broad question but it's mainly about getting AlarmManager to work well with what a user inputs. That would be a good place to start.
I would really appreciate some help, thanks.

Related

Reminder

I recently bought Tattoo... My old phone was nokia 6233, and I could easly add an event in my calendar, with some test, and adding reminding alarm... one alarm at specific time.
In tattoo, I have to specific how long that some thing will be, and alarm is set like 5min/1h etc BEFORE the start - it sux! Is there any other place I can just add a reminder to do something? (Like a reminder, I have to call a friend, about ..., so some text comes up which reminds me it?)
use the in built alarm function - you can add infinte amount of separate alarms and specify days of the week. Obviously you can only set these per week. The calendar function follows the same pattern as MS Outlook on the PC hence the confusing stuff.
Its not too bad when you get use to it.
Stiflerlv said:
I recently bought Tattoo... My old phone was nokia 6233, and I could easly add an event in my calendar, with some test, and adding reminding alarm... one alarm at specific time.
In tattoo, I have to specific how long that some thing will be, and alarm is set like 5min/1h etc BEFORE the start - it sux! Is there any other place I can just add a reminder to do something? (Like a reminder, I have to call a friend, about ..., so some text comes up which reminds me it?)
Click to expand...
Click to collapse
There are lot of free notepad apps that have the functions you're looking for. As for me, I use AK Notepad!

Looking for Notification Manager / Profile Manager

Can anyone recomend a notification or profile manager that can provide some or all of the following features
1) Different notification sound for sms and email (currently i can not find a way to set a different tone for SMS and the HTC mail client)
2) Repeat notification for sms or missed call - ie repeat notification every x mins
3) Set up sound profiles ie, work, home etc rather than just the 3 standard profiles that exist on the phone
I'm suprised at how limited the standard notification settings are (unless im looking in the wrong place!)
Thanks
ardsar said:
I'm suprised at how limited the standard notification settings are (unless im looking in the wrong place!)
Click to expand...
Click to collapse
You're looking in the wrong place
If you go to the SMS application and then press Menu, you can set the notification sound. Same goes for the E-mail application.
For Profiles there are numerous apps in Android, for example: Free - Setting Profiles Lite http://www.androlib.com/android.application.com-probeez-liteprofiles-xipF.aspx or paid - Locale http://apps.doubletwist.com/Locale/1577439657811856040
Bulls-eye1 said:
You're looking in the wrong place
If you go to the SMS application and then press Menu, you can set the notification sound. Same goes for the E-mail application.
For Profiles there are numerous apps in Android, for example: Free - Setting Profiles Lite http://www.androlib.com/android.application.com-probeez-liteprofiles-xipF.aspx or paid - Locale http://apps.doubletwist.com/Locale/1577439657811856040
Click to expand...
Click to collapse
Thanks for the advice. However i am looking for something that can repeat an sms notification as the LED stops flashing after 5 mins.
Handset does reminders, smspopup allows custom notifications for each contact there are many profiles apps out there... but no one app seems to do everything yet.
That should of course read Handcent (predictive text be damned).
You should also check out Missed Reminder and Quick Profiles.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
I've been using this application for a while "Setting Profiles" since the Hero and now on the Desire.
http://andappstore.com/AndroidApplications/apps/Setting_Profiles_Full
It's not free, but definitely worth the money.
If anyone decides to use that site to purchase applications, first create an account, and download the AndAppStore Client to your phone, where you login and then can see all the applications you purchased and download from there.
The approach used in Setting Profiles is brillient, you create profiles and conditions (triggers) seperately. And above that has a homescreen widget too.
Search for the Lite version in the Market and try it out, which is limited to one profile/condition I think.
I, too, am using Setting Profiles. As mentioned above, definately worth the money. So many options.
thanks guys. setting profiles seems like a good tool.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk

Calendar Default Alarm

First off, let me say that i heavily rely on the calendar on any smartphone...
On my nexus one, when i create a new calendar entry it defalts to a 15 minute reminder. Since i always want a reminder this is a great time saver. On the Vibrant, the default reminder is not set at all. Does anyone know how to change this?
Thanks
mikea3000 said:
First off, let me say that i heavily rely on the calendar on any smartphone...
On my nexus one, when i create a new calendar entry it defalts to a 15 minute reminder. Since i always want a reminder this is a great time saver. On the Vibrant, the default reminder is not set at all. Does anyone know how to change this?
Thanks
Click to expand...
Click to collapse
Isn't there a setting for a default reminder (Calendar->Menu->More->Settings->Set default reminder)? Sorry I don't have Vibrant but that's how it is on G1)
Let us know!
unfortunately there is no setting like this

[Q] A contacts list patch/add-on

Hi everybody! I'm new from here!
(I'm Italian, if I do mistakes, please correct me!)
I'm developing Android apps since 3-4 days ago and I made 4-5 stupid apps, just to learn.
I don't have an Android Phone yet, anyway taking a look on the emulator AVD I noticed a thing that I'd like to change. It's about the Contacts app, the Contacts list view in particular.
I observed that for any contact in the list is possible to assign, in addition to name and surname, also a Nickname, useful for friends!
Despite this, in the options menu, I haven't seen a sorting and viewing method by nickname!
Is there a way to view, if setted, only the Nickname of the contact and, otherwise, Name and Surname?
If there's not, i would like to write a sort of add-on for the contact list that give the priority at the Nickname. Should be awesome also to set Nickname as a global default name to view, causing that will be displayed also during an incoming call.
How should I do? What do you think about? Suggestions?
Thanks in advance,
Daniel
Ok, I'll edit the Android code directly.
Last question: how to make default an app instead of the default one?
Nice... Have you make any progress on that ?

WP7 Email size settings?

Sorry if this is covered somewhere - have searched and browsed to no avail so reluctantly, I'm asking!
In the settings for my email accounts on wp7 there are details for the scheduling (ie how often you receive emails to your phone) but I cannot see anything that dictates exactly what you want it to download for each email.
Eg if you have a limited data account you might not want all attachments, and restrict to email headers only or something like that. Or limit to xxKB or xMb etc.
Any idea? WinMo and Android allow this and I'm sure the settings must be on there somewhere but I think I'm being dumb as I can't see it!!
Like WP7 so far (I haven't fixed the live services yet though even though it's activated), but a few minor things I'd LOVE to see fixed if possible:
Ringtone volume - even at 1 out of 20 it's very loud. Not good control at all!
I think I saw info about registry changes to fix this but I can't until I get chevron working.
Font size in emails - it's huge! I want to be able to fit much more emails on the screen at once. I'm not blind so I don't need them THAT big.
Any suggestions (to any of these!) welcome, thanks.
And sorry again if I've missed stuff already posted. Don't want flaming really!!
I'd like to know as I have searched for the answer to this too.

Categories

Resources