preload
Aug 17

I have experienced that Eclipse hangs when I am trying to start it. I have figured out that this is due to a problem with my workspace. If you have the same issue you can try the following.

First open your task manager –> right click the javaw.exe process –> chose to end process tree (this will end all java processes running on your computer).

Then go to your Eclipse folder –> configuration\.settings and delete the org.eclipse.ui.ide.prefs file. Restart Eclipse and try opening your workspace again. This does the trick for me :) Beaware that deleting this file results in resetting your workspace history so when starting Eclipse you need to manually browse to your workspace location.

I have only experienced this issue when I am running Eclipse in my Windows XP image with a third party plug-in for Eclipse.

Tagged with:
Jul 09
Enable ClearType text

Enable ClearType screen on my HTC Touch Pro (text in Norwegian)

Choosing the right fonts for your mobile applications have a great influence on the application look & feel. All Windows Mobile  6 devices gives you the option to enable ClearType. On most devices it is disabled by default. ClearType is a technology developed by Microsoft that improves the readability of text on LCD screens. Quick and Easy explained it is smoothing the edges on the fonts. You can read more about ClearType at Microsoft Typography.

I will show you a quick tutorial on how to enable ClearType on your Windows Mobile 6 device:

  1. Open Start menu
  2. Click Settings
  3. Chose the System tab
  4. Click Screen
  5. Chose the ClearType tab
  6. Select Enable ClearType
  7. Click OK

Continue reading »

Tagged with:
Jul 08

I am getting more and more familiar with VMware Player since I use it almost every day in my current project. When I restarted my computer and the image after an unexpected shutdown I got this message: This virtual machine appears to be in use. This post lets you know how to easily get your image up and running again.

virtual machine in use

Above you can see the alert box I got when I tried to start my image in the VMware Player. The configuration file only tells you the path to your image, I added a censor strip since the path revealed my customer name.

  1. Go to the configuration file path (where you have you image)
  2. There you will find some folders with .lck ending (this is the locking file state)
  3. In my case three folders (imagename.vmem.lck, imagename.vmdk.lck and imagename.vmx.lck)
  4. Delete those folders
  5. Restart your image

This did the trick for me :)

Continue reading »

Tagged with:
Jul 06

VMvareToday I could not start my VMware image any more, it started restoring virtual machine state and hung when 1/3 of the progress bar was completed. Not only did the VMware player hang but also all other programs on my computer. All shortcuts like (alt + F4) and (ctrl + alt + del) gave me no response as well, to get out of this situation I needed to hold down the power on/off button and restart my machine.

I looked at some documentation for the VMware player and found the solution, very easy to fix and I thought that I should share this with you.

I am using the VMware player 2.5.2, you can download it from VMware player download page (free version).
Go to the folder where you keep your image and delete the .vmss (VMware suspended virtual machine state) file. Now you can restart your image and everything should work fine. By deleting the .vmss file you will lose all unsaved data from your previous session.

I know why this happened to my image: I manually restarted my machine while the image was running. This lead to a corrupted virtual machine state and therefore it hung. Why the rest of my computer hangs when this happens I don’t know (running Vista).

Continue reading »

Tagged with:
Apr 22

If you get this error message when either trying to run your application or deploying to it… don’t worry, there is a very easy solution. Just go to C:\Documents and Settings\<User>\Application Data\Microsoft\Device Emulator and delete all files located there. That’s it, now you can try again and the error should not appear.

This error appears when the saved state on the emulator contains corrupted data and then when trying to run the emulator again loading of these corrupted data fails. I have experienced this error after trying to load unsupported/corrupted .dll files.

Tagged with:
Apr 13

pnp_logoI recently downloaded and read the Mobile Architecture Pocket Guide by Microsoft patterns & practices. The purpose of this guide is to improve the effectiveness when building mobile applications on the Microsoft Platform. The primary audience for this guide is solution architects and development leads.

Chapter overview (quoted from the book)

