Monthly Archives: June 2012

Xcode Not Updating When Changing Image

When developing in iPhone in  Xcode and you change an image it might not be updated when you run it on your device or simulator as it’s still use the old image. The error can be caused by different factor

Posted in ErrorFix, Mac Tagged with: , ,

Excel Join Character Strings From Multiple Cells

In Microsoft Office Excel you can join multiple string from cells by using the Concatenate function. Like this: =CONCATENATE(E2,”-“,F2) Here the string from the cell E2, the character “-” and the string from F2 will be joined together. Making a

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

Excel CSV And Unicode UTF-8 Character Error

In Microsoft Office when saving an Excel file to CSV file, Excel doesn’t ask if we have to care about encoding, in particular, a major problem occur with characters is being replaced with other symbols like square, star etc. Want we

Posted in ErrorFix, Windows Tagged with: , , ,

Android Java Check Whether SD Card is Available Or Not

You can check if the SD card is available by using the .getExternalStorageState and the .Environment.MEDIA_MOUNTED like this: private Boolean isSDPresent() { return android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED); } It returns true if the SD card is present otherwise it’s false. To use just put

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

Android Get A Transparent Gradient Or Color

Use the 8-digit color value, e.g. , where the first two characters are the alpha value. 00 is full transparent and FF is fully opague. start = Color.parseColor(“#e2102e”); end = Color.parseColor(“#fc1233”); GradientDrawable gd = new GradientDrawable(Orientation.TOP_BOTTOM, new int[] { start,

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

Android ActionBar Background Image

To set the background image of the relative new Actionbar in Android you can do the following: final ActionBar actionBar = getActionBar(); BitmapDrawable background = new BitmapDrawable(BitmapFactory.decodeResource(getResources(), R.raw.actionbar_background)); actionBar.setBackgroundDrawable(background); Note that the BitmapDrawable() is deprecated. So might might want to use

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

Android Java Color From Hexadecimal Color String

To get a Color from a hexadecimal to a color you can use the parseColor public static int parseColor (String colorString) And to use it remember the # character Color.parseColor(“#636161”);

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

Android Check Internet Access

You can use the following function to check if there is internet access on Android public boolean isOnline() {     ConnectivityManager cm =         (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);     NetworkInfo netInfo = cm.getActiveNetworkInfo();     if (netInfo

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

Android Developer Respond To User Reviews

You can now if you’re a Top Developer respond to your users reviews. Android Developers blog. Here’s a quick way how to respond to your users reviews. As for now it’s only Top Developer badge () which can do this, the user will

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

Change The Priority Of Wired/Wireless Network Cards In Windows

Windows should priorities the wired network over wireless, however this is not always the case. Whether it’s due to when the network is created is unsure. To force Windows to always pick the wired as default over wireless it set in

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