Use textwatcher and verify the string with onTextChanged. If the
digited string was a char, just delete ;)



2011/9/8 Duygu Kahraman <[email protected]>:
> Thx for all reply but Karoly it is not working.
> Reason is integer 32 bit OK.but i couldnt enter any value like
> integer,biginteger..i am using just
> android:inputType="number","numberSigned"or"numberDecimal"?
>
> 2011/9/8 Károly Holczhauser <[email protected]>
>>
>> Hey dudo!:)
>>
>>  Check this out please, this is what you are looking for?
>>
>> http://androidblogger.blogspot.com/2009/01/numeric-edittext-and-edittext-with-max.html
>>
>> Bye, Károly
>>
>> On szept. 8, 08:40, Duygu Kahraman <[email protected]> wrote:
>> > Hi All;
>> >
>> > I have a problem about Edittext.I want to enter just number one of my
>> > Edittext  so in xml i use android:inputType="number" .But When i want
>> > to more than 10 characters program is not working.10 and less than 10
>> > character it is OK.
>> >
>> > Do you anyone this reason and how can i fix it?
>> >
>> > Code is here:
>> >
>> >                                 <EditText
>> >
>> > android:layout_width="match_parent"
>> >                                         android:inputType="number"
>> >
>> > android:id="@+id/surucu_sasi_no_e"
>> >
>> > android:layout_height="wrap_content" />
>> >
>> > Thx.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> ---
> Duygu Kahraman
> http://tr.linkedin.com/in/duygukahramann
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to