Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am newbie, and i don't know how to create HTML5 based android application.
1.) Could anyone give me some workaround on how to create HTML5 based application for android platform.
2.) What tools/libraries should i use in creating application ?
if possible, then please share the links.
Android SDK enables you to create a web browser app. Just like Google chrome. You can then deploy the App to Google play store so people can download it and Install it on Android phones and tablets.
Jquery mobile is a popular framework that makes it easy to create a mobile web App that can be viewed in a browser.
Put the two together and you have a mobile APP that can be started on the phone just like any other app and it looks and feels just like a native APP.
Once you create your Android SDK webview App you can move the JQM folder in the resources folder and tell webview to load the index page of your web app when the app starts. When you create your first app and get the hang of it you will see its very easy.
Here is a Tutorial.
https://www.youtube.com/watch?v=QRa4yMjoI7c
But JQM still lacks a few things from what native written apps can do but its getting there. The latest version 1.4 is quite good but future versions will be even better and have more abilities.
The good thing about JQM Apps is that they can be viewed on any browser so it can reach more people and more platforms.
If you want to access some of the mobile phones inbuilt devices such as the camera or SD card with JQM then you need an addition to the Android SDk called Phonegap.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to make an app for android 4.4 that loads and runs a web page offline. I want to play this modified 2048 game (http://sanchit18.github.io ) on nexus-5 device as an app. How to do that using eclipse adt or android studio?
Also, the webpage displays the graphics correctly, but the images in the tiles render incorrectly when run on a mobile device in web browser. How to correct this? Please help with these two queries.
You can use Webview. WebView allows you to display web pages as a part of your activity layout.
Nowadays PhoneGap is probably the most efficient way to convert a web page into an app. It is open source and generates apps for every platform, not just Android.
For this purpose I used Phonegap a lot, and in the past I would have recommended it.
Unfornutaley Phonegap has an important disadvantage: whenever a security update of Phonegap is released, Google Play requires you to upgrade your app. If you have written many apps (like I did), having to recreate all of them (3 times in latest 2 years) is quite annoying. Therefore I would recommend Webview instead.
You could use App Builder to convert html to android app. App Builder can be easily downloaded at google playstore.
Use a web view
http://developer.android.com/reference/android/webkit/WebView.html
And there is a tutorial here
http://developer.android.com/guide/webapps/webview.html
Use Intel XDK software. Tha following steps can make you to create apps.
Install Indel XDK from https://software.intel.com/en-us/intel-xdk
Import your html files in it.
Convert as App(Android, Ios, Windows)
To convert your website into android app please visit this link
Paid version:
https://play.google.com/store/apps/details?id=com.web2apkbuilder.app.paid
Free Version:
https://play.google.com/store/apps/details?id=com.web2apkbuilder.app.free
The generated apk will support from Kitkat to Latest Android Version.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've previously made native apps but I'm considering making an HTML/JS app. I'm uncertain as to how these should be structured.
For example:
Should the app just be a webview that points to my server, ie: www.example.com/webapp and have ALL the app files and resources there?
Should ALL the app files be contained inside the executable?
Something in between, like for example have big asset files (images, maybe libraries like jQuery) stored locally while the actual app gets pulled in from my server, as to always use the latest code.
This app in particular needs Internet access as it's only purpose really is to query a database of local offers, so in this case I'm not worried about providing offline access to any functionality.
Also, will Apple approve of any app that is just a webview pointing to a server, since I could totally change the functionality after it's approved?
Any other thing I should be aware of when creating HTML mobile apps, specially in regards to getting Apple approval?
Thanks!
Apple will aprove .ipa apps that are using just HTML and web languanges. However Apple has several requirements when submitting apps to the app store. These requirements sometimes make people who develope apps using HTML5 think their apps got rejected because it was in HTML5.
I would suggest coding in standard HTML5 JQuery, JQuery Mobile, CSS and using JSON for your MySQL Databases. You can compile your app using Phonegap this way you can make it for many types of mobile devices or you can simply upload it to your server.
Try to use PhoneGap it uses WebView in Android and IOS.
Also check Phonegap based frameworks and plugins like:
Appcelerator
KendoUI and Icenium
Convertigo
Sencha
You can also use jQuery mobile with those tools.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to develop a local web app using mobile jquery.
what is the way to open the app using icon in iphone and in android?
Thanks,
it really depends on your project depth.depth in sense of complexity.its always suggested to develop separate for each platform.evaluate your needs carefully.
if the application is simple enough then you can go for third party apis
PhoneGap and Sencha Touch are good options.
but still you might find yourself restricted by a third party API if you need to add new functionality in the future.
What i understand from your question is you want to create a iOS and Android app using html, jQuery etc. There are tools such as PhoneGap, Titanium and Sencha touch. Using this tools you can create a mobile applications with help you HTML, jQuery. However, this apps won't have same user experience as it'll have with the native apps. Also, just think about future releases of your application. If Apple or Android adds new features to there OS it'll be definitely take sometime for above third party API to implement them
Also, apple clearly rejects app which acts like a website. So, you'll have to be careful with this. I'd suggest you to go for native app development. It'll provide you flexibility.
As far as I know, you can't get anything onto iOS without an Apple Developer account. As for Android, you can check out PhoneGap. It also has iOS, but it won't build without a valid apple dev account. Does that seem to be what you're looking for?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
I would like to know if I can use phonegap to create a simple augmented reality application.
Can I create an augmented reality browser with phonegap to show pois at camera of Android phone?
Anyone know some references or simple examples?
PhoneGap is not just a native wrapper of a web app. Through the PhoneGap javascript APIs, the "web app" has access to the mobile phone functions such as Geolocation, Accelerometer Camera, Contacts, Database, File system, etc. Basically any function that the mobile phone SDK provides can be "bridged" to the javascript world. On the other hand, a normal web app that runs on the mobile web browser does not have access to most of these functions (security being the primary reason). Therefore, a PhoneGap app is more of a mobile app than a web app. You can certainly use PhoneGap to wrap a web app that does not use any PhoneGap APIs at all, but that is not what PhoneGap was created for.
if there is something u want to use in your app that phonegap does not provides then you can create a native plugin and use the functionality in your app.
thus phonegap can be used to create apps that can match 100% with the functionality provided by a native app. you can give it a try to create your app.
You can use the Wikitude AR Phonegap Plugin, you can do almost everything with that using JS, HTML5 and CSS3.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Can we create android applications using HTML5?
You can write complete apps for almost any smartphone platform (Android, iOS,...) using Phonegap. (http://www.phonegap.com)
It is an open source framework that exposes native capabilities to a web view, so that you can do anything a native app can do.
This is very suitable for cross platform development if you're not building something that has to be pixel perfect in every way, or is very hardware intensive.
If you are looking for UI Frameworks that can be used to build such apps, there is a wide range of different libraries. (Like Sencha, jQuery mobile, ...)
And to be a little biased, there is something I built as well: http://www.m-gwt.com
Try Sencha Touch. It is a HTML5 compliant framework to build application for touch devices.
Here is a starting point for developing Android apps with HTML5. The HTML code will be stored in the "assets/www" folder in your Android project.
https://github.com/jakewp11/HTML5_Android_Template.git
When people talk about HTML5 applications they're most likely talking about writing just a simple web page or embedding a web page into their app (which will essentially provide the user interface). For the later there are different frameworks available, e.g. PhoneGap. These are used to provide more than the default browser features (e.g. multi touch) as well as allowing the app to run seamingly "standalone" and without the browser's navigation bars etc.
You can use WebView and create a app that put your site inside.
https://developers.google.com/chrome/mobile/docs/webview/gettingstarted
you can use webview in android that will use chrome browser Or you can try Phonegap or sencha Touch
The WebIntoApp.com V.2 allows you to convert HTML5 / JS / CSS into a mobile app for Android APK (free) and iOS.
(I'm the author)