Sometime on android based samsung device won’t follow the imeOptions in the xml layout, to make it following the imeOptions we have to set also the singleLine property, like the example below: Happy Coding
Select Autocompletetextview item when using CursorAdapter on Android
After do some research, the correct way to select an on a list that displayed from the CursorAdapter is using the onItemSelected(OnItemSelectedListener) not the onItemClick(OnItemClickListener). Because when using the onItemClick(OnItemClickListener) the list still will be shown on the android below version 4.0 Happy Coding
Intent flag for Navigating Up to parent activies on Android
the intent flag for navigating up to the parent activities on when the home button on the actionbar is pressed up is: *hint: if you are using the compatibility library to implementing the action bar please refer to the actionbarcompat example on android developer resource site with the actionbarcompat repo on googlecode, and enable it by … Continue reading »
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.
Darrell Royal Letter
You should all ask yourself what do you feel when you are defeated. are you blaming others, feeling depressed, or are you feel with passion, ready to take the challenge again. all those of you who has played on the field will have tasted defeat, there’s no player who has not lost before, however the … Continue reading »
Apa sih maksud disclosure di DailySocial
Situs yang saya sering kunjungi yaitu dailysocial. pada akhir pemberitaan mengenai kaskus sengaja ditampilkan disclosure sebagai berikut : disclosure : DS dan Kaskus berada di bawah induk perusahaan yang sama (link). Disclosure: DailySocial diinkubasi oleh Merah Putih Inc. dan merupakan bagian dari GDP yang memberikan inventasi pada Kaskus (link). Apa sih maksudnya nulisin yang gituan? … Continue reading »
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
Android Json Processing using GSON and Display in on a ListView
This is my way to process a json request using GSON library and display it on a ListView Connect to a WebService the code i used to interact with the web service is based on this blog http://lukencode.com/2010/04/27/calling-web-services-in-android-using-httpclient/ First, download GSON library in here Format JSON Response the json response format which we are going … Continue reading »