Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
212 | ligi | 1 | package org.ligi.android; |
2 | |||
3 | import android.app.Activity; |
||
4 | import android.content.SharedPreferences; |
||
5 | |||
6 | public class AndroidMKCommunicator extends org.ligi.ufo.MKCommunicator |
||
7 | |||
8 | { |
||
9 | |||
10 | public AndroidMKCommunicator(android.content.Context ctx) |
||
11 | { |
||
12 | super(); |
||
13 | SharedPreferences settings; |
||
14 | settings =ctx.getSharedPreferences("DUBwise", 0); |
||
15 | this.connect_to(settings.getString("conn_host","10.0.2.2")+":"+(settings.getString("conn_port","9876")),"unnamed"); |
||
16 | } |
||
17 | |||
18 | |||
19 | |||
20 | } |