How to implement autoresize/autorotate of Android Player?

If you are programming an Android App with a VideoPlayer, sometimes you want that it looks more like the YouTube App. The user navigates to a video and the first screen is in portrait mode such that the player is on top and the description and other information is below the player. The intuitive behaviour of the user would be to rotate the device to landscape mode to see the video in fullscreen mode. During the rotation, the video should not be interrupted. If the user rotates the device back to portrait mode, he/she would see the previous screen again and also here the video should not be interrupted during the rotation. The main challenge here are: - Which player should be used? VideoView oder MediaPlayer? - How to define the layout? - How to change the surfaceview of the player? - How to catch the rotation event?

Data transfer: Android-Phone & OS

It can happen almost anywhere, you want to transfer something from a computer to your phone or vice versa. You have your phone and also an USB-cable but you’re not at your PC where all drivers are installed you are on the go (maybe university or at a friend?). Maybe you are not even able to install drivers as you don’t have the necessary rights on the system? How can you connect your phones memory to an unknown PC that supports USB-Sticks?

flashing CyanogenMod

To accomplish this we will install a customized, aftermarket firmware distribution named CyanogenMod.  This guide is optimized for the HTC Magic provided by A1/Vodafone in Austria. If you have another Android device you will have to choose accordant images. Download a recovery image from your favorite Android site or from the following resource and put it on your sd-card: download the HTC factory system image ( ) and the latest Cyanogen's ROM ( ) and copy it into the root directory of your sd-card too. Start a terminal emulator on your rooted Android Phone and cd to /sdcard. The following command flashes the new recovery image:sudo flash-recovery cm-recovery-1.4.img You can start into recovery mode by holding down the home key on your device while rebooting. Before wiping all data a backup is recommended by selecting 'nandroid backup' from the recovery menu. After wiping apply the HTC factory system image and finally the latest ROM from cyanogen. The first boot of the new ROM will take longer than usual - just be patient - you can explore the new feature in some minutes.Be sure to install the CM-Updater to receive notifications for new updates and be able to download and apply them immediately.  


Install new firmware with OTA option on Android cell phones

<p>&nbsp;</p><p>The shipped firmware of the HTC Dream and Magic is quite adequate and useful&nbsp;but doesn't compare to some full fletched, customized ROMs designed to increase performance and reliability. The limited storage space for applications, the lack of some must-have applications like Loccy's 'Better Browser', and non-supporting of features like multi-touch are just some of the downsides of the ROMs released by vendors. But what Android 1.6 based, customized legal ROM is recommended?</p><p>&nbsp;</p>


Subscribe to android