3dphotoshoot
annotate src/android/MainActivity.java @ 2:cf5964db7ff3
finally jni calls fucking work
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 15 May 2015 02:06:26 +0300 |
parents | 7eb73ce46dd0 |
children | 9df99687a2ff |
rev | line source |
---|---|
nuclear@0 | 1 package com.mutantstargoat.photoshoot3d; |
nuclear@0 | 2 |
nuclear@0 | 3 import android.app.NativeActivity; |
nuclear@0 | 4 import android.util.Log; |
nuclear@0 | 5 |
nuclear@0 | 6 public class MainActivity extends NativeActivity { |
nuclear@2 | 7 public static int foo(String s, int n) |
nuclear@0 | 8 { |
nuclear@2 | 9 Log.i("photoshoot3d", s + ": " + n); |
nuclear@2 | 10 return 42; |
nuclear@0 | 11 } |
nuclear@0 | 12 } |