Android 4.0
Apple has announced iPhone 4S and iOS 5 update. I need Google to response this news too! Last week, they has announced Galaxy Nexus and Android 4.0. That is the new generation of Google Phone! Moreover, that is the first Android which can use in Tablet and Phone! I hope we can get a Galaxy Nexus soon too!
Reference:
Android Blog
Good jQuery Drop down list
The traditional form drop down list is not very good for JSON and that is very hard to create some advanced css layout for it. So, I choose to use jQuery dropdown list. Finally, I shortlisted jALDropdown to be my choice. It supports JSON and CSS layout too! The documentation is comprehensive too!
There is no "Contains" in Javascript string
I used "Contains" method in C# whether the strings contains a keyword.
For example:
Code
string str = "string"; | |
if(str.Contains("str")) | |
{ | |
Console.Write("OK"); | |
} |
There is no such method, but you can "indexOf".
Code
var str = "string"; | |
if(str.indexOf("str")!= -1) | |
{ | |
alert("OK"); | |
} |
Go To Java World Again
I wish to an android application. Although that is a small personal project, it still requires some server operations. Thus, I need to find a web host. I already have a web host in PHP. That is possible to write some php scripts for the communications with my android application. But Programming in PHP is not very fun. Then my next option is C#. I am a C# programmer for a few years. Writing some server logic in C# is a easy task for me. Moreover, C# is a good programming language. .Net Environment needs a lot of resource. I think that needs a VPS with 2GB of RAM to install .net and MS SQL server. That kind of VPS needs around $40 or more per month. Then Java seems to be my best option. a Glassfish and MySQL only needs 1GB RAM VPS. I can find some VPS with that kind of configurations under $30 per month. Java is a good programming language too. This option is the most feasible.
I am learning Google Web Tools.
I am learning Google Web Tools. I can use Java in the webpage rather than just Javascript.
http://code.google.com/webtoolkit/
Moreover, that is support Google App Engine.