易截截图软件、单文件、免安装、纯绿色、仅160KB

android上拔出sd卡导致flash上媒体也消失问题解决方法

机器内部有一部分flash供客户使用,同时机器支持sd卡。当插入sd卡时候flash内部和sd卡内部的多媒体都可以被播放器识别,一旦拔掉sd卡,则flash内的媒体对播放器也不见了。
解决方法:
修改frameworks/base/services/java/com/android/server/MountService.java文件的函数:notifyMediaBadRemoval如下,红色为添加。
mContext.sendBroadcast(intent);
        intent = new
Intent(Intent.ACTION_MEDIA_REMOVED,
                Uri.parse("file://" +
path));
       
mContext.sendBroadcast(intent);
//添加下面几行
        intent = new
Intent(Intent.ACTION_MEDIA_MOUNTED,Uri.parse("file://" +
"flash"));
        intent.putExtra("read-only",
false);
       
mContext.sendBroadcast(intent);
 
    }
同时也修改notifyMediaUnmounted(),在最后也加入上面几行
Intent intent = new Intent(Intent.ACTION_MEDIA_UNMOUNTED, 
                Uri.parse("file://" + path));
        mContext.sendBroadcast(intent);
//添加开始    
intent = new Intent(Intent.ACTION_MEDIA_MOUNTED,Uri.parse("file://" + "flash"));
intent.putExtra("read-only", false);            
mContext.sendBroadcast(intent);
//添加结束
 


相关文档:

chrome 安装flash插件

1。先下载flash player的xpi插件
http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplayer-linux.xpi
2。解压缩一下,然后把plugins这个文件夹拷贝到chrome的安装目录(/opt/google/chrome)。
3。再在桌面上图标属性里面增加一个启动参数。
/opt/google/chrome/google-chrome %U --enable-plu ......

怎样提取电子杂志里面的音乐、图片、flash等文件?

第一步:准备你要提取源文件的电子杂志,比如zcom的杂志
第二步:运行这个杂志,在整个提取过程中,不要关闭杂志。
第三步:打开我的电脑——工具——文件夹选项——查看——显示隐藏所有文件和文件夹,确定
第四步:定位到C:\Documents and Settings\username\Application Dat ......

Thoungts on Flash(转)

Apple has a long relationship with Adobe. In fact, we met Adobe’s founders when they were in their proverbial garage. Apple was their first big customer, adopting their Postscript language for our new Laserwriter printer. Apple invested in Adobe and owned around 20% of the company for many yea ......

Flash常见问题解答

1,FLASH是什么?
FLASH电影是专为网页服务的画像或动画(当然,也可用于其它用途)。主要含有矢量图形,但是也可以包含导入的位图和音效,还可以把浏览者输入的信息同交互性联系起来,从而产生交互效果,也可以生成非线性电影动画。该动画可以同其它的WEB程序产生交互作用。网页设计师可以利用FLASH来创建导航控制器、动态LOG ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号