BREAKING:

Android – Load WebView with ProgressBar

Problem: How to load WebView with ProgressBar? Description: Earlier I have published an article for Android – WebViewClient example where we have discussed about how to load URL inside the application instead of opening a native browser. Now, just consider the case where we require to include progress bar to show loading process. Here we […]

Read More

Android – ViewStub example

Problem: How to implement ViewStub in Android? Description: I have used ViewStub almost for implementing Title Bar (i.e. Header) for most of the application. I have defined a Title bar layout only for once and then I have re-used the same layout for every activity by the use of ViewStub. Now, let me clear idea […]

Read More

Android Gallery Example

Problem: Android Gallery example Output: Description: Many times we have to display images in horizontal row and based on the selection of the particular image we have to show it inside the ImageView, so for the same task, i have written an article, also provided a source code example. So just go through this example […]

Read More

Android – Get current date and time in different format

Related Article: Get current date and time. But this article guides you to fetch current date and time in different formats. Just define your SimpleDateFormat object with desired format and format the current date and time by using format() method. Calendar c = Calendar.getInstance(); System.out.println("Current time => " + c.getTime()); SimpleDateFormat df1 = new SimpleDateFormat("dd-MMM-yyyy"); […]

Read More

Android – DatePickerDialog example

Problem: Select date from dialog and display it in TextView. Solution: DatePickerDemoActivity.java main.xml Download full example: Android – DatePickerDialog example

Read More

Android offers free training to novice android programmer

Recently android team has launched bunch of articles and tutorials for the novice and experienced android programmer. Android team has prepared training classes in such a way that android developer can easily develop great apps for android and they have included almost all the needed articles at one place. Training classes also contains sample code […]

Read More

Android – RatingBar example

Problem: How to place rating bar and have rating value in android app? Solution: RatingBarDemoActivity.java main.xml Download full example: Android – RatingBar example

Read More