Wordpress - thepseudocoder.wordpress.com - I Should Write This $#!T Down

Latest News:

Android Protip: Copy a SQLite database 14 Aug 2013 | 02:46 pm

Disclaimer: Root access required Sometimes you need to export your app’s SQLite database to your computer for further analysis. Seeing that there isn’t a ‘cp’ command, this is how you’d go about doing...

Top 10 Performance Techniques for Mobile Web Apps 5 Jun 2013 | 02:10 am

Christophe Coenraets (Adobe technical evangelist) did a great talk on Top 10 Performance Techniques for PhoneGap Mobile Web Apps (link) I thought I’d quickly outline the techniques discussed in his ta...

Pro-Tip : ADB via Wifi 27 May 2013 | 03:58 am

I recently worked on an Android app that used the device’s only USB I/O port to control another piece of hardware.  This requirement eliminated my ability to use LogCat or debug the application…until ...

Pro-Tip: LogCat Regex Filtering 12 May 2013 | 04:15 am

One day, You may need to filter the LogCat output. So, here are some quick examples: Filter tag ‘FOO’ or ‘MainActivity: tag:^(?!.*(FOO|MainActivity)).*$ Filter ‘Hello World’ in the log text: text:^(?!...

Unit Testing for Android – Mockito 24 Apr 2013 | 06:30 am

Unit testing in general is one of the after thoughts for many during the development process. I was recently reminded how important unit testing is and that it should seriously be considered when esti...

Git Protip: Copy a file from another branch 22 Apr 2013 | 12:43 pm

It occasionally happens that I’ve fixed a bug in BRANCH_A and while BRANCH_A is waiting to be merged, I create a new branch (BRANCH_B) for further development/bugfixing, but wait!  I really need the b...

Android : C2DM and the TokToki -push-messaging service 24 Nov 2011 | 03:42 am

C2DM (Android Cloud 2 Device Message) was announced at Google IO 2010.  The feature was introduced to relieve the applications from polling cloud resources e.g email. Fortunately, C2DM has an API, so ...

Android : New Compatibly Library (r4) available 24 Oct 2011 | 07:36 pm

Following last weeks announcement of Android 4.0 (Ice Cream Sandwich) and the release release of the 4.0 SDK, Google/Android also release a new version of the Compatibility Library (r4).  Go check it ...

Android : Tabs + ViewPager (Swipe-able Tabs, FTW) 13 Oct 2011 | 10:25 pm

In my previous two posts, I explained how you would implement Tabs using Fragments and then how to implement page swiping using ViewPager.  In this post, I’ll bring those two nuggets together and show...

Android : Page Swiping using ViewPager 5 Oct 2011 | 09:15 pm

As a follow up on my last Fragments post, I thought it would be useful to include another Honeycomb feature which is the View Pager that implements for page swiping UI pattern. In this example, I’ve r...

Recently parsed news:

Recent searches: