BREAKING:

Android => Re-installation failed due to different application signatures.

Problem: Re-installation failed due to different application signatures. Description:  While developing an android application, I tried to run the application and got the below error: Solution: After searching and checking the phone, I came to know I am currently developing 2nd version of this application which is already downloaded from android market in my phone, now […]

Read More

Android – Get/access file(path) from SD-card

Problem: How do we get/access file from SD-card? Solution: Output:Output of Environment.getExternalStorageDirectory() can be either /sdcard or /mnt/sdcard. As i have tested it, it returns the below output on different brand device: In Samsung Galaxy 3 => /mnt/sdcard/test.mp3 In HTC Hero => /sdcard/test.mp3

Read More

Android – parseSdkContent failed

Problem: ‘Android SDK Content Loader’ has encountered a problem. parseSdkContent failed Solution: Today i just have started development under the Eclipse Indigo environment and while setting Android SDK preferences, i suddently got the following error: ‘Android SDK Content Loader’ has encountered a problem. parseSdkContent failed java.lang.NullPointerException. I have tried to do google around half an […]

Read More

Android – Spinner example

Today we are going to discuss about implementing Spinner widget. Spinner is a widget similar to a drop-down list for selecting items. In this tutorial,we will create a simple spinner widget that displays a list of days. When one is selected, a toast message will display the selected item. (FYI, I have taken this definition […]

Read More

Android – CheckBox Example – isChecked()

Here we are going to have a demo of CheckBox’s isChecked() method. The isChecked() method is used to check whether the particular CheckBox is checked or unchecked. main.xml CheckBoxDemo.java

Read More

Android – CheckBox Example – OnCheckedChangeListener

Here I am going to give you a simple demo of CheckBox and its OnCheckedChangeListener. In this tutorial, we will see the toast notification whenever a particular CheckBox is checked. main.xml CheckBoxCheckedDemo.java

Read More

Android – com.android.ddmlib.SyncException

Problem: com.android.ddmlib.SyncException: Too many open files Solution: During application development and testing the same on the device, I have faced this exception: com.android.ddmlib.SyncException: Too many open files I have tried to find out the possible solution to resolve the above exception, so i am not sure about the solution but i got the StackOverflow link […]

Read More