In this post, I will be discussing about how to create and remove shortcut for Android applications programmatically.
What is Android Shortcut?
When an application is installed in Android device, shortcut will be created on the home screen which facilitates the Users to open the App just by clicking on it.
How to enable/disable shortcut creation when new app is installed?
You can control the shortcut creation by enabling/disabling this option in Google Play Store application’s settings, see below.
In this post, I will be discussing about using AudioManager Class in Android applications. AudioManager Class provides access to volume and ringer mode control which was added in API level 1.
I wrote separate post about using AudioManager in getting and setting the current device’s volume (Media player, Alarm, Notification etc) long back. (Read: Android Seekbar example – Set Device Volume)
But in this post, I am going to discuss about using AudioManager in getting and setting the ringer mode (Silent, Vibrate and Normal).
In this post, I will be discussing how to create Android application that comes with a feature to move it to SD card.
Most Android applications enable the ability for users to choose the application install location (Internal memory or SD card). However, for some applications, this feature doesn’t make as much sense. For example, if you have an app widget, live wallpaper, or other sort of service or utility application (such as a file manager), your application won’t be of any use if the SD card is removed.
This post will explain you how to change the current system brightness with a seek bar on Android devices. The application which we are going to develop will work only on real devices, because it is impossible to see the brightness changes on the emulator.
One thing you must know is that Android system brightness value is applied to the screen’s backlight only when the screen turns on. This means that only after a device boots up or awaking the phone from a sleeping state will make the screen as bright as the value defined by the System.SCREEN_BRIGHTNESS variable. Consequently, changing only that variable won’t be enough to preview the brightness level as the brightness value need to be set for the window.