Applying a custom font to a TextView in your Android Application can be done in a few step. First get the desired fonts, either in Truetype ttf or OpenType otf format. Place the file in the assets folder in the root of your application. Now in your main Activity file apply the font to your TextView like this in
Capture An Image Of An Android Screen
If you want the get a screenshot on your Android mobile you can do that simply by holding down the power + volume down button for one second. In Eclipse to capturing an image from your Android device or simulator go to the DDMS perspective. In Eclipse go to the menu Window -> Open Perspective
Telnet In Windows 7 and Vista
Telnet is disabled after installation of Windows Vista or Windows 7. However you can easily enable this. Telnet is pulled out from command prompt and have its own Telnet prompt you have to enable. Go into Control Panel -> Programs and click “Turn Windows features on or off” Check the “Telnet Client” box and click OK. Now
Samsung Remote Not Compatible With Samsung Galaxy Nexus
Having a Samsung Television you would have thought your Galaxy Nexus mobile would be able to use Samsung Remote App. However this is not the case as you’ll only get an error saying. “This item is not compatible with your device” which is quite sad actually. There doesn’t seem to be any news about when
Periodic Table of HTML5 Elements
HTML5 got a lot of new cool tags and of course keeping traditional tags like <a> and <div>. To get an overview of all these tags have a look at this cool intuitive periodic table html5 style. Description: “Knowing all the HTML5 elements is important, but listing them out is a bit dry .. organizes the
Game Sounds Generator
When developing a game the sounds is important for the user experience. When you’re still developing it’s cool to have some mock up sounds when testing so you get a good feeling about the experience. There is various tools to generate these and one very cool one is the sfxr made by Tomas Pettersson. From the description:
Removing Spaces Between Images in HTML
When using images in HTML you might want to remove the white spaces in between. There are two things you should be aware of when using images. First thing is to make sure there is no spaces between the <img> tags. Like in this example there is an unwanted gap between image1 and 2: <img src=”img1.gif”/>
WordPress HTTP Error 500 Internal Server Error
After playing around with some plugins for WordPress suddenly came up with the following error when trying to login. “Server error. The website encountered an error while retrieving website. It may be down for maintenance or configured incorrectly. HTTP Error 500 (Internal Server Error). An unexpected condition was encounted while the server was attempting to
Eclipse Android Error Conversion To Dalvik Format Failed: Unable To Execute Dex: Null
After connecting Eclipse Android project up to Team Foundation Server the application the following error occurred: Conversion to Dalvik format failed: Unable to execute dex: null After doing a Project -> Clean the problem got solved. If this does not solve it. Try look in the bin folder of your project directory and you will see
Ignore Yourself In Google Analytics
When running Google Analytics you might want to exclude yourself from the statistics reports. When you use Google Analytics to track visitor statistics on your website, you can setup so it exclude it from yourself, this can be your computer or network. This will improve the accuracy of your statistical data, since this will otherwise be influence by yourself