[android-developers] Problem in WebView and Youtube link

2013-04-29 Thread George Yin
Hi All , 
I got a problem in this few months 
before I have a app . layout with WebView, 
and there have some Youtube Videos links there,
Before is pop-up and select using which to open (Browser , Youtube app )
But now , the page directly go to *m.youtube*
I sure there is no default set , and I also clear all default setting 
Is it some changes on Youtube 

Thanks 
 

-- 
-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How can I change the Font of a particular world in a string stored in a database file sql.xml

2011-04-13 Thread San yin
Hello,

I 'm on Eclipse Android Project Java

I m developing a Quiz Apps  and I need to   highlight in bold and
Red   a particular world
in a string stored in Database file SQL.XLM

Fore example:

 I would like to highlight the   is in this string ( the House 
is  red ) stored in a Databse file SQL.XML

sql File SQL.XML

sql
statement
CREATE TABLE IF NOT EXISTS quiz_tips  (_id INTEGER PRIMARY KEY
AUTOINCREMENT, tips_1 VARCHAR(50),)

statementINSERT INTO quiz_tips VALUES(14,' the House is red ')/
statement
/sql

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-04 Thread Yin
Received in Hong Kong, Thanks Gooogle :D

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Is any way to add new file forat for opencore?

2010-04-27 Thread chuanyan yin
I want to add new file format support for android. I need I want to
add file parser and recognizer to opencore., but I don't know how? Any
body has info about this? Does I need a liscense from PV?

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-02 Thread Yin
Thanks for the infomation

On 4月3日, 上午6时42分, David Horn pga...@gmail.com wrote:
 Reply from Google:

 All of the phones have been shipped already. Please be patient; if
 your
 phone has not arrived yet, it is probably in transit and will arrive
 shortly. I am sorry, but we cannot provide individual tracking numbers
 for
 each phone.

 On Apr 2, 11:16 pm, Siva G sivarama...@gmail.com wrote:



  But mine has all or mostly zeroes and does not look like a valid
  number. Activation does not like it. Any help pls?

  On Apr 2, 5:57 pm, havexz bali.param...@gmail.com wrote:

   Just go to Settings  About phone  Status. There you will find My
   phone number

   On Apr 2, 4:50 pm, Siva G sivarama...@gmail.com wrote:

Hi,

How did you know your phone number to activate your phone? Appreciate
your response.

Thanks.

On Apr 1, 11:17 am, Wicked96SS 45gl...@gmail.com wrote:

 On Mar 31, 8:28 am, Justin Giles jtgi...@gmail.com wrote:

  On Tue, Mar 30, 2010 at 11:48 PM, Jason arm...@gmail.com wrote:
   I received a Droid and I did not see the Read Me First leaflet 
   that
   was referenced in the Getting Started on Droid - Activation 
   section of
   the letter. Anyone else who got a Droid know what it looks like, 
   where
   it was packed or what it said?

  I too received a Droid and I didn't get a Read Me First leaflet.  
  Not sure
  what channel to go through to activate this thing so I can get the 
  2.1
  update coming any day now.

 I got mine yesterday, and did not get the leaflet either.  I just
 dialed *228 and did what it told me, and my droid is now activated.

 give that a try!- 隐藏被引用文字 -

 - 显示引用的文字 -

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread Yin
HK, and waiting too.

On 3月29日, 下午2时58分, Lucky-dog honglian...@gmail.com wrote:
 Did anyone receive his Nexus One outside of North America? I am still
 waiting in Hong Kong and Fedex Customer center said no package was
 delivered for me by now.

 On 3月29日, 下午2时44分, Darshan darshan.ish...@gmail.com wrote:



  Maps and Jason:

  I asked about this a few days ago, and a few people have confirmed
  that they have received their Droids via FedEx from Brightpoint, just
  like the Nexus Ones.  (The address Greg said his came from is about 2
  blocks from the address listed on Brightpoint's website.  I'm sure
  it's one of their warehouses.  niko20 explicitly confirmed these
  details as well.)

  Greg, Tao, and niko20:

  Thanks for the info.

  Darshan

  On Mar 27, 1:19 pm, Jason arm...@gmail.com wrote:

   Was the shipper for the DROID someone other than brightpoint?

   On Mar 27, 12:23 pm, niko20 nikolatesl...@yahoo.com wrote:

Damnit, got a DROID today in Madison WIum I already have a DROID.
I doubt anyone is ever gonna wanna trade a Nexus one for this..lol

