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. More MediaPlayer questions

I've been googling and searching the groups for answers and haven't
been able to find anything concrete.  I have several questions
regarding the use of MediaPlayer if somebody can help me out:

1. I need to package an audio resource with my application, which I
have done in /res/raw.  However, it appears that I must use
MediaPlayer.create() to use a resource ID rather than
MediaPlayer.setDataSource().  I found some references to creating a
URI to raw via "android:resource://package/raw/name" and
"android:resource//package/" + resourceId.   However, both of these
tries resulted in IOExceptions during setDataSource.  I'm assuming due
to a bad URI.  Is it possible to get a valid URI in SDK 1.0 that will
point to a raw resource?

2. I'm writing an app that does some tracking and will typically go
hand in hand with the music player running.  Part of my app will, at
times, need to play sound on top of the running audio stream.  Is
there any way for my app to get ahold of and temporarily pause the
music stream so that the user will be able to clearly hear my audio?
Is this prevented because it's considered 'bad behavior'?  (I hope not
because in my case its actually good and desirable behavior)

3. I see that I can set the audio stream but is there any
documentation/discussion/details on what the various streams are, how
they are used, and how they interact with one another?   For example,
as mentioned above I want to be able to pause/override/interrupt a
music playing stream with my notification but I would NOT want to have
my notification play if they are on an active phone call.   Also, is
there any doc/discussion/detail on which methods can be invoked on the
mediaplayer at what times?  As I experiment I seem to get a lot of
'invalid media state' errors when I try things with very little
indication as to what state it is in and how I get it from the bad
state to an acceptable state for the method in question.

Thanks for any assistance.  I've been researching for a couple of days
but all the information I can find is very sparse or appears to be
things that were valid in early SDKs but may not be any longer.

Thanks,

Greg


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

2. about porting of android

hi all,
           I want to cross compile and build android source code by
using some different toolchain ,plartform and architecture.but can
anybody tell me to start this cross compilation from where to
start ,how to look into android build system? is there any doc present
which will guide me about the changes that i need to do?i am
completely newbie to this so i dont know from where to start? please
replay.

Regards.
Dhananjay
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Service launching multiple times

4. Is it necessary to rebuild android platform

5. Mobile Developers Research Project asking for Android's opinion, by Carnegie mellon University

6. How does one access the contacts ?

7. Love to have android os for my storm