摘要:<?xml version="1.0"?> <LinearLayout android:orientation="vertical" android:layout_height="match_parent" android:layout_width="match_parent" xmlns:tool
阅读全文
摘要:来自:http://blog.csdn.net/jianghuiquan/article/details/8641283 Android手机上,我们常用ImageView显示图片,我们本章获取网络图片并显示在ImageView中。 一、设计界面 1、布局文件 打开res/layout/activit
阅读全文
摘要:package com.example.yanlei.wifi;import android.content.ContentResolver;import android.database.Cursor;import android.os.Bundle;import android.provider
阅读全文
摘要:activity_main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an
阅读全文
摘要:使用view画图,有两个重要的组件需要介绍: (1)Paint 可以理解为画刷或者画笔,去主要用来设置绘图使用的颜色、填充方式、透明度、字体以及字体样式等。 (2)Canvas 画布,在view上显示的图形都是由canvas来绘制的,可以绘制矩形、圆、椭圆、扇形……。 Paint常见方法与属性: (
阅读全文
摘要:AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.y
阅读全文
摘要:AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.y
阅读全文
摘要:一个小时内学习SQLite数据库 2012-05-11 10:24 红薯 OSCHINA 字号:T | T SQLite 是一个开源的嵌入式关系数据库,实现自包容、零配置、支持事务的SQL数据库引擎。 其特点是高度便携、使用方便、结构紧凑、高效、可靠。 与其他数据库管理系统不同,SQLite 的安装
阅读全文
摘要:参考:http://blog.csdn.net/jianghuiquan/article/details/8569252 在Android平台上,集成了一个嵌入式关系型数据库—SQLite。以SQLite是一款轻型数据库:SQLite3支持 NULL、INTEGER、REAL(浮点数字)、TEXT(
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/gridview" android:layout_
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android
阅读全文
摘要:Android 进度条对话框ProgressDialog
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_p
阅读全文
摘要:来自:http://blog.csdn.net/jianghuiquan/article/details/8299973 GridLayout网格布局 android4.0以上版本出现的GridLayout布局解决了以上问题。GridLayout布局使用虚细线将布局划分为行、列和单元格,也支持一个控
阅读全文
摘要:这篇博文包括的内容:http://blog.csdn.net/justoneroad/article/details/6835915 1、TableLayout简介 2、TableLayout行列数的确定 3、TableLayout可设置的属性详解 4、一个包含4个TableLayout布局的实例及
阅读全文
摘要:ArcGIS 10 SP5中文版(ArcGIS10补丁5中文版)
阅读全文
摘要:来自:http://zhihu.esrichina.com.cn/?/question/6858 解决办法】:首先创建自定义geotransformation,然后用IGeometry.ProjectEx进行投影转换。参考代码(以wgs1984转到Xian80为例): private void fu
阅读全文
摘要:来自:http://zhihu.esrichina.com.cn/?/question/6725 朱新颖 【解决办法】:可以通过设置背景值以及背景色解决此问题。对于三波段进行RDB渲染的影像可以使用下面代码: IRasterRenderer RR = RL.Renderer; IRasterRGBR
阅读全文
摘要:来自:http://zhihu.esrichina.com.cn/?/question/6666 【解决办法】:1,禁用IMapControl的默认鼠标滚轮事件。即设置IMapControl4.AutoMouseWheel= false;2,重写鼠标滚轮事件。比如在Form1_Load函数中加上th
阅读全文
摘要:以下是使用relativebase存储layerfile的代码,如果需要修改数据源只要修改ILayer即可: string folderpath = @E:相对路径; string layerfilepath = @E:相对路径layer; ILayer layer = axMapControl1.
阅读全文
摘要:卸载ArcGISDesktop低版本程序遇到异常,如何完全卸载?
阅读全文
摘要:将IMap转为ITableCollection,通过ITableCollection.get_Table(int index);来获取该Table
阅读全文
摘要: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
阅读全文
摘要:如何利用ArcGIS Engine接口实现打开Raster Catalog中的某一幅指定的影像?
阅读全文
摘要:【解决办法】:使用IClassSchemaEdit.AlterFieldAliasName方法可以更改数据源的别名,如果想在图层的属性中更改显示的别名需要使用ITableFields.FieldInfo获取IFieldInfo接口,然后再通过IFieldInfo.Alias修改
阅读全文
摘要:来自:https://developers.arcgis.com/android/guide/edit-features.htm#ESRI_SECTION1_56C60DB71AF941E98668AFB991A1B9C9 Edit features In this topic Create a f
阅读全文
摘要:【解决办法】:需要在要素居中显示之后、闪烁之前执行IScreenDisplay.UpdateWindow强制全刷,如: //居中显示要素 IActiveView actView = axMapControl1.ActiveView; IEnvelope envelpe = actView.Exten
阅读全文
摘要:可以使用IPolycurveGeodetic.get_LengthGeodetic();方法,将要量测的IPolyline转为IPolycurveGeodetic即可。测试代码如下: IPolyline polyline = feature.Shape as IPolyline; IPolycurv
阅读全文
摘要://调用 IPolyline newLine = GetSubCurve(polyline, p1, p2); ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = axMapControl1.ActiveView.ScreenDisplay; scr
阅读全文
摘要:来自:http://zhihu.esrichina.com.cn/?/question/12087 Engine中执行gp工具返回的【解决办法】:需要用gpUtils.DecodeFeatureLayer方法将gp工具生成的图层先读取出来,如: // Intialize the geoprocess
阅读全文
摘要:来自:http://www.cnblogs.com/greatverve/archive/2012/01/13/android-SDcard.html 平时我们需要在手机上面存储想音频,视频等等的大文件,以前学过使用File进行存储(使用File操作进行存储);由于考虑到手机本身的存储空间小,这时候
阅读全文
摘要:arcgis andriod开发程序实例,有图有真相
阅读全文
摘要:http://blog.csdn.net/arcgis_mobile/article/details/7801467 GIS的开发中,什么时候都少不了地图操作。ArcGIS for Android中,地图组件就是MapView,MapView是基于Android中ViewGroup的一个类(参考),
阅读全文
摘要:<android.support.v7.widget.Toolbar android:id="@+id/toolbar_top" android:layout_height="wrap_content" android:layout_width="match_parent" android:minH
阅读全文
摘要:android studio 中去除应用标题栏 ㈠ ⒈ mainifests中设置: android:theme="@style/AppTheme"(即默认设置). ⒉ values->styles.xml中设置: style name="AppTheme" parent="Theme.AppCom
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" and
阅读全文
摘要:package com.example.yanlei.picture; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import androi
阅读全文
摘要:Android中使用4个数字来表示颜色,分别是alpha、红(red)、绿(green)、蓝(blue)四个颜色值(ARGB)。每个数字取值0-255,因此一个颜色可以用一个整数来表示。为了运行效率,Android编码时用整数Color类实例来表示颜色。红、绿、蓝三个值是就是代表颜色的取值,而Alp
阅读全文
摘要:Android Intent调用 Uri的使用几种格式
阅读全文
摘要:android权限大全转http://www.cnblogs.com/classic/archive/2011/06/20/2085055.html
阅读全文
摘要:Android Studio apk 打包流程(转)http://blog.chinaunix.net/uid-26000296-id-5567890.html
阅读全文