Month: June 2011

  • Get Current Date and Time in Android using Two Classes

    Recently, I needed to get current date and time in android. I found two ways of doing it. They are by using the Calendar class and SimpleDateFormat class. So let’s see what method will be more simple and useful for you. A simple outline of this post: 1.0 Using the Calendar Class 2.0 Using the […]

  • Multiple Android Button Tutorial

    Hi guys! Today we’re gonna do an example application of android Push Buttons. Push-buttons can be pressed, touched, or clicked by the user to invoke an event or action in your application. This example will show you how to make two android buttons working (you can add more if you want). It also uses an […]

  • Android Toast Tutorial

    What is Android Toast? The Android Toast is a view containing a quick little message for the user. When the toast is shown to the user, appears as a floating view over the application so it will never receive focus. The idea is to be as unobtrusive as possible, for example you want to instantly […]

  • Fixed: Android requires compiler compliance level 5.0. Please fix project properties.

    When I tried to import an existing eclipse android project to my new workspace, I encountered an error: Android requires compiler compliance level 5.0. Please fix project properties. So here’s what I did to fix this problem: Right Click Project > Properties > Java Build Path > Order and Export Tab > Check Your Android […]