Hi, please help with installing an .apk

by Dr. Tingrong Lu » Fri, 02 Jan 2009 19:19:29 GMT

Sponsored Links

I'm trying to write a code to install an apk on SDK1R2. I read your posts on 
google groups, and copied the code like below. but the code doesn't work. Did I 
miss anything? Thanks. 

 public void insAPK() {
    Uri data = Uri.parse("file://sdcard/an1115.apk");
    try {
        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setDataAndType(data, "application/vnd.android.package-archive");
    } catch (Exception e) {
        Log.e("insAPK", e.getMessage());

Other Threads

1. Amazon to Policy Android Market Place

The almighty Amazon.com feels that is should police the Android
Market  for proper applications. On one hand I think this could be a
good idea but on the other hand this feels took much like an Apple iOS
development clone. With Amazon developing its own market place and
limiting which apps can appear there you are guaranteed a visible
market for your application. People who pursue amazon will know that
your app may meet some sort of standard and may consider buying it.
But just as good as that is, if Amazon is backed up with testing your
application and like apple takes two weeks to reject your application
based on some sort of merit what is to stop me from just uploading my
application directly to the market place. ABSOLUTELY NOTHING. As
someone who develops on both sides of the spectrum I don't see the
implement of this Amazon App Market place as a good idea. I am curious
as to other developers take on this and how many plan to actually
develop to meet the amazon market guidelines.


2. Question for Google employees: How would our apps run on the new Kyocera Echo?

The new Kyocera Echo has *two* screens.

Would 'regular' Android apps run on Kyocera Echoes?
If so, is there SDK support for this?
What problems can we expect for this dual screen phone? Or should it
all run fine like any other new Android phone?



3. Android Market anomaly in limiting distribution

4. help needed in youtube api for android and using it

5. Telling 2.2 vs 2.2.1

6. Host mode support on Nexus S

7. use linux driver with android