As we all know Eclipse is the widely used IDE for developing Android applications. Some of us don’t know how to use it efficiently(Me too), so I decided to write a post on the most frequently used shortcuts here.
I just remember the quote “When it comes to success, there are some shortcuts” when I think about the word ‘Shortcut’ 😛
You can grab a copy of ‘Eclipse shortcuts’ from here
This post is going to be very short one and here we will discuss about how to hide title bar and status bar in Android application.
If you look at Gaming applications like ‘Cut the rope’, ‘Angry birds’ and more in your android device, applications are displayed in full screen view which covers entire area of the display to provide more user experience.
We will develop a sample application which has no title bar and no status bar.
In this post, we will learn about Android vibrate service which is available from version 1.0 of Android, the SDK has included necessary features in vibrate service that gives developers to use it creatively.
Why vibrate service?
Vibrate service improves the user experience by providing haptic feedback to users or to interact with users even when phone volume is low or set to zero.
We can make android phone to vibrate in following three ways:
- Vibrate for a given length of time
- Vibrate on a given pattern
- Vibrate repeatedly until cancelled
In this post, we will learn about Broadcast receivers, an essential building block of Android system with a simple example.
What is Broadcast Receivers?
Broadcast Receivers is an Android implementation of system-wide publish/subscribe mechanism.
The receiver is simply a dormant code that gets activated once an event it is subscribed to happens.
The system itself broadcasts events all the time. For example, when an SMS arrives, or call comes in, or battery runs low, or system gets booted, all those events are broadcasted and any number of receivers could be triggered by them.
I sensed from the comments and mails.that developers are facing problem in importing existing Android project to Eclipse I decided to write a separate post on it which just discuss about how to import android project in eclipse.
I have also discussed the trouble shooting procedures to be followed when you face issues in importing Android project.