[android-developers] What does AndroidRuntime onExit calling exit(-5) means?

2010-07-12 Thread Wang He
What does AndroidRuntime onExit calling exit(-5) means? -- current my phone work in low memory status, even adj 0 has been killed by android low memory killer. Also I noticed, AndroidRuntime is always exit and

[android-developers] Is phone low memory could lead to Browser SIGSEGV in libwebcore.so?

2010-05-23 Thread Wang He
I got many cases that browser has auto exited when user is use as normal. After check the logs, all code has SIGSEGVed inside libwebcore.so, it always hard to address the issue code as it is happened inside native C code. But on the other hand, I notice this kind of browser crash always happened

[android-developers] Re: How to handle phone low memory situation more efficiently?

2010-05-16 Thread Wang He
No one care about android performance or No one ever encounter performance issue? Could Google guys give me some ideas? On 5月14日, 下午12时28分, Wang He iptvph...@gmail.com wrote: By default, android use low memory killer to try to get out of phone low memory situation. But sometimes, the killer

[android-developers] How to handle phone low memory situation more efficiently?

2010-05-13 Thread Wang He
By default, android use low memory killer to try to get out of phone low memory situation. But sometimes, the killer killed process that should not killed. That happened as the killer cannot understand what is should not killed from application layer. For example: 1) a persistent process hosting

[android-developers] Is adb opened on android products?

2009-11-30 Thread Wang He
Dear all Is ADB opened on Android Products? any details from HTC series, Moto Droid/CLIQ, Sumsung, LG etc.? Also, from Google's perspective, what is your recommendation to phone manufacturers? Thanks! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How Tab Pages switch when User Flick left/right?

2009-11-05 Thread Wang He
Anybody knows .. On 11月2日, 下午7时05分, Wang He iptvph...@gmail.com wrote: When User flick left/right (at tab page area), Tab page will switch to next tab page. I want to disable this feature in my case. But I searched the source code of TabHost, TabWidget, ViewGroup, View I haven't

[android-developers] How Tab Pages switch when User Flick left/right?

2009-11-02 Thread Wang He
When User flick left/right (at tab page area), Tab page will switch to next tab page. I want to disable this feature in my case. But I searched the source code of TabHost, TabWidget, ViewGroup, View I haven't figured out which part of code respond this feature... Could anyone help me? Thanks

[android-developers] Could I read call_log by Intent?

2009-07-28 Thread Wang He
Dear all Here in my activity I set a call_log Uri as: uri = Uri.parse(content://call_log/calls/4); I wrote code as: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(uri, getContentResolver().getType (uri));

[android-developers] Re: Could I read call_log by Intent?

2009-07-28 Thread Wang He
:23.549: INFO/ActivityManager(498): Starting activity: Intent { action=com.android.phone.action.RECENT_CALLS_DETAIL_VIEW comp= {com.android.phone/com.android.phone.RecentCallsDetailViewActivity} (has extras) } On 7月28日, 下午5时42分, Wang He iptvph...@gmail.com wrote: Dear all Here in my activity I set

[android-developers] Re: Could I read call_log by Intent?

2009-07-28 Thread Wang He
Up! On 7月28日, 下午6时00分, Wang He iptvph...@gmail.com wrote: Ps. 1. content://call_log/calls starts 07-28 17:58:35.930: INFO/ActivityManager(498): Starting activity: Intent { action=android.intent.action.MAIN flags=0x1020 comp= {com.android.phone/com.android.phone.DialtactsActivity} } 2

[android-developers] How could I run a Uri based Intent in a Tab Page?

2009-06-30 Thread Wang He
Dear all I added following code inside ApiDemos' Tabs3.java -- Intent i=new Intent(Intent.ACTION_PICK, Uri.parse(content://contacts/people)); tabHost.addTab(tabHost.newTabSpec(tab4) .setIndicator(contact

[android-developers] Re: What is the correct way to refresh UI when I use android:configChanges=keyboardHidden|orientation

2009-04-27 Thread Wang He
what to do, because it depends entirely on what you need to have change (and you haven't said anything here about what you actually need to change). On Sun, Apr 26, 2009 at 7:56 PM, Wang He iptvph...@gmail.com wrote: Is here anybody knows the right way? Still waiting ... BRs He

[android-developers] Re: What is the correct way to refresh UI when I use android:configChanges=keyboardHidden|orientation

2009-04-26 Thread Wang He
Is here anybody knows the right way? Still waiting ... BRs He On Apr 24, 4:53 pm, Wang He iptvph...@gmail.com wrote: Hi all when I use android:configChanges=keyboardHidden|orientation in my code, the activity will not destroy and recreate when I change from portrait to landscape, only

[android-developers] What is the correct way to refresh UI when I use android:configChanges=keyboardHidden|orientation

2009-04-24 Thread Wang He
is the correct way in onConfigurationChanged() to refresh my UI? BTW, my UI is write with mylayout.xml and added to my Widget by addView (inflator(mylayout.xml),null). Thanks in advance!! BRs Wang He --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Do I using GregorianCalendar in the right way?

2009-03-06 Thread Wang He
0. I setup my Android emulator time zone to: Australia/Adelaide GMT +10:30 1. My code snippet: mtz = new SimpleTimeZone(8 * 60 * 60 * 1000, Asia/Shanghai); GregorianCalendar gc1 = new GregorianCalendar(); //using default, that is Adelaide GregorianCalendar gc2 = new

[android-developers] Re: How could I know the detailed capability of one content provider?

2009-02-19 Thread Wang He
at the source code and private API to see what it can do. On Wed, Feb 18, 2009 at 7:00 PM, Wang He iptvph...@gmail.com wrote: More specific, I wan to figure out all the Calendar Provider's capabilty I could use. BRs He -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] How could I know the detailed capability of one content provider?

2009-02-18 Thread Wang He
More specific, I wan to figure out all the Calendar Provider's capabilty I could use. BRs He --~--~-~--~~~---~--~~ 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] How translucent works?

2008-12-26 Thread Wang He
I want my activity works with translucent effect. I did as android sdk Apidemo - TranslucentBLurActivity did in my code. But it doesn't work. For my code, what difference with the Apidemo is, my layout is more complex than a simple TextView in Apidemo. So, could I think as: Android's

[android-developers] onSaveInstanceState() onConfigurationChanged()

2008-12-26 Thread Wang He
When to use onSaveInstanceState() When to use onConfigurationChanged () ? Thanks~~ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to