Back again :)
After a long time I am back again and decided to post and write whatever I do. I will post basically technical terms in posts.....
Cheers
Tuesday, October 4, 2011
Monday, April 12, 2010
Fixing Wireless Toolkit 2.5.2_01's bug for Obfuscation
Hi I have spent lots of effort for obfuscating midlet application using WTK obfuscation_package option :D
Insert these two lines at the beginning:
SET USER_HOME=g:\temp
SET KVEM_HOME=g:\emulators\WTK2.5.2
Instead of g:\temp specify the path where you want your workspace to be (the path must not contain spaces).
Instead of g:\emulators\WTK2.5.2 specify the path where your wtk is located.
Insert -Duser.home=%USER_HOME% into the next line, like this:
G:\java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Duser.home=%USER_HOME% -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main
Now you have to run this edited file to run wtk. Now double click the .bat file .....and enjoy......
I found the solution, I am pasting it:
There's a file ktoolbar.vm in the wtk\bin directory. Rename it to ktoolbar.bat and edit it as follows:
Insert these two lines at the beginning:
SET USER_HOME=g:\temp
SET KVEM_HOME=g:\emulators\WTK2.5.2
Instead of g:\temp specify the path where you want your workspace to be (the path must not contain spaces).
Instead of g:\emulators\WTK2.5.2 specify the path where your wtk is located.
Insert -Duser.home=%USER_HOME% into the next line, like this:
G:\java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Duser.home=%USER_HOME% -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main
Now you have to run this edited file to run wtk. Now double click the .bat file .....and enjoy......
The original link where I found the solution is :
Actually it is a bug of WTK and it shows the following error message while obfuscating:
Error: C:\Documents (The system cannot find the file specified)
Obfuscation failed.
Build failed
Obfuscation failed.
Build failed
so lets have the solution for it.....
Thursday, January 14, 2010
Video Playing in Brew Emulator
I have waste lot of time on searching for how to play video in BREW emulator. At last I have found the solution from forum:
If Brew video support environment is not installed video will not play but work in real devices. We can play video using the sample code given by BREW sdk...
Wednesday, January 6, 2010
BREW addins/plugin for VC 6.0
Here is the link install addin to install addin for vc++ 6.0
From this link where I installed addin only using IE 7.0, I am unable to install it from chrome or firefox :(
Tuesday, November 3, 2009
How to clear Blackberry Simulator's Record Store / Flash Memory / Application Data
I have faced lot's of problem on clearing application data used by blackberry storm simulator. Usually for wtk simulator netbeans provide graphical interface (also wtk has options in utilities) to clean record store / application data / flash memory.
Finally I got a solution for it. Blackberry simulator's keep the data in its working directory in three files named (for BB 9530 simulator):
Usually file names are [model name]-*.dmp.
For my pc for model 9530 verizon keeps the file in its working directory:
C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.7.0\4.7.0.75 (9530-Verizon)\
If we need to clear this data just simply delete among three files.
Finally I got a solution for it. Blackberry simulator's keep the data in its working directory in three files named (for BB 9530 simulator):
9530-as.dmp
9530-fs.dmp
9530-nv.dmp
9530-fs.dmp
9530-nv.dmp
Usually file names are [model name]-*.dmp.
For my pc for model 9530 verizon keeps the file in its working directory:
C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.7.0\4.7.0.75 (9530-Verizon)\
If we need to clear this data just simply delete among three files.
Subscribe to:
Posts (Atom)