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

gisoracle

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

公告

02 2016 档案

Android-将RGB彩色图转换为灰度图
摘要:Android-将RGB彩色图转换为灰度图 阅读全文

posted @ 2016-02-29 17:22 gisai 阅读(5099) 评论(0) 推荐(0)

andriod 获取电池的信息
摘要:<?xml version="1.0"?> <LinearLayout android:orientation="vertical" android:layout_height="match_parent" android:layout_width="match_parent" xmlns:tool 阅读全文

posted @ 2016-02-29 16:44 gisai 阅读(392) 评论(0) 推荐(0)

android studio快捷键
摘要:android studio快捷键 阅读全文

posted @ 2016-02-29 15:54 gisai 阅读(483) 评论(0) 推荐(1)

andriod 读取网络图片
摘要:来自:http://blog.csdn.net/jianghuiquan/article/details/8641283 Android手机上,我们常用ImageView显示图片,我们本章获取网络图片并显示在ImageView中。 一、设计界面 1、布局文件 打开res/layout/activit 阅读全文

posted @ 2016-02-29 15:03 gisai 阅读(440) 评论(0) 推荐(0)

andriod 读取通讯录
摘要:package com.example.yanlei.wifi;import android.content.ContentResolver;import android.database.Cursor;import android.os.Bundle;import android.provider 阅读全文

posted @ 2016-02-28 16:27 gisai 阅读(294) 评论(0) 推荐(0)

android 管理wifi
摘要:activity_main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width 阅读全文

posted @ 2016-02-28 15:24 gisai 阅读(340) 评论(0) 推荐(0)

andriod 剪贴板操作
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an 阅读全文

posted @ 2016-02-28 15:13 gisai 阅读(303) 评论(0) 推荐(0)

