Thursday 12 April 2012

Contest on Androidiani.com

Hi guys let me tell you that you can win an extraordinary HTC Evo 3D on www.androidiani.com.
Here's the link

Tuesday 26 July 2011

Ringtones reset after a restart

Hi guys, today I want to share with you a tip to workaround a problem I had to face recently.
Since I sometimes use to change my default ringtone by using the famous Zedge app, I realized that after a restart I got my default ringtone resetted. What's the solution? Use your favourite File Manager and copy files from /sdcard/zedge/ringtones/ to /sdcard/media/audio/ringtones/.
Of course the same method can be used for wallpapers, notifications and alarms. They will have to be put respectively under:
- /sdcard/media/audio/wallpapers/
- /sdcard/media/audio/notifications/
- /sdcard/media/audio/alarms/

Monday 13 June 2011

HTC Desire Back button fault and Keyremapper

Hi guys,
since I know that many HTC Desire owners after a while have problems with their physical back button, I'd like to advice you another wonder from the xda-developers forum: the Button Remapper
This is an application to be used only on full rooted devices, but it will let you edit the key layout map file that Android uses to map the keys.
Following are the functions that can be easily reassigned:

"Power",
"Home",
"Menu",
"Back",
"Search",
"Volume up",
"Volume down",
"Camera",
"Focus",
"Endcall",
"Call",
"Media Play Pause",
"Media Stop",
"Media Next",
"Media Previous",
"Media Rewind",
"Media Fast Forward",
"Dpad center",
"Dpad up",
"Dpad down",
"Dpad left",
"Dpad right"


Of course this can be useful non other devices too and there are different versions available for differente devices. So check it out and let me know if this helped!
Credits go to my good friend Fabrizio who told me about the problem and the HTC desire problem

Wednesday 25 May 2011

DEV - App Install Location

Since API level 8 (a.k.a. Froyo), Google introduced the possibility for developers to let users move their applications to the phone external storage. A great opportunity especially for those who do not own a recent device.
Though this technology is a great improvement, it has lots of limitations which I realized they are not so evident...
So let's make a small list of what may not work when your app is installed onto the SD card (taken from the Android Dev Guide).

Alarm Services: Your alarms registered with AlarmManager will be cancelled. You must manually re-register any alarms when external storage is remounted.
Input Method Engines: Your IME will be replaced by the default IME. When external storage is remounted, the user can open system settings to enable your IME again.
Live Wallpapers: Your running Live Wallpaper will be replaced by the default Live Wallpaper. When external storage is remounted, the user can select your Live Wallpaper again.
Live Folders: Your Live Folder will be removed from the home screen. When external storage is remounted, the user can add your Live Folder to the home screen again.
App Widgets: Your App Widget will be removed from the home screen. When external storage is remounted, your App Widget will not be available for the user to select until the system resets the home application (usually not until a system reboot).
Account Managers: Your accounts created with AccountManager will disappear until external storage is remounted.
Sync Adapters: Your AbstractThreadedSyncAdapter and all its sync functionality will not work until external storage is remounted.
Device Administrators: Your DeviceAdminReceiver and all its admin capabilities will be disabled, which can have unforeseeable consequences for the device functionality, which may persist after external storage is remounted.
Broadcast Receivers listening for "boot completed": The system delivers the ACTION_BOOT_COMPLETED broadcast before the external storage is mounted to the device. If your application is installed on the external storage, it can never receive this broadcast.
Copy Protection: Your application cannot be installed to a device's SD card if it uses Android Market's Copy Protection feature. However, if you use Android Market's Application Licensing instead, your application can be installed to internal or external storage, including SD cards.

So all of you developers out there, be sure to check this list whenever you are developing an app which holds one of these features, or you may fall in the same situation I did: I was developing a BroadcastReceiver to start at boot time but my app had been installed on SD card and I lost at least a couple of hours trying to get the Receiver to start after a reboot. Quite disapponting indeed especially because I believed to have done some wrong coding in my app....

Monday 16 May 2011

Eclipse - Content Assist Tip

Hi guys, if you develop java or android applications and you own a fast pc you may encounter the same problem with Eclipse which made me go nuts!!!
Content assist takes a looong time to load. This is because of the content assist triggering timeout which is set on 200 millis by default. Thanx to my friend Fabio I finally got the solution.
You just have to go to Window - Preferences - Java - Editor - Content Assist and set a higher value for the Auto activation delay property (For me 400 millis is the right choice)
By the way, while you are on that window preference page you may choose under the Insertion property the Insertion overwrites mode.
Let me know if this was useful!!
Cheers