Thursday, July 21, 2011

Reading a property file from a web service.

Put the property file( lets say file name is myfile.properties) into //axis2/WEB-INF/classes

In java code of your web service, you can use that property file as follows:

InputStreamReader mainPropISR = new InputStreamReader(this.getClass().getResourceAsStream("/myfile.properties"));
Properties mainPropFile = new Properties();
mainPropFile.load(mainPropISR)

Please note that '/' needed before the property file name in order for axis to read it directly from the class folder. Any other path declarations will taken relative to the current java file.

Friday, February 18, 2011

Toyota 2007 Axio G grade Car Audio translations

Following images taken from my new car. It's a 2007 Toyota Axio G-grade. I had difficulties when configuring the radio and other stuff because it is in Japanese language. Anyway I was able to translate some of the text labels and posting those in here. Hope this will help others who is having same model of audio car setup.

Question mark (?) indicates the labels that have to be translated.

If you only wants to configure radio stations, then simply go to the station and then push and hold button you want station to be on.