码迷,mamicode.com
首页 >  
搜索关键字:磁盘映射 重定向 view    ( 42574个结果
赵雅智_android_ui_dialog
运行效果: 方法一 public void openDialog(View v) { // 打开一个对话框 // 构建者对象 AlertDialog.Builder builder = new Builder(this); // 构建者创建一个对话框 AlertDialog alertDialog = builder.create(); // 设置对话框的标题 ...
分类:移动开发   时间:2014-06-07 01:14:00    阅读次数:252
Android实现防止被系统回收的Service
MainActivity如下: package cc.c; import java.util.List; import android.os.Bundle; import android.os.Process; import android.view.View; import android.view.View.OnClickListener; import android.widget.Bu...
分类:移动开发   时间:2014-06-05 10:47:50    阅读次数:299
赵雅智_AndroidManifest.xml配置文件详解
AndroidManifest.xml配置文件对于Android应用开发来说是非常重要的基础知识,本文旨在总结该配置文件中重点的用法,以便日后查阅。下面是一个标准的AndroidManifest.xml文件样例。 [html] view plaincopy xml version="1.0" encoding="utf-8"?...
分类:移动开发   时间:2014-06-05 10:46:40    阅读次数:281
安卓实训第八天----Activity的生命周期
一、Activity的使用:package com.example.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import androi...
分类:移动开发   时间:2014-06-05 09:36:01    阅读次数:276
[Android游戏开发学习笔记]View和SurfaceView
本文为阅读http://blog.csdn.net/xiaominghimi/article/details/6089594的tt...
分类:移动开发   时间:2014-06-05 09:08:29    阅读次数:329
当在一部新的苹果设备安装程序出现the executable was signed with invalid entitlements.问题的解决办法
1.找到设备的identifier 2.进入https://developer.apple.com 3.点击devices 4.把identifier加入并注册 5.打开xcode,按command+, 6.点击你的证书,进入view details 7.刷新即可...
分类:移动开发   时间:2014-06-05 08:31:16    阅读次数:282
错误记录seterror的文字不显示
今天开发时遇到个小问题,view.seterror的文字由于和theme重叠而无法显示,以前就遇到过,不过想换种方法。 有人说在style里面加@android:color/primary_text_light @android:color/primary_text_light <!-- Theme customizatio...
分类:其他好文   时间:2014-06-05 07:52:53    阅读次数:190
Android中layout.xml文件中加载自定义的View类
View类的实现: package com.bn.summer; import and...
分类:移动开发   时间:2014-06-05 02:06:57    阅读次数:311
【Android】打开本地的html文件
网上好多说法 但实际上说到点上的没有 不想写太长 直接进入正题Intent intent = new Intent(Intent.ACTION_VIEW);intent.addCategory(Intent.CATEGORY_DEFAULT);intent.setDataAndType(Uri.fr...
分类:移动开发   时间:2014-05-31 12:42:34    阅读次数:283
Displaying Pins on a Map View
ProblemYou want to point out a specific location on a map to the user.SolutionUse built-in map view annotations. Follow these steps:1. Create a new cl...
分类:其他好文   时间:2014-05-31 12:30:19    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!