• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

gisoracle

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 159 下一页

2017年10月10日

andriod arcgis createPolygons创建带空的面

摘要: private void createPolygons() { // create input polygon 1 PointCollection pointsPoly = new PointCollection(SpatialReferences.getWebMercator()); pointsPoly.add(new Point(-13160, 6710100)... 阅读全文

posted @ 2017-10-10 15:03 gisai 阅读(434) 评论(0) 推荐(0)

2017年10月9日

andriod获得应用程序的Context

摘要: getApplicationContext() getResources().getString(R.string.app_name) //获得程序名称 阅读全文

posted @ 2017-10-09 14:46 gisai 阅读(154) 评论(0) 推荐(0)

2017年10月8日

android应用名称设置的问题

摘要: <application android:label="@string/app_name1" <activity android:name=".MainActivity" android:label="@string/app_name1"> 都需要修改 阅读全文

posted @ 2017-10-08 11:36 gisai 阅读(192) 评论(0) 推荐(0)

Android Studio常见问题 -- AndroidManifest.xml 覆盖问题

摘要: 问题如下 D:\source-code\AndroidStudio\MyApplication\app\src\main\AndroidManifest.xml Error:(14, 9) Attribute application@icon value=(@drawable/ic_launcher 阅读全文

posted @ 2017-10-08 10:10 gisai 阅读(3017) 评论(0) 推荐(0)

2017年10月6日

andriod 调用高德地图

摘要: Android Studio 配置工程 最后更新时间: 2017年08月29日 来自:http://lbs.amap.com/api/android-sdk/guide/create-project/android-studio-create-project#creat-project 新建一个An 阅读全文

posted @ 2017-10-06 22:41 gisai 阅读(495) 评论(0) 推荐(0)

andriod 浏览文件

摘要: protected void browse() { Intent it = new Intent(Intent.ACTION_GET_CONTENT); //创建动作为 "选取" 的 Intent it.setType("video/*"); //要选取所有视频类型 startActivityForResult(it, 101); ... 阅读全文

posted @ 2017-10-06 11:41 gisai 阅读(150) 评论(0) 推荐(0)

andriod 获得MP4时长

摘要: //获得MP4时长 private int getTimeLong(String videoPath) { MediaMetadataRetriever retr = new MediaMetadataRetriever(); retr.setDataSource(videoPath); //String height = retr.e... 阅读全文

posted @ 2017-10-06 11:37 gisai 阅读(203) 评论(0) 推荐(0)

andriod 错误:Only the original thread that created a view hierarchy can touch its views——Handler的使用

摘要: package com.example.yanlei.myapplication; import android.media.MediaMetadataRetriever; import android.media.MediaPlayer; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; im... 阅读全文

posted @ 2017-10-06 11:31 gisai 阅读(242) 评论(0) 推荐(0)

2017年10月5日

andriod 播放mp4

摘要: activity_main.xml //gisoracle 版权所有 java //gisoracle 版权所有 阅读全文

posted @ 2017-10-05 21:35 gisai 阅读(334) 评论(0) 推荐(0)

ImageView 设置图片来自:http://blog.csdn.net/lincyang/article/details/6562163

摘要: android doc中是这样描述的: public void setImageResource (int resId) 这是其中的一个方法,参数resld是这样: ImageView.setImageResource(R.drawable.icon); 看下面这段话 Sets a drawable as the content of this ImageView. T... 阅读全文

posted @ 2017-10-05 11:58 gisai 阅读(358) 评论(0) 推荐(0)

上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 159 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3