Android 如何定义一个结构?
解决方案 »
- 有大侠知道这种错误吗?eclipse clean时候,recipe for target `clean-box2d_static-armeabi' failed
- 搭建安卓开发环境搞得我头大,求大神帮看下
- tabhost的主activity和各个页面之间如何通讯?
- 如何隐藏gridView的滚动条
- 请问关于电源键的响应事件。。
- 这是什么问题啊!!!
- google android market哪里有安装文件啊?
- httppost请求获取上传进度问题
- 这个页面怎么切换的,求大神!
- 问一个简单的UDP发送的问题。
- 给ListView设置垂直方向的位移量
- android:background="@drawable/border_view_finder"
/**
* 学生类
* @author Administrator
*
*/
public class Student {
private int id; // 学号
private String name; // 姓名
private int gender = 0; // 性别,0:男,1:女
private int age; // 年龄
private String specialty; // 专业
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getGender() {
return gender;
}
public void setGender(int gender) {
this.gender = gender;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getSpecialty() {
return specialty;
}
public void setSpecialty(String specialty) {
this.specialty = specialty;
}
}
上层Java是没有结构体的定义的
JNI怎么用你可以去随便找点资料。