Browsed by
Tag: android

Publish your ionic 4 android app to playstore in just 4 steps

Publish your ionic 4 android app to playstore in just 4 steps

Ionic: awesome framework to create hybrid applications. I assume that you already created your app and tested. Let’s directly proceed with the steps to publish ionic 4 android app to google playstore. Step 1: Building ionic 4 app. ionic cordova build –release android This just creates unsigned apk file and the same available in “YOUR_PROJECT_NAME\platforms\android\app\build\outputs\apk\release\app-release-unsigned.apk”     Step 2: Generating keystore file keytool -genkey -v -keystore yourappname-key.keystore -alias yourappnamealiasname -keyalg RSA -keysize 2048 -validity 10000 Generating the keystore which is…

Read More Read More

160 total views, no views today

AsyncTask with Broadcast Receiver in Android – Tutorial and Example

AsyncTask with Broadcast Receiver in Android – Tutorial and Example

AsyncTask with Broadcast Receiver in Android: What we are going to do ? We are going to see an example for AsyncTask in Android with Broadcastreceiver. In our example we will be fetching the operator and circle information for the received new SMS sender phone number. What is AsyncTask & BroadcastReceiver? AsyncTask: [sociallocker] AsyncTask is basically to do a aynchronous jobs in android, which is nothing but the background processes. We can use AsynCTask to call URL’s, to fetch some…

Read More Read More

2,882 total views, 4 views today

Android Toast Example

Android Toast Example

Android Toast Example: Android toast can be used to display the internet connectivity status and application exit status. It can be used to make the more interaction to the application. Android toast example given below to help you in android programming!.             Toast.makeText(): Toast.makeText method used to display the toast. we need to pass the three parameters, 1. Context 2. String to display in toast (EditText value should be used with getText method) 3. Toast…

Read More Read More

707 total views, 1 views today

How to pass values between Activities Android ?

How to pass values between Activities Android ?

How to pass values between Activities Android ? How to pass values between Activities Android ? is the familiar question from all the android developers. As a android developer apart from learning navigation between screens, important to understand how to pass values between activities is also mandatory thing to know to develop any android apps.   In this program we are passing the values from the screen 1 to screen 2, which is technically a passing the values between the…

Read More Read More

614 total views, 1 views today

Android Screen Navigation Example

Android Screen Navigation Example

Android Screen Navigation Example: Android screen Navigation is the very basic one which all the android developers should       know to develop any android application. We have done android screen navigation using     intent in android 4.0.   Understanding: 1. Need to create two MainActivity. [Number of mainactivity involves the number of screens, here we are going to do the android navigation using intent with two screens, so we are going to create only two activity.] File…

Read More Read More

639 total views, no views today

Android plugin for eclipse

Android plugin for eclipse

Step 1: Go to the below link and download the android plugin package, http://developer.android.com/sdk/installing/installing-adt.html Step 2: Open the eclipse and follow the below steps. – Help -> Install New Software – Click the Add button(right side) – Give the name as “ADT Plugin” and archive the location of downloaded android package. – Then give next next and finish. Now the android plugin has been successfully installed in eclipse.   Thanks for reading this post………….!!! 558 total views, no views today

558 total views, no views today

Android Hello World

Android Hello World

Step 1: File -> New -> Android Application project in eclipse (see “Android in Eclipse“ article for how to program android in eclipse). Step 2: Create Helloworld.java class file under com.example.helloworld package, and paste the below code. package com.example.helloworld; import android.os.Bundle; import android.provider.Settings.System; import android.app.Activity; import android.widget.EditText; import android.widget.TextView; public class HelloWorld extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_hello_world); TextView agnPrint = new TextView(this); agnPrint.setText(“Hello world…!!”); setContentView(agnPrint); } }  Output:   Thanks for reading this post……………!!!…

Read More Read More

598 total views, 1 views today

PHP for Android

PHP for Android

Hi php programmers, now you can develop android applications also using your well known language php. Step 1: From your android mobile go to phpforandroid.net and download the, followings, Step 2: After the download install the both on your android mobile. Step 3: Open  the sL4A(ASE) and try with hello_world.apk. If you open it it will ask your name, just type your name and give ok then it will display “hello yourname” in the next screen. Best book for Android development, Professional Android…

Read More Read More

613 total views, no views today

How to Navigate from one screen to another screen in android ?

How to Navigate from one screen to another screen in android ?

Hello Android Developers, Herewith I have explained step by step procedure to navigate from one screen to another screen in android with code. I request you to work with below code to understand clearly. Step 1: Create a MainActivity.java and paste the below code, package com.agn.navigation; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class MainActivity extends Activity implements OnClickListener{ private Button nextScreen; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); nextScreen=(Button) findViewById(R.id.first_screen_button); nextScreen.setOnClickListener(new…

Read More Read More

605 total views, 1 views today

How to put my Android App in Android Market ?

How to put my Android App in Android Market ?

Step 1: Go to https://market.android.com/publish/signup and it ask the following details, Name: Email Id: Website: (its not mandatory) Phone Number: then give continue. Step 2: Read the agreement carefully and $25 has to be given as registration fees (its one time amount). Registration fee can be pay only by credit card. Step 3: Once everything done then you will be able to contribute in the android market as a developer and contributor.   Thanks for reading this post…!! 550 total views, no views today

550 total views, no views today