Mechanics of how to have free and paid apps in some apk

by Mattaku Betsujin » Tue, 14 Apr 2009 10:23:41 GMT

Sponsored Links
 I think the proposal is similar to iphone 3.0 where the app can charge the
user while the app is running, instead of, or in addition to, charging the
user during installation time.

Google should seriously consider this.

But, giving that the current market app can't even show the app's images, I
think it will take quite a while.


Other Threads

1. How does Email app switch its 'main' activity


In android Email app, when I first launch it, it will shows me the
'account setup wizard' activity.
But when I launch the Email app(after the account is set) again, it
wont' show the 'account setup wizard' activity, it will show the
'Folder list activity ' instead.

How can it does the main activity switch (depends on the email account setup)?

Thank you.


2. Getting contact name from phone number in 1.5/1.6/2.0

Hi -- the semi-standard way of getting a contact name from a phone
number is to use Contacts.Phones.CONTENT_FILTER_URL and append the
phone number, as in the following sample code.  This works fine on
Android 1.6, but not on 2.0 -- is there a way to perform this function
that works in all versions of the Android API?

private String getContactNameFromNumber(String number) {
                // define the columns I want the query to return
                String[] projection = new String[] {
                                Contacts.Phones.NUMBER };

                // encode the phone number and build the filter URI
                Uri contactUri = Uri.withAppendedPath
(Contacts.Phones.CONTENT_FILTER_URL, Uri.encode(number));

                // query time
                Cursor c = getContentResolver().query(contactUri, projection, 
                                null, null);

                // if the query returns 1 or more results
                // return the first result
                if (c.moveToFirst()) {
                        String name = c.getString(c
                        return name;

                // return the original number if no match was found
                return number;


3. ListView not responding to Click or KeyPress

4. Mau bagi-bagi game UNO menjelang libur panjang

5. how to capture key events with a window-less activity

6. postBuffer and memcpy

7. How can I use org.apache.harmony.luni.platform.OSNewtorkSystem in Android SDK ?