Category Archives: Android Basics
Solve no resource identifier found for attribute ‘cardcornerradius’ in package error in Eclipse

How to solve the android.support.v7.widget.CardView error by adding library package in Eclipse. This error is mostly comes when android developers trying to use CardView in android application on Eclipse IDE interface. So This error could be easily removable by importing CardView library into Eclipse then -> Your project. So here is…
Add setOnSeekBarChangeListener on Seekbar in android

How to implement on drag listener on seekbar in android programmatically. setOnSeekBarChangeListener() is used to add different types of events on seekbar movement. For example you can easily change the number value by simply moving the seekbar in left or right side. So here is the complete step by step…
Load/Store assets folder image name path into InputStream

How to get-retrieve transfer image that is already stored inside Assets folder in android app project. In this tutorial we are storing image current location+path information with its name and extension included into Input Stream. So here is the complete step by step tutorial for Load/Store assets folder image name path…
Get/Store drawable resource image path into InputStream

How to retrieve and save drawable image name in InputStream using MainActivity.this. getResources(). openRawResource (R.drawable.image_name). In this tutorial we are storing image path with its name into Input Stream so we can done further process on our selected image. So here is the complete step by step tutorial for Get/Store drawable resource…
Fix drawable drawable=getdrawable() alternative for android programming

How to solve Call requires API level 21 (current min is 8): android.app.Activity#getDrawable error on lower API devices. Android getdrawable() method comes with newer API 22 level and dose not work with lower api versions. If android app developer wants to user getdrawable() method into lower level api then this will show NullPointerException…
Initialize Declare integer array in Android Java

How to create int array inside MainActivity.java programming file and assign-insert elements to array. Array is one of the most popular data storing method available on all programming languages because array is used to store single type of multiples values inside only single variable and can be easily access again…