Quantcast
Channel: devahead BLOG » Android
Browsing all 5 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Recycling objects in Android with an Object Pool to avoid garbage collection

Source code (LICENSE) If you need to reduce the work of the garbage collector in Android, like in games development for example, all you can do is reduce the amount of objects you create and recycle...

View Article



Preserving the state of an Android WebView on screen orientation change

Source code If you’ve tried to use a WebView inside your app, you know that the standard behavior on screen orientation change is not satisfactory in most cases because the full state of the WebView is...

View Article

Saving the Android WebView cache on the SD card

Source code It could be useful to save the cache of an Android WebView on the SD card (or integrated external memory) especially for devices with a limited amount of internal memory, but how can you do...

View Article

Building libjpeg-turbo for Android

In order to build libjpeg-turbo for Android, here are the tools you’ll need: Linux (Ubuntu Linux works fine) Android NDK libjpeg-turbo source code The compilation process won’t work with Cygwin since...

View Article

Building OpenCV for Android with libjpeg-turbo

Nowadays, OpenCV offers a way to install a common shared library on an Android device and use it in multiple apps without the need to build every single app with OpenCV inside it: this is called OpenCV...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images