Featured
-
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
An Overview of Android Activity - Video Tutorial
As far as Android platform is concerned, the funda
by amit.rai -
How to get IMEI number,serial number and software version of your phone
Hello... Sometimes we need to know the country
by shahbaz.ahmmod -
Search location by using place on google map
Here below is the code for searching places by usi
by shahbaz.ahmmod -
How to know free space in sdcard android
I have written code to know free space in sdcard
by shahbaz.ahmmod
Tags
Implicit intent in android with example
Intent:
Subclass : android.content.Intent class
Intent is basically a way of communication between the various components such as activities, broadcast receivers , etc.
We use it with startActivity() method to start a...
Check for target activity available or not
We know that implicit intents are used to perform an action that your application can't but others can do.
Like to send some sms we uses this intent :
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.putExtra(In...
How to use Intent to send data from one Activity to another in Android
Below I have written the code for how to send data using Intent in Android from one Activity to another.
Intent i = new Intent(getActivity(), UploadWeldService.class);
i.putExtra("mCapturedImagePath", mCapturedImagePath);
...
start one application from another
If you want to launch a application B from your application A then you can launch that by using intent Like this :
First define application B package name so that we can set launch intent :
Intent myIntent = getPackageManager().getLaunchIn...
Working with Intent
An Android Intent is an object that carries message from one component to another component with-in the application or outside the application.
There are three fundamental cases where one can use the Intents:
case 1:- To start an activity
...