Tag: android
-
The official Uncyclopedia Android app
The folks at Uncyclopedia have made my Uncyclopedia Android app as their official app! Get it now!
-
How to get a File object of an Android raw resource using reflection
Context: You have a URI to a resource which is placed in the raw directory inside the Android resources directory, res. Say you want to take that raw resource(let’s say it’s an image) and add it to an attachment using FIleBody to a MultiPartEntity. Both these classes are available in the Apache HTTP Components library. FileBody…
-
Uncyclopedia App for Android – On GitHub
| androidI’ve decided to open source the Uncyclopedia app for Android, which some of you may remember was available on the Play store during the first quarter this year. Browse the code on GitHub. The source code is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
-
Calculate the REAL scale factor and the angle of rotation from an Android Matrix
After performing transformations such as rotation of a bitmap about an arbitrary point, the scale is lost. Of course, this makes sense because the bitmap is rotated inside the same bounds. To get the real scale now, along with the most reliable degree of rotation, I had to follow this method. Hope it saves the…
-
Multi Touch in Android – Translate, Scale, and Rotate
| androidHere’s a quick and easy implementation of Android’s multi touch feature – one finger to move, two to zoom, and three to rotate the image. Assuming you have a basic understanding of 2D matrix transformations, the Matrix class in Android uses a 3×3 matrix to achieve all of the 2D transformations. The source code and…
-
Rooted? Get the most of your Android phone | A power saving strategy
| life!The smart-phones these days are power hungry devices, and often drain the battery within six to eight hours, or even less. However, if it’s running Android, there’s a good chance that that can change. The key is to find the right set of tools, and optimize your phone to be right on the edge, there…