[android-beginners] WebView load local file

2009-06-08 Thread chaozh
Hi: I tried use webview loadUrl load local file, the file name includes Chinese character. For example: file:///sdcard/简介.htm, but load failed, webview said that the file can not be found. it showed http address is:file:///sdcard/%80%CB.htm. I don't know why, I tried it on browser, the same issue

[android-beginners] Re: How to use OrientationEventListener

2009-06-02 Thread chaozh
Hi Mark: I've read that five posts about Rotational Forces. I choose the onRetainNonConfigurationInstance method to keep my current state and restore them in onCreate or onStart with getLastNonConfigurationInstance function. But there is a bug in emulator I think. Only when the screen change from

[android-beginners] How to use OrientationEventListener

2009-06-02 Thread chaozh
Hi: I want to use this listener to catch the screen orientation change. But I don't know how to use it, I tried new it and add my codes in its method onOrientationChanged, the codes looks like: myOrientationListener = new OrientationEventListener(this) { public void onOrientationC

[android-beginners] Can I launch context menu with single click!

2009-05-16 Thread chaozh
I want to launch context menu with single click. But the default is long click, Is there another way to do? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this gro