Tuesday, March 22, 2011
JSON parsing on Android
- org.json – Not very convenient to use. Doesn’t support stream parsing out of the box.
- jackson – very convenient to use, excellent mapping features, custom stream deserializers… but don’t use it on Android. Like Facebook and Twitter did… This will put you into the grave:) Everything is excellent before you will take a look into the ddms log.
- gson – GSON stream is very nice and small. It doesn’t produce so much garbage as Jackson. But it is not so convenient to use. Good news that GSON stream parser is included in API 11.
Android ListView examples
Monday, March 21, 2011
dp to pixel (Android)
Thursday, March 17, 2011
Android Location
Wednesday, March 16, 2011
Friday, March 11, 2011
Readonly sdcard AVD-hez
Tuesday, March 08, 2011
Monday, March 07, 2011
Friday, March 04, 2011
Wednesday, March 02, 2011
Friday, February 25, 2011
Thursday, February 17, 2011
Wednesday, February 02, 2011
Monday, November 15, 2010
Tuesday, November 09, 2010
forgatas Silverlight-ban
Monday, October 04, 2010
Thursday, September 09, 2010
David Mendez: Start, Stop, and Restart Windows Services from Mac OS X
Mac OS X includes Samba support by default, and this is really handy if you’d like to remotely restart and monitor services running on a Windows machine.
To list services running on the Windows machine, use this command:net rpc service list -I IPADDRESS -U USERNAME%PASSWORD
A practical example would be:net rpc service list -I 192.168.0.115 -U Windows%myPassword
After identifying the service you want to restart, you issue the following command to stop the service:net rpc service stop SERVICENAME -I IPADDRESS -U USERNAME%PASSWORD
Then you can restart (or start) the service by using the following command:net rpc service start SERVICENAME -I IPADDRESS -U USERNAME%PASSWORD
This is tip that I found on Lifehacker that was aimed at Linux users, but considering Mac OS X has a unix underbelly equipped with samba the command works just the same on a Mac.