Can we convert iOS native app to web app in xcode - iphone

Is there any way to convert ios native app to convert to web app because the client have a master piece application which can only see html5 app pdf files or any web app.
So is there anyway to convert the ios native app to web app

I dont think this is possible. You will have to recode it as a web app. There is no objective-C -> html5 converter.

Related

HTML 5 in native iOS app

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

How to deploy a jquery-mobile web app to an Iphone store app

I have built a Jquerymobile webapp , I want to take it a step further, build additional features and deploy it as an iphone app. I am confused on connecting these two dots. I looked at Phonegap and Titanium. Phonegap does not allows to register yet and Titanium seems like I have to code everything again using Titanium apps . Any ideas on how to bridge the gap of connecting iphone app and jquerymobile.
I use phonegap for my iPhone apps and it works well. Phonegap Build will even encode the iPhone (and Android, Blackberry, etc) app for you so you don't have to use Xcode.
Phonegap download 0.9.6: http://www.phonegap.com/download-thankyou
How to start an app using Xcode and Phonegap: http://www.phonegap.com/start
signup for Phonegap Build: https://build.phonegap.com/
Can you just take your already written JS code and use it as your source for a UIWebView? Those middle-ware platforms you mentioned have their own JS libraries you need to use, but if the code you already made will work as-is on an iPhone, dumping it into a UIWebView should be all you need to do.

How To Make iPhone App Into A Web App

If I make a iPhone app, like a grade manager. What technologies are necessary to make it into a web app.
This includes reading the data from iPhone app in the web app portal (not necessarily editing from web app as of now).
I think I need to transition from using plists to using MYSQL?
Probably you need to this:
http://www.phonegap.com/
it's an Open Source Mobile Framework That Supports iOS and other platforms.
Hope it will give you a guide.
The best approach would probably be to write a web app that can communicate with the iPhone app, not "converting" the iPhone app to run on the web.

By using PhoneGap can we convert iphone app to android app?

Can we build an iphone app and convert the application to the android application using phonegap framework?
I have been through various links.
We basically need to develop a webapp for that and that can be converted to an android app or an iphone app respectively.
I am an iphone application developer and i am not at all familiar to android.
Links or example code would be greatly appreciated.
PhoneGap will not enable you to "port" an existing iphone application to Android. However, if you develop an application within the PhoneGap framework (which means using html, css and javascript), you will be able to deploy it on multiple mobile platforms such as iPhone, Android, Nokia, Blackberry, etc.
The downside is that you will eventually be developing a packaged mobile website - your application consist of html pages, css styling and javascript behaviour/logic, combined whith access to phone internals such as gps, disk, database, camera, etc. It will usually not "feel" fully native on most platforms. For example, you will not be using the system's "native" ListView.
There are javascript libraries such as JQuery-mobile, JQTouch, etc, that make your application look nicer on mobile devices, but it's still not as good as the native experience.
The app you build will not be a native Android or IPhone app but a HTML Web App wrapped in the PhoneGap wrapper and packaged into a native app. So yes you can build for both platforms as long as you build a Web App
Edit -(a Web App is just a plain html/css/javascript + server-side(php, asp etc) website)

iPhone Mobile Safari File System Access

Is it possible to write to a file in a native iPhone application and have a Safari browser read from that file after having the browser opened from the native app?
Alternatively (and this would be great!), would it be possible to launch a mobile Safari webapp from a native iPhone app, and have that application access the OS 3.0 External Accessory Framework? My assumption is no...
Basically, I have a functioning iPhone app that wraps a simple mobile Safari webapp, but I'd like to utilize the external accessory framework once I have launched the Safari webapp from the iPhone app...
You can use the phonegap framework : it provide a project template and libraries to access native function in javascript (like writing/reading a file).
Consider also the localstorage and the SQLLite DB...
There are 2 different interpretations. If you want to launch MobileSafari from your app, then the answers will be no since MobileSafari and your app are isolated by sandboxes. But you may include the detail in the URL like
http://example.com?info=SXMgaXQgcG9zc2libGUgdG8gd3JpdGUgdG8gYSBma…
But you can embed a UIWebView in your app, then the answers will be yes (to the UIWebView), since you may communicate with the web view with any ObjC code.