[android-developers] Loading contact photo

2011-12-08 Thread wyo
I tried to use the sample code of "http://developer.android.com/ reference/android/provider/ContactsContract.Contacts.Photo.html" to load the thumbnail-sized photo into a list but eclipse always complains a compilation error at line Cursor cursor = getContentResolver().query(photoUri, n

[android-developers] How to apply theme light to one list alone

2011-11-25 Thread wyo
All I'd like is having certain lists with white background yet that seems not easlily possible. First applying the theme to the activity with the listview didn't work (see http://groups.google.com/group/android-developers/browse_thread/thread/aa9b888a49c6cdfb?hl=de) until I figured out to apply it

[android-developers] Re: Lists with white background and black color

2011-11-24 Thread wyo
or that > project since the new build tools, sorry. > > > > > > > > > > On Thu, Nov 24, 2011 at 3:06 PM, wyo wrote: > > There's an error in the "build.xml" file at > > > > > > "default target help does not exist in this proj

[android-developers] Re: Lists with white background and black color

2011-11-24 Thread wyo
There's an error in the "build.xml" file at "default target help does not exist in this project" How do I correct this? On 24 Nov., 20:06, Mark Murphy wrote: > On Thu, Nov 24, 2011 at 1:52 PM, wyo wrote: > > I've cleaned and rebuild my project twice

[android-developers] Re: Lists with white background and black color

2011-11-24 Thread wyo
Nov., 17:50, Mark Murphy wrote: > That should have worked fine. If you are using Eclipse, try cleaning > the project or otherwise forcing Eclipse to recompile and reinstall > the APK in your emulator. > > > > > > > > > > On Thu, Nov 24, 2011 at 11:35 AM, wyo wr

[android-developers] Lists with white background and black color

2011-11-24 Thread wyo
Ordinary lists have black background and white text yet I'd like to have it reverse. I've tried to add android:theme="@android:style/Theme.Light" to the activity in my manifest yet with no effect. Any idea how to change my list? -- You received this message because you are subscribed to the Goo

[android-developers] Re: How to find out why my app crashes

2011-11-23 Thread wyo
Thanks a lot. I've already found out. One of my classes was named "Contacts" which seems to collide with the ContactsContracts declaration. Renaming my class fixed the crash. On 23 Nov., 11:36, Kostya Vasilyev wrote: > Open R.java in your project... > > Hit Ctrl+F... > > Enter the value, 0x7f03..

[android-developers] How to find out why my app crashes

2011-11-23 Thread wyo
It's totally frustrating when an app crashes before the first breakpoint. But how do I find out what Resource ID #0x7f030001 means? 11-23 10:52:31.600: E/AndroidRuntime(3973): java.lang.RuntimeException: Unable to start activity ComponentInfo{wyo.android.contacts/wyo.android.contacts.ContactMgr}:

[android-developers] Where are the XML attributes of the TabHost

2011-11-20 Thread wyo
I'd like to show the tabs at the bottom instead of the top and guess there must be a layout attribute yet I can't find it. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.

[android-developers] Re: Tutorial "HelloTabWidget" crashes

2011-11-20 Thread wyo
Well then why isn't it documented in the tutorial? I've now simply duplicated the app activitiy and replaced the name like yet I've no idea if this is correct or what all these means. So far it seems to work. On Nov 2

[android-developers] Re: Tutorial "HelloTabWidget" crashes

2011-11-20 Thread wyo
My manifest.xml looks like this as the tutorial specifies On Nov 20, 11:25 am, Robinns wrote: > Have you defined you activity under the Manifest.xml file. -- You received this message because you are subs

[android-developers] Tutorial "HelloTabWidget" crashes

2011-11-20 Thread wyo
I've tried the tutorial "HelloTabWidget" and think I've done everything as described yet it crashes with 11-20 10:23:33.166: E/AndroidRuntime(12801): java.lang.RuntimeException: Unable to start activity ComponentInfo{hello.android.tabwidget/ hello.android.tabwidget.HelloTabWidgetActivity}: android

[android-developers] Sample ContactManager crashes again

2011-11-04 Thread wyo
After successful running the ContactManager on my phone, I tried to change it a little bit to show other information. I changed ContactsContract.Contacts.DISPLAY_NAME with ContactsContract.CommonDataKinds.Organization.COMPANY both when using SimpleCursorAdapter and managedQuery yet it crashes s

[android-developers] Re: Applying a text appearence to an item

2011-11-04 Thread wyo
How can I set the textAppearence to Medium generally for all my items? I'm amazed this isn't the default. On 4 Nov., 09:49, wyo wrote: > Why are developer documentation always so ridiculous low on samples. I > tried to figure out how to add the "TextAppearanceMedium"

[android-developers] Applying a text appearence to an item

2011-11-04 Thread wyo
Why are developer documentation always so ridiculous low on samples. I tried to figure out how to add the "TextAppearanceMedium" to a TextView in an XML yet there's not a single hint in the whole docs (or it's impossible to find it). Sure there's a sample how to create a style yet I don't want to c

[android-developers] Re: Tutorial "Hello Testing" source code

2011-11-03 Thread wyo
And how can anyone download the code, there seems to be no download section. On 3 Nov., 08:54, gaurav gupta wrote: > Hello , > > U can download code from androidpeople. > > www.*androidpeople*.com/ > > u can easliy find basic codes from here. > > > > > >

[android-developers] Tutorial "Hello Testing" source code

2011-11-03 Thread wyo
I seem to have problem to understand the changes I have to do in the code for the tutorial "Hello Testing", could the complete code somehow be downloaded so I may see my error? Or could some one post the code here (it shouldn't be large)? -- You received this message because you are subscribed to

[android-developers] Re: Sample ContactManager crashes

2011-11-03 Thread wyo
ld? > > On Nov 2, 7:54 am, wyo wrote: > > > > > > > > > I played with the sample ContactManager and tried to add a contact > > (Add Contact). After entering name, phone and email field I pressed > > "save" then it crashes. > > > Maybe it

[android-developers] Uninstalling sample API Demos

2011-11-02 Thread wyo
As per troubleshooting tips the sample API Demos has to be uninstalled due to signing reasons. Yet I seem unable to uninstall it. In step 2 the command "emulator &" does not work, an Android Virtual Device is required yet I've no idea how they are named. Actually I'm using Eclipse/ADT yet normally

[android-developers] Sample ContactManager crashes

2011-11-02 Thread wyo
I played with the sample ContactManager and tried to add a contact (Add Contact). After entering name, phone and email field I pressed "save" then it crashes. Maybe it's because of the field "Target Account" which is empty yet I'm not able to choose any target account. When I click on the field an