Hi thanks for providing more info hackbod. Questions/comments in line.

On Wed, Sep 24, 2008 at 11:56 AM, hackbod <[EMAIL PROTECTED]> wrote:

>
> You can already find in the SDK that you can install an application
> from any web page by simply downloading an .apk file that has the MIME
> type "application/vnd.android.package-archive" associated with it.
> This will be opened by the system's Package Installer app, allowing
> the user to see what it is and decide if they want to install it.

 Can we use HTTPS and basic authentication for this download?


>
> You can likewise use the installer yourself by launching an Intent
> pointing to local .apk file and supplying the same MIME type.

By local, do you mean that we need to download it ourselves and then install
it?

Does this installer provide events, like successful download, installation
error back to the invoking application?


>
> This is a standard part of the platform, so yes it will be available
> on the G1.
>
> Note that we do NOT allow applications to directly call the internal
> API for installing packages, and thus bypassing the normal UI, for
> security reasons: this effectively means that an application granted
> permission to do this has been granted permission to do anything,
> which is obviously pretty dangerous.  (This is the same reason why we
> only allow an application to inject key events into its own UI.)  So
> you will have to ultimately go through the system UI for installing a
> package.
>
> As far as opening the app market it the developer community before the
> first devices ship...  I don't know what the exact plans for this are,
> but I would honestly question the point.  NOBODY should be uploading
> an app that they haven't tested on real hardware.  You would be crazy
> to rely on just the emulator to determine if your application behaves
> well.  From that perspective, I think it would be a big mistake to
> allow people to upload apps before they have access to hardware, since
> it would encourage the uploading a lot of apps that are going to give
> the actual users a poor experience.

Testing has always been the thorn of the industry and waiting for a solution
has yet to produce a rose. Of course it is different with a carrier, who has
to take a $40 hit per customer service call (adds up quickly on a bad app).
But for a small community site, with a few dozen apps, we can get a small
handful of people hitting and testing the apps with real devices (just like
in the carriers).

If I can get the installation events, I'm pretty sure we can pull this thing
off.

Thanks,
Shane

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to