Android API for retrieving list of apps in Market

by Scott » Tue, 16 Dec 2008 06:07:22 GMT


Sponsored Links
 I'm looking for a way to get a list of all the apps available in the
Android Market.  I'm guessing the market interfaces with some sort of
database that stores the information, so I'm hoping there's some sort
of API I could reference to retrieve this information.  This is so I
can work on a web market for Android for users to view outside their
handset.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. samples\android-11\ContactManager Document Sample Code Not Working

Hi List,

I am trying Android SDK 3, API 11.  I was trying to learn Content
Provider with the example given in Samples.

While running ContactManager I am getting NullPointerException -

04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
com.sanoop.ContactAdder.createContactEntry(ContactAdder.java:170)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
com.sanoop.ContactAdder.onSaveButtonClicked(ContactAdder.java:146)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
com.sanoop.ContactAdder.access$1(ContactAdder.java:144)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
com.sanoop.ContactAdder$2.onClick(ContactAdder.java:135)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
android.view.View.performClick(View.java:3100)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at android.view.View
$PerformClick.run(View.java:11644)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
android.os.Handler.handleCallback(Handler.java:587)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
android.os.Handler.dispatchMessage(Handler.java:92)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
android.os.Looper.loop(Looper.java:126)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
android.app.ActivityThread.main(ActivityThread.java:3997)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
java.lang.reflect.Method.invokeNative(Native Method)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
java.lang.reflect.Method.invoke(Method.java:491)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:841)
04-12 00:25:07.379: ERROR/AndroidRuntime(541):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)


Line number 170 code is -

ArrayList<ContentProviderOperation> ops = new
ArrayList<ContentProviderOperation>();
 
ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)
                .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE,
mSelectedAccount.getType())
                .withValue(ContactsContract.RawContacts.ACCOUNT_NAME,
mSelectedAccount.getName()).build());



And all the code lines are simply copied from the samples
\android-11\ContactManager.



please help me out.


Thanks,
Sanoop

-- 

2. How to add scrollbar...

- i have placed 3 table layouts on absolute view having height (height/
3) for each filled horizontally one after other.
- i want to make one of the layout scrollable (horizontally and
vertically too).
- So for that i have placed scroll view on the above table layout and
add another table layout on the scroll view which having number of
rows and columns....
- but on the display i got only vertical scrollbar but not
horizontal.....

i didn't get what is the problem....

-- 

3. HTML5 canvas element highlights on click

4. FragmentBreadCrumbs

5. My first app

6. Add breadcrumbs for navigating backward through fragments

7. Android simulator and telnet