Relative time format like "moments ago" or "5 minutes ago" or "one month ago" like those in Facebook, Twitter or other social media makes the time information easy to read and human readable. In Android we can use built in API DateUtils or external java library Prettytime to implement this … [Read more...] about How to Convert Time in Milliseconds into Relative Time Format in Android
Solution to Make an Android App Visible to All Devices in Google Play When Using Specific Feature
As we know, Google Play filters android applications that are visible to user by comparing features that required by the application with the features available on the device. Android requires specific tags to be declared on manifest file when using a specific feature. Commonly use tags are … [Read more...] about Solution to Make an Android App Visible to All Devices in Google Play When Using Specific Feature
How to Make Android Map Scrollable Inside a ScrollView Layout
Technically, placing a map view inside a ScrollView layout container can make the map becoming difficult to scroll. This is because the scrollable layout container will intercept the touch event so the map will lose the touch event, making it difficult to scroll or pan. This happens either on … [Read more...] about How to Make Android Map Scrollable Inside a ScrollView Layout
How to Remove Website URL Field From Genesis Theme Comment Form
Website URL field in wordpress comment form can be a pain for blog owner. Spammer always use the field to drop the shady links that useless or can be harmful to readers. Genesis theme uses its own function to customize comment form. To remove the URl field, we have add filter to remove the … [Read more...] about How to Remove Website URL Field From Genesis Theme Comment Form
Google Wallet Merchant Registration Available in Additional Countries
Good news for Android developers, Google currently introducing Google Wallet Merchant registration availability for Google Play Developers in additional countries. Starts from Feb 6 2014, developers from Indonesia, Malaysia, The Philippines, and Thailand will be able to sign up as merchants through … [Read more...] about Google Wallet Merchant Registration Available in Additional Countries
Android Tips: How to Place Image or Logo at The Center of Actionbar
When building an Android application, sometimes we need to put application logo at the center of Actionbar. Android doesn't provide a straight method to place a logo image at the center of Actionbar so we have to make a custom layout contains the logo image and place it on Actionbar using custom … [Read more...] about Android Tips: How to Place Image or Logo at The Center of Actionbar
How to Use Postgresql pg_dump in Crontab Without Password
Postgresql pg_dump is a usefull tool to backup Postgresql database. By default, pg_dump will ask for a password of the user that runs the command from command line. It is pretty easy if we manually type it from command line. But if we want to use it in automatic regular backup using crontab, it can … [Read more...] about How to Use Postgresql pg_dump in Crontab Without Password
Simple JSON RPC Client for Android
This is a simple JSON RPC Client for Android. I wrote this class for one of my Android projects that needs to connect to external JSON RPC API. Feel free to use it, download the files at the bottom of this post..;) JSON RPC Client How to use it: [ad] Download Simple JSON RPC … [Read more...] about Simple JSON RPC Client for Android
How to solve error: Conversion to Dalvik format failed with error 1 in Android on export
Signing Android APK is the latest step from our Android app development process before uploading it to Google Play Store. Using a production keystore, we can easily create a signed apk using Export menu on Eclipse IDE. But sometimes, the error might occur while exporting it. Conversion to … [Read more...] about How to solve error: Conversion to Dalvik format failed with error 1 in Android on export
Two Most Useful Features on Android 4.2.2
Google has released its latest version of Android OS several weeks ago, Android Jelly Bean 4.2.2. This new update has no significant changes, only few new feature updates and bug fixes. I've updated my Galaxy Nexus to Android 4.2.2 via OTA updated. The update was about 44MB so it was easy to … [Read more...] about Two Most Useful Features on Android 4.2.2
Recent Comments