One way (the only way?) to do it would be to use UIWebView and use 
Objective-C to get the GPS info and pass it in to JavaScript.
The Blackberry solution is better, hopefully Apple will add this in a 
future release.

-- Sean

Jeff Pickhardt wrote:
> I agree - good browsers with web standards (and js) is better than
> using Flash or Silverlight...
>
> One thing especially important for phones:
> How are we going to get the phone's location (lat and long) on the
> web?  The Blackberry already has a javascript solution.  I'd love to
> see both a javascript way to get lat and long, and a way to get it
> passed through the headers for the back-end.  (This is assuming that
> the user allows the particular domain to access the lat/long
> information, for privacy concerns)
>
> Any thoughts?
>
> On Tue, Oct 7, 2008 at 6:41 AM, Jorge Chamorro <[EMAIL PROTECTED]> wrote:
>   
>> Sirs,
>>
>> This thread was first about Flash and later on about JAVA, and,
>>
>> We need no more java nor flash nor silverlight nor any other
>> propietary solution to the problem.
>>
>> What we need is a push towards complete, functional, useful apis and
>> web standards, and possibly (JavaScript)(), in order to get the web
>> (finally) working as it should... (against M$'s own interests). Sorry,
>> but the web as a platform shouldn't rely on propietary solutions.
>>
>> Did I say HTML5 ? It's a good starting point : send your own
>> proposals: http://www.whatwg.org/mailing-list
>>
>> As to propietary non-web 'native' solutions, why would Apple want to
>> promote sun's JAVA in its own platform (the iPhone) ?
>>
>> Nonsense.
>>
>> And how is JAVA better than Cocoa's frameworks + objective C ?
>>
>> Apple has the best phone on earth. Nokia, Motorola, HTC, anyother
>> could have done it, but they didn't even know what nor how to do it.
>> It's been Apple and now they are in their own right to set the rules
>> on their own platform. Furthermore, I don't even think that JAVA is a
>> better alternative, although google seems to think so. We'll see. Time
>> will tell.
>>
>> --
>> Jorge.
>>
>> On 06/10/2008, at 16:57, Kevin J. Butler wrote:
>>
>>     
>>> RobG wrote:
>>>       
>>>> On Oct 4, 7:20 am, "Kevin J. Butler" <[EMAIL PROTECTED]> wrote:
>>>> [...]
>>>>
>>>>         
>>>>> When... Sun deliver versions of ... Java that let Apple control the
>>>>> applications delivered to the iPhone, Apple will let it happen.
>>>>>
>>>>>           
>>>> The lack of Java on iPhone has nothing to do with Sun, the iPhone
>>>> simply has no JVM.  Apple doesn't supply one and there's no 3rd party
>>>> JVM for it from Sun or anyone else.
>>>>
>>>>         
>>> This is incorrect.
>>>
>>> http://java4iphone.com/all-news/all-news/tutorial-install-java-on-the-iphone/
>>>       
>>>> Even if there was, you'd either
>>>> have to jail-break your phone to install it or get Apple to agree to
>>>> install it (by App Store or software update).
>>>>
>>>>         
>>> Yes, you have to jailbreak the phone. As I said above, it doesn't "let
>>> Apple control the applications delivered to the iPhone"
>>>
>>>       
>>>> Apple knows
>>>> enough about the iPhone OS (which is apparently based on OS X) and
>>>> the
>>>> OS X JVM to know that Java apps won't perform very well.
>>>>
>>>>         
>>> Java apps will be fine on the iPhone - especially compared to the
>>> other
>>> mobile phone platforms running J2ME apps.
>>>
>>> As I said, the issue is not technical. It is completely a matter of
>>> control - Apple really /really/ wants to control the iPhone
>>> application
>>> market monopoly and use it to strengthen their Mac OS market monopoly.
>>> Anything that delivers applications by channels other than via Apple
>>> is
>>> thus a Bad Thing.
>>>
>>> kb
>>>       
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to