最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Android對話框使用方法詳解

 更新時(shí)間:2022年09月20日 10:45:36   作者:明昕1024  
這篇文章主要介紹了Android對話框使用方法,包括提示對話框、單選對話框、復(fù)選對話框、列表對話框等,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下

對話框(Dialog)是Android系統(tǒng)在Activity或者其他組件運(yùn)行過程中提供的一種提示機(jī)制。它可以幫助應(yīng)用完成一些必要的提示功能,同時(shí)提供一些與用戶交互的功能。

對話框分為很多種,下面將一一介紹。

1.提示對話框

Android系統(tǒng)提供的對話框父類為Dialog, 里面并沒有實(shí)現(xiàn)對話框的具體類型,比如單選、多選、列表等對話框,僅提供一個(gè)框架和規(guī)范。系統(tǒng)為開發(fā)者提供了一個(gè) 多功能的對話框類AlertDialog, 里面封裝了各種對話框的樣式,開發(fā)者只須提供相應(yīng)的顯示數(shù)據(jù)和按鍵的響應(yīng)監(jiān)聽就可以。

提示對話框所使用的就是系統(tǒng)封裝好的對話框AlertDialog的實(shí)例對象。AlertDialog并不提供對外的構(gòu)造方法,即不能直接通過AlertDialog的構(gòu)造函數(shù)來生產(chǎn)一個(gè)AlertDialog。因?yàn)锳lertDialog所有的構(gòu)造方法都是protected的。所以為了獲取AlertDialog對象,系統(tǒng)提供了一個(gè)靜態(tài)內(nèi)部類Builder讓我們使用,通過Builder可以創(chuàng)建AlertDialog對象。

(1)創(chuàng)建AlertDialog.Builder實(shí)例對象。

(2)通過Builder對象設(shè)置對話框的屬性。

  • setTitle()設(shè)置標(biāo)題
  • setIcon ()設(shè)置圖標(biāo)
  • setMessage ()設(shè)置要顯示的內(nèi)容
  • setItems設(shè)置在對話框中顯示的項(xiàng)目列表
  • setView設(shè)置自定義的對話框樣式
  • setPositiveButton ()設(shè)置確定按鈕
  • setNegativeButton ()設(shè)置取消按鈕
  • setNeutralButton ()設(shè)置中立按鈕
  • setSingleChoiceItems單選框
  • setMultiChoiceItems復(fù)選框

(3)調(diào)用Builder對象的create()方法創(chuàng)建AlertDialog對話框

(4)調(diào)用AlertDialog的show()方法來顯示對話框

(5)調(diào)用AlertDialog的dimiss()方法銷毀對話框。

package com.example.learndialog;

import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {

? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? ? ? Button bt= (Button) findViewById(R.id.button);
? ? ? ? bt.setOnClickListener(new View.OnClickListener() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void onClick(View v) {
? ? ? ? ? ? ? ? AlertDialog aldg;
? ? ? ? ? ? ? ? AlertDialog.Builder adBd=new AlertDialog.Builder(MainActivity.this);
? ? ? ? ? ? ? ? adBd.setTitle("我的提示框");
? ? ? ? ? ? ? ? adBd.setIcon(R.drawable.p1);
? ? ? ? ? ? ? ? adBd.setMessage("確定要關(guān)閉本應(yīng)用程序嗎?");
? ? ? ? ? ? ? ? adBd.setPositiveButton("確定", new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {
? ? ? ? ? ? ? ? ? ? ? ? finish();
? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? });
? ? ? ? ? ? ? ? adBd.setNegativeButton("取消", new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {

? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? });
? ? ? ? ? ? ? ? aldg=adBd.create();
? ? ? ? ? ? ? ? aldg.show();
? ? ? ? ? ? }
? ? ? ? });
? ? }
}

運(yùn)行結(jié)果:

2.單選對話框

單選對話框中的0代表默認(rèn)選中第一個(gè)。

package com.example.learndialog;

