Powered By:
Android Advice
 

Android

Android – How to get a File into Memory

Posted by on May 14, 2013 at 1:10 pm

To get a file in the Android file system into memory is really easy. Example: import android.os.Environment; import java.io.File; File theFirstOne = Environment.getExternalStorageDirectory().listFiles()[0]; if(theFirstOne.isDirectory()) { //this is a directory } else { //this is a file }

Resolution to java IllegalStateException android.widget.LinearLayout is not a view that can be bounds by this SimpleAdapter

Posted by on May 9, 2013 at 8:23 pm

Problem When trying to bind a view to a simple adapter the following error is thrown: “java.lang.IllegalStateException: android.widget.LinearLayout is not a view that can be bounds by this SimpleAdapter” Cause The LinearLayout layout.xml has an invalid attribute which is not compatible with the simple adapter e.g. an id attribute Solution Remove the invalid attribute from [...]

Random Bible Verse App for Android

Posted by on April 25, 2013 at 12:38 am
rbv-android-01

I have created a Random Bible Verse application for Android devices. I will eventually release it to a wider audience by uploading it to the Android Play Store as a free application. But, I will only do this once it is stable and improved. This is a work in progress so please download the application [...]