- If somebody tells you they tested their website on Android, laugh evilly and show them this slidedeck

Awesome presentation!

//DL

Android Phone EditBox with validation and country flag

I haven’t found any good code snippet for Phone EditBox with nice country flags and validation. So I created my own version.

What I am talking about:

Continue reading

proguard-android.txt is missing

> java.io.FileNotFoundException: \android-sdk\sdk\tools\proguard\proguard-android.txt

Wondering where is “proguard-android.txt” in the lates ADT (rev 23)?
No worries! The universe is not collapsing. It is just a packaging bug! :)

https://code.google.com/p/android/issues/detail?id=72400

Download your own local copy or proguard-android.txt

secret

Medium post about “Secret” infrastructure. It’s Google App Engine and Go! Unsurprisingly… it is created by Google Engineer:)

Read more:
https://medium.com/secret-den/demystifying-secret-12ab82fda29f

//DL

Android Arsenal

That’s quite good collection!
“A categorised directory of libraries and tools for Android”

http://android-arsenal.com/

Contribute what you have in your bookmarks!:)

//DL

Foursquare like map animation (sliding panel) with ListView

If you are wondering how to achieve map and listview behaviour like in Foursquare – this post is for you.
Here’s a short video what I’m talking about:

Continue reading

Android Activity Lifecycle

This is very old topic. Back to 2009 – some day I promised to myself to read android javadoc method by method. I didn’t:) So even now from time to time I find interesting methods in interesting places. Like onUserLeaveHint() and onUserInteraction() in Activity (API v3).

Anyway, here is an interesting picture of complete Activity Lifecycle originally posted on G+. Just found it on reddit today.

complete android fragment activity lifecycle

http://staticfree.info/~steve/complete_android_fragment_lifecycle.png

just in case you missed it

//DL

Android Map v2 clustering

Just a quick reference for different Android Map clustering solutions:

android clustering

//DL

instrumentTestCompile

In case you get this error:

Build script error, unsupported Gradle DSL method found: ‘instrumentTestCompile()’!
Possible causes could be:
– you are using Gradle version where the method is absent
– you didn’t apply Gradle plugin which provides the method
– or there is a mistake in a build script

instrumentTestCompile() was renamed to androidTestCompile() in the latest version of gradle plugin

Here is a guide http://tools.android.com/tech-docs/new-build-system/migrating_to_09
//DL

Phone SMS verification for your project

twillio

If you are developing mobile application that needs phone verification – Twilio is a good start point. They also have a promotion for Google Cloud Platform http://ahoy.twilio.com/googlecloudplatform.

Here is an article how to integrate Twilio to your Google AppEngine project https://developers.google.com/appengine/articles/twilio. Upd: seems this code doesn’t work anymore

I’ve recently tried to integrate the latest Twilio python library to my GAE application. Version 3.6.2 fails with NotSupportedOnThisPlatform – Google Cloud Platform doesn’t support certificates in httplib2. Use 3.5.2 version instead.

//DL

© 2014 Android Tales

Theme by Anders NorenUp ↑