import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {
? ? int picWhich;

? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? ? ? Button bt = (Button) findViewById(R.id.button);
? ? ? ? bt.setOnClickListener(new View.OnClickListener() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void onClick(View v) {
? ? ? ? ? ? ? ? final String[] starr = new String[]{"教師", "經(jīng)理", "律師", "公務(wù)員"};
? ? ? ? ? ? ? ? AlertDialog adlg;
? ? ? ? ? ? ? ? adlg = new AlertDialog.Builder(MainActivity.this).setTitle("選擇職業(yè):")
? ? ? ? ? ? ? ? ? ? ? ? .setSingleChoiceItems(starr, 0, new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? picWhich = which;
? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ? ? ? ? ? ? ? ? ? .setPositiveButton("確定", new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Toast.makeText(MainActivity.this, "你選定的職業(yè)是:"
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + starr[picWhich], Toast.LENGTH_LONG).show();
? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ? ? ? ? ? ? ? ? ? .setNegativeButton("取消", new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {

? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ? ? ? ? ? ? ? ? ? .create();
? ? ? ? ? ? ? ? adlg.show();
? ? ? ? ? ? }
? ? ? ? });
? ? }
}

運(yùn)行結(jié)果:

3.復(fù)選對話框

復(fù)選對話框和單選對話框用法相似。

package com.example.learndialog;

import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {
? ? int picWhich;
? ? boolean chk[]=new boolean[]{false,false,false,false};
? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? ? ? Button bt = (Button) findViewById(R.id.button);
? ? ? ? bt.setOnClickListener(new View.OnClickListener() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void onClick(View v) {
? ? ? ? ? ? ? ? final String[] starr = new String[]{"教師", "經(jīng)理", "律師", "公務(wù)員"};
? ? ? ? ? ? ? ? AlertDialog adlg;
? ? ? ? ? ? ? ? adlg = new AlertDialog.Builder(MainActivity.this).setTitle("選擇職業(yè):")
? ? ? ? ? ? ? ? ? ? ? ? .setMultiChoiceItems(starr, chk, new DialogInterface.OnMultiChoiceClickListener() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which, boolean isChecked) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? chk[which]=isChecked;
? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ? ? ? ? ? ? ? ? ? .setPositiveButton("確定", new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? String st=" ";
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? for (int i=0;i<chk.length;i++)
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if (chk[i])
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? st=st+starr[i]+" ";
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Toast.makeText(MainActivity.this,"選定的職業(yè)有:"+st,Toast.LENGTH_LONG).show();
? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ? ? ? ? ? ? ? ? ? .setNegativeButton("取消", new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {

? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ? ? ? ? ? ? ? ? ? .create();
? ? ? ? ? ? ? ? adlg.show();
? ? ? ? ? ? }
? ? ? ? });
? ? }
}

運(yùn)行結(jié)果:

4.列表對話框

列表對話框和單選對話框用法相似。

package com.example.learndialog;

import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {

? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? ? ? Button bt = (Button) findViewById(R.id.button);
? ? ? ? bt.setOnClickListener(new View.OnClickListener() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void onClick(View v) {
? ? ? ? ? ? ? ? final String[] starr = new String[]{"教師", "經(jīng)理", "律師", "公務(wù)員"};
? ? ? ? ? ? ? ? AlertDialog adlg;
? ? ? ? ? ? ? ? adlg=new AlertDialog.Builder(MainActivity.this).setTitle("列表對話框")
? ? ? ? ? ? ? ? ? ? ? ? .setItems(starr, new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {

? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ? ? ? ? ? ? ? ? ? .create();
? ? ? ? ? ? ? ? adlg.show();
? ? ? ? ? ? }
? ? ? ? });
? ? }
}

運(yùn)行結(jié)果:

5.進(jìn)度條對話框

ProgressDialog 也是繼承于Dialog,但其擴(kuò)展了緩沖加載提示的功能,為人機(jī)之間提供了良好的交互體驗(yàn)。

package com.example.learndialog;

import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends AppCompatActivity {

? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? }
? ? public void progress_circle(View v){
? ? ? ? final ProgressDialog prdg1=new ProgressDialog(MainActivity.this);
? ? ? ? prdg1.setProgressStyle(ProgressDialog.STYLE_SPINNER);
? ? ? ? prdg1.setTitle("圓形進(jìn)度條對話框");
? ? ? ? prdg1.setMessage("正在下載");
? ? ? ? prdg1.setMax(100);
? ? ? ? prdg1.show();
? ? ? ? new Thread(new Runnable() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void run() {
? ? ? ? ? ? ? ? try {
? ? ? ? ? ? ? ? ? ? Thread.sleep(5000);
? ? ? ? ? ? ? ? ? ? prdg1.cancel();
? ? ? ? ? ? ? ? } catch (InterruptedException e) {
? ? ? ? ? ? ? ? ? ? e.printStackTrace();
? ? ? ? ? ? ? ? }
? ? ? ? ? ? }
? ? ? ? }).start();
? ? }
? ? public void progress_horizontal(View v){
? ? ? ? final ProgressDialog prdg2 = new ProgressDialog(this);
? ? ? ? prdg2.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
? ? ? ? prdg2.setCancelable(true);
? ? ? ? prdg2.setTitle("水平進(jìn)度條對話框");
? ? ? ? prdg2.setMax(100);
? ? ? ? prdg2.setButton(DialogInterface.BUTTON_POSITIVE, "確定",
? ? ? ? ? ? ? ? new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {
? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? });
? ? ? ? prdg2.setButton(DialogInterface.BUTTON_NEGATIVE, "取消",
? ? ? ? ? ? ? ? new DialogInterface.OnClickListener() {
? ? ? ? ? ? ? ? ? ? @Override
? ? ? ? ? ? ? ? ? ? public void onClick(DialogInterface dialog, int which) {
? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? });
? ? ? ? prdg2.setMessage("正在下載");
? ? ? ? prdg2.show();
? ? ? ? new Thread(new Runnable() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void run() {
? ? ? ? ? ? ? ? int i = 0;
? ? ? ? ? ? ? ? while (i < 100) {
? ? ? ? ? ? ? ? ? ? try {
? ? ? ? ? ? ? ? ? ? ? ? Thread.sleep(100);
? ? ? ? ? ? ? ? ? ? ? ? prdg2.incrementProgressBy(1);
? ? ? ? ? ? ? ? ? ? ? ? i++;
? ? ? ? ? ? ? ? ? ? } catch (Exception e) {
? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? prdg2.dismiss();
? ? ? ? ? ? }
? ? ? ? }).start();
? ? }

}

運(yùn)行結(jié)果:

6.拖動對話框

package com.example.learndialog;

import android.app.Dialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.SeekBar;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {

? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? }
? ? public void SeekOnClick(View v){
? ? ? ? Dialog myDlg=new Dialog(MainActivity.this);
? ? ? ? myDlg.setTitle("拖動對話框:亮度調(diào)節(jié)");
? ? ? ? myDlg.setContentView(R.layout.seekbardlg);
? ? ? ? SeekBar sb=(SeekBar)myDlg.findViewById(R.id.seekBar);
? ? ? ? final TextView tv=(TextView)myDlg.findViewById(R.id.textView);
? ? ? ? sb.setMax(100);
? ? ? ? sb.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
? ? ? ? ? ? ? ? tv.setText("當(dāng)前亮度為:"+progress);
? ? ? ? ? ? }

? ? ? ? ? ? @Override
? ? ? ? ? ? public void onStartTrackingTouch(SeekBar seekBar) {

? ? ? ? ? ? }

? ? ? ? ? ? @Override
? ? ? ? ? ? public void onStopTrackingTouch(SeekBar seekBar) {

? ? ? ? ? ? }
? ? ? ? });
? ? ? ? myDlg.show();
? ? }
}