• Chapter 1, “Mobile Application Architecture,” provides general design guidelines for a mobile application, explains the key attributes, discusses the use of layers, provides guidelines for performance, security, and deployment, and lists the key patterns and technology considerations.
• Chapter 2, “Architecture and Design Guidelines,” helps you to understand the concepts of software architecture, learn the key design principles for software architecture, and provides the guidelines for the key attributes of software architecture.
• Chapter 3, “Presentation Layer Guidelines,” helps you to understand how the presentation layer fits into the typical application architecture, learn about the components of the presentation layer, learn how to design these components, and understand the common issues faced when designing a presentation layer. It also contains key guidelines for designing a presentation layer, and lists the key patterns and technology considerations.
• Chapter 4, “Business Layers Guidelines,” helps you to understand how the business layer fits into the typical application architecture, learn about the components of the business layer, learn how to design these components, and understand common issues faced when designing a business layer. It also contains key guidelines for designing the business layer, and lists the key patterns and technology considerations.
• Chapter 5, “Data Access Layer Guidelines,” helps you top understand how the data layer fits into the typical application architecture, learn about the components of the data layer, learn how to design these components, and understand the common issues faced when designing a data layer. It also contains key guidelines for designing a data layer, and lists the key patterns and technology considerations.
• Chapter 6, “Service Layer Guidelines,” helps you to understand how the service layer fits into the typical application architecture, learn about the components of the service layer, learn how to design these components, and understand common issues faced when designing a service layer. It also contains key guidelines for designing a service layer, and lists the key patterns and technology considerations.
• Chapter 7, “Communication Guidelines,” helps you to learn the guidelines for designing a communication approach, and understand the ways in which components communicate with each other. It will also help you to learn the interoperability, performance, and security considerations for choosing a communication approach, and the communication technology choices available.
• Chapter 8, “Deployment Patterns,” helps you to learn the key factors that influence deployment choices, and contains recommendations for choosing a deployment pattern. It also helps you to understand the effect of deployment strategy on performance, security, and other quality attributes, and learn common deployment patterns.

Continue reading »

Tagged with:
Apr 08

search-enginesI’m not an expert on SEO (Search Engine Optimization) but when I started this blog I read a bit about it and did a few adjustments to my blog. I did not do this just to get more hits on my blog.  I’m investing time writing posts here and therefor I would like it to be available for as many as possible.

I will list some simple tips & tricks that will help improving your rank in search engines.

The first and most common pitfall for bloggers is the duplicate content penalty. Content are duplicated all over the blog and the main page often shows a lot of text. The best way to avoid this is by only displaying the first part of your posts. This is why you find the “read more” link and not the complete posts on my main page. Another thing you should do to help avoid this is only showing a summary in your RSS-feeds. I have also told Googleboot to stay away from my feeds by adding this in the robots.txt file:

User-agent: Googlebot
Disallow: /feed/$
Disallow: /feed/rss/$
Disallow: /trackback/$

Continue reading »

Tagged with:
Mar 30

htc_touch_proThis firmware update was released 16th February 2009 so it’s not very new but it solves many of the issues I have had with my HTC Touch Pro. It’s quite easy to do this update and it can be downloaded from the HTC official support site. Just follow the instructions on this page. You need the serial number to download this firmware upgrade, this is located under the battery.

What issues does this firmware update solve? It is listed 5 specific issues on the download page that will be solved by updating to this firmware version.

1. The display of TouchFLO 3D sometimes may appear cracked.
2. When taking a picture, the auto focus function may malfunction in some circumstances.
3. In some circumstances, the preview screen will become black after taking picture.
4. In some circumstances, the device may hang while loading TouchFLO 3D.
5. When hanging up a phone call, there may be a delay in the display response.

I have experienced issue 1, 4 and 5 on my phone, but after updating to this firmware version I have not been troubled any more :) and I really hope that it will stay this way. Continue reading »

Tagged with:
Mar 23

mobile-phonesOn Friday I had an interesting discussion about the origin of mobile applications. What was the first application that were made for mobile phones? As in most discussions like this we never came to a conclusion. I’m curious of nature and could not let this question be left with out an answer.

During the discussion we narrowed down the definition of a mobile application to be:

An application developed and distributed not by the phone manufactures but by a third party developer and installed on the phone by the owner.

This way we could rule out the basic built in applications like phone book, sms writer etc.

Continue reading »

Tagged with:
Mar 12

htc_wrench2Today I got some good tips on how to tweak the performance on my HTC Touch Pro (earlier post about my experiences with HTC Touch Pro). Some of the functions on the phone have been quite slow and sluggish, especially the home screen and the TouchFLO 3D system. My phone was due for some tweaking…

I started with downloading the Advanced Configuration Tool, version 3.3.  After installing the CAB file on your device it can be accessed from Start –> Programs –> Advanced Config. From this application you can do a lot of useful changes on your phone and also some not so useful but very cool changes :) Why don’t set the phone to mute ring tone from incoming calls when flipping it face down…

I did two changes to make the phone more responsive:

1. Open Advanced Config –> Performances and change File system cache size to 8MB.

Continue reading »

Tagged with:
Subscribe to my feeds Follow me on Twitter
DZone MVB