andriod绘制图形
摘要:使用view画图,有两个重要的组件需要介绍: (1)Paint 可以理解为画刷或者画笔,去主要用来设置绘图使用的颜色、填充方式、透明度、字体以及字体样式等。 (2)Canvas 画布,在view上显示的图形都是由canvas来绘制的,可以绘制矩形、圆、椭圆、扇形……。 Paint常见方法与属性: ( 阅读全文

posted @ 2016-02-28 15:06 gisai 阅读(331) 评论(0) 推荐(0)

andriod读写XML
摘要:AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.y 阅读全文

posted @ 2016-02-28 12:14 gisai 阅读(302) 评论(0) 推荐(0)

androd 获得wifi列表
摘要:AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.y 阅读全文

posted @ 2016-02-28 11:32 gisai 阅读(2206) 评论(0) 推荐(0)

一个小时内学习SQLite数据库
摘要:一个小时内学习SQLite数据库 2012-05-11 10:24 红薯 OSCHINA 字号:T | T SQLite 是一个开源的嵌入式关系数据库,实现自包容、零配置、支持事务的SQL数据库引擎。 其特点是高度便携、使用方便、结构紧凑、高效、可靠。 与其他数据库管理系统不同,SQLite 的安装 阅读全文

posted @ 2016-02-24 13:52 gisai 阅读(462) 评论(0) 推荐(0)

Android 使用SQLite本地数据库
摘要:参考:http://blog.csdn.net/jianghuiquan/article/details/8569252 在Android平台上,集成了一个嵌入式关系型数据库—SQLite。以SQLite是一款轻型数据库:SQLite3支持 NULL、INTEGER、REAL(浮点数字)、TEXT( 阅读全文

posted @ 2016-02-24 13:42 gisai 阅读(9162) 评论(0) 推荐(0)

Android可伸缩列表ExpandableListView
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an 阅读全文

posted @ 2016-02-24 12:26 gisai 阅读(608) 评论(0) 推荐(0)

ZoomControls控件是一个可以缩放控件,可以实现两个按钮控制图片的大小
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文

posted @ 2016-02-24 12:21 gisai 阅读(1402) 评论(0) 推荐(0)

andriod 支付宝类似界面图片加文字
摘要:<?xml version="1.0" encoding="utf-8"?> <GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/gridview" android:layout_ 阅读全文

posted @ 2016-02-24 11:51 gisai 阅读(991) 评论(2) 推荐(0)

评分条RatingBar Android
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文

posted @ 2016-02-24 11:07 gisai 阅读(430) 评论(0) 推荐(0)

Android 进度条对话框ProgressDialog
摘要:Android 进度条对话框ProgressDialog 阅读全文

posted @ 2016-02-24 10:50 gisai 阅读(3795) 评论(0) 推荐(0)

Android 日期对话框DatePickerDialog
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_p 阅读全文

posted @ 2016-02-24 10:42 gisai 阅读(2260) 评论(0) 推荐(0)

andriod GridLayout
摘要:来自:http://blog.csdn.net/jianghuiquan/article/details/8299973 GridLayout网格布局 android4.0以上版本出现的GridLayout布局解决了以上问题。GridLayout布局使用虚细线将布局划分为行、列和单元格,也支持一个控 阅读全文

posted @ 2016-02-23 23:07 gisai 阅读(312) 评论(0) 推荐(0)

android:TableLayout表格布局详解
摘要:这篇博文包括的内容:http://blog.csdn.net/justoneroad/article/details/6835915 1、TableLayout简介 2、TableLayout行列数的确定 3、TableLayout可设置的属性详解 4、一个包含4个TableLayout布局的实例及 阅读全文

posted @ 2016-02-23 22:43 gisai 阅读(6304) 评论(0) 推荐(0)

ArcGIS 10 SP5中文版(ArcGIS10补丁5中文版)
摘要:ArcGIS 10 SP5中文版(ArcGIS10补丁5中文版) 阅读全文

posted @ 2016-02-23 15:55 gisai 阅读(1628) 评论(0) 推荐(0)

Engine中如何进行七参数投影转换?
摘要:来自:http://zhihu.esrichina.com.cn/?/question/6858 解决办法】:首先创建自定义geotransformation,然后用IGeometry.ProjectEx进行投影转换。参考代码(以wgs1984转到Xian80为例): private void fu 阅读全文

posted @ 2016-02-23 15:23 gisai 阅读(909) 评论(0) 推荐(0)

如何去除栅格影像的黑边?
摘要:来自:http://zhihu.esrichina.com.cn/?/question/6725 朱新颖 【解决办法】:可以通过设置背景值以及背景色解决此问题。对于三波段进行RDB渲染的影像可以使用下面代码: IRasterRenderer RR = RL.Renderer; IRasterRGBR 阅读全文

posted @ 2016-02-23 15:18 gisai 阅读(2568) 评论(0) 推荐(0)

Engine中如何实现鼠标滚轮缩放反置?
摘要:来自:http://zhihu.esrichina.com.cn/?/question/6666 【解决办法】:1,禁用IMapControl的默认鼠标滚轮事件。即设置IMapControl4.AutoMouseWheel= false;2,重写鼠标滚轮事件。比如在Form1_Load函数中加上th 阅读全文

posted @ 2016-02-23 15:15 gisai 阅读(469) 评论(0) 推荐(0)

Engine中如何更改lyr文件数据源的相对路径
摘要:以下是使用relativebase存储layerfile的代码,如果需要修改数据源只要修改ILayer即可: string folderpath = @E:相对路径; string layerfilepath = @E:相对路径layer; ILayer layer = axMapControl1. 阅读全文

posted @ 2016-02-23 15:08 gisai 阅读(681) 评论(0) 推荐(0)

卸载ArcGISDesktop低版本程序遇到异常,如何完全卸载?
摘要:卸载ArcGISDesktop低版本程序遇到异常,如何完全卸载? 阅读全文

posted @ 2016-02-23 14:20 gisai 阅读(1015) 评论(0) 推荐(0)

如果当前地图文档中有独立的Table,通过Engine如何获取该Table?
摘要:将IMap转为ITableCollection,通过ITableCollection.get_Table(int index);来获取该Table 阅读全文

posted @ 2016-02-23 14:15 gisai 阅读(296) 评论(0) 推荐(0)

How to load a raster dataset to the raster field in a feature class
摘要:A feature class or table can have a raster attribute field to store any raster related to the feature. You can edit raster values in the raster field 阅读全文

posted @ 2016-02-23 14:12 gisai 阅读(429) 评论(0) 推荐(0)

如何利用ArcGIS Engine接口实现打开Raster Catalog中的某一幅指定的影像?
摘要:如何利用ArcGIS Engine接口实现打开Raster Catalog中的某一幅指定的影像? 阅读全文

posted @ 2016-02-23 13:04 gisai 阅读(543) 评论(0) 推荐(0)

Engine中如何更改矢量图层字段别名?
摘要:【解决办法】:使用IClassSchemaEdit.AlterFieldAliasName方法可以更改数据源的别名,如果想在图层的属性中更改显示的别名需要使用ITableFields.FieldInfo获取IFieldInfo接口,然后再通过IFieldInfo.Alias修改 阅读全文

posted @ 2016-02-23 12:51 gisai 阅读(462) 评论(0) 推荐(0)

arcgis andriod Edit features
摘要:来自:https://developers.arcgis.com/android/guide/edit-features.htm#ESRI_SECTION1_56C60DB71AF941E98668AFB991A1B9C9 Edit features In this topic Create a f 阅读全文

posted @ 2016-02-23 12:14 gisai 阅读(399) 评论(0) 推荐(0)

arcgis andriod 加载影像
摘要:arcgis andriod 加载影像 阅读全文

posted @ 2016-02-23 12:11 gisai 阅读(681) 评论(0) 推荐(0)

Engine中如何实现先居中显示要素再闪烁
摘要:【解决办法】:需要在要素居中显示之后、闪烁之前执行IScreenDisplay.UpdateWindow强制全刷,如: //居中显示要素 IActiveView actView = axMapControl1.ActiveView; IEnvelope envelpe = actView.Exten 阅读全文

posted @ 2016-02-23 11:25 gisai 阅读(840) 评论(0) 推荐(0)

原始线要素类为地理坐标系,如何获取以米为单位的距离?
摘要:可以使用IPolycurveGeodetic.get_LengthGeodetic();方法,将要量测的IPolyline转为IPolycurveGeodetic即可。测试代码如下: IPolyline polyline = feature.Shape as IPolyline; IPolycurv 阅读全文

posted @ 2016-02-23 10:46 gisai 阅读(1011) 评论(0) 推荐(0)

Engine中如何截取线上指定两点间的线段?
摘要://调用 IPolyline newLine = GetSubCurve(polyline, p1, p2); ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = axMapControl1.ActiveView.ScreenDisplay; scr 阅读全文

posted @ 2016-02-23 10:44 gisai 阅读(739) 评论(0) 推荐(0)

Engine中执行gp工具返回的要素图层如何获取?
摘要:来自:http://zhihu.esrichina.com.cn/?/question/12087 Engine中执行gp工具返回的【解决办法】:需要用gpUtils.DecodeFeatureLayer方法将gp工具生成的图层先读取出来,如: // Intialize the geoprocess 阅读全文

posted @ 2016-02-23 10:42 gisai 阅读(746) 评论(0) 推荐(0)

Android中使用SDcard进行文件的读取
摘要:来自:http://www.cnblogs.com/greatverve/archive/2012/01/13/android-SDcard.html 平时我们需要在手机上面存储想音频,视频等等的大文件,以前学过使用File进行存储(使用File操作进行存储);由于考虑到手机本身的存储空间小,这时候 阅读全文

posted @ 2016-02-22 11:56 gisai 阅读(6116) 评论(0) 推荐(0)

arcgis andriod开发程序实例,有图有真相
摘要:arcgis andriod开发程序实例,有图有真相 阅读全文

posted @ 2016-02-21 13:59 gisai 阅读(1151) 评论(2) 推荐(1)

android showmessage
摘要:android showmessage 阅读全文

posted @ 2016-02-20 22:40 gisai 阅读(497) 评论(0) 推荐(0)

andriod 获得应用程序名称
摘要:andriod 获得应用程序名称 阅读全文

posted @ 2016-02-20 21:48 gisai 阅读(325) 评论(0) 推荐(0)

Android横竖屏切换小结
摘要:Android横竖屏切换小结 阅读全文

posted @ 2016-02-20 17:14 gisai 阅读(766) 评论(0) 推荐(0)

andriod Java中度转度分秒
摘要:andriod Java中度转度分秒 阅读全文

posted @ 2016-02-19 22:02 gisai 阅读(1716) 评论(0) 推荐(0)

android 获取GPS定位
摘要:android 获取GPS定位 阅读全文

posted @ 2016-02-19 19:05 gisai 阅读(14128) 评论(0) 推荐(0)

ArcGIS for Android地图控件的5大常见操作转
摘要:http://blog.csdn.net/arcgis_mobile/article/details/7801467 GIS的开发中,什么时候都少不了地图操作。ArcGIS for Android中,地图组件就是MapView,MapView是基于Android中ViewGroup的一个类(参考), 阅读全文

posted @ 2016-02-18 22:09 gisai 阅读(2715) 评论(0) 推荐(0)

android toolbar 假标题居中
摘要:<android.support.v7.widget.Toolbar android:id="@+id/toolbar_top" android:layout_height="wrap_content" android:layout_width="match_parent" android:minH 阅读全文

posted @ 2016-02-18 21:06 gisai 阅读(3110) 评论(0) 推荐(0)

android studio 中去除应用标题栏
摘要:android studio 中去除应用标题栏 ㈠ ⒈ mainifests中设置: android:theme="@style/AppTheme"(即默认设置). ⒉ values->styles.xml中设置: style name="AppTheme" parent="Theme.AppCom 阅读全文

posted @ 2016-02-18 18:19 gisai 阅读(24060) 评论(0) 推荐(0)

android 对话框
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" and 阅读全文

posted @ 2016-02-18 17:19 gisai 阅读(444) 评论(0) 推荐(0)

andriod打开摄像头和打开相册
摘要:package com.example.yanlei.picture; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import androi 阅读全文

posted @ 2016-02-18 13:45 gisai 阅读(725) 评论(0) 推荐(0)

Android 颜色Color
摘要:Android中使用4个数字来表示颜色,分别是alpha、红(red)、绿(green)、蓝(blue)四个颜色值(ARGB)。每个数字取值0-255,因此一个颜色可以用一个整数来表示。为了运行效率,Android编码时用整数Color类实例来表示颜色。红、绿、蓝三个值是就是代表颜色的取值,而Alp 阅读全文

posted @ 2016-02-17 08:27 gisai 阅读(360) 评论(0) 推荐(0)

Android Intent调用 Uri的使用几种格式
摘要:Android Intent调用 Uri的使用几种格式 阅读全文

posted @ 2016-02-15 13:10 gisai 阅读(2109) 评论(0) 推荐(0)

android权限大全转http://www.cnblogs.com/classic/archive/2011/06/20/2085055.html
摘要:android权限大全转http://www.cnblogs.com/classic/archive/2011/06/20/2085055.html 阅读全文

posted @ 2016-02-14 18:20 gisai 阅读(384) 评论(0) 推荐(0)

Android Studio apk 打包流程(转)http://blog.chinaunix.net/uid-26000296-id-5567890.html
摘要:Android Studio apk 打包流程(转)http://blog.chinaunix.net/uid-26000296-id-5567890.html 阅读全文

posted @ 2016-02-13 22:10 gisai 阅读(366) 评论(0) 推荐(0)

AndroidStudio怎样导入jar包
摘要:AndroidStudio怎样导入jar包 阅读全文

posted @ 2016-02-13 21:52 gisai 阅读(3550) 评论(0) 推荐(0)

android TextView 设置字体大小
摘要:android设置字体大小 阅读全文

posted @ 2016-02-13 11:34 gisai 阅读(4919) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3