I believe that so many people use Github or other git-like systems for code tracking and management. But how to make your git log useful and readable. here are some tips. Remember that you are not the only engineer for developing. So, creating a readable log will help other engineers to realize the code quickly.… Continue reading How to create a readable git log.
Sometimes you might want your app to be launched via a browser on our mobile platform, cause that will provide a better user experience for customers, especially when your website is not RWD ready. So, how to achieve that goal? Here is the answer. prepare your domain name, for example, you already have a domain… Continue reading App Indexing – Launch Your App via Mobile Browser
I forgot if I did this before or if it worked before. I add these two intent filters to AndroidManifest.xml but it wouldn’t work. That’s super weird. Cause that’s a very basic and simple setting. After searching a little while, I realize that’s PowerManager setting. Check the Notifier.java here. Advertisements
Volley to Windows IIS server? Wtf, this is the last thing I wanna handle with. Cause Windows IIS server usually opens that EVIL “Session Lock” for every connection client. That means, when you try to connect to IIS again and get data, you need to be in the session(tell the server you’re the same guy… Continue reading Android Volley Lib connect to Windows IIS
In Android, sometimes we need to use JNI to process data. Not only we can use old function calls in C/C++, but we can speed up data handling process. Cause C/C++ performance is still better than Java code. For JNI, a better way to handle data is to keep that as global variables. It will… Continue reading Keep Objects in JNI for speeding up
Google Android provides a very useful tool for developers to see what happened to their Apps. Sometimes, you just forgot to keep heavy loading job off main UI thread, e.g network access, database query, or something you need a lot of time to handle, in these cases, you usually got ANR dialogs to notify you:… Continue reading Android StrictMode for debugging
When you wanna setup dp value in you code instead of using that in you layout xml file. Then, how do do that?