I have found this very helpful tutorial on ViewPager. The code is super simple, right to the opoint!
http://www.androidbegin.com/tutorial/android-viewpager-gallery-images-and-texts-tutorial/
Super Easy Android Code Samples
Monday, November 11, 2013
Monday, October 14, 2013
Device Independent Pixels
To be honest, I had a difficult time trying to understand what exactly is device independent pixel (dp). Finally, I have learned that 160dp = 1 inch, it is physical length.
I have created this app to compare the pixels and device independent pixels on one's device: https://play.google.com/store/apps/details?id=com.xizz.androidpixels&hl=en.
To download the original code: Device Independent Pixels
I have created this app to compare the pixels and device independent pixels on one's device: https://play.google.com/store/apps/details?id=com.xizz.androidpixels&hl=en.
To download the original code: Device Independent Pixels
Monday, September 30, 2013
Intent Service
An intent service allows you to run process in the background. The line <service android:name=".MyIntentService" /> must be added to your AndroidManifest.xml file. Notice that all intent services run sequentially. In my example, if you click the button twice, the second message will still came up 5 seconds after the first message. Also, intent services between different apps does NOT run sequentially. Each app runs its own intent services.
Download: Intent Service
Download: Intent Service
Friday, September 27, 2013
Wednesday, September 25, 2013
Subscribe to:
Posts (Atom)