[android-developers] Re: How can LinearLayout know child's focusable?

2009-07-02 Thread jusun...@gmail.com
revive! Is there nobody to know a solution of this question? --~--~-~--~~~---~--~~ 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

[android-developers] How can LinearLayout know child's focusable?

2009-06-26 Thread jusun...@gmail.com
Hi. Expert! I have a LinearLayout that have 4 buttons children. so I like to know whether my button is focusable or not when I press a arrow key. and I like to know whether my button is clicked or not when I click a child button. LinearLayout.onFocusChanged function is not called when child has

[android-developers] Re: GLSurfaceView remove problem

2009-06-09 Thread jusun...@gmail.com
I reply a question myself.. It is impossible to remove a GLSurfaceView addviewed in LinearLayout. the answer reside in GLSurfaceView reference. a below document is captured in GLSurfaceView reference. Activity Life-cycle A GLSurfaceView must be notified when the activity is paused and resumed.

[android-developers] Re: GLSurfaceView remove problem

2009-06-07 Thread jusun...@gmail.com
I am waiting a my question response. Nobody know this problem? please help me!!! ㅠㅜ;; --~--~-~--~~~---~--~~ 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] Re: A SurfaceView and 2 Buttons on a Layout cannot be displayed?

2009-06-06 Thread jusun...@gmail.com
you didn't use layout_weight. you shoud use LayoutParams LinearLayout.LayoutParams (layout_width, layout_height, layout_weight) If you didn't use a LayoutParams, GLSurfaceView is only displayed on full screen. sample code is below. LinearLayout mLayout = new LinearLayout (this);

[android-developers] GLSurfaceView remove problem

2009-06-05 Thread jusun...@gmail.com
I have made a Open GL program using TriangleRenderer in ApiDemos. I made a button and I want to turn off GLSurfaceView when I click a button. So firstly I addView GLSurfaceView in LinearLayout, and I removeView GLSurfaceView when I click a button. But when I removeView a GLSurfaceView, emulator

[android-developers] Re: access parent's protected variable when extend a android class!

2009-03-11 Thread jusun...@gmail.com
thanks Jon Colverson. I can see also that mInLayout isn't actually protected, it has default. then. but when I build, build log tell me that I cannot access mInLayout from outside package /home/bobos26/work/devel/omap_test/packages/apps/Launcher/src/com/ android/launcher/WRGallery.java:27:

[android-developers] access parent's protected variable when override a android class

2009-03-10 Thread jusun...@gmail.com
I liked to override a Gallery widget class, so I tried to override and I faced the problem of using protected variable. this is a Gallery source @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { super.onLayout(changed, l, t, r, b); /*

[android-developers] access parent's protected variable when extend a android class!

2009-03-10 Thread jusun...@gmail.com
I liked to extend a Gallery widget class, so I tried to extend and I faced the problem of using protected variable. this is a Gallery source @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { super.onLayout(changed, l, t, r, b); /* *

[android-developers] Re: Intent and URI conversion problem (intent.toURI, Uri.parse)

2009-02-17 Thread jusun...@gmail.com
I reply this thread myself. # From Intent to URI string - this is OK! Intent intent1 = new Intent (); String uriString = intent1.toURI (); We should call a intent.toURI() function for making Intent to String (URI). This is OK! But You should not call intent.setData () for converting String(URI)