Android: Null data returned from Camera Intent
Anyone who has tried calling the image or video capture intent using the default Camera activity probably has been met with much frustration. There are many approaches and workarounds for various...
View ArticleAndroid: Changing the Default Indeterminate Progress Size in ActionBarSherlock
Just a quick post on how to change the default size of the Indeterminate Progress animation when using ActionBarSherlock (ABS). This uses the dark halo them for Android 4.0.1 but tested and working...
View ArticleAndroid: Removing Fade Effect on ActionBar when using setActionView()
Letting me start by explaining the desired effect I was trying to achieve. On the Android Google+ application if you hit refresh there is a spinner animation that replaces the refresh ActionBar item...
View ArticleHandle Android hardware back button using PhoneGap and Sencha Touch 2
Lately I have been experimenting with PhoneGap and Sencha Touch 2 recently and discovered an issue with accessing the hardware back button for Android applications. What you want is the back button to...
View ArticleLoading local JSON issue with Sencha, PhoneGap and Android 4.0.3
This is just a little tip when trying to load local .json files using the Ext.data.Store ajax proxy type. The following code will work in Android 4.0.3+ but you need to be sure to add an extra couple...
View ArticleAndroid: TextView with Ellipsis Listener
I created an extension of the Android TextView component to adds the ability to receive updates when the text has an ellipses added. Short and sweet, here is the code and the link for the gist: Gist:...
View ArticleAndroid Service startForeground and stopForeground tip
I had a use case for an application that required a long running Service (I know they are always frowned upon). The service seemed to be getting killed during the night and stuck in the “restarting”...
View ArticleCustom Android TitleBar with Drop Shadow
Recently I ran into a little challenge with some designs for an Android application. The designs called for a drop shadow to appear on the application TitleBar and the footer bar. The drop shadow...
View ArticleSetting Android Things Time and Time Zone
Worth noting for those looking to set the time and time zone on their Android Things boards. I found the method that works in a Github repository (a Bluetooth sample project). Also here is a list of...
View ArticleRemove Underline from Clickable text in TextView on Android
Been working with the Android SDK (v 2.2) lately and needed to a clickable text area in an TextView but one without any underlined links (so it doesn’t appear like a hyperlink). I also wanted to...
View Article