码迷,mamicode.com
首页 >  
搜索关键字:uri    ( 7732个结果
有关java的uri的一些理解
直接上例子:public class URIMain { public static final String DEFAULT_BROKER_BIND_URL = "tcp://localhost:61616"; public static final String DEFAUL...
分类:编程语言   时间:2014-10-22 06:14:51    阅读次数:136
【求助】使用intent-filter跳转activity出错
============问题描述============ /* Intentintent=newIntent(); intent.setClass(MainActivity.this,Activity02.class); intent.setData(Uri.parse("Hello")); thi...
分类:其他好文   时间:2014-10-22 01:03:39    阅读次数:160
调用android的Camera 执行结果没有回调onActivityResult()
============问题描述============ 我调用android系统的camera:Uriuri=Uri.fromFile(newFile(imagepath)); Intentintent=newIntent(MediaStore.ACTION_IMAGE_CAPTURE); int...
分类:移动开发   时间:2014-10-22 00:35:26    阅读次数:223
schemaLocation value = 'xxxxxxxxxxxx' must have even number of URI's
这是因为没有加上Spring的版本号,加上就行了,如: http://www.springframework.org/schema/beans/spring-beans.xsd -3.2.2 http://www.springframework.org/sche...
分类:其他好文   时间:2014-10-21 17:31:59    阅读次数:3217
Silverlight 中图片路径的设置
在Silverlight中图片的设置方法有几种如上图在一个工程中有个images文件夹,buttons.xaml页面中的Image控件要引用一张图片第一种方法xaml:code: myImage.Source = new BitmapImage(new Uri("/SilverlightCreate...
分类:Web程序   时间:2014-10-21 15:19:05    阅读次数:204
Android联系人的一些读取操作
1.读取带电话号码的所有联系人。Android系统貌似没有直接取得带电话号码的联系人列表的功能。直接读取Contacts.CONTENT_URI只能读取联系人信息却得不到电话号码。如果先读取联系人列表,再通过联系人列表一个一个读取电话号码又非常慢,所以可以这样读:先从Phone.CONTENT_URI..
分类:移动开发   时间:2014-10-21 02:26:32    阅读次数:350
android 获取联系人的姓名和电话,无法获取电话
============问题描述============ 代码如下packagecom.example.sysaction; importandroid.net.Uri; importandroid.os.Build; importandroid.os.Bundle; importandroid.p...
分类:移动开发   时间:2014-10-20 23:16:54    阅读次数:299
把一个网址单独分离出来,作为一个apk,点击就可以进入该网址
package com.mediatek.mobileportal; import android.app.Activity; //import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; public ...
分类:其他好文   时间:2014-10-20 17:19:23    阅读次数:190
Android学习笔记七:调用打电话、发短信等
系统打电话界面:Intent intent = new Intent();//系统默认的action,用来打开默认的电话界面 intent.setAction(Intent.ACTION_CALL);//需要拨打的号码intent.setData(Uri.parse("tel:"+i)); call...
分类:移动开发   时间:2014-10-20 16:57:07    阅读次数:209
使用系统默认接口来剪切图片
如果调用系统的图片接口: Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); // intent.addCategory(Intent.CATEGORY_OPENABLE); // intent.setType(...
分类:其他好文   时间:2014-10-20 11:53:04    阅读次数:171
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!