1. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Program Droid in C++

Discussion in 'Android Hacks and Help' started by edgreenberg, Nov 17, 2009.

  1. edgreenberg
    Offline

    edgreenberg New Member

    Joined:
    Nov 17, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Any pointer to how one can develop C++ apps for Droid?
  2. dongdong
    Offline

    dongdong New Member

    Joined:
    Nov 16, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
  3. AcidBurn
    Offline

    AcidBurn New Member

    Joined:
    Nov 2, 2009
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Mansfield,Ohio
    Im pretty sure the only language that Android will understand is Java and xml. I wanted to program in objective C like i do for iPhone and Mac
  4. SoftwareForMe.com
    Offline

    SoftwareForMe.com New Member

    Joined:
    Nov 11, 2009
    Messages:
    249
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Washington State
    Actually, as dongdong pointed out, you can use the Native Development Kit (NDK) to get C/C++ code running on the device. This works by writing native libraries that are packaged with your Java code.

    However, the compiled libraries are processor-model specific, so your application will run on some devices and perhaps not others.

    Also, you cannot write entire applications in C/C++. There are only a limited set of libraries available to the C/C++ code.

    This ability is made available mostly to support high-speed, low-level coding for special needs. It's not really a great general-purpose option yet, but may be some day.

    SoftwareForMe.com
    Makers of PhoneMyPC
  5. escorpio
    Offline

    escorpio New Member

    Joined:
    Nov 26, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    If not... where can I get good easy tutorials for JAVA??? I am just good in C++ and Matlab, but I can learn new language by myself easily as well
  6. zoku86
    Offline

    zoku86 New Member

    Joined:
    Apr 6, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    ok any library or book store will have idiot guides 2 Java my only question is why ya know c++ and not Java
  7. escorpio
    Offline

    escorpio New Member

    Joined:
    Nov 26, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Because I didn't learn C++ from an idiots guide. I had to take that class in the university because it was a requirement for my major ;)
  8. 3vil
    Offline

    3vil New Member

    Joined:
    Jun 11, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    Java and c++ are very similar. You won't have any trouble switching over. Just learn the syntax. Java was based on c++ after all.

    edit:
    Wow old thread!
  9. sasij
    Offline

    sasij New Member

    Joined:
    Mar 30, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Mosync SDK Look it up. It's cross platform. Hope that helps. I've been using it for a few weeks now.

    EDIT: I realise the OP question is old but I figured I'd throw it out there anyways because the thread was resurrected.
Search tags for this page
android cdroid c+
,
c droid
,
c droid forum
,
c for droid
,

c+ droid

,
c+ on android
,
c+ programming language for droid apps
,
cdorid c+
,
cfordroid
,

droid c+

,
how to program a droid app
,
how to program droid apps
,
how to run a program with droidedit
,
program droid for net 10
,

programming droid