String deviceId = Secure.getString(this.getContentResolver(),
Secure.ANDROID_ID);
returns the Android ID as an unique 64-bit hex string.I have created this blog to help programmers who have just started their career thats why I have written all the tutorials from practical approach rather then theoretical. If anyone has any query related to programming don't hesitate to ask. My contact information is in my profile. Also I would like to thank all the websites/Individual(s) from whom I gathered the material.
Monday, January 7, 2013
Android - Get Device's Unique Identifier(UID)
Saturday, December 15, 2012
Android - Place Tab at the bottom
Here's the simplest, most robust, and scalable solution to get tabs on the bottom of the screen.
- In your vertical LinearLayout, put the FrameLayout above the TabWidget
- Set
layout_heighttowrap_contenton both FrameLayout and TabWidget - Set FrameLayout's
android:layout_weight="1" - Set TabWidget's
android:layout_weight="0"(0 is default, but for emphasis, readability, etc) - Set TabWidget's
android:layout_marginBottom="-4dp"(to remove the bottom divider)
Subscribe to:
Posts (Atom)