Filed under: notes/General
I could not find enough organized information on OPL, and the available OPX does not seem to be enough for writing a real application I have in mind (news aggregrator). I turned to C++ and found the tools are available at Mocoder. But information on how to begin is so scarce, I don’t even know what to do after the SDK installation. After googling fruitlessly, I found that DoCoMo has a very beginner-friendly explanation for M1000 development, and A1000 is very similar to M1000 so I finally could compile a sample program.
Here are the steps to prepare development environment for A1000 development:
1. Install the A1000 SDK
2. Create logical drive for the SDK
subst Q: C:\Symbian\A1000SDK
3. Set environment variables
Symbian
set EPOCROOT=\
set PATH=\epoc32\gcc\bin;\epoc32\tools;%PATH%
VisualC++
C:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT
That’s it, ready for compilation.
Go to the directory where “bld.inf” resides, then run “bldmake bldfiles”. Then run” abld” with appropriate options. For example “abld wins” for creating binary for the emulator, or “abld urel” for creating binary for real A1000.
Then when ready for testing on real A1000, or for distribution, create the .sis package using “makesis”. Find the *.pkg file and run “makesis .pgk, and the result is .sis package ready to be installed into A1000 via Motorola Desktop Suite.
Editing and debugging can be done with VisualC++ IDE. Execute “abld makefile vc6″ then *.dsw and other necessary files will be created under Q:\epoc32\BUILD\. For example, when the source code is located at Q:M1000\M1000SAMPLEAPP1_HELLOM1000 then the VC6 project files are located at Q:\epoc32\BUILD\M1000\M1000SAMPLEAPP1_HELLOM1000\GROUP\
HELLOM1000\WINS
The rest of the instruction can be found on M1000 doc below.
Links:
Developing for FOMA M1000


