Quantcast
Channel: TechnoTalkative » Android code examples
Browsing all 20 articles
Browse latest View live

Android – Load WebView with ProgressBar

Problem: How to load WebView with ProgressBar? Description: Previously, i have published an article for Android – WebViewClient example where we have discussed about how to load URL inside the...

View Article



Android – Underline text in TextView

How to underline text in TextView? Solution:The post Android – Underline text in TextView appeared first on TechnoTalkative.

View Article

Android – How to implement Google Search inside application?

In Android application, if there is functionality of implementing Google search then here is the easy solution to implement it. In this example, we will accept input from the user and will search the...

View Article

Android – Custom toggle button example

Problem: How to customize toggle button with custom images in android? Solution: Step 1: Create 2 images for ON and OFF state of toggle button, place these 2 images inside the Drawable folder. FYI, i...

View Article

Android Tip – How to define Getter/Setter methods?

Hello All, This is actually a tip to define Getter/Setter methods in easy way. In other terms you can say Object initialization. You know why i thought to share this tip, just because i have seen many...

View Article


Android – Dashboard design pattern implementation

Before reading this article, please learn the prerequisites mentioned above so that you can have better idea for the implementation of this solution which i am going to discuss here. Do you know what...

View Article

Android – Load images from web and caching

Problem: How do i load images from web and caching (storing images inside local storage)? Description: Have you gone through my previous article for Loading Remote Images in android?, actually it was...

View Article

Android – Asynchronous image loading in ListView

Problem: How to load images in ListView asynchronously, and also caching the images? I am writing this article based on the many requests/feedbacks and i saw many developers on Stackoverflow facing the...

View Article


Android – ListView talk @ GDG Ahmedabad orientation event

Hi all, I had presented a talk on ListView in the 1st event of GDG Ahmedabad. For your reference, i have uploaded my talk on speaker deck, you can download it too. This session was on all about...

View Article


Android – Select multiple photos from Gallery

Hi, Today i am going to discuss about implementation of selecting multiple photos from Photo Gallery. You know, i have searched enough to find out a solution for selecting multiple images from...

View Article

Android – Read file from Assets

Problem: How to read files (Images or text files) from Assets folder? Description: I assume you are aware about File reading operation, but here we have question that how can we get a list of files...

View Article

Android – Read text file from SD-card

Problem: How to read simple text file from SD-card? Description: First of all, let me give you a link: Environment class and getExternalStorageDirectory() method, through this method we gets the root...

View Article

Android – copy files from Assets to SD-card

Problem: How to copy files from Assets to SD-Card? Solution: CopyFileAssetsToSDCardActivity.java main.xml Download Example: https://github.com/PareshMayani/Android-CopyFilesThe post Android – copy...

View Article


Android – WebViewClient example

Problem: WebViewClient tutorial Demo of creating an application to open any URL inside the application and clicking on any link from that URl should not open Native browser but that URL should open in...

View Article

Android – RatingBar example

Problem: How to place rating bar and have rating value in android app? Output: Solution: RatingBarDemoActivity.java package com.technotalkative.ratingbar; import android.app.Activity; import...

View Article


Android – DatePickerDialog example

Problem: Select date from dialog and display it in TextView. Solution: DatePickerDemoActivity.java package com.paresh.datepicker; import java.util.Calendar; import android.app.Activity; import...

View Article

Android – Google Image Search API Example (JSON Parsing + Web API call demo)

Hello All, As the title depicts clearly that today i am going to write an article on web API call + JSON parsing and display the parsed response into the custom listview. Please go through this custom...

View Article


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...

View Article

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,...

View Article

Android – ViewStub example

Hello All, Finally i am back with ViewStub example Problem: How to implement ViewStub in Android? Description: As being an experienced android programmer, i have used ViewStub almost for implementing...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images