運(yùn)行結(jié)果:

7.日期選擇對話框

package com.example.datepickerdialog;

import android.app.DatePickerDialog;
import android.icu.util.Calendar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.DatePicker;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {

? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? ? ? Calendar c=Calendar.getInstance();
? ? ? ? DatePickerDialog dpd=new DatePickerDialog(MainActivity.this, new DatePickerDialog.OnDateSetListener() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void onDateSet(DatePicker view, int year, int month, int day) {
? ? ? ? ? ? ? ? String st;
? ? ? ? ? ? ? ? st = String.valueOf(year) + "-" + String.valueOf(month) + "-" + String.valueOf(day);
? ? ? ? ? ? ? ? Toast.makeText(getApplicationContext(), st, Toast.LENGTH_LONG).show();
? ? ? ? ? ? }

? ? ? ? },c.get(Calendar.YEAR),c.get(Calendar.MONTH),c.get(Calendar.DAY_OF_MONTH));
? ? ? ? dpd.show();
? ? }
}

運(yùn)行結(jié)果:

8.時(shí)間選擇對話框

package com.example.datepickerdialog;

import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.icu.util.Calendar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.DatePicker;
import android.widget.TimePicker;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {

? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);
? ? ? ?Calendar calendar=Calendar.getInstance();
? ? ? ? new TimePickerDialog(this, new TimePickerDialog.OnTimeSetListener() {
? ? ? ? ? ? @Override
? ? ? ? ? ? public void onTimeSet(TimePicker view, int hourOfDay, int minute) {

? ? ? ? ? ? }
? ? ? ? },
? ? ? ? ? ? ? ? calendar.get(Calendar.HOUR_OF_DAY),
? ? ? ? ? ? ? ? calendar.get(Calendar.MINUTE),
? ? ? ? ? ? ? ? true
? ? ? ? ).show();

