• 大小: 0.63M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-22
  • 语言: Java
  • 标签: 聊天  蓝牙  聊天室  

资源简介

蓝牙聊天室

资源截图

代码片段和文件信息

package net.flyget.bluetoothchat.activity;

import net.flyget.bluetoothchat.R;
import android.app.Activity;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Bundle;
import android.widget.TextView;

public class AboutActivity extends Activity {
private TextView mVersionTv;

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_download);
mVersionTv = (TextView) findViewById(R.id.versionTv);
mVersionTv.setText(“当前版本:“ + getVersionName());
}

private String getVersionName(){
// 获取packagemanager的实例
PackageManager packageManager = this.getPackageManager();
// getPackageName(

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-06-15 07:29  bluetoothchat-master\
     文件         475  2016-06-15 07:29  bluetoothchat-master\.classpath
     文件         849  2016-06-15 07:29  bluetoothchat-master\.project
     文件        1846  2016-06-15 07:29  bluetoothchat-master\AndroidManifest.xml
     文件        1563  2016-06-15 07:29  bluetoothchat-master\README.md
     目录           0  2016-06-15 07:29  bluetoothchat-master\assets\
     文件        3245  2016-06-15 07:29  bluetoothchat-master\assets\dladdr.png
     文件         781  2016-06-15 07:29  bluetoothchat-master\proguard-project.txt
     文件         563  2016-06-15 07:29  bluetoothchat-master\project.properties
     目录           0  2016-06-15 07:29  bluetoothchat-master\res\
     目录           0  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\
     文件         559  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\chart_list_item_left_selector.xml
     文件         563  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\chart_list_item_right_selector.xml
     文件        2735  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\dit.png
     文件        2304  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\diu.png
     文件        2165  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\div.png
     文件        2598  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\diw.png
     文件        2402  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\dix.png
     文件        2905  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\diy.png
     文件        2523  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\diz.png
     文件        2499  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\dja.png
     文件        2671  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djb.png
     文件        2420  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djc.png
     文件        2598  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djd.png
     文件        2532  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\dje.png
     文件        2849  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djf.png
     文件        2245  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djg.png
     文件        2656  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djh.png
     文件        2840  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\dji.png
     文件        2680  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djj.png
     文件        2691  2016-06-15 07:29  bluetoothchat-master\res\drawable-hdpi\djk.png
............此处省略216个文件信息

评论

共有 条评论