-

On Mar 27, 11:21 am, Greg Donald gdon...@gmail.com wrote:

 Droid, Nashville TN.

 --
 Greg Donald
 destiney.com | gregdonald.com- 隐藏被引用文字 -

 - 显示引用的文字 -

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-03 Thread Yin
guys, try 2 check this:
http://sites.google.com/site/developermarketandroidgiveaway/faq

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how to build adb.exe for windows.

2009-08-29 Thread Kyo Yin

CATC USB Chief Bus  Protocol Analyzer.
With this equipment, i catch the 0 length packet when the host is ubuntu.


2009/8/29 Tejas tejas.path...@gmail.com:

 Not sure. What usb analyzer are you using ?

 On Aug 27, 11:37 pm, Kyo Yin kyo@gmail.com wrote:
 old framework of adb in target === means i don`t use the composite
 driver in target if the host is ubuntu.you know, before composite
 gadget driver, the adb is a single gadget driver(kernel 2.6.25).
 kernel 2.6.29 add a composite gadget driver, mass storage and adb are
 the functions of this composite gadget driver.

  Are you saying that the usb transfer seen when using windows is same
 as linux, except the 0 length packet ?=== yse, in ubuntu, host will
 send 0 length packet after a packet which size is 4096 or the multiple
 of 64 and our usb protocol analyzer can catch this 0 length packet. In
 windows, our analyzer cannot catch this 0 length packet. But i have
 checked the usb_windows.c, it will send a 0 length packet.So i guess
 the usb driver in windows block this 0 length packet?

 2009/8/28 Tejas tejas.path...@gmail.com





  I am assuming you meant 4096 bytes.. What do you mean by.. BTW, For
  linux host, i use old framework of adb in target ? Are you saying
  that the usb transfer seen when using windows is same as linux, except
  the 0 length packet ?

  On Aug 27, 12:21 am, Kyo Yin kyo@gmail.com wrote:
   thank you for help.i have built the adb.exe

   and i have a question:
   In my opinion, adb will send a 0 length packet after a packet if thie 
   packet
   length is multiple of the max length of endpoint.
   For example, our endpoint is 64 bytes. So after every 4096 packets, 
   adb.exe
   should send a 0 length packet.

   I found the adb.exe has already try to send a 0 length packet.but
   1.in linux host, our usb analyzer can catch the 0 length packet.
   2.in windows host, our usb analyzer can not catch this 0 length packet.

   Did the widows driver block this 0 length packet?

   BTW, For linux host, i use old framework of adb in target, The composite
   driver can not run in ubuntu 8.04.
   For windows host, i use composite driver which has mass storage and adb 
   in
   target.

   2009/8/19 Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com

For being able to compile an exe file on Ubuntu you would have to
cross compile on Ubuntu which means you have to have a Windows cross
compiler on it. Do you?

If not then install Cygwin on your windows environment and try it
again. Make sure that you read the related topics about Android/Cygwin
compilation to be aware of any possible provlems.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Aug 18, 9:38 pm, Kyo Yin kyo@gmail.com wrote:
 hi roman    1.How do you try to compile?
     i just use make HOST_OS=windows in ubuntu.
     2.Are you doing this on Cygwin?
     no.i use ubuntu.

     do you mean i should use cygwin to build adb.exe for windows?

 kyo
 3273

 2009/8/19 Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com

  How do you try to compile? Are you doing this on Cygwin?

  --
  Roman Baumgaertner
  Sr. SW Engineer-OSDC
  ·T· · ·Mobile· stick together
  The views, opinions and statements in this email are those of the
  author solely in their individual capacity, and do not necessarily
  represent those of T-Mobile USA, Inc.

  On Aug 18, 5:41 am, Kyo kyo@gmail.com wrote:
   hi,everyone.
       i want to modify the usb_windows.c in /system/core/adb and
   recompile a new adb.exe to test our platform.
       but, when i use make HOST_OS=windows, it failed.
       i use ubuntu 8.04 and i can build with make HOST_OS=linux.
       does anyone know how to build my adb.exe?

       thanks

   kyo
 


--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to build adb.exe for windows.

2009-08-28 Thread Kyo Yin

old framework of adb in target === means i don`t use the composite
driver in target if the host is ubuntu.you know, before composite
gadget driver, the adb is a single gadget driver(kernel 2.6.25).
kernel 2.6.29 add a composite gadget driver, mass storage and adb are
the functions of this composite gadget driver.

 Are you saying that the usb transfer seen when using windows is same
