So I recently released my Facebook Contact Sync application, and even though I tested it thoroughly on my G1 I received a lot of complaints from people with M-droids, etc. Well, apparently, with the release of Android 2.0 and higher, even though the android.provider.Contacts.People class is only deprecated, often times the same methods which would have worked in Android 1.6 and lower will no longer work in 2.0 and higher (kind of silly to mark something as deprecated if it won’t work most of the time no?). And so, after browsing numerous blogs and email lists I was able to get a better grasp of how to deal with the new ContactsContract structure (API level 5 and above) and this post will talk specifically about how to load and set the user’s Contact’s photos, both in API levels 5 and 6 but also in the lower API levels.
I know all the music lovers love the soundcloud app for it’s awesome services. Also, all those who ever used this app at least once might have thought if they can download the particular song from soundcloud so that they can add it to their personal library of songs.
Well, this is possible without any third party app or any downloader and I’m here to show you how.