I have a preference.xml, as following code:
<PreferenceScreen android:title="Work Phone"
                                android:summary="5081234567">
                                <intent 
android:action="android.intent.action.DIAL"
                                        android:data="tel:5081234567" />
                        </PreferenceScreen>
When I click, it does not show phone dialer. I also copy apidemo code
to my app:
<PreferenceScreen android:summary="test"
                                android:title="test">
                                <intent
                                        
android:action="android.intent.action.VIEW" android:data="http://
www.google.com" />
                        </PreferenceScreen>

It does not work either. But it works on apidemo app.
I add permission call_phone to manifest.xml, don't know why it does
not work in my app.

Please help.

Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
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.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to