BREAKING:

AIDE – Write code using your Android device

Yes, this article is about to write code for android app directly on your android phone or tablet. I came across an android application which can help you to write code from phone and tablet directly. App name: AIDE – Android Java IDE I have tested AIDE on both the devices phone and tablet. Here […]

Read More

Android – Underline text in TextView

How to underline text in TextView? Solution:

Read More

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