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. "Could be better"?!?!


If I didn't laugh at this I would cry. An individual bought our second
application today, a simple app which allows the user to Ping and
search Whois information. It is called "Pinger" and cost $1.00.

It was returned with the comment "Could be better". Um, of course it
could be better! You only paid $1.00!!! What did you expect? The app
is fully functioning, error handling, etc and works as anyone familiar
with Pings and Whois would expect.

Do I understand the TOS correctly? The return of this $1.00 app is
going to cost me the chargeback fees ($10) from the credit card
company, is that correct? Unfortunately, in order to ensure this
scenario doesn't happen again we have removed this app and then
increased the price on our first application from $3.99 (which we
thought was fair and was selling well) to $10.99 thus breaking the
"return" barrier of the TOS.

Utterly amazed at how this has been handled...


2. This post to track Android availability in countries


I'd like to know on which countries Android devices are available (to
translate my app for each new country, and to post add on sites/blogs
of those countries).

So, as far as I know we currently have only :


3. Does anyone use the tool "oprofile" in the open source

4. How can I scroll the item in a Gallery programmically?

5. (a bit OT): Google Checkout help

6. (OT) Is the combination of Android Market and Google Checkout a joke?

7. G2 registrations now open...