card. My daughter helps me test my projects, so she installs the .apk
to her Droid after I send it to her as an e-mail attachment.
http://www.ieumart.com/how-to-install-apk-files-through-desktop-using-windows-vista.html
On Feb 10, 4:11 pm, dashman <erjdri...@gmail.com> wrote:
> ok - i see what marcin was suggesting.
>
> i download the .apk to the sd card.
>
> now - what intent do i start to install the .apk file.
>
> On Feb 10, 12:36 pm, Mark Murphy <mmur...@commonsware.com> wrote:> On Thu, Feb 10, 2011 at 12:11 PM, dashman <erjdri...@gmail.com> wrote:
>
> > > i set the mime-type like this
>
> > > i.setType("application/vnd.android.package-archive");
>
> > > and the app crashes.
>
> > Use setDataAndType(). setType() nulls out your Uri. And, again, this
> > is only needed if you follow Marcin's recommendation and download the
> > APK yourself, then use an Intent to kick off installation.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > _The Busy Coder's Guide to Android Development_ Version 3.4 Available!
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment