HTML5 Android Development

I am interested in making an Android app, while my main hobbies are web development. Now it bothers me that people make HTML5 / CSS3 / JavaScript applications, are those applications that work in web browsers on an Android phone or work as an installed application on Android?

+5
source share
2 answers

It's good that you can create and develop your application in three ways.

  • Native: full Java code in case of Android or Objective-C or Swift is now in iOS
  • Web: HTML5, CSS3, JavaScript
  • Hybrid: a mixture of two

If you are a web developer, you can create your application in HTML5 and then use a wrapper like PhoneGap or Apache Cordova , which simply closes or packs your application in WebView (web browsing looks like a simple browser inside your own application).

Then you will have an APK, like any other application on Google Play, so yes, this is a complete application that you can install, update and remove, of course, on any Android device

But there is a difference between them, for example, the speed depends on the type of application: earlier web applications could not access the accelerometer, camera, gyroscope, etc., but now that you have a set of APIs, you have access to them in a very simple way.

Full definition of webView

The WebView class is an extension of the Android View class that allows you to display web pages as part of your activity layout. It does not include any features of a fully developed web browser, such as navigation controls or address bar. Everything that WebView does, default, displays a web page.

More on WebView Here

+5
source

Yes, they can be opened in web browsers. Those mobile apps that are written in HTML5 are really web apps that have a Mobile user interface. You can create and test these projects using Visual Studio 2012. Go to the new project → Web → ASP.Net MVC 4 Web Application → in the “select template” select “Mobile Application”

0
source

Source: https://habr.com/ru/post/1202481/


All Articles