? ? }
}

運(yùn)行結(jié)果:

以上就是本文的全部內(nèi)容,希望對大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

  • Android自定義viewgroup 使用adapter適配數(shù)據(jù)(6)

    Android自定義viewgroup 使用adapter適配數(shù)據(jù)(6)

    這篇文章主要為大家詳細(xì)介紹了Android自定義viewgroup,使用adapter適配數(shù)據(jù),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2016-12-12
  • 如何在android中制作一個(gè)方向輪盤詳解

    如何在android中制作一個(gè)方向輪盤詳解

    這篇文章主要給大家介紹了關(guān)于如何在android中制作一個(gè)方向輪盤的相關(guān)資料,這個(gè)是在手游領(lǐng)域中很常見的用于控制方向的輪盤,文中通過示例代碼介紹的非常詳細(xì),需要的朋友可以參考下
    2021-09-09
  • 談?wù)凴xJava2中的異常及處理方法

    談?wù)凴xJava2中的異常及處理方法

    這篇文章主要給大家介紹了關(guān)于RxJava2中異常及處理方法的相關(guān)資料,文中通過示例代碼介紹的非常詳細(xì),對大家學(xué)習(xí)或者使用RxJava2具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面來一起學(xué)習(xí)學(xué)習(xí)吧
    2019-08-08
  • Android ListView適配器(Adapter)優(yōu)化方法詳解

    Android ListView適配器(Adapter)優(yōu)化方法詳解

    這篇文章主要介紹了Android ListView優(yōu)化方法詳解的相關(guān)資料,這里舉例說明該如何對ListView 進(jìn)行優(yōu)化,具有一定的參考價(jià)值,需要的朋友可以參考下
    2016-11-11
  • Android實(shí)現(xiàn)長按back鍵退出應(yīng)用程序的方法

    Android實(shí)現(xiàn)長按back鍵退出應(yīng)用程序的方法

    這篇文章主要介紹了Android實(shí)現(xiàn)長按back鍵退出應(yīng)用程序的方法,實(shí)例分析了Android按鈕事件的操作技巧,需要的朋友可以參考下
    2015-05-05
  • Android 通用型手電筒代碼

    Android 通用型手電筒代碼

    說到手機(jī)手電筒功能,很多人都是直接調(diào)用閃光燈,而本文給大家介紹的是用相機(jī)功能來實(shí)現(xiàn)的,有需要的小伙伴可以參考下。
    2015-06-06
  • Android App開發(fā)中自定義View和ViewGroup的實(shí)例教程

    Android App開發(fā)中自定義View和ViewGroup的實(shí)例教程

    這篇文章主要介紹了Android App開發(fā)中自定義View和ViewGroup的實(shí)例教程,分別介紹了進(jìn)度條和圖片上傳并排列的例子,效果很好很強(qiáng)大,需要的朋友可以參考下
    2016-05-05
  • Android中XML的基本操作(增、刪、改、查)

    Android中XML的基本操作(增、刪、改、查)

    這篇文章主要介紹了Android中XML的基本操作(增、刪、改、查)的相關(guān)資料,需要的朋友可以參考下
    2017-04-04
  • android仿微信好友列表功能

    android仿微信好友列表功能

    這篇文章主要介紹了android仿微信好友列表功能,本文通過實(shí)例代碼給大家介紹的非常詳細(xì),需要的朋友可以參考下
    2018-04-04
  • android通過servlet上傳文件到服務(wù)器

    android通過servlet上傳文件到服務(wù)器

    這篇文章主要為大家詳細(xì)介紹了android通過servlet上傳文件到服務(wù)器,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2020-06-06

最新評論

砀山县| 新丰县| 甘洛县| 象山县| 江川县| 大丰市| 东阿县| 福海县| 隆尧县| 滦平县| 锦州市| 黔南| 新巴尔虎左旗| 潜山县| 大悟县| 即墨市| 利津县| 望城县| 济宁市| 丽水市| 福建省| 花垣县| 屏南县| 德令哈市| 中山市| 闸北区| 呼图壁县| 双辽市| 玉门市| 嘉峪关市| 建水县| 大竹县| 上虞市| 延边| 噶尔县| 秭归县| 土默特左旗| 菏泽市| 会理县| 普兰县| 东乡|