Category Archives: Android

Call requires API level 21 (current min is 20)

the api level map to the android sdk version, the later the bigger the level can be changed from build.gradle file sdk version in the phone can not be changed or hard to be changed Advertisements

Posted in Android | Leave a comment

why the setting is different from activity?

all setting need to be saved to internal storage, while activity doesn’t have to do it manage setting in a common place

Posted in Android | Leave a comment

what’s the .nomedia file for?

A .nomedia file is a blank file placed inside a folder. When the media scanner detects the .nomedia file, the media scanner does not scan that folder so the images in that folder don’t appear in the Gallery app. It’s … Continue reading

Posted in Android | Leave a comment

enable developer options

Go to Android home screen. Pull down the notification bar. Tap “Settings” Tap “About Device” Tap on the “Build Number” button about 7 times. https://www.companionlink.com/support/kb/Enable_Android_USB_Debugging_Mode

Posted in Android | Leave a comment

basic

what is activity? single screen with a user interface just like window or frame of Java. layout <-> activity => ui logic associate with the ui presentation activity name activity layout (res->layout->activity_main.html) text field android:id=”@+id/edit_message” “+ ” -> define the … Continue reading

Posted in Android | Leave a comment