When using AVPlayer method – SeekToTime, you might find there’s a problem: the position of seeking time is not correct, or, in other word, it’s at the exact time slot we want. Especially, when you do development on multimedia App with subtitles, this will be a big problem cause users might expect that the people… Continue reading AVPlayer SeekToTime issue
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.
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