Skip to content
Windows Tricks
  • Windows11
  • Windows10
  • PowerShell Tricks
  • Batch File Tricks
  • Python
    • Python Basic
  • Matplotlib
  • Pandas
  • Oracle VirtualBox
  • Scratch
  • Contact
  • Privacy Policy
  • Home
  • Page 64

Android JSON Parsing Use JSONObject / Gson From Url Example

1 Comment / Android Tutorial

This example will tell you how to use org.json.JSONObject and com.google.gson.Gson to parse JSON format string read from a URL page.

Android JSON Parsing Use JSONObject / Gson From Url Example Read More »

Android Parse Xml Use XmlPullParser Example

Leave a Comment / Android Tutorial

This example show you how to use XmlPullParserFactory and XmlPullParser to parse xml file and show the parsed out data in text view.

Android Parse Xml Use XmlPullParser Example Read More »

Use OkHttp3 To Upload And Download Json File Example

1 Comment / Android Tutorial

This article will tell you how to use OkHttp3 to upload or download json string or file between web server and android application. You can read Android OkHttp3 Http Get Post Request Example to learn OkHttp for basic operation.

Use OkHttp3 To Upload And Download Json File Example Read More »

Android OkHttp3 Http Get Post Request Example

2 Comments / Android Tutorial

This example will show you how to use OkHttp3 to send get or post HTTP request to a web server and how to parse and display response text in an Android TextView.

Android OkHttp3 Http Get Post Request Example Read More »

Android HttpURLConnection Example

7 Comments / Android Tutorial

This article will tell you how to use java.net.HttpURLConnection class to send an http request and get an http server response in the android application.

Android HttpURLConnection Example Read More »

How To Make Android VideoView Seekto Method Consistent

Leave a Comment / Android Tutorial

In the previous article we have introduced how to use the android VideoView widget to play, pause, continue, stop and replay video files in android. But when you use VideoView‘s method seekto to make the video play from a particular position, you will find the video playing is inconsistent. Sometimes it starts from the beginning.

How To Make Android VideoView Seekto Method Consistent Read More »

How To Start Android Service Automatically At Boot Time

5 Comments / Android Tutorial / Android Broadcast, Android Service

To start an android background service when the device boots, you should create a broadcast receiver, and make it listen to android.intent.action.BOOT_COMPLETED action. Then in the custom broadcast receiver’s onReceive method, you can start the background service.

How To Start Android Service Automatically At Boot Time Read More »

Android One Time / Repeat Alarm Example

Leave a Comment / Android Tutorial

The android alarm is an OS built-in service. It provides timer liked functions. With the android alarm manager, you can create one-time alarms, repeated alarms, and so on. This article will tell you how to use it with examples.

Android One Time / Repeat Alarm Example Read More »

Android Play Audio File In Background Service Example

6 Comments / Android Tutorial / Android Service

This article will show you how to communicate between activity and background service in android. It will play, pause and stop a web audio file in the android background service in this example. It will also update the activity progress bar from the background service to display the audio playing process.

Android Play Audio File In Background Service Example Read More »

Android Enable / Disable Button By EditText Text Length

Leave a Comment / Android Tutorial

In some android app, button will be enabled only when user input enough characters in EditText, for example user account register app. There are two methods to archive this. Use android.text.TextWatcher or listen android.view.KeyEvent event. This example will tell you how to implement this.

Android Enable / Disable Button By EditText Text Length Read More »

← Previous 1 … 63 64 65 … 71 Next →

Search The Blog With Google

Copyright © 2026 Windows Tricks | Powered by Astra WordPress Theme