Based on using Android volley to connect to Windows IIS, for iOS, it would be easier to maintain a cookie from server side. If you are using this library – AFNetworking, basically, you don’t need to worry about cookie handling. According to document here, default setting value is YES! Unless you create your own RequestSerializer, or you don’t… Continue reading iOS Cookie Maintenance
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
From this release note, iOS 10.3 introduces a new way to ask customers to provide App Store ratings and reviews for your app. Using the SKStoreReviewController API, you can ask users to rate or review your app while they’re using it, without sending them to the App Store. You determine the points in the user… Continue reading Apple just released a new API for reviewing and rating App
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
Sometimes you might wanna change the alert controller’s text alignment, let say, from center to right. Then following tip is for you. Just simply open a playground and run these code The most important thing is the key “attributedMessage”, an alert controller can change its text alignment value by using this key. References: [Gist]… Continue reading UIAlertController Text Alignment
Just for a reminder, here are steps as a note to let anyone who wanna install HHVM + Nginx + MySQL on Google Cloud Platform (a.k.a GCP) like me. So, here we go.