Skip to main content

How to create an android app just using HTML?

Hello everyone,In this today's tutorial I am going to teach you to build android apps on android phone just using html.
In this present time ,there are many ways of building android apps such as coding ,from scratch e.t.c.But the way I am going to teach is very simple.No special knowledge of any programming language is required.

App builder is an android app that allows you to develop android apps without coding.It is developed by serakont.Download it from playstore.App Builder allows you to create your own Android apps from HTML content. No coding is necessary for basic needs - just use any web page design tool to make the content. The content may also include pictures, scripts, CSS, etc.
After opening app builder it will display the options as given in the picture:

New
Click NEW button in the action bar to build new app project.

To edit existing app
Click on the app in the app list.

To build and run the app
Click BUILD button in the action bar.
If Android blocks the installation of your new app, open the Settings app, go to Security section, and switch on Unknown Sources.

What is Label?
Label is the name of the application. It is displayed under the app icon on the launcher screen.

What is Icon?
Icon is a small picture representing the app. It is displayed on the launcher screen.
When you choose an image to be used as an icon, it will be scaled to 144x144 pixels. This may cause some distortion.

What is Content?
Content is the initial HTML content that is loaded when your app starts.

What is Assets Folder?
Assets Folder is the folder with your files. The whole folder and all its sub-folders will be included in the app. Files in the Assets Folder can be referred to in HTML as file:///android_asset/filename.ext.

What is Package Name?
Package name identifies an app in Android. Same package name means same app. When you install an app, Android checks if there is an installed app with the same package name. If yes, the app will be replaced with the new one. Package name may only contain lowercase letters, digits, underscores ("_") and dots.
Choose a name that is unlikely to be used by any other app.

What is Version?
Version is a number that becomes important when you distribute your app. For example, after publishing an app on Google Play, you can only update it with an app that has a higher version number (and the same package name).

How to link to other HTML pages?
<a href="file:///android_asset/AnotherPage.html"> Link to a file in the Assets Folder </a>

<a href="file:///sdcard//ExternalPage.html"> Link to a file on the device memory card </a>

For security reasons, links to web pages on the Internet will be opened in a browser, not in your app.

Testing

You can test the content of your app without rebuilding it. In the content activity, click TEST. This will only work if your app has already been built before.


Start a new app by clicking new option.After that you need to add all the initial html contents of your app.Other languages such as JavaScript for dynamic content and CSS for styling can also be included in the content.After that all the assets or resources of the app such as pics videos audios should be placed in the asset folder.Required app name app icon app package name and app version should be entered in their respective field and click on the build options to build the app.

Comments

Post a Comment

Popular posts from this blog

Things you should never do in your android phone!!

Hello guys, in this article I will be telling about four  things you should never do in your android device.May be you have a new android phone or you are using the old one.This list covers most of the things that you should not do in your old as well as new android phone. 1)Installing apps from unknown sources There are many people who used to download apks from the google or other websites rather than from the playstore.One of the reason behind this is most of the paid apps can be easily available from the google.But in my view this should not be done in your phone.It causes piracy.Those apps you installed from the unknown sources may contain malicious contents ,viruses and also may leak your private informations.So I do recommend you to download apks always from the Google Play Store. 2)Clearing recent apps  It is the most common task that every android users used to to in their phone.Thinking that it will increase the device speed and the RAM ,most the users clear th...

Techtalk #1: Explanation of android rooting by Binit Ghimire

Hello friends, welcome to this first techtalk.This techtalk covers all about rooting android phone, its advantages and disadvantages. I had a short conversation with Mr.Binit Ghimire, founder of Binit Games and admin at Tech Sanjal .He is tech enthusiast with knowledge in programming field as well as computing and internet.I asked him some questions about android rooting and he gave very understandable and deep answers to me. So here is the techtalk with him consisting questions and answers. 1) Actually what is meant by rooting? Ans:He told that rooting is a process of gaining deep access to the administration of the device.It helps user to get full access to android system. It allows to perform several takes related to the control mechanism of the device. In android, it's known as 'rooting' whereas in iOS, it's known as 'Jailbreak'. They are similar in some cases. 2)Is rooting important for android phone? Ans:He told that its not important to root androi...