Filed under Android

Bluetooth .apk File Transfer Failed on android device

recently i try to send a .apk file to my android, but it constantly show internal error (i have paired it with my computer). but after i changed the extension file into .zip it work flawlessly. i think it is a security method in android. but many user including me doesn’t aware it.

Show keyboard when Activity start

i am currently working on a Search Activity, and i need to show the keyboard when this activity is started, and focus to the EditText. and to perform this task its simple just use this code hopefully it helps

Android Draw Location Accuracy Radius

to get the accuracy in fix meter just use * note: best is an Criteria object and to draw the Radius, just use this Overlay class, which extend an Overlay Class, and then add it to a MapOverlay * note: dont forget to use the setSource() method, before add it to a MapOverlay

Change Android ProgressBar Animation

To change a indeterminate progressbar style animation, simply use this drawable below, and rename it as progress_indeterminate.xml * note the @drawable/progress_circular_indeterminate is pointing to your image file, you can change the name To apply the Animation simply use this tag in the progress bar Based on this link about progress dialog and other animation