Tuesday, December 14, 2010

Display password in EditText in android application.

It took me a while to find a way to display dots in the password edit text field. 

I've expected something simple as property displayAsPassword in Flex. In the xml, yes, it is very simple, just write android:password = "true", but I was working on generating forms on the fly where I needed to set password property dynamically.

//So here is solution:
formField.setTransformationMethod(PasswordTransformationMethod.getInstance());

Sunday, December 12, 2010

Android widget for Leprosorium.ru. Update.

I have released first beta version of the android widget for Leprosorium.ru community.

I have made widget's configuration accessible form the launcher, so you dont need to remove and add widget again to just change one option in configs.

Tuesday, December 7, 2010

Android widget for Leprosorium.ru

Don't be afraid by the name of website :) It is just closed russian community of creative people.
I have created simple widget which shows basic information from the user's profile. First number is a user's score or, so call, karma. On the second button widget displays number of favorites post and unread comments. And third button shows number of messages in "inbox" or direct messages. Click on each button will open page the browser.
Also widget will show notification once it receives new message. 

Also widget has configuration which will be opened on start of the widget. It allows to configure  frequency of updates and type of internet connection (WiFi or GPRS) which will be used to receive updates. Unfortunately, there is only on russian version.
This widget is still in closed beta testing. I hope it will be released very soon.