Android Archive

Notifications are small icon on the status bar intended for user to receive information. This alerts the user for gaining immediate attention. For raising notifications in Android, use NotificationManager. We must get the service via getSystemService(Notification_Service) from the activity. NotificationManager has three methods: i) notify() ii) cancel() iii) cancelAll(). Different types of notifications are...
This is a very basic tutorial for building multi language app supporting Hindi, French, and English etc. Android supports millions of users over 190+ countries, so it is always good to localize the app as much as possible if you need to make a global presence. While localizing, we need identify the texts that...
Implement OnClickListener for a view item in Android In this topic, I cover a sample application on implementation of OnClickListener for a view item, logging the button click event and a Toast message. Activity in this example holds 4 buttons, for which we need to capture the button clicks within the activity. Activity class...
Error: HAX is working and emulator runs in fast virt mode emulator. creating window 43 59 329 583 emulator window was out of view and was recentered. Are you getting this error? I spent two days fixing this issue after installing Android and got it finally resolved now. 1. Ensure intelhaxm memory is equal...