[android-developers] Re: SpecialCharacters

2008-11-29 Thread Dianne Hackborn
No.

On Thu, Nov 27, 2008 at 11:24 PM, ena [EMAIL PROTECTED] wrote:


  can it be done using keyCharacterMap Class?

 On Nov 28, 10:41 am, Ernest [EMAIL PROTECTED] wrote:
  It works well if define it in string.xml like string name=XXX
  \u1E00/string
 
  On 11月28日, 下午1时21分, Ernest [EMAIL PROTECTED] wrote:
 
   But setText(\u1234) is not work well ,It shows on Screen like ' Ⴄ'.
 
   On 11月28日, 上午7时34分, Ralf [EMAIL PROTECTED] wrote:
 
Just use myedittext.setText((c)); or setText(\u1234) where 1234
 is
theunicodecharacter you want.
 
R/
 
On Thu, Nov 27, 2008 at 4:32 AM, ena [EMAIL PROTECTED] wrote:
 
 I try to draw SpecialCharacters in Edittext..
 i want draw '(c)' character
 i am used
 
 Java:
 
  KeyCharacterMap keyCharacterMap = KeyCharacterMap
.load(KeyCharacterMap.BUILT_IN_KEYBOARD);
 keyEvents = keyCharacterMap.getEvents(new char[]
 { '(c)'  });
  dispatchKeyEvents(Main.edittext, keyEvents);
 
 but it's show error..could u plz tel me..how to draw it???- 隐藏被引用文字
 -
 
- 显示引用的文字 -- 隐藏被引用文字 -
 
   - 显示引用的文字 -
 



-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SpecialCharacters

2008-11-27 Thread Ralf

Just use myedittext.setText((c)); or setText(\u1234) where 1234 is
the unicode character you want.

R/

On Thu, Nov 27, 2008 at 4:32 AM, ena [EMAIL PROTECTED] wrote:

 I try to draw SpecialCharacters in Edittext..
 i want draw '(c)' character
 i am used

 Java:

  KeyCharacterMap keyCharacterMap = KeyCharacterMap
.load(KeyCharacterMap.BUILT_IN_KEYBOARD);
 keyEvents = keyCharacterMap.getEvents(new char[]
 { '(c)'  });
  dispatchKeyEvents(Main.edittext, keyEvents);



 but it's show error..could u plz tel me..how to draw it???
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SpecialCharacters

2008-11-27 Thread Ernest

But setText(\u1234) is not work well ,It shows on Screen like ' Ⴄ'.

On 11月28日, 上午7时34分, Ralf [EMAIL PROTECTED] wrote:
 Just use myedittext.setText((c)); or setText(\u1234) where 1234 is
 theunicodecharacter you want.

 R/



 On Thu, Nov 27, 2008 at 4:32 AM, ena [EMAIL PROTECTED] wrote:

  I try to draw SpecialCharacters in Edittext..
  i want draw '(c)' character
  i am used

  Java:

   KeyCharacterMap keyCharacterMap = KeyCharacterMap
                     .load(KeyCharacterMap.BUILT_IN_KEYBOARD);
  keyEvents = keyCharacterMap.getEvents(new char[]
  { '(c)'  });
   dispatchKeyEvents(Main.edittext, keyEvents);

  but it's show error..could u plz tel me..how to draw it???- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SpecialCharacters

2008-11-27 Thread Ernest

It works well if define it in string.xml like string name=XXX
\u1E00/string


On 11月28日, 下午1时21分, Ernest [EMAIL PROTECTED] wrote:
 But setText(\u1234) is not work well ,It shows on Screen like ' Ⴄ'.

 On 11月28日, 上午7时34分, Ralf [EMAIL PROTECTED] wrote:



  Just use myedittext.setText((c)); or setText(\u1234) where 1234 is
  theunicodecharacter you want.

  R/

  On Thu, Nov 27, 2008 at 4:32 AM, ena [EMAIL PROTECTED] wrote:

   I try to draw SpecialCharacters in Edittext..
   i want draw '(c)' character
   i am used

   Java:

    KeyCharacterMap keyCharacterMap = KeyCharacterMap
                      .load(KeyCharacterMap.BUILT_IN_KEYBOARD);
   keyEvents = keyCharacterMap.getEvents(new char[]
   { '(c)'  });
    dispatchKeyEvents(Main.edittext, keyEvents);

   but it's show error..could u plz tel me..how to draw it???- 隐藏被引用文字 -

  - 显示引用的文字 -- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SpecialCharacters

