Blog Archives

Android TextView Strike

To make a strike in your TextView in Android use the setPaintFlags like this: TextView tv=(TextView) v.findViewById(android.R.id.text1); tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); If you’re using Html.fromHtml to set the text you can’t unfortunately use the <strike> as this is not supported for Android

Posted in Android, Tips and Tricks Tagged with: , ,

VirtualBox Log Files Location

VirtualBox log files is one of the great tools to diagnose an issue in your VirtualBox. It will always create a log file which reflects the lifecycle of your virtual machine. VirtualBox log files is located in user/per-vm directory. Depending on

Posted in Linux, Mac, Tips and Tricks, Windows Tagged with: ,

International Space Station Space Exploration, Happy New Year

NASA Television shares this inspiring production by Italian videomaker, Giacomo Sardelli, about the International Space Station, its inhabitants, and its role in space exploration. Sardelli writes of the video, “I’m not the first one to use NASA’s pictures taken from

Posted in Tips and Tricks

DerivedData for Xcode 4.5

When updating Xcode to 4.5 the DerivedData has disappear it seems. Though it has just been moved to another location. Now it’s at: ~/Library/Developer/Xcode/DerivedData/— You can find the location in Xcode 4.5 by looking at Preferences->Location. This shows where your Derived

Posted in Mac, Tips and Tricks Tagged with: , ,

Remove A Saved Password In Google Chrome

To remove a saved password in Google Chrome click the wrench icon which appears to the right of the address bar. In the drop down select “Settings”. On the left menu “Settings” should be active. Now click “Show advanced settings…” in the

Posted in Tips and Tricks, Windows Tagged with: , ,

Eclipse Find/Search In Project

To search in your project in Eclipse do the following: Ctrl + H Choose File Search for plain text in project. Choose the relevant tab for a specific expression searches.

Posted in Android, Tips and Tricks, Windows Tagged with: , ,

Photoshop Save As .ico

It is not possible to save as an .ico format in Photoshop. You can install a third party extension which then can do it, but many of these cost money. Only for a very small feature. A way to work

Posted in Tips and Tricks, Windows Tagged with: , , ,

Xcode Toggle between header and main file

The shortcuts has changed a bit in each Xcode. In Xcode 4.0 and up the shortcut for toggling between your main and header files are, the .h and .m files: Ctrl + Cmd + [arrow up or down]

Posted in Mac, Tips and Tricks Tagged with: , ,

Android Set EditText Cursor Color

To set the EditText in Android you first need to set the textCursorDrawable to null. This is needed for Android 3.2 and up. android:textCursorDrawable=”@null” Setting this will result in the cursor color will be set to the textColor android:textColor  

Posted in Android, Tips and Tricks Tagged with: , ,

Visual Basic .NET Operator ! From C#

The C# operator ! is equivalent with the Visual Basic .NET “Not” operator In C# you can use the operation like this bool Var = true; Var = !Var And for Visual Basic .NET Dim Var As Boolean = True

Posted in Tips and Tricks, Windows Tagged with: , ,