Hi,
I have an activity that shows an AlertDialog. The AlertDialog
contains a EditText. So when the soft keyboard is shown for the
EditText in the dialog. The background activity content view don't
have to be resized or paned. I wonder how to implement this behavior?
Because I found, the
Hi,
I am using Android SDK 1.5. I am developing an activity with multiple
content views. It will call setContentView() with different viewgroup
instance for different functionality. It contains a text input dialog
popped up by an option menu item. I didn't specify anything for IME in
mainfest.xml
Hi,
I am developing an application that allow users to input a file name
in Sava As dialog. I wonder what kind of characters can I allow users
to input.
Does Android support multi-launguage file name? What is the max length
of file name string?
How should I check if user's input is valid to be
, Oceanedge newsforhar...@gmail.com wrote:
Yeah, but I think my singleton class can works well with the OS handle
Task as a single process. But in Android, Task can be cross linux
process. So my two activity instances are created by two tasks.
Because you have set up your app to behave this way
to the singleton?
On May 26, 5:06 am, Oceanedge newsforhar...@gmail.com wrote:
I'm developing a photo editor application. It will launched by
android.intent.action.EDIT intent. I made two application to emit that
intent. I found that two instance of my photo editor activity is
created within
:)
Instead of creating two processes (which is really heavy and requires
a lot more memory), why don't you stop using a singleton?
On Mon, May 25, 2009 at 9:06 PM, Oceanedge newsforhar...@gmail.com wrote:
I'm developing a photo editor application. It will launched by
android.intent.action.EDIT
pattern withAndroid, but if you
need to use two instances of your singleton, then the problem is
that you are using a singleton in the first place.
On Tue, May 26, 2009 at 12:58 AM, Oceanedge newsforhar...@gmail.com wrote:
Thanks, but I think singleton is a general pattern used generally. Why
I'm developing a photo editor application. It will launched by
android.intent.action.EDIT intent. I made two application to emit that
intent. I found that two instance of my photo editor activity is
created within the same process which is named as my activity. But
there is a singleton class used
I need to implement a JNI which render image with 3-party native
function. This function call is time consuming, it cost about 1s to
return. I found during that time, even if I call the JNI within
another Java thread, the whole Dalvik VM is blocked. UI is frozen. I
guess that's because Dalvik
this at the end:
return mGD.onTouchEvent(event);
}
// Called by the GestureDetector mGD.
public void onLongPress(MotionEvent event) {
// do your stuff here.
}
}
On Mar 30, 9:51 pm, Oceanedge newsforhar...@gmail.com wrote:
Thank you very much!
But my current usecase
Thank you very much!
But my current usecase is not to detect motion, but hold. I have a
PhotoView which display an icon. It needs to respond to click and hold
event.
If user click on it, it will scroll other widget content in one step.
If user touch hold on it, it will scroll the widget content
Hi, All
I found event handler: dispatchTouchEvent(MotionEvent) works
differently between G1 emulator when finger is holding on touch
screen.
I have a class inherited from RelativeLayout and override public
boolean dispatchTouchEvent(MotionEvent event) method. After I touch
hold on the touch
Hi, Is there a Color Picker widget which developer can call in
Android?
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
13 matches
Mail list logo