1、 编写ContentPrivider提供者的Android应用清单文件 xml version="1.0" encoding="utf-8"?> manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.itheima28.sqlitedemo" andro...
分类:
移动开发 时间:
2015-06-30 06:39:38
阅读次数:
263
通过html页面打开Android本地的app1、首先在编写一个简单的html页面 Insert title here 打开app 2、在Android本地app的配置在AndroidManifest的清单文件里的in...
分类:
移动开发 时间:
2015-06-29 22:10:18
阅读次数:
164
最近正好用到,写个小Demo记录下:清单文件: DBlite:package com.gyz;im...
分类:
其他好文 时间:
2015-06-29 14:40:03
阅读次数:
184
Intent.ACTION_TIME_TICK 广播需要动态注册,不能在清单文件配置.TimeReceiver mBroadcastReceiver = new TimeReceiver(); IntentFilter intentFilter = new IntentFilter();inten....
分类:
其他好文 时间:
2015-06-26 10:41:29
阅读次数:
131
一,暴露私有的文件1.有一个应用程序,带一个私有的文件,需求是暴露这个私有的文件。2.写ContentProvider的一个子类3.定义匹配规则*定义匹配器UriMatcher*定义匹配规则mUriMatcher.addURI("com.xunfang.content","文件名",SUCCESS);4.重写openFile方法5.在清单文件中声明内容..
分类:
移动开发 时间:
2015-06-23 23:21:56
阅读次数:
202
??1 目的界面 2、编写Android清单文件 xml version="1.0" encoding="utf-8"?> manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.itheima28.simple...
分类:
移动开发 时间:
2015-06-23 00:55:19
阅读次数:
153
??1 目标从sqllite中读取数据并显示如下:MainActivity对应的界面 MainActivity2对应的界面 2 配置Android的清单文件 xml version="1.0" encoding="utf-8"?> manifest xmlns:android="http://schemas...
分类:
移动开发 时间:
2015-06-22 06:29:20
阅读次数:
320
??最终要做的项目目标: 2、编写Android清单文件AndroidManifest.xml xml version="1.0" encoding="utf-8"?> manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.itheima27.sutdentmanag...
分类:
其他好文 时间:
2015-06-21 07:10:06
阅读次数:
231
??创建项目Android清单文件 xml version="1.0" encoding="utf-8"?> manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.itheima28.memorydemo" android:versionCode="1" ...
分类:
移动开发 时间:
2015-06-21 02:04:53
阅读次数:
169
编写一下Android界面的项目使用默认的Android清单文件Android布局文件 LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_widt...
分类:
移动开发 时间:
2015-06-20 20:53:06
阅读次数:
167