Monday, January 3, 2011

I moved to WordPress.

Finally I moved to my hosting and installed wordpress blog. Here is my new place http://volokh.com.ua/blog/

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.

Sunday, June 27, 2010

Friday, April 23, 2010

Text component with active urls links.

Working on Twits Around Me project I faced a problem, how to make urls text like as an active links. Even using htmlText property, url in the text doesn't appear like link. So I have created my component called HyperLinkText, here is examples how to use it:


I hope you will find it useful and save your time in the future. Here is HyperLinkText.as on my cloud.

Tuesday, April 20, 2010

Twits Around Me: revamped and extended.

This is latest version of my previous experiments with Twitter API and Google Maps. I have added search options where you can optimize your search criteria. And now it is possible browse all twits in one list.

In the next release, I am going to implement live-stream-update feature. Please try and leave your comments.


Saturday, April 17, 2010

Thursday, April 15, 2010

Monitoring twits from Iceland in "Twits at Location"

I just checked what are people twitting in Iceland and of course most of twits about eruption.

Check photos from link in twit. It is amazing. Last time this volcano was erupting for 3 years, 1821-1823. Just imagine rain for 3 years. :)


Monday, April 12, 2010

distance_of_time_in_words on AS3

Every RoR developer familiar with function distance_of_time_in_words, name of this function is self-explaining. I've been looking for similar function in AS3 world, I found few pieces of code on StackOverflow, but it was not what I needed. Eventually I've ported it on AS3 by myself. This function is already in use on twits info window.

Update: On Stack Overflow I found very useful class called TimeSpan. I just added my function to this class. Check it out.


Sunday, April 11, 2010

Twitts at selected location: continue playing with twitter API and Google Maps

I have continued playing with twitter API and Google maps. In this version you could select any place on the map and receive recent twitts from the selected location. For example, lets check latest 50 twitts from Vatican city:

Or who is twitting around Hamlet castle in Denmark:

Or finally, lets check what people are twitting around my location:

Now you try. I will appreciate if you leave comments or feedback.


Wednesday, April 7, 2010

Twitts around me: experiments with Twitter API and Google Maps

This is a small experiments with Twitter's API and Google maps. You can observe twitts in 50km around your current location. Source code I will post later.

Monday, February 15, 2010

Foller.me service on AIR

This time I would like present Adobe AIR application for Foller.me service. This application will help you to get more detailed information about specific twitter user. On the screenshot below you can see information about twitter user "denisvolokh" :) Also you can enter several usernames separated by comma.
Give it a try.

Tuesday, February 2, 2010

AIR browser for Calvin and Hobbes comic strips

I believe you know this kid and his imaginary friend, stuffed tiger :) I've made this simple AIR app for browsing all comics strips (3000+) about Calvin and Hobbes. I hope you will enjoy my app.

You can download this app here.

Monday, December 21, 2009

Picasa Browser with Ruby on Rails

I would like to show small example how to use AIR application and Ruby on Rails for backend. PicasaBrowser is very simple application with 2 http requests to server:

1. to obtain list of public albums for specified gallery


2. to get all photos from selected album.


In the RoR application I have used REXML library to parse rss feed. I know, my ruby code is not perfect and is not in ruby style (yet :)), so I would like you to correct my code.

Air app source code. ROR source code.

On Flex on Rails blog you could find few more examples of AIR and Rails applications.

Friday, December 11, 2009

Thursday, December 10, 2009

Tanjooberrymutts :)

By the time you read through this YOU WILL UNDERSTAND "TANJOOBERRYMUTTS"
...and be ready for China .
In order to continue getting-by in China , we need to learn English the way it is spoken......

Practice by reading the following conversation until you are able to understand the term "TANJOOBERRYMUTTS" .
With a little patience, you'll be able to fit right in.

Now, here goes...
The following is a telephonic exchange between maybe you as a hotel guest and room-service today......

Room Service: "Morrin. Roon sirbees."
Guest: "Sorry, I thought I dialed room-service."
Room Service: " Rye . Roon sirbees....morrin! Joowish to oddor sunteen???"
Guest: "Uh..... Yes, I'd like to order bacon and eggs ."
Room Service: "Ow ulai den?"
Guest: ".....What??"
Room Service: "Ow ulai den?!?... Pryed, boyud, pochd?"
Guest: "Oh, the eggs! How do I like them? Sorry.. Scrambled, please."
Room Service: "Ow ulai dee bayken ? Creepse?"
Guest: "Crisp will be fine."
Room Service: "Hokay. An sahn toes?"
Guest: "What?"
Room Service: "An toes. ulai sahn toes?"
Guest: "I.... Don't think so.."
RoomService: "No? Udo wan sahn toes???"
Guest: "I feel really bad about this, but I don't know what 'udo wan sahn toes' means."
RoomService: " Toes ! Toes!...Why Uoo don wan toes? Ow bow Anglish moppin we botter?"
Guest: "Oh, English muffin! !! I've got it! You were saying 'toast'...
Fine...Yes, an English muffin will be fine."
RoomService: "We botter?"
Guest: "No, just put the botter on the side."
RoomService: "Wad?!?"
Guest: "I mean butter.... Just put the butter on the side."
RoomService: "Copy?"
Guest: "Excuse me?"
RoomService: "Copy...tea. .meel?"
Guest: "Yes. Coffee,
please... And that's everything."
RoomService: "One Minnie. Scramah egg, creepse bayken , Anglish moppin,
we botter on sigh and copy ... Rye ??"
Guest: "Whatever you say."
RoomService: "Tanjooberrymutts. "
Guest: "You're welcome"


Remember I said "By the time you read through this YOU WILL UNDERSTAND 'TANJOOBERRYMUTTS' .......
and you do, don't you!

(c) morning spam :)