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. Multi-layout app [total beginner]

Hi,

I get a small problem here.

I have a simple App, with two layout (main.xml and credits.xml).

With the onclick on the btnCredits button, I switch from main.xml to
credit.xml with this code :

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final Button btnCredit = (Button) findViewById
(R.id.BtnCredits);
        btnCredit.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                setContentView(R.layout.credit);
            }
        });
    }

I've tried to add the onclick for the back button from the credit
layout with this :

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final Button btnCredit = (Button) findViewById
(R.id.BtnCredits);
        btnCredit.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                setContentView(R.layout.credit);
            }
        });
        final Button btnBack = (Button) findViewById(R.id.BtnBack);
        btnBack.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                setContentView(R.layout.main);
            }
        });

    }

It crash pretty well.
And I must tell, I'm kinda relieved that it's not the right thing to
do (put all in a single activity).

I've searched the web for a little, and I found "Intent" and
startActivity() method.
Is this the right thing to do ? Someone could paste there something
more simple than the notepad sample (an adaptation for my app would be
fine), juste two screen, switching from on to another and back ?

Or maybe I'm totally wrong, and it's NOT AT ALL what must be done ?

Thanks, and excuse my poor english ;)

Sylvain.

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

2. Is there any way to make changes to the files/raw resources in the raw/res folder?

> I have a really basic question about res/raw. I'd like to know if

At runtime in the app? No. All resources are signed and sealed and cannot
be modified at runtime.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



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

3. DBAdapter class to Use inside ButtonListener , How...

4. MarketPlace get application list

5. Writing an app using android.speech.srec ... how to get to that code?

6. I wonder to make a sence of getting par t of bitmap锝

7. OOT::service::android::htc_ion