as linux, except the 0 length packet ?=== yse, in ubuntu, host will
send 0 length packet after a packet which size is 4096 or the multiple
of 64 and our usb protocol analyzer can catch this 0 length packet. In
windows, our analyzer cannot catch this 0 length packet. But i have
checked the usb_windows.c, it will send a 0 length packet.So i guess
the usb driver in windows block this 0 length packet?

2009/8/28 Tejas tejas.path...@gmail.com

 I am assuming you meant 4096 bytes.. What do you mean by.. BTW, For
 linux host, i use old framework of adb in target ? Are you saying
 that the usb transfer seen when using windows is same as linux, except
 the 0 length packet ?

 On Aug 27, 12:21 am, Kyo Yin kyo@gmail.com wrote:
  thank you for help.i have built the adb.exe
 
  and i have a question:
  In my opinion, adb will send a 0 length packet after a packet if thie packet
  length is multiple of the max length of endpoint.
  For example, our endpoint is 64 bytes. So after every 4096 packets, adb.exe
  should send a 0 length packet.
 
  I found the adb.exe has already try to send a 0 length packet.but
  1.in linux host, our usb analyzer can catch the 0 length packet.
  2.in windows host, our usb analyzer can not catch this 0 length packet.
 
  Did the widows driver block this 0 length packet?
 
  BTW, For linux host, i use old framework of adb in target, The composite
  driver can not run in ubuntu 8.04.
  For windows host, i use composite driver which has mass storage and adb in
  target.
 
  2009/8/19 Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com
 
 
 
 
 
   For being able to compile an exe file on Ubuntu you would have to
   cross compile on Ubuntu which means you have to have a Windows cross
   compiler on it. Do you?
 
   If not then install Cygwin on your windows environment and try it
   again. Make sure that you read the related topics about Android/Cygwin
   compilation to be aware of any possible provlems.
 
   --
   Roman Baumgaertner
   Sr. SW Engineer-OSDC
   ·T· · ·Mobile· stick together
   The views, opinions and statements in this email are those of the
   author solely in their individual capacity, and do not necessarily
   represent those of T-Mobile USA, Inc.
 
   On Aug 18, 9:38 pm, Kyo Yin kyo@gmail.com wrote:
hi roman    1.How do you try to compile?
    i just use make HOST_OS=windows in ubuntu.
    2.Are you doing this on Cygwin?
    no.i use ubuntu.
 
    do you mean i should use cygwin to build adb.exe for windows?
 
kyo
3273
 
2009/8/19 Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com
 
 How do you try to compile? Are you doing this on Cygwin?
 
 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.
 
 On Aug 18, 5:41 am, Kyo kyo@gmail.com wrote:
  hi,everyone.
      i want to modify the usb_windows.c in /system/core/adb and
  recompile a new adb.exe to test our platform.
      but, when i use make HOST_OS=windows, it failed.
      i use ubuntu 8.04 and i can build with make HOST_OS=linux.
      does anyone know how to build my adb.exe?
 
      thanks
 
  kyo
 

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to build adb.exe for windows.

2009-08-27 Thread Kyo Yin
thank you for help.i have built the adb.exe

and i have a question:
In my opinion, adb will send a 0 length packet after a packet if thie packet
length is multiple of the max length of endpoint.
For example, our endpoint is 64 bytes. So after every 4096 packets, adb.exe
should send a 0 length packet.

I found the adb.exe has already try to send a 0 length packet.but
1.in linux host, our usb analyzer can catch the 0 length packet.
2.in windows host, our usb analyzer can not catch this 0 length packet.

Did the widows driver block this 0 length packet?

BTW, For linux host, i use old framework of adb in target, The composite
driver can not run in ubuntu 8.04.
For windows host, i use composite driver which has mass storage and adb in
target.



2009/8/19 Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com


 For being able to compile an exe file on Ubuntu you would have to
 cross compile on Ubuntu which means you have to have a Windows cross
 compiler on it. Do you?

 If not then install Cygwin on your windows environment and try it
 again. Make sure that you read the related topics about Android/Cygwin
 compilation to be aware of any possible provlems.

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Aug 18, 9:38 pm, Kyo Yin kyo@gmail.com wrote:
  hi roman1.How do you try to compile?
  i just use make HOST_OS=windows in ubuntu.
  2.Are you doing this on Cygwin?
  no.i use ubuntu.
 
  do you mean i should use cygwin to build adb.exe for windows?
 
  kyo
  3273
 
  2009/8/19 Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com
  
 
 
   How do you try to compile? Are you doing this on Cygwin?
 
   --
   Roman Baumgaertner
   Sr. SW Engineer-OSDC
   ·T· · ·Mobile· stick together
   The views, opinions and statements in this email are those of the
   author solely in their individual capacity, and do not necessarily
   represent those of T-Mobile USA, Inc.
 
   On Aug 18, 5:41 am, Kyo kyo@gmail.com wrote:
