Much depends on what effect you are trying to achieve.
I can think of a few off hand.
1) An application can launch safari and have safari navigate to a
particular URL. There is no return of control after this.
NSURL *myURL = [NSURL URLWithString:@"http://www.mywaves.com];
[[UIApplication sharedApplication] openURL:myURL];
2) An application can register itself to be launched from safari by
placing the URL types your application will handle into its info.plist
and then providing an implementation for handleURL. Apple has an
excellent example of how to do this at...
https://developer.apple.com/iphone/library/samplecode/LaunchMe/index.html
3) An application may basically embed a browser into the application
via UIWebView. The application can intercept gestures, user's link
clicking, and returned html from the network and modify or enhance all
of the above before having the webview parse it.
On Jul 15, 2008, at 6:09 AM, Luis Oliveira wrote:
>
> Hi,
>
> I would like know to know if is it possible to integrate native and
> web applications in iphone. How can I do that ? Using Javascript ?
> How ?
>
> Anyone knows examples of these integrations ?
>
>
> Thanks.
>
> Luis Oliveira
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---