Source code for an Android ViewPager example (Activity and Fragment)
Source code for an Android ViewPager example (Activity and Fragment) By Alvin Alexander. Last updated: July 3 2017 This is a little unusual for me, but I'm putting the following code here so I can...
View ArticleA Java method to log Android memory use
A Java method to log Android memory use By Alvin Alexander. Last updated: April 8 2018 As a quick note today, here’s a little Java method that I use to log Android memory use (RAM use) from an...
View ArticleHow to draw a circle in Android (onDraw method in View)
How to draw a circle in Android (onDraw method in View) By Alvin Alexander. Last updated: November 4 2018 Android FAQ: How do I draw a circle in Android? To draw a circle in Android you just need to...
View ArticleAn Android cheat sheet (my notes, main concepts)
An Android cheat sheet (my notes, main concepts) By Alvin Alexander. Last updated: December 15 2017 This page is a little unusual for me; it’s basically a terse summary of what I know about Android. I...
View ArticleAndroid: How to go back to Google App stories after closing the Now card
Android: How to go back to Google App stories after closing the Now card alvin October 27, 2016 - 9:35am Read more about Android: How to go back to Google App stories after closing the Now cardLog in...
View ArticleTwo ways to hide an Android ActionBar on an Activity
Two ways to hide an Android ActionBar on an Activity By Alvin Alexander. Last updated: January 27 2017 If you want to hide the Android ActionBar on an Activity, it looks like there are at least two...
View ArticleSource code for an Android AsyncTask (REST client) example
Source code for an Android AsyncTask (REST client) example By Alvin Alexander. Last updated: September 30 2019 I just got back into using an Android AsyncTask, and it took me a little while to re-load...
View ArticleWhen is the Android Fragment onCreateOptionsMenu method called?
When is the Android Fragment onCreateOptionsMenu method called? By Alvin Alexander. Last updated: August 3 2017 Read more about When is the Android Fragment onCreateOptionsMenu method called? Android...
View ArticleHow to show an Android Snackbar message
How to show an Android Snackbar message By Alvin Alexander. Last updated: August 7 2018 To show an Android Snackbar message from an Activity or Fragment, use Java code like this: Snackbar.make(view,...
View ArticleCode snippets for rapid prototyping of Android Studio apps
Code snippets for rapid prototyping of Android Studio apps By Alvin Alexander. Last updated: June 2 2018 This is a list of Android code examples I’m starting to allow me to create rapid prototypes of...
View Article
More Pages to Explore .....