Lejos and Android connection crashes

This is where you talk about the EV3 software itself, installation issues, and programming talk.

Moderators: roger, gloomyandy, skoehler

CofBot
New User
Posts: 1
Joined: Mon Nov 06, 2017 10:43 am

Lejos and Android connection crashes

Postby CofBot » Mon Nov 06, 2017 10:46 am

Hello!

Im trying to create a connection between Android and Ev3 using Lejos.
But when im trying to establish connection my android app crashes. Anyone here know what could be wrong?

Code: Select all

private RemoteRequestEV3 ev3;





    public void button11 (View v){
        try{
        ev3 = new RemoteRequestEV3("192.168.0.9");
        if (ev3 != null) {
            audio = ev3.getAudio();
            audio.systemSound(3);
        }
    } catch (IOException e) {
            System.out.println("Connection Failed");

    }

Return to “EV3 Software”

Who is online

Users browsing this forum: No registered users and 1 guest