Andro Tutorials

Technology Simplified

Andro Tutorials

Technology Simplified

Blog

Intents in android

Android Intent is the message that is passed between components such as activities, content providers, broadcast receivers, services etc. It is generally used with startActivity() method to invoke activity, broadcast receivers etc. The dictionary meaning of intent is intention or purpose. So, it can be described as the intention to do action. The LabeledIntent is the subclass of android.content.Intent class....

Requesting Permissions at Run Time(Pick From Contact)

Requesting Permissions at Run Time(Pick From Contact) in Android Studio From Android 6.0, i.e from Api level 23 user will be granting permissions dynamically at run time but not while app installs. If the permission you need isn’t listed in the manifest, you will need to deal with run-time permissions. Runtime permissions are the...

ListView In Android

When we want to display any list in android, we can use ListView in android. Below we have relevant list details – Normal List View Custom List View (Either by using Array Adapter or Base Adapter) Below is the sample code, How to achieve Normal ListView in android. Step-1 Creating a textview inside a...

Get Current Location in Android

There are many android applications which uses GPS to fetch their current location. Below is the process to current location. There are two types of location providers – 1.GPS Location Provider 2.Network Location Provider Depending on the necessity, we opt for corresponding location provider. Differences between GPS and Network Location Provider –  Network location...

Animations in Android

Blink Animation – Step -1 In order to perform a Blink in animation , create an XML file under anim folder under res directory and put this code in the file. Step -2 Create a blink_layout.xml in layout directory to show animation and add below code. Step -3 Create a new activity...

Crop And Shape Image

Below is the methos used to crop any image in any particular Shape. Anything drawn from the Paint with setXfermode(new PoterDuffXfermode(Mode.CLEAR)) will clear the pixels from bitmap.  

Working with AutoCompleteTextView in Android –

Working with AutoCompleteTextView in Android – Below are the simple steps to work with AutoCompleteTextview.   Step – 1 Create new project and add below mentioned code to activity_main.xml.   Step – 2   Add below code to MainActivity.java     Step – 3 Initialize the intent to launch the applicaton from...

Getting Started with Android Studio.

Android Studio Installation Process – Download android studio from the below provided link. https://developer.android.com/sdk/index.html Helpful shortcuts for android studio – Description Android Studio Shortcut Go to class Ctrl + N Go to file Go to file Navigate open tabs ALT + Left-Arrow; ALT + Right-Arrow Lookup recent files CTRL + E Go to line...