[android-developers] Convert C++ command line tool to Android app?
Hi, I've got a C++ command line tool, and want to put this tool onto my Android phone. I've done the helloandroid example, and it worked perfectly. My question is, what's the easiest way to port my C++ program to the Android platform. The tool written in C++ just needs a few inputs and then compute the output, so I would imagine a few text input boxes and an output display text box, nothing fancy in the GUI. Would appreciate any suggestion, also I only have remote knowledge of Java, but very comfortable with C/C++. Thanks, J -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Convert C++ command line tool to Android app?
On Sun, Aug 28, 2011 at 12:50 PM, Jack Harvard jack.harv...@gmail.comwrote: I've got a C++ command line tool, and want to put this tool onto my Android phone. I've done the helloandroid example, and it worked perfectly. My question is, what's the easiest way to port my C++ program to the Android platform. The tool written in C++ just needs a few inputs and then compute the output, so I would imagine a few text input boxes and an output display text box, nothing fancy in the GUI. Would appreciate any suggestion, also I only have remote knowledge of Java, but very comfortable with C/C++. Look up NDK. Also, if you're very comfortable with C++ (I'm purposefully ignoring the C part) you should have no problem with Java. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Convert C++ command line tool to Android app?
Depends on how complicated your C/C++ code is. For me it was fairly easy to do a search/replace for some elements and change the function calls a little on a fairly complicated C++ library. Tangible Software makes commercial C++ to Java tool. I considered it for doing projects where a lot of code needed conversion. Java is fairly easy to dive into sideways. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en