Question about Programming

Joined
Mar 14, 2012
Messages
12
Reaction score
0
Points
1
Hi All,

I am looking through some tutorials and books now and plan on starting coding my APP starting June 1st. Sure I will have lots of questions before then and during.

I have 6 features to my App and I was just wondering how I would link Websites to my App. Also am I able to use the existing Alarm clock from Iphone on my app and I will need GPS so I was just wondering if I need to code the GPS for all features or can I created it one time for all features.

Thanks,


Mary
 
Joined
Aug 13, 2011
Messages
200
Reaction score
7
Points
18
Location
West Sussex
To connect to and interact with web sites in your app, you will have to use and get to grips with the NSURL, NSURLRequest and NSURLConnection class's.
Also to display web sites in a browser type control, you will probably use the UIWebView class.

https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006950

You cannot interact directly with any other app on the device, these rules are strictly enforced in iOS, this will also include the alarm clock, but what you can do is use theregisterForRemoteNotificationTypes: method of the UIApplication class to let your app
know when an alert is sounded.

https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006728

Or you could design your own clock with the NSTimer class, that runs within your own app, and then use it to make alert sounds at certain times, or when certain actions happen.

Lastly for using the GPS capabilities of iOS devices, you will have to learn to use the Core Location Framework, and yes you can start or stop these services as required, or have them perminently running in the background.

https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009497

And not to forget, the Map Kit Framework, and the MKMapView class, these tools allow you to display a Google Map type view within your app.

https://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKMapView_Class/MKMapView/MKMapView.html#//apple_ref/doc/uid/TP40008205

Sounds like your working on a big project, so good luck with it.

Regards Mark
 
OP
M
Joined
Mar 14, 2012
Messages
12
Reaction score
0
Points
1
HI Mark,

Thanks so much for your response. I have not programmed in 11 years so will be good way to learn from my COBOL Days. Hope to have my App done in 3 months or less so will try to put as much effort as I have time for.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top