Hello all,
I'm working on a custom view and I have some problems trying to define
some custom XML attributes. Here is part of my definitions:
On 28 jun, 17:46, Justin Anderson wrote:
> Why not wrap this original "work thread" in a service?
>
Yes, I think I'll do that, I can't see another reliable way to do
this.
Thanks everybody that give me the tip of using the
onRetainNonConfigurationInstance(), I just tried it out and in some
cases
Ok, I know pointers don't exist in Java, but I was wondering if there
is a way to mimic its behavior or any other mechanism that let me keep
the reference to an object when my activity restart from a softkill.
inside the onCreate of my activity I have something like that:
work= new workThread(...
I misunderstood the beharior of moveCursorToVisibleOffiset on the
piece of code I've put on my last e-mail. But any way. Now I'm using
an extension based on TextView. Works fine. Thank you!
On 22 jun, 22:23, Gustavo Vargas wrote:
> > How hard did you look? While I admit t
> How hard did you look? While I admit the solution is a little less than
> obvious all I did was search for "android EditText cursor position" and
> found the answer.
>
> http://tinyurl.com/6fcveor
I know, the problem is this doesn't work. suppose my class extends
edittext and then:
this.setText
>
> Searching the docs for "keyboard
> character":http://developer.android.com/reference/android/view/KeyCharacterMap.h...,
> int)
The last day I readed this two times and it is not what I need. But I
have to thank you any way, as you sugested it to me I gave it a second
chance and following some
> > Does someone can give me a tip how to do that?
>
> Extend EditText?
I tried but the user can touch on every piece of text and then I can't
found a way to discover where is the carret and how to move it to the
end.
Currently I'm using a TextView extension and it finally seems to work
fine. The
Hello,
I'm using an onKeyDown to receive keys and it works good for soft and
hard keyboards, but all I receive is keyCodes and scanCodes. I don't
want this.
I don't want to have to deal with shift and alt to discover what key
the user pressed. I don't need to receive every key the user press
(shi
What I need to do is to find a way to have an EditText that works
normally except that always the user type a new key, this new char
always goes to the end of the text. In other words I don't want the
user to move the carret/cursor, any new text should be appended to the
end.
I'm trying to write a
9 matches
Mail list logo