Tagandroid

unable to compute hash of

The problem with API 23 and Google Play Services is still not resolved.

Just in case you get something like “unable to compute hash of /intermediates/classes-proguard/release/classes.jar” – just add a few lines to the proguard-rules.pro.

-dontwarn org.apache.http.**
-dontwarn android.net.http.AndroidHttpClient
-dontwarn com.google.android.gms.**
-dontwarn com.android.volley.toolbox.**

Stack overflow thread: http://stackoverflow.com/questions/30705589/gradle-build-failure
Star google bug: https://code.google.com/p/android-developer-preview/issues/detail?id=3001

//DL

Fresco is just awesome!

https://code.facebook.com/posts/366199913563917

http://frescolib.org/

Although you may also want to read this thread: https://news.ycombinator.com/item?id=9111849

//DL

Nice Shimmer library by Facebook

10734316_1115633315129045_1618068289_n

original post: https://code.facebook.com/posts/636856646421011/shimmer-for-android/

//DL

– 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

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

© 2017 Android Tales

Theme by Anders NorenUp ↑