- 浏览: 323120 次
- 性别:
- 来自: 苏州
最新评论
-
waterM:
...
DBVis 连接数据库配置 -
航空母舰:
上源码吧,差资源,都跑不起来!
ListView_split 分割 -
wade200:
学习了
启动另一个Activity并返回结果(附源码) -
AndLi:
里面的坐标被我写死了啊,你注释掉就可以了
GPS定位 -
kunlinchen2010:
求指教,QQ:446482624
GPS定位
文章列表
<div class="iteye-blog-content-contain" style="font-size: 14px"></div>
https://developers.arcgis.com/ios/swift/guide/develop-your-first-map-app.htm
<!--StartFragment-->
<!--EndFragment-->
public class HighlightFeatures extends Activity {
private MapView mapView;
private ArcGISTiledMapServiceLayer tiledMapServiceLayer;
private GraphicsLayer graphicsLayer;
private Graphic[] highlightGraphics;
private String mapURL = "http://sampleserver1.arcgisonline.com/ArcGIS/r ...
public class SelectFeatures extends Activity {
private MapView map = null;
private ArcGISFeatureLayer mFeatureLayer = null;
private GraphicsLayer mGraphicsLayer = null;
private SimpleFillSymbol mSimpleFillSymbol;
int test = 0;
private CallbackListener<FeatureSet> callba ...
public class DrawGraphicElements extends Activity implements OnClickListener {
MapView mapView = null;
ArcGISTiledMapServiceLayer mTileMapLayer = null;
GraphicsLayer graphicsLayer = null;
MyTouchListener mTouchListener = null;
Button geometryButton = null;
Button clearButton = nu ...
public class GPSView extends Activity {
final static double SEARCH_RADIUS = 5;
MapView map = null;
@SuppressWarnings("serial")
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
map = (MapView) f ...
关闭键盘
第一个方法:是通过点击键盘上的return键来关闭键盘
第二个方法:是通过点击屏幕来关闭键盘:主要是设置一个custom的按钮铺满整个屏幕,注册它的点击点击事件
注意xib中背景按钮的位置:
4.x上导航控制器的简单实现(不需要建xib)
- 博客分类:
- IOS开发
首先主页面.h文件:
继承:
-(IBAction)goSetView:(id)sender{
SettingViewController *setView=[[SettingViewController alloc] initWithNibName:@"SettingViewController" bundle:nil];
UINavigationController *uc=[[UINavigationController alloc] initWithRootViewController:setView ];
[self ...
Oracle——按时间段查询
- 博客分类:
- SQL
按照多个时间段查询:包括秒
String sql = "from Sedimentpermit";
sql += " where Carno like '%" + carno + "%'";
sql += " and road like '%" + road + "%'";
sql += " and to_char(VALIDDATE,'yyyy-mm-dd') >= '" + validDate
+ "'" ...
//设置导航标题
self.title = @"首页";
//设置导航控制条颜色
self.navigationController.navigationBar.tintColor = [UIColor grayColor];