Hi all,
I already read this thread
http://groups.google.com/group/android-developers/browse_thread/thread/1815768224168b52/91da1b4f775ac921?lnk=gst&q=Out+of+space+#91da1b4f775ac921

but I fail to solve my problem.
I'm trying to install programmatically an apk from the sd card.
the option "unknown sources" is checked in setting>> manage
applications.
I use this code to launch my apk installation:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse("file://" + mApkPath), //mApkPath =
absolute path to apk to install; it's on sdcard
                "application/vnd.android.package-archive");
startActivity(intent);

on emulator, everything works well but on my phone, I got "Out of
space;  myApp could not be viewed. Free up some space  on your phone
and try again"
I have enough space to install this application
I'm using android 2.1

thank you for your help
Best regard

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to