How to add shortcut to Home screen in Android programmatically

I improved a little bit a solution that was found in StackOverflow. Now program saves in preferences whether a shortcut was already added and doesn’t add it in new launches of an app if user deleted it. This also saves a little bit time, since the code to add an existing shortcut doesn’t run anymore.

In Android Manifest:

Open-Source Expandable Selection Tree for Android

Today I have published a new open source project on GitHub, called DKExpandableSelectionTree. It is a better expandable list view for Android that allows user to select multiple items from a tree of objects. You can clear all selections, you can select and deselect multiple items by selecting a whole group. It also displays a number of selected items inside a group in parentheses after the name of a group.

This is how it will look in a sample project, when you clone the repository and run it:
Screenshot_2014-05-27-19-22-47

This is how it looks in my project:
Screenshot_2014-05-27-19-16-17

Mobile App Release Roadmap / Checklist

Mobile App Release Checklist

1. Install new version above the old one.

2. Install your app to different devices, as many as you can (iPad, iPhone, iPhone 5, iPhone 3GS, Galaxy S4, Google Nexus 5, Nexus 3, very small screen size Android devices, etc.) Particularly, for Android and for iPad.

3. Check different geo locations, for example, Moscow, St. Petersburg, Ufa, etc., not the only one, where you live and develop the app.

4. Check that your app doesn’t load data to Documents folder, that is backed up in iCloud. All files should be marked as not backed up, if they can be downloaded again.

5. Check that your app doesn’t have iPad or iPhone words in the name.

6. Check, how data absence is handled when your app fails to load data from server. Particularly, on Android.

7. Check, how bad answers are handled, like HTML instead of JSON. Particularly, on Android.

8. Check, how bad objects in JSON are handled (like null objects or strings instead of objects, etc.). Particularly, on Android.

9. If you use In-App Purchases, check that they are activated for a new version in iTunes Connect.

10. If you use In-App Purchases, check that your app has in-apps if they are activated.

11. Check, how absence of internet is handled.

12. Check, how different operations with arrays and dictionaries are handled.

I am tired of being unsuccessful while releasing new versions of the apps to the AppStore and created a checklist. Always, I forget something to check, when I release an update. Hope, this will save your time, when you publish your app versions. Using the help of testers doesn’t improve final results in these cases, so you have to check all this shit yourself.

All these reasons in my developer experience created some shit in my life. And all these points have their own graves of my time. Check them all, when you decide to release your app version.