[android-developers] Is there a way to get icons for apps on the Market?

2009-08-22 Thread craiget
Just wondering if it is possible to get icons for applications on the Android Market? For example, if there is an application called "com.mycompany.someapp", is there a way to programmatically grab an image (icon) for that application either through an Android API or by simply downloading it from

[android-developers] How to change background on a Spinner?

2009-05-02 Thread craiget
I'm trying to figure out how to change the default white background from a spinner. I've tried a couple of things and looked around on this newsgroup and elsewhere online. There have been a few related questions, but I haven't deduced the answer yet (maybe I just didn't understand what I've read).

[android-developers] Re: How to extend an ArrayAdapter?

2009-04-10 Thread craiget
Fantastic. listView.addHeaderView() works like a charm! It seems this usage was already thought of by folks more clever than myself. I guess it helps to know the API =) Thanks Mark. On Apr 10, 11:57 am, Mark Murphy wrote: > craiget wrote: > > I'm running into difficulties

[android-developers] How to extend an ArrayAdapter?

2009-04-10 Thread craiget
Hello, I'm running into difficulties overriding an ArrayAdapter to be displayed in a ListActivity. The ArrayAdapter is filled asynchronously. What I'm trying to do is add a special "sentinel" object that sits at the beginning of the list to show the progress of the computation. Ultimately this

[android-developers] Re: Confused about 9-patch files

2009-03-03 Thread craiget
Thank you for the replies. Maybe what's causing my confusion is a bug in aapt (or my environment?) rather than misunderstanding the concept of 9-patch. In which case I may be posting to the wrong place. I've got two files that demonstrate what's happening: This first file, Eclipse likes and it

[android-developers] Confused about 9-patch files

2009-03-02 Thread craiget
Can someone please explain or provide examples (links) of some valid 9- patch files? >From reading the API description, I think my understanding is flawed. As an example, there's a 9-patch located at: http://www.maladroid.net/test.9.png [the same idea, as abad ascii representation] 0 = transpa

[android-developers] is there a standard EULA?

2009-02-17 Thread craiget
Hello folks, I was reading some of the other posts about EULAs and was wondering: Does Android have a standard application EULA? If not - can it have one? should it have one? Failing that, is there a good way to let the user agree to the EULA before buying the application? Here's why I think

[android-developers] is there a standard EULA?

2009-02-17 Thread craiget
Hello folks, I've read a couple of posts about handling EULAs and was wondering: Is there a standard EULA for apps on the Android Marketplace? If not, can there be and should there be? (If I understand correctly) all apps for the iPhone are subject to a standard agreement (the iTunes EULA) fou