hi,everyone.
i want to modify the usb_windows.c in /system/core/adb and
recompile a new adb.exe to test our platform.
but, when i use make HOST_OS=windows, it failed.
i use ubuntu 8.04 and i can build with make HOST_OS=linux.
does anyone know how to build my adb.exe?
 
thanks
 
kyo
 
 
 


--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to build adb.exe for windows.

2009-08-18 Thread Kyo Yin
hi roman1.How do you try to compile?
i just use make HOST_OS=windows in ubuntu.
2.Are you doing this on Cygwin?
no.i use ubuntu.

do you mean i should use cygwin to build adb.exe for windows?


kyo
3273


2009/8/19 Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com


 How do you try to compile? Are you doing this on Cygwin?

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Aug 18, 5:41 am, Kyo kyo@gmail.com wrote:
  hi,everyone.
  i want to modify the usb_windows.c in /system/core/adb and
  recompile a new adb.exe to test our platform.
  but, when i use make HOST_OS=windows, it failed.
  i use ubuntu 8.04 and i can build with make HOST_OS=linux.
  does anyone know how to build my adb.exe?
 
  thanks
 
  kyo
 


--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] regarding the floating point on G1 Google phone

2009-05-18 Thread Yin

Hi all,

I have been searching about the floating point support on G1 phone
(aka the HTC Dream phone) for a few hours.

So far, my conclusion is that the ARM-based Qualcomm MSM7201 CPU does
not have VFP (floating point coprocessor) and therefore floating point
calculations have to be done via software-float.

This is quite disappointing as I am interested in developing
applications with heavy math.

However, I also notice that the Qualcomm  CPU has QDSP4000™ and
QDSP5000™ high-performance digital signal processors (DSP), according
to http://www.qctconnect.com/products/msm_7201.html

Therefore, here is my question: would it be possible to leverage the
DSP modules in the MSM7201 CPU to do the floating point math?

Also, I would like to develop the heavy-math modules in C/C++ and call
it via JNI, and so I just want to double-check whether this is a
feasible approach.

Thanks!

-
Yin

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] floating point support on G1 phone

2009-05-18 Thread Yin

Hi all,

I have been searching about the floating point support on G1 phone
(aka the HTC Dream phone) for a few hours.

So far, my conclusion is that the ARM-based Qualcomm MSM7201 CPU does
not have VFP (floating point coprocessor) and therefore floating point
calculations have to be done via software-float.

This is quite disappointing as I am interested in developing
applications with heavy math.

However, I also notice that the Qualcomm  CPU has QDSP4000™ and
QDSP5000™ high-performance digital signal processors (DSP), according
to http://www.qctconnect.com/products/msm_7201.html

Therefore, here is my question: would it be possible to leverage the
DSP modules in the MSM7201 CPU to do the floating point math?

Also, I would like to develop the heavy-math modules in C/C++ and call
it via JNI, and so I just want to double-check whether this is a
feasible approach.

Thanks!

-
Yin

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: floating point support on G1 phone

2009-05-18 Thread Yin Chen
Thank you Dianne.

My second question would be: so far, are there any android based cell 
phones that do have a floating point processor?

Thanks!

-
Yin


Dianne Hackborn wrote:
 The G1 has no floating point hardware you can use.

 On Sun, May 17, 2009 at 5:03 PM, Yin yinchen1...@gmail.com wrote:

   
 Hi all,

 I have been searching about the floating point support on G1 phone
 (aka the HTC Dream phone) for a few hours.

 So far, my conclusion is that the ARM-based Qualcomm MSM7201 CPU does
 not have VFP (floating point coprocessor) and therefore floating point
 calculations have to be done via software-float.

 This is quite disappointing as I am interested in developing
 applications with heavy math.

 However, I also notice that the Qualcomm  CPU has QDSP4000™ and
 QDSP5000™ high-performance digital signal processors (DSP), according
 to http://www.qctconnect.com/products/msm_7201.html

 Therefore, here is my question: would it be possible to leverage the
 DSP modules in the MSM7201 CPU to do the floating point math?

 Also, I would like to develop the heavy-math modules in C/C++ and call
 it via JNI, and so I just want to double-check whether this is a
 feasible approach.

 Thanks!

 -
 Yin

 


   

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Problem about the new AlertDialog of sdk1.1_r1

