Hi all
I have a code to install one apk file in my sdcard,
Intent intent = new Intent(Intent.ACTION_VIEW);
Log.e("test","test");
intent.setDataAndType(Uri.fromFile(new
File("file:///sdcard/DCIM/Opi.apk")),
"application/vnd.android.package-archive");
Log.e("test2","test2");
startActivity(intent);
but I got the error on emulator that say parser can not pars your data,I was
wondering if any body can help me,
thanks,
Mahsa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---