[android-beginners] Re: No Contracts In Emulator?

2008-07-09 Thread Mark Murphy
> Hi, I've got a problem again. I wrote "startSubActivity(new > Intent(Intent.VIEW_ACTION, Uri.parse("content//contacts/")),0);" in > one of my applications. And I got the permission in the > AndroidManifest.xml. But it throws ActivityNotFoundException every > time I run it. What's wrong? Was it b

[android-beginners] Re: this thing is driving me crazy!!

2008-07-09 Thread Casey Borders
It's not really a typecast, you have to use the String.valueOf() static method. It will take a whole host of types and return their string equivalent. On Wed, Jul 9, 2008 at 6:23 AM, Maryam Naveed <[EMAIL PROTECTED]> wrote: > thnx!! alot:D > type casting is teh laimest thing to do:( > but i thin

[android-beginners] No contacts in emulator?

2008-07-09 Thread butterflying
Hi, I’ve got a problem again. I wrote "startSubActivity(new Intent(Intent.VIEW_ACTION, Uri.parse("content//contacts/")),0);" in one of my applications. And I got the permission in the AndroidManifest.xml. But it throws ActivityNotFoundException every time I run it. What’s wrong? Is it because ther

[android-beginners] No Contracts In Emulator?

2008-07-09 Thread butterflying
Hi, I've got a problem again. I wrote "startSubActivity(new Intent(Intent.VIEW_ACTION, Uri.parse("content//contacts/")),0);" in one of my applications. And I got the permission in the AndroidManifest.xml. But it throws ActivityNotFoundException every time I run it. What's wrong? Was it because the

[android-beginners] Re: custom component in a list

2008-07-09 Thread Mark Murphy
Sylvester Steele wrote: > dButton= (Button)this.findViewById(R.id.dButton); is I think where it > problem is. I played around a bit with it and realized that other > functions were also throwing up an exception. Then I just created a > new button, using new Button(this); and it worked fine. > >

[android-beginners] Re: custom component in a list

2008-07-09 Thread Sylvester Steele
dButton= (Button)this.findViewById(R.id.dButton); is I think where it problem is. I played around a bit with it and realized that other functions were also throwing up an exception. Then I just created a new button, using new Button(this); and it worked fine. So, why is dButton= (Button)this.fin

[android-beginners] Re: ADT problem

2008-07-09 Thread Maryam Naveed
i think ADT is not properly installed!!but try installing again!! i had install everything again!! try this link and follow every step!! http://youtube.com/watch?v=Mp2q_8T-jMo regards maryam:) On Wed, Jul 9, 2008 at 1:03 AM, Enagan <[EMAIL PROTECTED]> wrote: > > I have downloaded and insta

[android-beginners] Re: this thing is driving me crazy!!

2008-07-09 Thread Maryam Naveed
thnx!! alot:D type casting is teh laimest thing to do:( but i think no other option then On Tue, Jul 8, 2008 at 1:36 PM, Muhammad Farhan Bashir < [EMAIL PROTECTED]> wrote: > Salam, >I think you have already answered your question.Definitely you > have to type cast the integer to the s

[android-beginners] Unknown URL content://contacts

2008-07-09 Thread Apoorva
Hi When I run the following lines in my code, I get the error java.lang.IllegalArgumentException: Unknown URL content://contacts String[] PEOPLE_PROJECTION = new String[] { Contacts.People._ID, Contacts.People.NAME, Conta

[android-beginners] Re: Audio Playback Not Smooth When Running Emulator On Vista

2008-07-09 Thread tommy909808
Same thing here also but i figure out in the cousle this is what i have : qemu: winaudio<> returned error: bad device id --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this grou

[android-beginners] ADT problem

2008-07-09 Thread Enagan
I have downloaded and installed the ADT on Eclipse V3.4.0 But when I try to do this part of the guide: 11. After restart, update your Eclipse preferences to point to the SDK directory: 1. Select Window > Preferences... to open the Preferences panel. (Mac OS X: Eclipse > Preferences) 2. Sel

[android-beginners] Re: changingcolor on TextView

2008-07-09 Thread Casey Borders
You need to specify the value, for example #F18, where F is the value for red, 1 is the value for green and 8 is the value for blue. It's the same as html color codes so you can look those up if you like. On Tue, Jul 8, 2008 at 11:36 AM, zoumengdie <[EMAIL PROTECTED]> wrote: > > Hi. I want to kn

[android-beginners] Vista sound prob

2008-07-09 Thread tommy909808
In vista when i turn the volume , the sound is relly choppy. in the counsle i saw this code for qemu's sound,: qemu sound out: bad device id i need help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Be

[android-beginners] Re: changingcolor on TextView

2008-07-09 Thread zoumengdie
I got it.Thank you, master! You're really amazing! On 7月9日, 上午1时39分, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > Hi. I want to know how to set the background color of TextView and the > > color of the text on TextView. Is it about "android:shadowColor" and > > "android:textColor"? The documents

[android-beginners] Re: changingcolor on TextView

2008-07-09 Thread zoumengdie
By the way, the background color of TextView(and other views) is set by the attribute "android:background" not "android:shadowColor". On 7月9日, 上午1时39分, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > Hi. I want to know how to set the background color of TextView and the > > color of the text on Text

[android-beginners] Translation of the documentation

2008-07-09 Thread Alice Cooper
I welcome all! I have offer as on the account of, to transfer{translate} the documentation, or its{her} some part on different world{global} languages, such as Portuguese, Chinese, Russian. It would be healthy, many developers would be connected to development of appendices, not all of them know E

[android-beginners] Re: Custom Intent

2008-07-09 Thread ZaNkY
I've already read your posts on androidguys. Great posts, but didn't help in what I want to accomplish. Thanks anyways. I'm wondering if it would be possible to edit some System files to accomplish what I need modify the EditText class... by the way, sorry for the the double post, got a bit