I have been searching whole internet but there are tons of outdated things about this issue
I simply have PhoneGap project.
some contents
And its working flawlesly when I use the PhoneGap app for my iPhone.
Really perfectly!
So I want to really try it and test it before I maybe purchase dev acc.
But I don't know how to test it and upload the contents of PhoneGap project (which is nearly basicaly HTML and CSS website) to my iPhone.
I can do it just for my device to send a project from xcode to my iPhone.
But it "god damnned!!!" does not look like from the PhoneGap "emulator" or what so ever.
This is not right:
pubnub.com/blog/2014-10-30-converting-your-javascript-app-to-an-ios-app-w-phonegap/
and this is far beyond working
adobe.com/devnet/archive/html5/articles/getting-started-with-phonegap-in-xcode-for-ios.html
I can see that there is really some "Gap" and the know how is maybe "well paid" feature.
So please how can I simply test the "contents" - app from PhoneGap.
Its kind a template and then HTML website.
I see that there is lots of third party websites doing some mojo and magicaly wrap you HTML5 website, but when I wrap it as one of the tutorials above showed..its not what it supose to be.
Xcode
And for example the Onsen.io templates are just broken..
Is there any working tutorial how to put PhoneGap project to iPhone through Xcode? for testing?
Hint: Adobe does not allows me to make an app without signing key..so.I cannot even test it. And even if...its an APK. file and that I cannot run either..useless.
if you gave installed phonegap/cordova locally then run this command in project folder.
cordova platform add ios
after running that cordova will create a ios project inside
<projectfolder>/platforms folder. You can open it in Xcode and run it like any other Xcode project. and also deploy it to attached device to test it.
Related
Is it possible for me to develop and iOS app on my phone? I wanna either code an app off my iPhone 5 or just make my website into an app. Is there somewhere I can go to do this or is it not possible?
You can only programming on Xcode. And if you want to make your website into an app, you can use WKWebView. You can build a wkwebview with a url, then your app would just like a browser. And you can what you want in the website.
It is not possible to make an app from your iPhone 5. You can only create iPhone apps with a native programming language using Xcode. But, you can convert your website to an app using an application like PhoneGap, or you could use a JavaScript library like Electron.js.
I have to build a hybride app, out of my webapp. It´s not allowed to use a middleware framework like phonegap which just builds it. In my app I want to show that HTML5 already allows to use a lot of functions of the mobile phone like the geolocation, instead of frameworks which can do the same, so I cannot use the framework for building my app. Which program should I use, VS? And how can I build my application(jpk) without a framework like that to test it on my mobile phone?
You should create a simple application with a webview and run your webapp inside this webview.
The problem is: hybrid frameworks like Cordova or Phonegap arent supose to just implement mobile features like camera or gps, they are useful writing once and run everywhere without complaining about iOs and Android code or even for fallbacks. Probably in the future youre not even going to install applications in your phone to use all mobile features using only browser features.
Here are some helpful links:
https://developer.android.com/guide/webapps/webview.html
https://developers.google.com/web/fundamentals/getting-started/codelabs/your-first-pwapp/
https://developer.mozilla.org/en-US/Apps/Progressive
i have created my Mobile application with Jquery mobile now i want it to deploy
now how should i deploy across platforms like and android Iphone etc.,
Phone Gap looks promising but it is confusing plus it looks like i have to re code stuff again
please Help
Thanks
jQuery mobile framework provides tools for mobile UI. It is used in combination with standard web application backends. Such applications are deployed on web servers! If you want to make hybride apps you can use PhoneGap, that's right.
PhoneGap projects use an open packaging model that follows the W3C Widget Packaging specification. You have to adjust your project according to the specifications or simply deploy it as a web application on a web server.
I am coaching my son's flag football team this winter and I'd like to make a little one pager app with jquery which will display and animate for the team some plays during huddles. I have been researching this quite a bit and it seems there is no way for safari to load local files. Some have suggested using goodreader, the app, but according to their manual they use a simplified browser rather than safari.
Not sure what else to try. The iPad is wifi only using ios5.
Safari is not capable of loading local files.
You have a few different options. You can:
Upload the file to Dropbox, and use it's offline mode to view it.
Use a native / hybrid container (like Appcelerator, PhoneGap, etc)
to bundle your HTML/Javascript into a "native" app.
No Safari can not load local files. You can't run local applications from there. What you can do is develop an actual app for your iphone using dreamweaver/jQuery. You could make pre-recorded videos and play them on your iPad as well. Goodreader, from what I can tell, is for reading local PDFs, which has nothing to do with apps... (but I don't really know)
This page should give you a general idea of using JQuery (mobile) to develop and actual app:
http://jquerymobile.com/
Edit: I just thought of a simpler approach that should work. Open a drop-box account at dropbox.com and put the website/Jquery in the public folder. Get the URL for the public folder and use that. Open the website on your iPad and then don't close the window. Even when the network connections stops it should still work.
I ended up using HTML5 built in APPCACHE: http://www.html5rocks.com/en/tutorials/appcache/beginner/
We went undefeated BTW :)
I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html