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. How to create a Toast from a background operation?

Hey Mark,
  well, if just sending a toast from any thread I get this:

java.lang.RuntimeException: Can't create handler inside thread that has not
called Looper.prepare()
at android.os.Handler.<init>(Handler.java:121)
at android.widget.Toast.<init>(Toast.java:397)
at android.widget.Toast.makeText(Toast.java:230)

  When asking the original initiator of the background operation to pass in
a handler, it might happen, that the activity that created the handler is no
longer active when the operation finished. I also believe to remember that
this will bring out an exception too.

  All that looks very ugly, which often means that I don't get what the
proper way of doing things around here is.

  But if the above mentioned way (passing in a handler from the original
activity) is the best way, then I will just do that.

Cheers,
Mariano







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

2. Android 1.5 Early look problems

I downloaded the android 1.5 SDK.
And I found that we can simply add a widget into the Android
Homescreen with the java class android.appwidget.AppWidgetProvider.

use this layout i can add my own widget successfuly
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="Hello"
    />
</LinearLayout>

but when i change the TextView to EditText like this.
The Android Home can not load my widget.

04-16 09:27:07.111: WARN/AppWidgetHostView(633): Caused by:
android.view.InflateException: Binary XML file line #13: Class not
allowed to be inflated android.widget.EditText

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<EditText
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="Hello"
    />
</LinearLayout>


any one can help me?

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

3. URGENT - Retrieve User Data

4. How to change background on a Spinner?

5. Relationships among apps, tasks, and activities

6. Devs: Give your thumbs up on these missing Market features

7. Porting 1.5 to Nokia N810