[android-developers] Ringtone from the RingtoneManager always returns null

2010-01-15 Thread Daan
llReceiverActivity(315): Ringtone: null As you can see, the MediaPlayer is unable to open the file. Should I have extra permissions? Is anything else preventing me from accessing the file? Would appreciate help :) Regards, Daan -- You received this message because you are subscribed to the Google G

[android-developers] Re: Why is my eclipse up to date with 2.0.1 but no android tools appear in the UI?

2010-01-05 Thread Daan
I am on Windows 7 too, but didn't have any problem installing the Android SDK. Try watching this video http://www.youtube.com/watch?v=lqPfi6N4iEY and see if you missed out any steps. It's Windows XP, but it doesn't matter it works the same as Vista and 7. On Jan 4, 11:24 pm, ClarkBattle wrote: >

[android-developers] Modify XML Layout using classes

2010-01-05 Thread Daan
I am trying to change the order of views. The views should get into into a specific order according to the user's preferences. So let's say I have three text-views in a linear-layout, how can I can I change the order so Android will show the text-views in a different order thans declared in the XML

[android-developers] Re: Reliable GPS location

2010-01-05 Thread Daan
You can use Location.getTime() this returns the UTC time of this fix, in milliseconds since January 1, 1970. Then you could get the current time and compare it to see if you find it accurate enough. On Jan 4, 10:14 pm, Lance Nanek wrote: > You can call Location#getTime to see when the fix return

[android-developers] Re: Android development with PHP

2010-01-05 Thread Daan
I am using something similar. I have a PHP script online, I give my parameters by using $_GET, then I let my PHP do the work and write my output to an XML code which I read again on Android. Small sample: //Creating URL URL cUrl = null; String url = "http://www.link.com?paramater=hi";; try {