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
A quick tip here for reporting a crash issue to firebase server. This will help you to do a quick debug. For ios, we might need to upload symbol files to the firebase server for creating the log and point out crashed at which function. So, here are some instructions.
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. Advertisements
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