Postingan

Menampilkan postingan dengan label App List Code

App list with icon (launch app)

Intent startupIntent = new Intent(Intent.ACTION_MAIN);  startupIntent.addCategory(Intent.CATEGORY_LAUNCHER);   final android.content.pm.PackageManager pm = getPackageManager();  List<android.content.pm.ResolveInfo> activities = pm.queryIntentActivities(startupIntent,0);    Collections.sort(activities, new Comparator<android.content.pm.ResolveInfo>() {   public int compare(android.content.pm.ResolveInfo a, android.content.pm.ResolveInfo b) {   android.content.pm.PackageManager pm = getPackageManager();   return String.CASE_INSENSITIVE_ORDER.compare(   a.loadLabel(pm).toString(),   b.loadLabel(pm).toString());   }   });    ArrayAdapter<android.content.pm.ResolveInfo> adapter = new ArrayAdapter<android.content.pm.ResolveInfo>(   this, android.R.layout.simple_list_item_1, activities) {   pub...

App list with icon (Uninstall app)

Intent startupIntent = new Intent(Intent.ACTION_MAIN);  startupIntent.addCategory(Intent.CATEGORY_LAUNCHER);   final android.content.pm.PackageManager pm = getPackageManager();  List<android.content.pm.ResolveInfo> activities = pm.queryIntentActivities(startupIntent,0);    Collections.sort(activities, new Comparator<android.content.pm.ResolveInfo>() {   public int compare(android.content.pm.ResolveInfo a, android.content.pm.ResolveInfo b) {   android.content.pm.PackageManager pm = getPackageManager();   return String.CASE_INSENSITIVE_ORDER.compare(   a.loadLabel(pm).toString(),   b.loadLabel(pm).toString());   }   });    ArrayAdapter<android.content.pm.ResolveInfo> adapter = new ArrayAdapter<android.content.pm.ResolveInfo>(   this, android.R.layout.simple_list_item_1, activities) {   pub...

App list without icon (launch app)

Intent startupIntent = new Intent(Intent.ACTION_MAIN);  startupIntent.addCategory(Intent.CATEGORY_LAUNCHER);   final android.content.pm.PackageManager pm = getPackageManager();  List<android.content.pm.ResolveInfo> activities = pm.queryIntentActivities(startupIntent,0);    Collections.sort(activities, new Comparator<android.content.pm.ResolveInfo>() {   public int compare(android.content.pm.ResolveInfo a, android.content.pm.ResolveInfo b) {   android.content.pm.PackageManager pm = getPackageManager();   return String.CASE_INSENSITIVE_ORDER.compare(   a.loadLabel(pm).toString(),   b.loadLabel(pm).toString());   }   });    ArrayAdapter<android.content.pm.ResolveInfo> adapter = new ArrayAdapter<android.content.pm.ResolveInfo>(   this, android.R.layout.simple_list_item_1, activities) {   pub...

App list without icon (Uninstall app)

Intent startupIntent = new Intent(Intent.ACTION_MAIN);  startupIntent.addCategory(Intent.CATEGORY_LAUNCHER);   final android.content.pm.PackageManager pm = getPackageManager();  List<android.content.pm.ResolveInfo> activities = pm.queryIntentActivities(startupIntent,0);    Collections.sort(activities, new Comparator<android.content.pm.ResolveInfo>() {   public int compare(android.content.pm.ResolveInfo a, android.content.pm.ResolveInfo b) {   android.content.pm.PackageManager pm = getPackageManager();   return String.CASE_INSENSITIVE_ORDER.compare(   a.loadLabel(pm).toString(),   b.loadLabel(pm).toString());   }   });    ArrayAdapter<android.content.pm.ResolveInfo> adapter = new ArrayAdapter<android.content.pm.ResolveInfo>(   this, android.R.layout.simple_list_item_1, activities) {   pub...

Cara pembuatan Apps paling Populer

Create Stopwatch App in Android using Sketchware

TextInputLayout in Sketchware

How to find and​ highlight a word in a text field in Sketchware?

A Flash Light App in Sketchware

How to enable download in webview in Sketchware apps?

Intent - Open File By Type

Code for implementing Notifications in Sketchware

How to share an image from Drawable folder?

ActionBar back button

Animation Transtition Animation