Android app development using web technologies

Android apps are all the rage now! Demand for Android apps isn’t going down anytime soon. Because of that demand every code enthusiast wants to develop an android app but how to get started? how are they developed? which language is used to develop? So many questions! Let’s start with a little intro and then dive into app development using web technologies

Native Android app development

Android apps are developed in Java programming language. Android studio is the official IDE for android which comes bundled with android SDK tools which are used to build the app.

So Java developers can get started quickly with android development but what about others who doesn’t know Java? Java definitely has a learning curve. Then came an idea of android development using web technologies – HTML, CSS & Javascript!

Hybrid app development

Apps developed with web technologies which can be built for different platforms like Android, IOS, Windows etc with one code base are called hybrid apps. But, why hybrid apps?

As per Stackoverflow’s developer survey 2015, Javascript is the most popular technology with 54% Javascript developers and Full-stack web developer is the occupation of most developers standing at 32%.

Android app development - Most popular technologies - Javascript

Android app development - Most popular occupation - Full stack web developer

So developing android apps using HTML, CSS & JS is a good option as it is backed by a large community and easy learning curve. but it does come with some drawbacks, we’ll talk about that soon.

This post is a series of linked tutorials about all the tools available for android app development using web technologies. Let’s get started with basic info about those tools!

Apache Cordova

Apache Cordova wraps your HTML web page into a native container. It just places your web page into a webview in an android app or IOS app etc. In simple words, Hybrid app is nothing but a simplified browser which opens a web page in the form of an app!

It also provides access to device APIs for Camera, Vibrator, Geolocation, battery status etc. Link to Apache Cordova tutorial and other tools at the end of this post.

Tools built on top of Apache Cordova

Hybrid apps can be developed using Cordova alone. To make it more easy, many other tools have been built using Cordova, providing additional functionalities and optimizations. Few of them are as follows.

Adobe Phonegap

Adobe PhoneGap framework is an open source distribution of Cordova which provides additional features such as hot reload, remote build and desktop app which can be used to build apps without using command line.

Remote build feature enables you to build apps without having native SDKs installed in your PC. Although hybrid apps are developed using HTML, CSS and JS, Native SDKs are required to build the final target file like APK for android. So this feature would help you to build app on the cloud but comes at a price.

Ionic Framework

Ionic is the most popular framework for building hybrid apps now. It is built on top of Cordova plugin and AngularJS framework. Read AngularJS for complete beginners tutorial here

Ionic optimizes hybrid apps as much as possible, smoother than other hybrid app frameworks and use of AngularJS is an added advantage for faster development.

Onsen UI

Onsen UI is similar to Ionic which is built on Cordova, supports AngularJS and provides predefined UI components which are optimized.

Hybrid app drawbacks

User Experience – Hybrid apps are not as smooth as Native apps, after all it is just a web view. Accessing all the native feature of a device in a hybrid app also has few problems.

In spite of few drawbacks, hybrid apps are way to go for small apps and reduce development costs!

Overcoming drawbacks

Tech keeps evolving! We have a problem? we solve it by developing something new! To overcome the drawbacks of hybrid apps, few master minds planned to develop a framework which would enable developing apps with Javascript but also use native views which would overcome performance issues. And that framework is React Native.

React Native

React native is a framework developed by Facebook which enables you to build native apps using Javascript and React framework.

React Native doesn’t compile Javascript to native code, It uses JavascriptCore in android devices to run Javascript code and creates a bridge between native views and JavascriptCore which enables building apps using Javascript with native views and performance.

React Native for Android was released in September 2015 and has already gained a lot of popularity. According to this post from facebook – Facebook ads manager official app is built using React Native which can be found here – Facebook ads manager android app

Note: Appcelerator’s Titanium SDK was released even before React Native which enables building native apps using Javascript but I have no experience with Titanium to talk about it. Share your experience with Titanium in comments below!

Android App development using web technologies

Tutorials :

Apache Cordova for beginners – In progress
Adobe PhoneGap for beginners – In progress
Ionic for beginners – In progress
OnsenUI for beginners – In progress
React Native for beginners – React native tutorial

Meanwhile, have a look at official sites of above frameworks and try them once and subscribe to our newsletter below to get notified when these tutorials are live!

If you have any questions or feedback, comment below!

Ranjith kumar
0 0 votes
Article Rating
Subscribe
Notify of
guest

11 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Ranvir
7 years ago

Mobile app developing process is that type of process which can never be going down because in now a days almost every men use different types of apps to fulfill their different needs. So their are competition on high level between app owners. Every app owner want that their app should be very popular. For this every app owner want to choose that type of app developer who develop any type of app by using new strategies according to people’s needs. so this information is very useful for app developers to get knowledge that how to develop apps using web technologies. love this informative post very much.

vsnarayana
7 years ago

I am confused with the Android app development particularly hybrid apps as which technologies and framework to use. Most of my queries got resolved after i read your article, thanks

John Lawal
7 years ago

I’m so amazed right now. Thanks for putting this together. I guess I’ll the hybrid and see which I prefer

alice nikolic
6 years ago

In today’s world app development is necessary for business. nowadays mobile and android app are more popular than websites. it’s easy to use and approach. Thank you for posting the article, it’s very useful and informative and good for beginner who want to learn

anna-quynh
anna-quynh
6 years ago

Hi, thank for your share! Building App use the Ionic platform is very difficult. We have to go through a lot of steps, then have to sign App types. Then, up to Google Play and App store. There are so many mobile app development tools out there today it can help you creat an App easier. The tools that I feel perfect Deployapp
http://deployapp.net/

Kannan D
Kannan D
5 years ago

Hi , I have worked on the titanium tool almost 2 years and it was awesome for developing hybrid application using it. it is fully based on the javascript and it contained its own widgets to develop for android, iOS and BB etc.

Priyanshu
5 years ago

I think your Complete Focus of Using Hybrid apps. But Native apps are more important than Hybrid in quality like UI/UX, Coding Structure Etc.

Torah
Torah
5 years ago

Thank you so much for this essential article. Very well explored all fundamental aspects of creating Android apps using web technologies. I’ve found additional information related to this post: https://mlsdev.com/blog/97-how-to-develop-an-android-app

Samuel
5 years ago

Preferably love to go with Javascript but as an app developer, Native android app development seems enough for the app development.

Rupinder
Rupinder
3 years ago

Thanks for sharing, this article is extremely great and helpful it is very useful for developers. Thanks and keep Sharing.

digiotttechnologies
2 years ago

This is informative post for Android App Development Services. Thanks for posting.