[android-developers] Re: How to create a panel like MediaController

2010-05-21 Thread Ke Wu
I solved this problem by using FrameLayout. The control panel I created is not a window, but a view, a part of the main activity, and I used Animation to show/hide this 'panel' so it would be looked like a real panel. Fortunately this view could match all my requirement. 2010/5/20 KerlW

Re: [android-developers] Re: How to pack a config file into my apk package

2010-05-03 Thread Ke Wu
into your requirements ? Good Luck ! Frank On 21 Apr., 12:21, Ke Wu kerl@gmail.com wrote: Hi all As you know, an app often has some configurations, I need to save these configurations into a file, and in my app I could change these configurations. In other words, I need

[android-developers] How to pack a config file into my apk package

2010-04-21 Thread Ke Wu
Hi all As you know, an app often has some configurations, I need to save these configurations into a file, and in my app I could change these configurations. In other words, I need a file to take all my config data, and in my app, I could read/write this file as I want. I've searched

Re: [android-developers] Re: Pass ArrayList parameters between two activities.

2010-04-20 Thread Ke Wu
treking...@gmail.com wrote: On Mon, Apr 19, 2010 at 1:24 AM, Ke Wu kerl@gmail.com wrote: I dont know what the Intent exactly do when I use putExtra to pass in an ArrayListMyClass object. Did you read the documentation on Intents? Specifically this: http

[android-developers] Pass ArrayList parameters between two activities.

2010-04-19 Thread Ke Wu
Hi all, Today I met a problem, I need to pass a ArrayListMyClass from an activity to another. I dont know what the Intent exactly do when I use putExtra to pass in an ArrayListMyClass object. I guess MyClass need to implement Parcelable interface, so I just did it. But still, it does

[android-developers] Pass ArrayList parameters between two activities.

2010-04-19 Thread Ke Wu
-- Forwarded message -- From: Ke Wu kerl@gmail.com Date: 2010/4/19 Subject: Pass ArrayList parameters between two activities. To: android-developers@googlegroups.com Hi all, Today I met a problem, I need to pass a ArrayListMyClass from an activity to another. I dont know

Re: [android-developers] Re: Socket + SurfaceView + multiplayer game problem. Need Help

2010-04-19 Thread Ke Wu
I am new to android, I wish you could solve your problem, and may I have your project as a sample to learn? 2010/4/18 croco zeug...@gmail.com FYI, I've raised to 18 FPS by using LinkedBlockingQueue instead of 8FPS with while design in Socket writer. But we are far from 60FPS per second.

Re: [android-developers] Re: Pass ArrayList parameters between two activities.

2010-04-19 Thread Ke Wu
Thanks and Regards, Kumar Bibek On Apr 19, 11:46 am, Ke Wu kerl@gmail.com wrote: -- Forwarded message -- From: Ke Wu kerl@gmail.com Date: 2010/4/19 Subject: Pass ArrayList parameters between two activities. To: android-developers@googlegroups.com Hi all

Re: [android-developers] Pass ArrayList parameters between two activities.

2010-04-19 Thread Ke Wu
Thanks for your help. I have implemented my new class and done the pass from one activity to another. And you just point out a problem that I have not thought about before life cycle, thanks for your suggestion. 2010/4/20 ~ TreKing treking...@gmail.com On Mon, Apr 19, 2010 at 1:24 AM, Ke

[android-developers] Re: A problem about -rpath-link

2010-04-15 Thread Ke Wu
Hi all, I got a new clue, in the rpath-link option, could be several paths, and use colon to separate these paths. So, if I want to use windows driver path, I must find out a way to transfer colon, But HOW COULD I ?? Any suggestion would be greatly appreciated! Thanks in advance GOD SAVE