View Full Version : Why this SDK can't develop by c/c++?
mixfan
11-15-2007, 12:13 AM
I was no interesting with Java , why it can't be developed by c/c++.
:confused::confused::confused:
google
11-15-2007, 12:35 AM
It's so pity
caywen
11-15-2007, 04:47 PM
I feel the same way, though I totally get that Android wants to avoid people rebooting their mobile phones due to runaway code. Also, kind of sucks to recompile applications when they get Android running on some other architecture.
Hartley
11-21-2007, 07:10 AM
Hi Chaps,
Good news, you can program C/C++ on the MoSync development kit, Mobile Sorcery is planning on releasing a Android version at the beginning of 2008.
/Tony
aj7418
12-07-2007, 01:37 PM
the C/C++ is still converted into java and ran on the JVM so there isn't a performance gain. At least thats what I gathered from MoSync
google
12-12-2007, 07:26 AM
if it like what "aj7418" said, I think MoSync is useless.
bloggins
12-15-2007, 10:42 PM
Let's look at this objectively: Java has a reputation for being slow, but given JIT compilation and a fast-enough VM, Java can be plenty fast.
Just looking at the sample apps on the emulator, it's clear that THIS particular Java platform has come a long way from the slow and clunky Java apps that run on your free (with rebate) Samsung.
google
12-18-2007, 12:37 AM
1) Write a "hello, world" program.
#include
int main(int argc, char** argv) {
printf(”hello world\n”);
return 0;
}
2) compile
armv6-vfp-linux-gnueabi-gcc hi.c -o hi -static
3) ./emulator -console:
launch emulator and copy the program
adb push hi /system/sbin/hi
4) rum from emulator terminal
cd /system/sbin
./hi
5) OK!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by
vBSEO 3.2.0