HTC Magic, is PhoneNumberUtils.PAUSE different?

by Alejandro » Mon, 27 Apr 2009 12:37:42 GMT


Sponsored Links
 I am getting reports that the in the HTC Magic the character that
represents the pause in a dial string is different than in the Google
build of cupcake. In the SDK 1.5 pre-release, the pause is given by a
','. Apparently, in the HTC magic, the pause is given by a 'p'.
Unfortunately, I don't currently have the means to test this. Does
anyone know if the PhoneNumberUtils.PAUSE member in the HTC magic
build reflects this change? Have any other functions in
PhoneNumberUtils changed in order to support this?

Thank you,
Alejandro

--~--~---------~--~----~------------~-------~--~----~



HTC Magic, is PhoneNumberUtils.PAUSE different?

by Alejandro » Thu, 25 Jun 2009 14:05:38 GMT


 The Rogers HTC Magic phone is using the 'p' as a pause, but it seems
they haven't changed the PhoneNumberUtils.PAUSE to reflect this. This
is rather unfortunate, because it makes the Rogers build non-standard
and my app breaks. I would hope in the future there are no more
deviations of the standard SDK, otherwise, developing for the Android
platform will become harder.

Alejandro





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Notepad Tutorial

I found the notepad tutorial very helpful, however I'm looking to
stretch beyond that and was wondering if anyone had any ideas to
help.  I'm trying to implement a "Delete" menu button from within a
note, and can use the functionality, the note deletes itself, I just
can't get it to return to the screen that is a list of notes.  Any
suggestions?  Thanks!

--~--~---------~--~----~------------~-------~--~----~

2. GestureOverlayView throwing exception when used with Linkify

Hi,

Anyone else run into this and have a solution?
Basically I have a GestureOverlayView over the top of a TextView.  The
TextView has Linkify.addLinks(tv, Linkify.ALL) called on it.

If you click on an URL in the TextView the following exception is
thrown
Running 2.2 (apparently a pre-release version)

05-28 15:35:04.423: ERROR/AndroidRuntime(25209): FATAL EXCEPTION: main
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):
android.util.AndroidRuntimeException: Calling startActivity() from
outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK
flag. Is this really what you want?
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.app.ContextImpl.startActivity(ContextImpl.java:617)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.content.ContextWrapper.startActivity(ContextWrapper.java:258)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.text.style.URLSpan.onClick(URLSpan.java:62)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.text.method.LinkMovementMethod.onTouchEvent(LinkMovementMethod.java:
216)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.widget.TextView.onTouchEvent(TextView.java:6577)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.View.dispatchTouchEvent(View.java:3766)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:936)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:936)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:936)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.gesture.GestureOverlayView.dispatchTouchEvent(GestureOverlayView.java:
505)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:936)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:936)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:936)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1671)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
1107)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.app.Activity.dispatchTouchEvent(Activity.java:2086)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1655)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1785)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.os.Handler.dispatchMessage(Handler.java:99)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.os.Looper.loop(Looper.java:123)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
android.app.ActivityThread.main(ActivityThread.java:4627)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
java.lang.reflect.Method.invokeNative(Native Method)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
java.lang.reflect.Method.invoke(Method.java:521)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
05-28 15:35:04.423: ERROR/AndroidRuntime(25209):     at
dalvik.system.NativeStart.main(Native Method)

-- 

3. apps wajib di nexu

4. MediaPlayer provides wrong duration on audio streaming

5. Skinning in Android

6. SQLite query problems

7. How to Integrate SkyHook Wireless with android app