Saturday, July 18, 2015

Break vs continue

It is very important to know the differences between this two, especially in the loop.
If you use break, you will go out from the loop;
If you use continue, you will continue to the next looped item.

Sunday, July 12, 2015

query not execute when click F5

This morning i was hit into a trouble where whenever i click f5 or execute in the sql management studio, it keep prompt the 'save changes' box. I am so confused. Luckily able to figure out that it is because I accidentally clicked on the 'Result to Files'. By selecting the 'Result to Grids', it solved.
:)

Hope this post can save some ppl or myself in future..hehe..

If you not sure where is it, just make sure u select the one circled out with white pen will do.


Sunday, July 5, 2015

change target framework.

If you found that you cannot select the device for debugging, maybe your target framework is higher than your existing debugging device. You can confirm this when you get this error:
"Running this project required an Android device with API 21 or above".


Because I only install the recommended device and I am still new, I finally manage to found out that all we need to do is go to the project option ( by clicking the "Configure Target API..." or go to "Project" + " 'projectName' Options" (it is under "solution Options") ) Change the Android Application's Minimum Android version and Target Android version to the lowest option, which is might be "Override - Android 1.6 (API level 4).


Go to workspace, select the device, and cheers !Happy coding. 

How to change language in xamarin’s Android emulator?

How to change language on android (xamarin emulator) ?

If you are having some difficulty on using the Japanese language keypad, you can click and hold on mouse click for some times, until a small pop-up appear(just like what we did on holding text box on smart phone for few seconds), and you can change the keyboard language.





Select input method in the pop-up screen.


Select the input method that you like, for example, I choose “Android keyboard”.


 This is how my screen became after selecting Android keyboard.


Note: PhoneWord??? I was following a tutorial from xamarin named “ phoneword” at that particular moment. :D


How to use the android emulator , how to type/ write on MonoForAndroid_API_10(emulator) ?

I closed the emulator a few times just because I "don't know" that it actually need times to start up..
X.X

Step:
1)      Wait…..till you see screen no. 2.

Have some patient…


2)      Use your mouse to drag unlock to the right.

3)      If you are not able to drag it, simply click the “Menu Button”.


4)    If you are struggling on clicking the keypad on right hand-side just like I was before this, stop it…
Click on the input box\ text box until you see the keypad on the screen, use your mouse to click on it.