Category Archives: Android

Android mixing preferences with view widgets

Hello Android devs and fans! It’s been a long time since my last post, cause I had to work hard on a project, but here I am again willing to share a lot of the technical info I gathered during … Continue reading

Posted in Android | Tagged , , , , | Leave a comment

Android Service Performance Tip

Hi there! While working on an Android project, I had modified a Service in a way that it didn’t stop itself anymore. This made me feel really embarrassed, when I found out that I had broken a critical rules, which … Continue reading

Posted in Android | Tagged , , , , , , , | Leave a comment

Android LinearLayout gravity and layout_gravity explanation

Heya, Just came across a really informative post about the difference between the gravity and the layout_gravity attributes for Android UI design. These attributes are very important for laying everything where you want and can become quite complex when you … Continue reading

Posted in Android | Tagged , , , , , | Leave a comment

SMS Content Providers and Delivery Reports

Hi there, I am back again, after a busy development period that didn’t leave enough time to write a post. But still it helped me that I had taken notes of what I would like to post for! As part … Continue reading

Posted in Android | Tagged , , , , , | 2 Comments

Android Flash Led Notifications

Hello Android funs! As we all know, many android phones, first being the HTC Dream (which I am glad to own, although I now use it just for testing apps), are featuring a LED on the front side of the … Continue reading

Posted in Android | Tagged , , , , , | Leave a comment

Locating Android native resources

Hello Android funs, Yesterday I started looking for the default contact photo used in Android Contacts list, to use it in a contacts list that I am creating. Although, I already knew that many of Android resources can be referenced … Continue reading

Posted in Android | Tagged , , , , , , | Leave a comment

Using a State List Drawable as a button background image

Hi there! As a response to a subscriber’s question, I decided to present an example of making use of the State List Drawable as a Button’s background image. For using text and image on a Button widget, you can make … Continue reading

Posted in Android | Tagged , , , , , , | 1 Comment

Specifying UI dimensions in Android

I am back with a very useful tip that will prevent us from lot of trouble, when it comes to UI elements size on different screen sizes and screen density. In order to ensure that a graphic or text looks … Continue reading

Posted in Android | Tagged , , , , , , , | Leave a comment

Android Activity and Service Life-cycle notes

Hello, In the past, there have been many times that Activity or Service lifecycle confuse me, and I usually have to go back to the corresponding Android SDK documentation pages, which are very analytic and helpful (of course!). In order … Continue reading

Posted in Android | Tagged , , , , , , , , | 4 Comments

Android listSelector to TextView widget

Yesterday I spent a lot of time trying to find a way to apply the ListView item highlight effects to a TextView, without any luck. I first tried it by creating a custom selector in XML, but couldn’t find a … Continue reading

Posted in Android | Tagged , , , , | 2 Comments