E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
FromFile
Android相关常用API……
Activity.getWindowManager().getDefaultDisplay();获取扩展存储目录:Environment.getExternalStorageDirectory()通过文件获取Uri:Uri.
fromFile
Feeling
·
2012-05-05 19:00
读取磁盘图片,下载方式
publicvoidReadImg()//此方法获取文件后未能够关闭文件 { System.Drawing.Imageimg=System.Drawing.Image.
FromFile
tianyitianyi1
·
2012-04-19 22:00
String
object
buffer
byte
button
磁盘
apk程序的安装、卸载、打开。
Intent.FLAG_ACTIVITY_NEW_TASK); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
liu149339750
·
2012-04-17 10:00
File
delete
C#之图片框控件(PictureBox)常用属性
Image:在PictureBox上显示的图片,可在程序运行时用Image.
FromFile
函数加载SizeMode:emun型,表示图片大小的显示模式:Normal表示图像被置于空间左上角,如果图片比图片控件大
friendan
·
2012-04-15 22:24
c#
image
C#
C#之图片框控件(PictureBox)常用属性
Image:在PictureBox上显示的图片,可在程序运行时用Image.
FromFile
函数加载SizeMode:emun型,表示图片大小的显示模式: Normal表示图像被置于空间左上角,如果图片比图片控件大
friendan
·
2012-04-15 22:00
image
C#
C# 读取文件使用相对路径
最近写WCFservice程序,使用了Image.
FromFile
(stringpath)方法,为了使程序可移植,必须使用相对路径。
kongzhp
·
2012-04-14 23:00
String
C#
service
Path
WCF
Android程序安装和卸载
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
zengzhongxiang
·
2012-04-09 12:00
Android调用系统组件常用uri & intent设置
Environment.getExternalStorageDirectory()+"/"+apkname; Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
shareCode
·
2012-03-30 12:00
android
Stream
String
delete
email
sms
Android实现应用下载并自动安装apk包
Environment.getExternalStorageDirectory()+str; 3Intentintent=newIntent(Intent.ACTION_VIEW); 4intent.setDataAndType(Uri.
fromFile
fu_shuwu
·
2012-03-09 17:00
android
String
File
url
delete
byte
python中的argparse
f hello.txt -n 1 2 3 -x 100 -y b -z a -q hello @args.txt i_am_bar -h".split() # 使用@args.txt要求
fromfile
_prefix_chars
东边日出西边雨
·
2012-03-05 13:00
python
c# 图片加上边框
Imageimg=Bitmap.
FromFile
(openFileDialog1.FileName.ToString()); intbordwidth=Convert.ToInt32(img.Width
smeller
·
2012-02-28 14:00
Android程序使用代码的安装和卸载!!!
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.
fromFile
lxmhuendan
·
2012-02-28 11:00
生成缩略图(不失真)
publicstaticboolmakeListImage(stringimgPath,stringsavePaty) { try { System.Drawing.Imageimg=System.Drawing.Image.
FromFile
HelloJimmy520
·
2012-02-21 11:00
String
callback
Android刷新本地相册
发现程序把图片保存到sdcard后,在相册里面找不到,只有在sdcard重新装载后会出现图片;原来图片保存到本地后,需要通知相册,加上如下代码就好了: UrilocalUri=Uri.
fromFile
strliu
·
2012-02-17 15:00
代码安装android应用
Environment.getExternalStorageDirectory() + str; Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
wonka438
·
2012-02-09 15:00
android
intent 方式 安装指定apk
Environment.getExternalStorageDirectory()+"/"+apkname;Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.
fromFile
catherine880619
·
2012-02-08 15:00
Android代码实现APK文件的安装与卸载
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
catherine880619
·
2012-02-06 19:00
Android中的Uri
Filefile=newFile(fileName);UrifileUri=Uri.
fromFile
(file);Log.e(LOGTAG,fileUri.toString());输出:file:///
edisonlg
·
2012-01-24 21:00
android
File
代码实现安装卸载apk
安装 final Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
(new File
v5browser
·
2012-01-20 09:00
apk
调用Android installer 安装和卸载程序
Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
(newFile
a1405
·
2011-12-31 13:23
android
职场
程序
卸载
休闲
【Android】调用系统应用常用uri & intent设置
Environment.getExternalStorageDirectory()+"/"+apkname; Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
Unimen
·
2011-12-23 15:00
android的安装和卸载
Environment.getExternalStorageDirectory() + str; Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
winsunxu
·
2011-12-07 12:00
java
android
File
null
delete
byte
Android安装卸载Apk的接口
StringfileName=Environment.getExternalStorageDirectory()+apkName; Uriuri=Uri.
fromFile
(newFi
achellies
·
2011-12-05 07:00
android
String
File
application
delete
dialog
C# canvas 添加图片
添加图片示例代码:privatestaticstringimageFilesPath=Directory.GetCurrentDirectory()+"\\images\\";image=Image.
FromFile
jingshishengxu
·
2011-12-04 15:00
image
canvas
C#
验证码
intcodes=rad.Next(1000,10000); Session["code"]=codes; System.Drawing.Imagenewimg=System.Drawing.Image.
FromFile
xcysuccess3
·
2011-12-01 11:00
android保存手势操作到文件&读取识别手势
加载文件中手势:gestureLib=GestureLibraries.
fromFile
(path);//实例手势仓库gestureLib.load()//加载手势集合识别手势:gestureOverlayView.addOnGe
fairylaw
·
2011-11-30 16:48
android
手势文件
手势识别
android
android保存手势操作到文件&读取识别手势
加载文件中手势: gestureLib = GestureLibraries.
fromFile
(path);//实例手势仓库 gestureLib.load()//加载手势集合 识别手势
FariyTale
·
2011-11-30 16:00
android
手势识别
Android 程序的安装、卸载和更新
StringfileName=Environment.getExternalStorageDirectory()+apkName; Uriuri=Uri.
fromFile
(newFil
ljl_xyf
·
2011-11-22 11:00
android
android 调用系统安装程序
安装文件apk路径 StringfileName=Environment.getExternalStorageDirectory()+"/"+apkName; //创建URI Uriuri=Uri.
fromFile
TT5267621
·
2011-11-19 15:00
自动安装
sdcard/tmp.apk"; Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.setDataAndType(Uri.
fromFile
soleman
·
2011-11-18 14:00
安装
【Android】原生安装和卸载应用
安裝應用 根據APK文件地址,new該APK文件File實例 調用Uri靜態方法
fromFile
()取得該APK文件Uri對象 通過Intent調用系統自帶安裝程序
dyingbleed
·
2011-10-25 09:00
android
android apk下载 安装 卸载 打开
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.
fromFile
libo19881179
·
2011-10-25 09:00
apk
卸载
安装
下载
打开
android apk下载 安装 卸载 打开
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.
fromFile
libo19881179
·
2011-10-25 09:00
apk
卸载
安装
下载
打开
Android常用到得方法积累
;wbr>Intent intent = newIntent(Intent.ACTION_VIEW);<br><wbr><wbr>Uri data =Uri.
fromFile
xumingrencai
·
2011-10-21 15:00
android
gesture手势相关操作
Environment.getExternalStorageDirectory(),"gestures");//在sdk目录生成一个gestures文件 GestureLibrarylibrary=GestureLibraries.
fromFile
helloandroid
·
2011-10-20 18:00
android
手势
[C#][WinForm]如何切割圖片
PictureBox[]picboxAry;privatevoidForm1_Load(objectsender,EventArgse){ pictureBox1.Image=Image.
FromFile
cdefg198
·
2011-10-08 20:00
String
image
C#
File
Path
WinForm
使用GDI+ 将索引格式的图片导入内存
PixelFormat8bppIndexed格式的,大小为15M,但如果按一般图片的导入方法,将其导入内存时,要占60M,分析如下: 一般图片的导入方法为:Bitmap*pImage=Bitmap::
FromFile
shuilan0066
·
2011-09-29 10:00
File
delete
mfc
FP
磁盘
GDI+
Image::
FromFile
() Bitmap::
FromFile
() 并不是将图像调入内存
Image::
FromFile
() Bitmap::
FromFile
()并不是将图像调入内存,而是如同文件指针一样,用一个图像指针指向图像,对其进行操作。
shuilan0066
·
2011-09-28 15:00
Android代码实现APK文件的安装与卸载
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
jdsjlzx
·
2011-09-15 11:00
android
String
File
url
delete
byte
Android 中如何复制文件的操作
fromFile
.exists()){ return; }
lock
·
2011-09-14 22:00
Android程序使用代码的安装和卸载
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.
fromFile
heicainiuniu
·
2011-08-24 19:00
listView使用略招
true; //定义ListView中要使用的图标文件 ImageList imagelist1 = new ImageList(); imagelist1.Images.Add(Bitmap.
FromFile
·
2011-08-20 12:00
ListView
.NET软件之如何将图片按照屏幕/控件的指定大小显示
stringstrBitmapPath,intiBitmapWidth,intiBitmapHeight) { //装载图片 System.Drawing.Imageimage=System.Drawing.Image.
FromFile
wangyong0921
·
2011-08-17 14:00
.net
image
String
C#
null
文件复制通道
fromFile
.exists()
fromFile
.isFile() // 复制文件  
disablebb
·
2011-08-15 10:00
文件复制
Android代码实现APK文件的安装与卸载
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
zjl5211314
·
2011-08-02 11:00
apk安装及卸载的原理及代码
Java:Intentintent= new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
(new File(fileName
summerxzg
·
2011-07-28 14:00
java
xml
Scheme
filter
android代码安装和卸载apk
Environment.getExternalStorageDirectory()+str;Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
summerxzg
·
2011-07-28 11:00
Intent 案例
Environment.getExternalStorageDirectory()+"/"+apkname; Intentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
sunny09290
·
2011-07-25 15:00
Android 程序中安装APK文件
ntentintent=newIntent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
(newFile
ultrapro
·
2011-07-20 10:00
安装APK安装包
Intent.FLAG_ACTIVITY_NEW_TASK); intent.setAction(android.content.Intent.ACTION_VIEW); intent.setDataAndType(Uri.
fromFile
BuleRiver
·
2011-07-20 10:00
上一页
13
14
15
16
17
18
19
20
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他