AI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own java callable libraries to c code.

BUG=1857858

Automated import of CL 149005
This commit is contained in:
Mike Ritter
2009-05-19 11:28:10 -07:00
committed by The Android Open Source Project
parent c3c7479ab6
commit 429fbd82d8
23 changed files with 530 additions and 530 deletions

View File

@@ -0,0 +1,22 @@
#include <stdio.h>
#include "hello_cpp.h"
Hello::Hello()
{
}
Hello::~Hello()
{
}
void Hello::printMessage(char* msg)
{
printf("C++ example printing message: %s", msg);
}
int main(void)
{
Hello hello_obj;
hello_obj.printMessage("Hello world!\n");
return 0;
}