I have an existing objectiveC native app for iPhone. Can i add a button in native app so that clicking on to that will bring up phonegap UI (ie, which use phonegap framework). Is there any way to acheive this.
As much as I know/explored -
On click of a button you can open up an HTML page in your web view(as we do it while building a PhoneGap app.).
But if you want to open the same Native App to get converted in PhoneGap app that's not going to work for sure.
Hope it helps. :)
Related
I want to make an plugin like app in iphone for mobile web browser, in which i want to use safari (or any browser) current link and also link which is present on the web page, when i click on it my app should invoke for using targeted link.
I know plugins are not supported in mobile browser,
Can anybody have any solution without jailbreak?
Thanks in advance.
I am new to android developement.i had created one page in jquery using html and css and i want to add it to the android activity but i am unable to do it,can anyone please provide me proper code for it?
If you're talking about how to make a hybrid app (using HTML/CSS/Javascript to make an application but still have native Android functionality) I would take a look into Phonegap. Just follow the directions and it lets you upload HTML/CSS and your AndroidActivity simply has to open it. Hope this helps.
In one of my projects, the client wants to have an installable app ( native ) but this app will show just a web content in a WebKit ( the web page is built with iWebKit ).
My question is this: Will apple accept this app because the content can be changed, and should it be a web app, not a native one?
If this just opens a website, then no apple will probably not accept it.
If the app is build using javascript and HTML which is bundelt with the app then yes, this is what tools like PhoneGap use.
I believe they should(you never know with apple...), phonegap is using a similar approach, and if you go here, you will see quite a few apps made for iphone.
I am new to Phonegap to develop native Applications. I cant see any jQuery files under WWW folder. Why should i download it?
Is it possible to bring UITabBar, UITableView everything through Phonegap and javascript without jQuery? What is senchaTouch, what is the purpose of it? Anybody can give clear direction?
jQuery is not required to make apps with PhoneGap. However, if you would like to, you can use jQuery in your apps if you wish (jQuery just uses Javascript itself).
UITabBar and UITableView are native iOS controls. PhoneGap does not provide a way for you to use those at the moment. But if you take a look at the PhoneGap roadmap, you will see a bullet point marked "Native Controls" - so don't give up hope!
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.