I was planning to program in the Ubuntu environment all the time. This time it seems that I have to switch to Windows.
In the case of j2's, there is no way to install the simulator of the collection vendor, and there is no way to use Bluetooth, no solution.
For Android, the SDK... eclipse cannot be updated.
So, with this article.
Environment: Deep winxpsp3
Body:
Configure
1. Download eclipse, JDK, and wtk. Nokias60v5sdk_j2s
2. Install JDK and wtk
3. Install eclipseme in eclipse and restart eclipse;
4. Install nokiasdk. Install the Perl environment first.
5. Load the simulator, wtk and Nokia.
6. Test helloworld;
* When creating a Nokia project, be sure to select a simulator instead of a device. If you run it directly in eclipse, an error will be reported, which remains unsolved for a long time, the final solution is to start the simulator in the Start menu, and then file-open to open the * to debug *. Jar, complete ~
Configure android
1. Download The androidsdk and get a compressed package. Decompress the package to a directory, such as D: \ Android-SDK-Windows. Right-click "my computer", "property" | "advanced" | "environment variable", and add d before the PATH variable of the system variable: \ Android-SDK-Windows \ tools; the new SDK also needs to manually download platform, Run D: \ Android-SDK under Windows SDK manager.exe, then select the version, and then confirm, it will connect to Google's website to download some things. It will take a long time, And CERNET will take about 3 hours.
2. Create AVD (Android virtual device)
AVD is a virtual Android phone in a computer. For the new SDK version, you must manually add AVD to the SDK directory, for example, D: \ Android-SDK-Windows. Run SDK manager.exe and click "Virtual Devices" on the left. Click "new" on the right ", the create dialog box is displayed, and a name is obtained for this SVD, such as the mobile phone model hero. Then, set target to an Android version and SD card to the virtual svd sd card capacity, and then set the resolution, for example, 320*480, add the special device required for this AVD in hardware, such as the keyboard, and click Create
AVD "completed.
3. Install ADT (Android development tools)
Different eclipse versions may have different settings. Run eclipse, "help" | "install new software", enter "Android-http://dl-ssl.google.com/Android/eclipse/" in work with, and then "android ddms" and "android development tools ", check, continue to next, accept, and complete. Next, wait for it to automatically download and install. This process takes a long time. If there is a dialog box about whether to continue the installation, click Continue. After the installation is complete, restart eclipse.
4. Set the android SDK location
Run eclipse. On the menu bar "window" | "Preferences", click "android" on the Left bar, and fill in the above 3rd in the SDK location on the right, for example, D: \ Android-SDK-windows, click Apply and select a platform.
5. OK. Now we have configured the development environment. Next, we will create an Android Application and run and debug it. Of course, this is for the Android for Eclipse plug-in, because I have not studied other methods.
To develop an android program,
First of all, create a project. If the installation is successful, File> New
> The Android option is displayed in the project. select the option one by one and set it. After finishing, you can view the project configuration file in the project directory.
Androidmanifest. xml and folders that store source code and libraries. Skip this and try running and debugging. Select Run
> Run: In the pop-up dialog box, select androidapplication -- "new_configuration.
Select project and activity. Ignore the other two labels first and apply them.
One problem is worth noting that the package name. Package name must be added before the package name because it is set to "projectname. packagename" instead of "packagename. Otherwise, the error "package name must have at least two identifiers" appears. My reference instances are:
Project name: helloworld
Package name: COM. javaeedev. Android. Hello
Activity name: Hello
Application name: Hello
Finally, click Run in the dialog box and tell me what you saw?