Jump to content

Sven Goericke

Members
  • Posts

    14
  • Joined

  • Last visited

About Sven Goericke

  • Birthday 04/14/1979

Contact Methods

  • Website URL
    http://www.xpjets.com

Profile Information

  • Gender
    Male
  • Location
    Leipzig, Germany

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Sven Goericke's Achievements

Newbie

Newbie (1/14)

29

Reputation

  1. Just a few thoughts: don't care about the link layer (how are the Phone and Computer connected "physically"). Use a network protocol. For the beginning TCP/IP might be a good choice. As the "simplest" approach you have a client-server model. You plugin is the server (it receives the data from the phone). I don't know about Python for the X-Planbe SDK but for C/C++ there are some hints how to open a network socket and listen for incoming data within a plugin. A rough idea of the workflow could be: first: learn about Java and the Android-API. You need to find a way how to read the accelerometer data inside a Java-app. second: take a look at the docs for the java.net.* (especially java.net.socket.*) packages. Those will help you to send the data aut of the phone. third: checkout the xsquawkbox IPC SDK. it will give you an idea how to receive the data within a plugin (it's C++, not python). http://download.oracle.com/javase/6/docs/api/java/net/package-summary.html http://www.xsquawkbox.net/xsb/developer
×
×
  • Create New...