running java compiler on universal - Windows Mobile Development and Hacking General

Hello
is it possible for me to run a java compiler on my universal?

this search makes me think yes
http://www.google.dk/search?hl=da&q...r&btnG=Google-søgning&meta=lr=lang_da|lang_en

Related

Programming on SPV M3000

I just downloaded eMbedded Visual C++ 4.0 to developp programs but I haven't the code to install it & never found it.
Does anybody know another developping tool ?
Pixel69 said:
I just downloaded eMbedded Visual C++ 4.0 to developp programs but I haven't the code to install it & never found it.
Does anybody know another developping tool ?
Click to expand...
Click to collapse
This one is from the microsoft site:
Use the following CD key when installing this software: TRT7H-KD36T-FRH8D-6QH8P-VFJHQ
http://www.microsoft.com/downloads/...3d-50d1-41b2-a107-fa75ae960856&DisplayLang=en

Problems compiling apps for Universal under Linux

Sorry for a lame question, but i've got a problem. I've compiled a simple hello-world application using arm-gcc 3.4.3 (compiled under x86 linux using gcc compiler for ARM) with default settings. When I was trying to start it under Universal, I got the message 'Invalid instruction' (or something like that).
Please provide me with a working example (command-line arguments for building and etc) or some instructions on build process, if anybody has one.
Thanks.
bazis said:
I've compiled a simple hello-world application using arm-gcc 3.4.3 (compiled under x86 linux using gcc compiler for ARM) with default settings.
Click to expand...
Click to collapse
You don't tell where does the gcc-3.4.3 come from.
With the 3.4.1 stadalone toolchain from
ftp://ftp.handhelds.org/projects/toolchain
it is just
Code:
/usr/local/arm/3.4.1/bin/arm-linux-gcc -o hello hello.c
If you want to compile GUI apps or big packages, then you should read
http://www.openembedded.org/wiki/GettingStarted
I downloaded it from www.gnuarm.com. It worked OK when compiled ROM images for my ARM7TDMI-based boards.
Thanks for the link, I'll try it today.
And, finally, another lame question: did anybody tried to build gcc 4.1 for cross-compiling from x86 to ARM? Or it is possible to use the script from the FTP to build it?

Additional Java runtime

Hello,
i use the very light 6.5.1 rom which has not java.
can i install a java runtime like ones in the original roms is? where i can find it?

[Q] Making java applications and running them on the HD2

Hello,
I was wondering if ubuntu on the HD2 could use a java compiler and run java apps? I was thinking of getting one.
http://www.youtube.com/watch?v=T4ujzq27XpA

Doubts with Using Xamarin to develop Android App

Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Sorry in advance if these questions are naive....
Questions:
1 > I am using Windows. To generate the *.so what is the suitable IDE? Can the windows be used to generate *.so(static object)?
2> If I were to go with Eclipse , Do I need to install the plugins like SDK ,NDK etc...?
3> Do I need to care for processor architecture's , If need to compile the source?....I mean cross compilation
Thanks
sanddune008 said:
Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Click to expand...
Click to collapse
I'm not sure if I understand you question but I assume you want to extend an existing app -build in C# using Xamarin- with native android Java?
I'm not sure that's even possible. Xamarin is utilizing mono for android to create android (Linux) executable files. When decompiling my own Xamarin build apk with APK Studio I did see the mono .so libraries, but my own code was compiled. Referenced .Net (Windows!) dll's where added to the apk. I assume the mono libraries deal with how they are used in the compiled C# code.
Since there's no quick conversion I see a few options:
A - Change the Xamarin/C# android project to a library project (dll). Compile it using Xamarin and find out (google) how to utilize this dll using mono for android in your Java development environment (eclipse). There are mono .so files...
B - Convert the Xamarin/C# source to java source code. There are some commercial tools which claim to be able to convert C# to Java. Go java all the way.
C - Stick to Xamarin/C#
I think option A will lead to lots of headache assuming you referenced some .Net assemblies in your C# source. However it might be worth a try. Though keep in mind that if you keep using the Xamarin/C# part, you keep needing the Xamarin license to upgrade/update code in the future.
I would go for either B or C depending on the codebase. If it's a lot of code a Xamarin license renewal might be cheaper then a rewrite (conversion). In my experience code converters are reasonable tools, but I've never saw a one-click conversion happen. There's always extra work to make the converted code even compile.
In conclusion: Mixing Xamarin/C# and native Java code might be technically possible, I would rather make a choice for either one of them.
I can't answer your questions about eclipse and required libraries, but I hope my answer is of some use.
Regards,
Alex

Categories

Resources