![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android开发
soleman007
这个作者很懒,什么都没留下…
展开
-
自动安装
String fileName = "/sdcard/tmp.apk"; Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.setDataAndType(Uri.fromFile(new File(fileName) ), "application/vnd.android.package-archive"); s...原创 2011-11-18 14:20:37 · 102 阅读 · 0 评论 -
android 如何在超链接跳转到activity
public void addIntentLink(final TextView view,final String text) { SpannableString sp = new SpannableString(text); final Intent userIntent = new Intent(); userIntent.setClass(conte...原创 2011-12-07 22:23:50 · 283 阅读 · 0 评论