| 1 |
package ${packageName}; |
| 2 |
|
| 3 |
import ${superClassFqcn}; |
| 4 |
import android.os.Bundle; |
| 5 |
<#if includeCppSupport!false> |
| 6 |
import android.widget.TextView; |
| 7 |
</#if> |
| 8 |
|
| 9 |
public class ${activityClass} extends ${superClass} { |
| 10 |
|
| 11 |
@Override |
| 12 |
protected void onCreate(Bundle savedInstanceState) { |
| 13 |
super.onCreate(savedInstanceState); |
| 14 |
<#if generateLayout> |
| 15 |
setContentView(R.layout.${layoutName}); |
| 16 |
</#if> |
| 17 |
<#include "../../../../common/jni_code_usage.java.ftl"> |
| 18 |
} |
| 19 |
<#include "../../../../common/jni_code_snippet.java.ftl"> |
| 20 |
} |