The ASN.1 language is a good language for specifying protocols. It is widely used by the telecommunications industry. However it is seldom good for "Internet based" protocols. For example IP/TCP/UDP/PPP.
For these kinds of protocols you have to have some other approach. One approach is to write your own language specification (grammar) and a compiler for this. From my own experience this is a risky path because you have to think really carefully how you design the grammar and compiler.
Does anyone know of any open or free implementations for a grammar and compiler that is suitable for Internet based protocols?
08 June 2010
04 June 2010
Software update for X10 mini
Today I ran a Software update on my X10 mini
My previous version: 1.0.A.1.36
My current version: 1.0.A.1.38
I haven't noticed any difference yet.
My previous version: 1.0.A.1.36
My current version: 1.0.A.1.38
I haven't noticed any difference yet.
30 May 2010
How to ignore calls from specific contacts on X10 mini
If you have a Sony Ericsson X10 mini phone you might have noticed that the contacts application is custom. In other words they have not used the Android default contacts applications, but written their own (probably so they could include the timescape button in the upper right corner).
The problem with this is that they have removed the "Send calls directly to voicemail" feature. This is a good feature if you are bothered by some contacts. It is possible to use this feature anyway:
1.Run RoadSync Mail or RoadSync Calendar application. It is a third party software bundled with your X10 mini. Complete the product registration by entering a name and an e-mail address. I'm not sure if it is necessary to actually configure an Exchange account or if it is enough to just complete the product registration.
2. Exit RoadSync and return to start screen and start the Sony Ericsson contacts application
3. Choose a contact and scroll down and press Edit
4. You will now be presented with an option on how to edit the contact:
Choose the "Edit RoadSync contact"
5. Now you will enter the normal Android default contacts editor:
At the bottom there is an option to send calls directly to voice mail.
6. Test it. Try to call your phone with the changed contact. For me the call was not sent to voicemail, I got a busy tone. This is good enough for me.
Note 1: When you get an incoming call you will not get any notification that someone is calling you. You can however see that someone has tried to call you in the call log.
Note 2: Be a bit careful when clicking around in the Android default contacts editor. It is easy to delete all contact phone numbers by pressing the red minus icon in conjunction by pressing the back key; the contact will automatically be saved.
Note 3: If you accidentally have pressed the "Use by default for this action" checkbox you can clear this by opening Settings -> Applications -> Manage applications -> find you application that is default, scroll down and press "Clear defaults".
The problem with this is that they have removed the "Send calls directly to voicemail" feature. This is a good feature if you are bothered by some contacts. It is possible to use this feature anyway:
1.Run RoadSync Mail or RoadSync Calendar application. It is a third party software bundled with your X10 mini. Complete the product registration by entering a name and an e-mail address. I'm not sure if it is necessary to actually configure an Exchange account or if it is enough to just complete the product registration.
2. Exit RoadSync and return to start screen and start the Sony Ericsson contacts application
3. Choose a contact and scroll down and press Edit
4. You will now be presented with an option on how to edit the contact:
Choose the "Edit RoadSync contact"
5. Now you will enter the normal Android default contacts editor:
At the bottom there is an option to send calls directly to voice mail.
6. Test it. Try to call your phone with the changed contact. For me the call was not sent to voicemail, I got a busy tone. This is good enough for me.
Note 1: When you get an incoming call you will not get any notification that someone is calling you. You can however see that someone has tried to call you in the call log.
Note 2: Be a bit careful when clicking around in the Android default contacts editor. It is easy to delete all contact phone numbers by pressing the red minus icon in conjunction by pressing the back key; the contact will automatically be saved.
Note 3: If you accidentally have pressed the "Use by default for this action" checkbox you can clear this by opening Settings -> Applications -> Manage applications -> find you application that is default, scroll down and press "Clear defaults".
29 May 2010
SonyEricsson X10 mini USB adb debugging/development drivers
If you are an Android developer and want to connect to your X10 mini via USB this is the way to do it. It is assumed that you already know how to develop Android applications and have the Android SDK and Eclipse installed.
1. Enable USB-dev mode: Settings -> Applications-> Development -> USB debugging
2. Connect the USB cable
3. On the phone choose "Install PC Companion"
4. Install USB Driver (updated 2010-05-31)
Install the PC Companion (version 2.00.115). Let PC Companion update (and download a new version, my was 2.00.134).

5. Reboot the computer
6 . Optional: Uninstall PC Companion (in my opinion the program does not add any real value). The USB drivers will not be uninstalled.
7. Check that is works
8. Develop
Set up a Run Configuration on one of your Android projects and choose "Manual" target:
When running choose your device:
1. Enable USB-dev mode: Settings -> Applications-> Development -> USB debugging
2. Connect the USB cable
3. On the phone choose "Install PC Companion"
4. Install USB Driver (updated 2010-05-31)
Install the PC Companion (version 2.00.115). Let PC Companion update (and download a new version, my was 2.00.134).
This is how it will look in Device Manager when the Sony Ericsson ADB Interface driver is installed
5. Reboot the computer
6 . Optional: Uninstall PC Companion (in my opinion the program does not add any real value). The USB drivers will not be uninstalled.
7. Check that is works
C:\Documents and Settings\Lennart>adb devices
List of devices attached
43123531389A394D38F5 device8. Develop
Set up a Run Configuration on one of your Android projects and choose "Manual" target:
When running choose your device:
18 May 2010
Lockness thread dump analyser
The Lockness thread dump analyzer is a nice plugin in Eclipse you can use to analyze Java thread dumps. The things I have used it for:
- See if there is a deadlock
- Find out what thread is blocking what (Lock following)
- Quickly browse to source code from thread dump
- Download the jar file from http://lockness.plugin.free.fr/home.php
- Place the jar file in Eclipse dropins directory
- Restart Eclipse
- Save the dump to a text file. For example "dump.txt"
- Right click on the dump and choose Open with -> Lockness
17 May 2010
Scrum seminar
I attended a short Scrum seminar today. Mostly an introduction to Scrum. I have never personally worked with Scrum, but I have colleagues who (almost) work with it.
One of the problems with Scrum is that it is not so easy to implement. It is not just the development department that needs to accept it, it must also be accepted higher up in the chain: product owner. The product owner must make time to get involved in the development with respect to features and prioritization. And this work is not something you can do one time per 6 month period, it must be done at each "sprint" (usually about 2-4 weeks).
One thing a learned from the seminar that I did not know was the positive side effect of Scrum: team spirit. It can be used as a motivational tools to get more out of developers!
Here is what Wikipedia says about Scrum
One of the problems with Scrum is that it is not so easy to implement. It is not just the development department that needs to accept it, it must also be accepted higher up in the chain: product owner. The product owner must make time to get involved in the development with respect to features and prioritization. And this work is not something you can do one time per 6 month period, it must be done at each "sprint" (usually about 2-4 weeks).
One thing a learned from the seminar that I did not know was the positive side effect of Scrum: team spirit. It can be used as a motivational tools to get more out of developers!
Here is what Wikipedia says about Scrum
Ordered a web camera (Logitech C300)
I have now placed an order for a web camera. Logitech C300:
I did a little research and a got to the conclusion that this camera should be a great budget camera.
I did a little research and a got to the conclusion that this camera should be a great budget camera.
Subscribe to:
Posts (Atom)