2009-02-13 Thread Yin

Problem about the new AlertDialog of sdk1.1_r1

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Problem about the new AlertDialog of sdk1.1_r1

2009-02-13 Thread Yin

hey all, I found some of app's Dilaog with more than 2 lines title
can't show() correctly in the new sdk v1.1_r1.

for example : I 've a dialog' title:

Line1:aaa + \n +
Line2:bbb + \n +
Line3:ccc + \n +
Line4:ddd + \n +
Line5:eee

In the old sdk v1.0_r2 , it show prefert:

Line1:aaa
Line2:bbb
Line3:ccc
Line4:ddd
Line5:eee

and with a (I) icon on the left (means the default icon is INFO)


but in sdk v1.1_r1, it just show the TOP TWO LINES as:

Line1: aaa
Line2: bbb

and a (↓) icon on the left ( the default icon is MORE ???)

my code below:

=begin===
protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);

  // simple alert test, in test3 layout, only a button on the top
  setContentView(R.layout.test3);

  // click to show dialog
  View.OnClickListener l = new OnClickListener() {
  public void onClick(View v) {
  Builder b = new AlertDialog.Builder
(Test3.this);
  // set 5 lines in the dialog
  b.setTitle(Line1:aaa + \n + Line2:bbb +
\n
  + Line3:ccc + \n + Line4:ddd +
\n
  + Line5:eee);
  b.create().show();
  }
  };

  // button: hello
  findViewById(R.id.hello).setOnClickListener(l);
}
==end


and more: I notice sometime when the title is not too long, the Dialog
will ignore the \n and join the title text in one line, such as :
b.setTitle(Line1:aaa + \n + Line2:bbb);





So what's the point of the sdk v1.1_r1 about AlertDialog or did I miss
sth?
( I checked the doc about upgrading sdk1.1 and found nothing about 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Problem about the new AlertDialog of sdk1.1_r1

2009-02-13 Thread Yin

hey all, I found some of app's Dilaog with more than 2 lines title
can't show() correctly in the new sdk v1.1_r1.

for example : I 've a dialog' title:

Line1:aaa + \n +
Line2:bbb + \n +
Line3:ccc + \n +
Line4:ddd + \n +
Line5:eee

In the old sdk v1.0_r2 , it show prefert:

Line1:aaa
Line2:bbb
Line3:ccc
Line4:ddd
Line5:eee

and with a (I) icon on the left (means the default icon is INFO)


but in sdk v1.1_r1, it just show the TOP TWO LINES as:

Line1: aaa
Line2: bbb

and a (↓) icon on the left ( the default icon is MORE ???)

my code below:

=begin===
protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 // simple alert test, in test3 layout, only a button on the top
 setContentView(R.layout.test3);

 // click to show dialog
 View.OnClickListener l = new OnClickListener() {
 public void onClick(View v) {
 Builder b = new AlertDialog.Builder
(Test3.this);
 // set 5 lines in the dialog
 b.setTitle(Line1:aaa + \n + Line2:bbb +
\n
 + Line3:ccc + \n + Line4:ddd +
\n
 + Line5:eee);
 b.create().show();
 }
 };

 // button: hello
 findViewById(R.id.hello).setOnClickListener(l);
}
==end


and more: I notice sometime when the title is not too long, the Dialog
will ignore the \n and join the title text in one line, such as :
b.setTitle(Line1:aaa + \n + Line2:bbb);





So what's the point of the sdk v1.1_r1 about AlertDialog or did I miss
sth?
( I checked the doc about upgrading sdk1.1 and found nothing about 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] no more then 2 lines in the new AlertDialog of sdk1.1_r1 ??

2009-02-13 Thread Yin

hey all, I found some of app's Dilaog with more than 2 lines title
can't show() correctly in the new sdk v1.1_r1.

for example : I 've a dialog' title:

Line1:aaa + \n +
Line2:bbb + \n +
Line3:ccc + \n +
Line4:ddd + \n +
Line5:eee

In the old sdk v1.0_r2 , it show prefert:

Line1:aaa
Line2:bbb
Line3:ccc
Line4:ddd
Line5:eee

