I am using EclipseME to write MIDlet application.
I have deployed by right click on Project->J2ME->Create Package.
After that, I copied Jad and Jar files in Deploy folder to My phone.
For BlackBerry: When I run Jad file, it is installed successful. And run ok.
For Android: When I run jar file, it popup message "open file failed".
Please tell me how to deploy MIDlet app by using Eclipse for all cell phone that can run it.
Android phones can't runt J2ME.
Directly you can't run Java ME application on android. But You can use some alternative ways like App runner or J2ab.
For Android you should develop an application using android sdk. Better you read the android documentation. Search android in google. It will help you.
Related
I am a begginer in android and I want to develop an application which show a list of jar files to user and user can choose one of them and run it. Is it possible to run a jar file in an android application? (not as a library)
Nope we cannot run a jar file on android devices, You see we have .apk to install it on our android device. But not .jar, Also Android uses the Dalvik VM, where as you need the Java VM to run a jar-file. So you can run jar on android.
Is there any way that I can get the app version from apk file
using JAVA eclipse?
thanks for your time!
You can extract the apk via 7zip/WinRAR and then open the folder with sublime and then look for version. You will get a hit if you are lucky.
The concrete way would be to decompile it and then do a search.
I'm trying to pack my Java Azure project in Mac and I cannot find the source code for cspack.exe. So far, I've managed to run Azure Eclipse plugin and successfully created a project but when trying to deploy it cannot run cspack.exe.
I've downloaded Windows Azure Tools and seen CsPack.cs up to the following lines
// Run CsPack to generate the package
ProcessHelper.StartAndWaitForProcess(
new ProcessStartInfo(Path.Combine(AzureSdkBinDirectory, Resources.CsPackExe),
args), out standardOutput, out standardError);
And I don't really know if this component it's open source or not.
If cspack.exe is proprietary, is there any way to simulate cspack.exe. I know it compresses the project to a zip file but I could use any documentation.
cspack.exe is not open source. It will is packed into the Azure SDK which can be downloaded and installed. There is something Open Source like jJack said, but this is only the API which can be used in a Java, .NET or whatever program, to get access to your configurations, mounting a cloud drive or something else.
The eclipse plugins is using a cspack.exe.jar, which is a commandline wrapper for the original cspack Application.
Azure SDK for Mac can be downloaded Azure SDK. Don't know if the Eclipse plugin is capable to work on Mac yet.
It looks like WindowsAzure4j is open source so if this is what you are using then you are in luck. I would try downloading This and look for the full CsPack.cs file, maybe you can glean the source of the problem from it?
Hello I want to open PDF file in Android app, I found this apv pdf reader in code.google and it is recommended by alot.
I checked the setup page and it is assume you are using Linux and I am Windows user + I am not good in configure libraries.
Can you show me how to configure it in windows and integrate in my app?
OR
if there is good tutorial for that?
The instructions provided work for Windows as well. You need to install cygwin and then follow those instructions from a cygwin prompt to build the libraries. It looks like you'll also need to install Android NDK.
I've created a project in netbeans and I want it to be runnable in another computer without having the netbeans installed (just like a .exe in visual basic).
I pressed F11 and I got a lib folder which has a .jar file on it. But then I don't know how to work it out, which one do I have to double click?
Can anyone please guide me?
If you created a java project, then the "other" computer should have the java runtime installed, in order for the jar to be executed there (java -jar your.jar) otherwise if you really want an .exe use one of the many jar2exe converters found on the almighty internet, such as http://www.ucware.com/jexec/index.htm
To run jar file on other computer you should have at least jdk. Their is no need to install NetBeans but you have to first set database connectivity to pc and your database. After connectivity just double click on jar file your project will run.
To know how to create Jar file in NetBeans check this link.
What type of project is this Desktop application OR Web based application ? If you are using java then for Desktop application you need to create a *.JAR and for Web based : *.WAR.
There are simple step to create jar/ war. please follow any tutorial.