MakinGIANTS
The findings and tips records of an Android-iOS-TheWholeShabang group
Antialias with matrix transformation in bitmap
Your image change it resolution when you use Matrix and transform it?Use a Paint and setFilterBitmap and setAntiAlias to true and thats all, you bitmap colors will not going to be changed at all…<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto;...
Rotate and translate bitmap in canvas
Get the screen size see: Get screen size<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"> float screenWidth = ... float screenHeight = ... Matrix matrix = new Matrix(); <div class="p1"> matrix.postRotate(accelY *...
Get display-screen size (width and height)
From an activity: <pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"> Display display = ((WindowManager)getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); float screenWidth = display.getWidth(); float screenHeight = display.getHeight(); </pre>
Like paint for MAC
It’s based on Gymp, but their make it more simple:SeaShore
MP3 Optimizer-optimize-compressor
If you need to use any mp3 sound and you need space in the device use:http://www.inspire-soft.net/software/mp3-quality-modifier#downloadIt’s a very good option…