Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

The New iPad

macrumors regular
Original poster
Jun 5, 2012
123
1
Hello.

The app's functionality is minimal. The app notifies you with a sound and lockscreen notification when you choose.

The app should:

be open source
alert you with sound on lockscreen (or anywhere else)
have a configurable sound in the source code to accommodate any sound file (limited to eligible file types)
have a message on the alert that is typed in by the user in the app
have a user-configured timer that tells the app to alert after every x seconds/minutes have passed in the app
have a start/stop button to start or stop the functionality of the app
continue to run even if it has been killed in the multitasking bar

I have never coded iOS but I have in other languages not Obj-C so I will be able to check for bugs on my own if you only want to cobble something together without much attention to detail. Thank you.
 
Last edited:
Sounds like the "clock" app on iPad ... Not open source though.

I don't really understand what you want ? An tutorial for development ? Please help me to understand.
 
Hi. Pardon my briefness but I'm on my phone typing this. I need a deb to write an app that has the above functionality and be open source so that I may learn. Hope this clears things up.
 
Ha, so you want a dev to spend a few days to a week so you can peruse some code to learn? :p

Anyway, the app you request is not possible (at least without a jailbreak.) You can't have the app still running when you terminate it. An ios app does not receive a notification of the screen locking, only the general case of entering the background, resigning active, or terminating. I would think you would need deeper access than what iOS offers in sandbox, so again it would only work jailbroken.
 
Ha, so you want a dev to spend a few days to a week so you can peruse some code to learn? :p

Anyway, the app you request is not possible (at least without a jailbreak.) You can't have the app still running when you terminate it. An ios app does not receive a notification of the screen locking, only the general case of entering the background, resigning active, or terminating. I would think you would need deeper access than what iOS offers in sandbox, so again it would only work jailbroken.

I don't think this is days of work. This is something you'd cobble together for a class assignment. You are wrong. In the case of twitter notifications/facebook messages, etc., if the app is closed you will obviously still be able to get your alerts. Same with alarm apps.
 
I don't think this is days of work. This is something you'd cobble together for a class assignment. You are wrong. In the case of twitter notifications/facebook messages, etc., if the app is closed you will obviously still be able to get your alerts. Same with alarm apps.

You get notifications from a backend server in case of twitter/FB. That's different from forking an app into background like in Unix or JB. And Apple alarm program has the advantage of not need to follow App Store rules.

Tried Google or any of the tutorials provided from Apple ? They are a good source to learn.
 
I don't think this is days of work. This is something you'd cobble together for a class assignment. You are wrong. In the case of twitter notifications/facebook messages, etc., if the app is closed you will obviously still be able to get your alerts. Same with alarm apps.

Like christian said, you get notifications based on a server response. Apple does not reveal a method that notifies an app when the screen locks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.