Month: February 2014

ListView showing only one results, do you use Scrollview ?

ListView showing only one results, do you use Scrollview ?

Please remember not to use ListView under ScrollView since both view have “scroll” features. When you put ListView under ScrollView, the ListView will only showing one results. You can use dynamic adding view / programmatically into ScrollView to make “List” format. Some example : 12345678910111213141516String[] statusConsultation = {"First data", "Second data", "Third data"}; LinearLayout statusLayout …

+ Read More

Find SHA1 for Android Studio for Google API

Find SHA1 for Android Studio for Google API

If we’re using ADT (Eclipse based), then we can find SHA1 keystore from Preferences. In Android Studio (IntelIJ), we couldn’t do that. We only can do manually : 1. Open your DOS 2. Go to “C:/Users/” 3. Go to .android 4. Use keytool to retrieve keystore details by : 1keytool -list -v -keystore debug.keystore And …

+ Read More