How to send non-Latin sms to emulator?

by an0 » Fri, 18 Sep 2009 17:39:59 GMT


Sponsored Links
 I send Chinese sms using DDMS in Eclipse, but emulator shows it as all
question marks "????????????".
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android unnecessarily hard to unit test?

Hi guys,

First: thanks for a great platform in Android. Being able to write
Android apps in regular Java is a huge win.

However, I am confused about unit testing Android apps. Many of the
'best practices' seem to boil down to 'split your business logic off,
and test it separately using JUnit'. This is great as far as it goes.
And I understand that truly testing the UI will require firing up the
emulator.

But it seems there is a category of UI tests that I should be able to
run without the emulator. The various Mockxxx classes seem to be going
a long way towards this. But why (oh why oh why!) do they all...

    throw new RuntimeException( "Stub!" );

...in their constructors? I can understand them doing this in their
METHODS (then I could subclass them as needed) but why their
constructors? I cannot stop this functionality so I cannot do (limited
but useful) UI tests such as...

public TextView createTextView( Context context )
{
   return new TextView( context );
}

public void testCreateTextView()
{
   MockContext context = new MockContext();
   assertTrue( createTextView( mockContext ) instanceof TextView );
}

...which I would dearly love to be able to do!

Regards,

Richard.



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

2. Reg: PHone panics on mentioning X and Y value in Bitmap.createBitmap method

Hi,

I am trying to mention X and Y values for the Bitmap image, but the phone
panics on mentioning the values.


Bitmap temp_image =
Bitmap.createBitmap(mAlbumArtImage,0,0,old_width,old_height,matrix,true); -
Phone does not panic with this code as X and Y values are 0 and 0

Panic code:
Bitmap temp_image =
Bitmap.createBitmap(mAlbumArtImage,2,2,old_width,old_height,matrix,true); -
On mentioning X and Y values in the code, the phone panics.

Can anyone please let me know if I am missing anything.

Thanks,
Sathya

-- 

3. Rom2 android

4. Multiple Choice ListView with icons

5. Error in function driver configuration

6. line discipline for connectivity combo chips

7. adding view to a layout dynamically