How to make an android app with API ajax calls for data without Android Studio?

Making android apps need a lot of setup

  1. Android Studio
  2. JDK
  3. Many other dependencies

So lets see how one can make an android app with out any of these software.

Do you think its possible for free?  YES.

Let me show you how.

Create your application with business logic using any front end technology like

  1. React
  2. React Native
  3. Javascript, HTML5, CSS3
  4. Or anything that you know.

Then you have to add a config.xml file with below settings for android.

Don’t miss anything from the below file.

====================================================

<?xml version = “1.0” encoding = “UTF-8″?>
<widget id=”com.livetoyourpassion.words” version=”1.0.0″ xmlns=”http://www.w3.org/ns/widgets” xmlns:gap=”http://phonegap.com/ns/1.0″ xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:cdv=”http://cordova.apache.org/ns/1.0″>
<name>Tutorials Point</name>
<description>
Tutorials Point Online Viewer
</description>
<author href = “http://livetoyourpassion.com” email = “satya4satyanm@gmail.com”>
Satya
</author>
<content src=”index.html” />
<plugin name=”cordova-plugin-whitelist” spec=”1″ />
<preference name = “permissions” value = “none”/>
<access origin=”*” />
<preferance name=”android-usesCleartextTraffic” value=”true” />
<allow-navigation href=”*” />

<platform name=”android”>
<edit-config file=”app/src/main/AndroidManifest.xml” mode=”merge” target=”/manifest/application”>
<application android:usesCleartextTraffic=”true” />
</edit-config>
</platform>
<allow-navigation href=”http://*/*” />
<allow-navigation href=”https://*/*” />
<allow-navigation href=”data:*” />
</widget>

===========================================

Use Phonegap cloud build by signing up for phonegap app build.

Download the apk and test on your android phone by installing it.

Any ajax call to get data from any API should work like charm.

That’s it.

Now you are an Android Developer.

 

Enjoy.

Please follow and like us:
error

Author: satya