and with a (I) icon on the left (means the default icon is INFO)


but in sdk v1.1_r1, it just show the TOP TWO LINES as:

Line1: aaa
Line2: bbb

and a (↓) icon on the left ( the default icon is MORE ???)

my code below:

=begin===
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// simple alert test, in test3 layout, only a button on the top
setContentView(R.layout.test3);

// click to show dialog
View.OnClickListener l = new OnClickListener() {
public void onClick(View v) {
Builder b = new AlertDialog.Builder(Test3.this);
// set 5 lines in the dialog
b.setTitle(Line1:aaa + \n + Line2:bbb + \n
+ Line3:ccc + \n + Line4:ddd + \n
+ Line5:eee);
b.create().show();
}
};

// button: hello
findViewById(R.id.hello).setOnClickListener(l);
}
==end


and more: I notice sometime when the title is not too long, the Dialog
will ignore the \n and join the title text in one line, such as :
b.setTitle(Line1:aaa + \n + Line2:bbb);





So what's the point of the sdk v1.1_r1 about AlertDialog or did I miss
sth?
( I checked the doc about upgrading sdk1.1 and found nothing about 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] no more then 2 lines in the new AlertDialog of sdk1.1_r1 ??

2009-02-13 Thread Yin

hey all, I found some of app's Dilaog with more than 2 lines title
can't show() correctly in the new sdk v1.1_r1.

for example : I 've a dialog' title:

Line1:aaa + \n +
Line2:bbb + \n +
Line3:ccc + \n +
Line4:ddd + \n +
Line5:eee

In the old sdk v1.0_r2 , it show prefert:

Line1:aaa
Line2:bbb
Line3:ccc
Line4:ddd
Line5:eee

and with a (I) icon on the left (means the default icon is INFO)


but in sdk v1.1_r1, it just show the TOP TWO LINES as:

Line1: aaa
Line2: bbb

and a (↓) icon on the left ( the default icon is MORE ???)

my code below:

=begin===
protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);

   // simple alert test, in test3 layout, only a button on the top
   setContentView(R.layout.test3);

   // click to show dialog
   View.OnClickListener l = new OnClickListener() {
   public void onClick(View v) {
   Builder b = new AlertDialog.Builder
(Test3.this);
   // set 5 lines in the dialog
   b.setTitle(Line1:aaa + \n + Line2:bbb +
\n
   + Line3:ccc + \n + Line4:ddd +
\n
   + Line5:eee);
   b.create().show();
   }
   };

   // button: hello
   findViewById(R.id.hello).setOnClickListener(l);
}
==end


and more: I notice sometime when the title is not too long, the Dialog
will ignore the \n and join the title text in one line, such as :
b.setTitle(Line1:aaa + \n + Line2:bbb);





So what's the point of the sdk v1.1_r1 about AlertDialog or did I miss
sth?
( I checked the doc about upgrading sdk1.1 and found nothing about 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android SoftKeyboard Released(Both English and Chinese Input) !

2008-09-08 Thread Yin

It's really A GREAT JOB!

On Sep 6, 11:09 pm, PowerGUI [EMAIL PROTECTED] wrote:
 Dear Androiders,
       I am glad to release the Android SoftKeyboard,support both
 English and Chinese input use SoftKeyboard. If you have android
 dotphone development evaluation or other android hardware which
 supports touchscreen, it is also for you.   :D
       here is the steps:
      1)please download the TestSoftKeyboard.tgz and SoftKey.apk
      2)adb install SoftKey.apk
      3)extract the TestSoftKeyboard.tgz,you can compile it.then
 generate
 TestSoftKeyboard.apk (or TestSoftKeyboad-debug.apk)
      4)adb install TestSoftKeyboard.apk (a compiled
 TestSoftkeyboard.apk is ready,please checkt it)
      5)when the window of TestSoftKeyboard.apk appears,then click the
 edittext area(need click two times,bugs in android?), popup the
 SoftKeyboard windows,input anythings as you like.
      6)click ok or cancel to return your window
      7)TestSoftKeyboard is just a samples,you can use the same rule to
 make your program to support input method.

       the screenshot ,related program and TestSoftKeyboard Source code
 is avaiable at:
       1)http://www.dotphone.org/english
       2)http://groups.google.com/group/android-dotphone

 Any feedbacks is appreciate.

 Best Regards
 Android DotPhone Teamhttp://www.dotphone.org/english/

--~--~-~--~~~---~--~~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---