[android-developers] the application looks like be forced change the configration after landscape application be called

2011-07-15 Thread cht
when the application running request portrait mode, then start camera
or mediaplayer who's screen orientation is landscape mode. when return
back to my application, the onSizeChanged method of the application
layout view will be called. be the onConfigrationChanged method of the
activity is not called. this will cause some problem. like webview
based app on HTC desire HD, when click a stream media url on webview,
then onpen the system player, when return back, the webview will not
work, any link will not opened.

any one know this problem? how to resolve it?

thank you.

-- 
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] how to prevent the app be killed by “unmount media”(change to usb storage mode)

2011-04-10 Thread cht
the app is downloading, and write the file to sdcard. then change the
phone to usb storage mode, the app will be killed by system. because
the app is using the sdcard. how to prevent this? or if there is some
notification before killing ?

-- 
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


Re: [android-developers] Re: IllegalArgumentException: parameter must be a descendant of this view related issue

2010-09-14 Thread cht
I face this problem too.
Today i compare the ViewRoot.java source code of 2.1 and 2.2 , and
then i look at the modify history of ViewRoot.java . I think they have
fix it.

The commit id: 2010-03-23 Dianne Hackborn   Fix issue #2538211: system
server crash

Who can validate whehter it is ok or not? Because i do not know how to
validate it, as my bug is accidnetal.

-- 
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-03-29 Thread CHT
Me too, still waiting in HK .

-- 
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] how to simulate low memory condition on the device or emulator.

2010-01-05 Thread cht
for the developer, we must to deal with the low memory exception.
when other applications run forground, sometimes our application will
be killed for low memory reason .

so we have to test our application's performance under this condition.
but it is not easy to case a low memory condition. is there a good way
to  set up condition?

thank you!

-- 
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] how to export *.gles 3d model file

2009-03-23 Thread cht

opengl Object3D class can load *.gles format 3d modles, i want to know
how can i export a *.gles format 3d modle.

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
-~--~~~~--~~--~--~---



[android-developers] how to export the sound from mike to earpiece directly

2009-03-11 Thread cht

i want to design an application use to test the mike and the earpiece
at the same time.
i want to export the sound from mike to the earpiece directly, then i
can hear the voice from the earpiece at once i speak to the mike.

please give me some directories, how can i implements that.

thank you.
--~--~-~--~~~---~--~~
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 test the earpiece

2009-03-10 Thread cht

yes that works, thank you
but i have another question.

can i implements that the earpiece output what the mike receives.
that is i can here the voice what i said to the mike through the
earpiece.
this way i can test the mike and earpiece at the same time.

can you give me some directions?

thanks
cht

--~--~-~--~~~---~--~~
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] How to test the earpiece

2009-03-09 Thread cht

for the OEM, on the product line,we need to test the earpiece whether
it works well.
so I want to write a application which will play sounds through the
earpiece.
i want to know how can i play a sound through the earpiece?
or if there is a better way to test the earpiece?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---