Create samplecode.cpp

the main method of openactivity in c when you use android NativeActivity