iPhone Location Service

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

iPhone Location Service

Postby Robert Huber » Fri Mar 02, 2012 9:53 am

Hi All

We are having a request about an iPhone App which needs to use the location service of the iPhone. As we already have experimented and created a first foundation for building iPhone Web Apps with Servoy, I like to ask if someone has already some experience in using location service or other iPhone services from within Safari Mobile, developed with Servoy - and what experience is made?

Thanks for sharing your knowledge.

Regards,
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Re: iPhone Location Service

Postby omar » Mon Jul 02, 2012 5:11 pm

From what I understand the following code can be used to determine if lcation services are enabled:

Code: Select all
if (self.locationManager.locationServicesEnabled) {
    [self.locationManager startUpdatingLocation];
}


To determine if the user has approved the use of the location services you must wait for the locationManager to fail with an error (or not). This requires use of the SDK though which may not be what you want.
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands


Return to Web Development

Who is online

Users browsing this forum: No registered users and 5 guests

cron