Samsung Galaxy S Screenshot Secret Trick
My Galaxy S was hanging, then I tried to press the buttons. That is a very normal behaviour. But while I was pressing various buttons, a strange things happened. It did a screenshot. My phone is not root yet! What have I done?! I did not know what buttons I pressed. I spent some time to try reproducing that. Then I found while I am holding the back button, and then pressing the home button. I can do the screenshot.
After that, I tried to read the operation menu, that is not such function record. But I did a google search, there are a lot of people found out this trick!
Validation Framework for .Net
I was looking for the way to do data validation for my church library management system, there are some good frameworks around. But I found they need to bind with other libraries. After I had spent some time to look around, then I found a library, calls Fluent Validation. They are very simple.
The validation can be done in this way:
Code
ResourceValidator validator = new ResourceValidator(); | |
ValidationResult results = validator.Validate(Resource); | |
| |
if(!results.IsValid){ | |
IList<ValidationFailure> failures = results.Errors | |
..... Do the error handling | |
} |
That is so simple, that is what I like!
Moreover, I downloaded their source codes. The structure and code are very very readable!
Lastly, it can be integrated with ASP.Net MVC!
C# codes examples
I found the best way to learn a programming is reading example codes. So, I found this website,Microsoft All-In-One Code Framework, is very useful. Roughly, it got hundreds of example codes. THIS IS VERY COOL!
I upgraded my phone to Android 2.2
I fixed the restarting Kies problem. As a result, I can connect my phone to Kies. That means I can get the official Android 2.2 upgrade package for Galaxy S.
Yesterday, I completed the upgrade. I found my phone is much faster. Moreover, I can use Skype. That is great! I like it!!!!
Finally, I fixed the Kies restarting problem
I have tried to fix the Kies restarting problem. I have uninstalled some applications, but it did not fix the problem. I finally I copied all data in the internal and external SD. And then I formatted the sd cards. Finally, all works now!