2008-11-27 Thread ena

is it can't use with keyCharacterMap??

On Nov 28, 10:41 am, Ernest [EMAIL PROTECTED] wrote:
 It works well if define it in string.xml like string name=XXX
 \u1E00/string

 On 11月28日, 下午1时21分, Ernest [EMAIL PROTECTED] wrote:

  But setText(\u1234) is not work well ,It shows on Screen like ' Ⴄ'.

  On 11月28日, 上午7时34分, Ralf [EMAIL PROTECTED] wrote:

   Just use myedittext.setText((c)); or setText(\u1234) where 1234 is
   theunicodecharacter you want.

   R/

   On Thu, Nov 27, 2008 at 4:32 AM, ena [EMAIL PROTECTED] wrote:

I try to draw SpecialCharacters in Edittext..
i want draw '(c)' character
i am used

Java:

 KeyCharacterMap keyCharacterMap = KeyCharacterMap
   .load(KeyCharacterMap.BUILT_IN_KEYBOARD);
keyEvents = keyCharacterMap.getEvents(new char[]
{ '(c)'  });
 dispatchKeyEvents(Main.edittext, keyEvents);

but it's show error..could u plz tel me..how to draw it???- 隐藏被引用文字 -

   - 显示引用的文字 -- 隐藏被引用文字 -

  - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SpecialCharacters

2008-11-27 Thread ena

is it not use with keyCharacterMap??

On Nov 28, 10:41 am, Ernest [EMAIL PROTECTED] wrote:
 It works well if define it in string.xml like string name=XXX
 \u1E00/string

 On 11月28日, 下午1时21分, Ernest [EMAIL PROTECTED] wrote:

  But setText(\u1234) is not work well ,It shows on Screen like ' Ⴄ'.

  On 11月28日, 上午7时34分, Ralf [EMAIL PROTECTED] wrote:

   Just use myedittext.setText((c)); or setText(\u1234) where 1234 is
   theunicodecharacter you want.

   R/

   On Thu, Nov 27, 2008 at 4:32 AM, ena [EMAIL PROTECTED] wrote:

I try to draw SpecialCharacters in Edittext..
i want draw '(c)' character
i am used

Java:

 KeyCharacterMap keyCharacterMap = KeyCharacterMap
   .load(KeyCharacterMap.BUILT_IN_KEYBOARD);
keyEvents = keyCharacterMap.getEvents(new char[]
{ '(c)'  });
 dispatchKeyEvents(Main.edittext, keyEvents);

but it's show error..could u plz tel me..how to draw it???- 隐藏被引用文字 -

   - 显示引用的文字 -- 隐藏被引用文字 -

  - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SpecialCharacters

2008-11-27 Thread ena

 can it be done using keyCharacterMap Class?

On Nov 28, 10:41 am, Ernest [EMAIL PROTECTED] wrote:
 It works well if define it in string.xml like string name=XXX
 \u1E00/string

 On 11月28日, 下午1时21分, Ernest [EMAIL PROTECTED] wrote:

  But setText(\u1234) is not work well ,It shows on Screen like ' Ⴄ'.

  On 11月28日, 上午7时34分, Ralf [EMAIL PROTECTED] wrote:

   Just use myedittext.setText((c)); or setText(\u1234) where 1234 is
   theunicodecharacter you want.

   R/

   On Thu, Nov 27, 2008 at 4:32 AM, ena [EMAIL PROTECTED] wrote:

I try to draw SpecialCharacters in Edittext..
i want draw '(c)' character
i am used

Java:

 KeyCharacterMap keyCharacterMap = KeyCharacterMap
   .load(KeyCharacterMap.BUILT_IN_KEYBOARD);
keyEvents = keyCharacterMap.getEvents(new char[]
{ '(c)'  });
 dispatchKeyEvents(Main.edittext, keyEvents);

but it's show error..could u plz tel me..how to draw it???- 隐藏被引用文字 -

   - 显示引用的文字 -- 隐藏被引用文字 -

  - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---