Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Roboteck

Pages: [1]
1
Support / Help, please! JPCT-AE + aclipse + android = ERROR
« on: June 29, 2011, 03:09:06 pm »
Hi!

My name is Roma, I Russian, excuse me for my bad English, I write by means of the translator.

I write on PHP and ActionScript. There was a necessity to write 3D application for android. I have selected Java (it is very similar on actionscript), Eclipsse and JPCT (it is necessary 3D).

At me it turns out to do applications without usage JPCT but as soon as I add in the code something from JPCT, application hangs up.



Code: [Select]
package com.test;

import android.app.Activity;
import android.os.Bundle;
import com.threed.jpct.World;

public class Test_JPCT_2Activity extends Activity {
    private World world = null;
   
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        world = new World();
    }
}

The error disappears, when I make comments on this line

Code: [Select]
//world = new World();

Pages: [1]