I'm wondering it there is a way to build an Objective-C applications and then integrate into an HTML page so it can be open from iPhone, Safari. Is that possible?
I'm thinking to be something similar with Flash application embedded on HTML pages by using a Flash Player plugin.
Cheers,
Codrin
No, it's not possible. But you can use Cappuccino, which is web framework for Objective-C developers.
Safari is not build to run Objective-C apps..
You should submit your application to the AppsStore, which is the best way to distribute application over the iPhone platform.
Related
LinkedIn used HTML 5 for their iOS Universal app. I have built a few iPhone apps but with Objective-C. I also want to build an native app that uses HTML 5. IS there any good resource to learn about that from scratch?
Did they used UIWebView whenever they needed to embed HTML 5 in their app? Please help
Try out Phonegap:
honeGap is an HTML5 app platform that allows you to author native applications with web technologies and get access to APIs and app stores. PhoneGap leverages web technologies developers already know best... HTML and JavaScript.
and the easy Tutorials
I am new to IOS development (currently, I'm developing websites in ASP.NET) and I found out that one can create an IOS app using just html 5 and javascript.
Well that is great news for me since I don't have the time to learn Obj-C and xCode way of writing apps.
I have heard some opposing statements, though, on whether I will be able to submit my app into the app store.
Will I be able to submit such app in the app store?
If not, is there a way to 'wrap it up' somehow, so it could be submitted?
Thanks!
No, only native app will be listed in the App store. To submit apps to the appstore you will always need a paid Apple Developers account.
Native in this case meaning real apps that can be installed.
You can build an app in HTML and Javascript in tools like Phonegap and Titanium. These tools will create a native app which loads the local HTML and try to make it feel like a native app.
You will need to use a wrapper, like AppMobi (where I work). This lets you write your app in html, javascript and CSS only.
You need to wrap your application in a UIWebView container. As far as I know, there's no way to package an HTML5 only app for the App Store. I have four apps in there that are HTML5/Javascript apps, wrapped in a UIWebView. There are also third-party frameworks available for this.
I came across this link:
http://ofps.oreilly.com/titles/9780596805784/
which seems to suggest web app can be converted to native iphone without writing a single line
of objective-c code. But the book mentioned there is outdated now and things may have changed a lot.
Are there open source software that will allow me to automatically convert my web application to native iphone ( or android) application? By the way my web application is html5 canvas based animation application with lot of html and css as well.
PhoneGap doesn't generate native code for you: it creates an application consisting of a WebView and throws your HTML code on it. From personal exerience I can add that the performance is quite slow, on both iPhone and Android, compared to a native app.
jqTouch creates a nice way to access your web application, but the application remains a web application residing on your site, plus you have to use some jquery for styling.
Apparently the only one that actually does generate native code is Appcelerator Titanium. On RhoMobile I never managed to get to the point to actually write some Ruby code because you have to know all the Ruby in he word just to install it on your Mac.
So the verdict was to sit down and develop the app in objective-c.
Have you looked at PhoneGap?
Simple steps to put your html app into iOS native container, without coding:
Download xCode
Download simple web view app from https://github.com/nomtek/iOSWebViewApp
Open simple web view app within xCode
Add your HTMLs to the project file structure
Run your app and voila :)
This approach is good if you don't need access to any phone specific features, just a standard Web View. Loading time will be short as this approach doesn't load any extra libraries.
I need to create a web app on iphone. How to go about it?
there you are: http://gigaom.com/apple/how-to-create-an-iphone-web-app/
A search on Google for 'Webapp Tutorial' can do magical things.
Edit:
This one for HTML5
http://sixrevisions.com/web-development/html5-iphone-app/
Look at the Wink Toolkit. Very useful for developing Mobile WebApps.
I am planning to make an iPhone web application and I just wanted to know what is required for web development?
Can I do the web development on a windows machine? Does Apple provide any iPhone plugin so that we can develop web application using Windows?
What is required for developing on a Mac?
Regards,
Amit
If you are making a web application, you can download Safari for Windows and view it there.
You can also use Joe Hewitt's iUI framework to make your app look and feel all iPhone-y.
? If you are gonna build a web application, the application runs on the browser. To use your application the user use Safari (on the iPhone). Apple doesn't control web applications.
If you mean, embed your web application, INSIDE a native iPhone application, you need a Mac to build the wrapper, for the core application you can use whatever system you want.
May I suggest to take a look at phonegap (if you are looking to iPhone app).
Check out these three apple sites:
http://developer.apple.com/safari/library/codinghowtos/Mobile/GraphicsMediaAndVisualEffects/index.html
http://developer.apple.com/safari/
http://developer.apple.com/safari/library/navigation/CodingHow-Tos.html
I would check out these pages thoroughly, and also at a minimum, I'd download safari for mac or windows.
Yes, you can develop it on windows. They are just web apps.
For mac or windows, latest safari and a public website is probably all you need. Check out google app engine for a good free development site that supports a database/datastore. www.appspot.com
Also, you can look at the webapps on a regular computer. http://www.apple.com/webapps/travel/staycation.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=25536&cat=94&platform=osx&method=sa/
http://www.apple.com/webapps/games/
I presume you are talking about creating a web application designed to be used from an iphone.
The iphone uses safari as its browser. You can download this for use on windows and it should give you an accurate representation of how your app will look when rendered on an iphone. However in order to test how well your app performs on the phone, and if it really is usable using the touch screen the I think the only way to be really sure is to test using the iPhone.
You can use safari for windows to test the rendering but for your final tests you need to use a real iphone in order to understand how your users will experience it.