Blogspot - android-helper.blogspot.com - ANDROID - Helper
General Information:
Latest News:
Simple AutoCompleteTextView Example 5 Jul 2013 | 11:07 am
Android – Simple AutoCompleteTextView Example Source main.xml <?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fil...
Selector on Button Example 5 Jul 2013 | 10:41 am
Android – Selector on Button Example Source button.xml <?xmlversion="1.0"encoding="utf-8"?> <selectorxmlns:android="http://schemas.android.com/apk/res/android"> <itemandroid:drawable="@drawable/bu...
Android - Set custom font in TextView 21 May 2013 | 10:22 am
SET CUSTOM FONT IN TEXTVIEW TextView textView1 = (TextView) findViewById(R.id.textView1); Typeface font = Typeface.createFromAsset(getAssets(), "Doonga Slash.ttf"); textView1.setTypeface(font);
Searching the elements of a String array, starts with SEARCHTEXT (String) 17 May 2012 | 03:55 pm
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Searching the elements of a String array, starts with SEARCHTEXT (String) public static ArrayList<String> searchFrom...
Accessing Webservices using SOAP Example 21 Apr 2012 | 11:17 pm
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Android – Accessing Webservices using SOAP Example Source main.xml <?xml version="1.0" encoding="utf-8"?> <LinearL...
Email Validation Function 18 Apr 2012 | 08:44 pm
public boolean validateEmail(String email) { Pattern pattern; Matcher matcher; String EMAIL_PATTERN = "^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$"; patter...
Function to split a String by Character, returns String Array 18 Apr 2012 | 04:57 pm
public String[] splitStringByCharacter(String inputString, String splitterCharacter) { String[] temp; temp = inputString.split(splitterCharacter); return temp; }
Android - Camera Example 18 Apr 2012 | 04:43 pm
Set the captured image using CAMERA in ImageView Main.xml <?xml version="1.0"encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/widg...
Android - Kill the process of your Application 4 Apr 2012 | 06:15 pm
int pid = android.os.Process.myPid(); android.os.Process.killProcess(pid);
Android - Switching Silent Mode to Normal Mode Example 9 Nov 2011 | 01:58 am
SILENT MODE DEMO SOURCE CODE [main.xml] is <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vert...