File tree 2 files changed +10
-1
lines changed
ServiceOnComputer/src/com/heeere/andromiscid/demo/onhost
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
2
+ JAXB! on 2.2
3
+ - added xercesImpl.jar in the classpath
4
+ - created missing core (awt) classes
5
+ ---> not sufficient...
6
+
2
7
Additionnal things:
3
8
To build:
4
9
- ant
@@ -10,10 +15,11 @@ To build:
10
15
To install:
11
16
- $SDK/platform-tools/adb install -r dist/DemoWithNetbeans.apk
12
17
18
+
13
19
On PC, in /etc/hosts, needed to add something like:
14
20
10.42.43.45 10-42-43-45
15
21
(this is because new jmdns replaces '.' by '-' in names)
16
-
22
+ (not needed with android 2.2 it seems)
17
23
18
24
mvn install:install-file \
19
25
-Dfile=$HOME/app/jmdns-3.4.0/lib/jmdns.jar \
Original file line number Diff line number Diff line change 5
5
6
6
package com .heeere .andromiscid .demo .onhost ;
7
7
8
+ import fr .prima .omiscid .com .TcpClient ;
9
+ import fr .prima .omiscid .control .OmiscidService ;
8
10
import fr .prima .omiscid .dnssd .interf .DNSSDFactory ;
9
11
import fr .prima .omiscid .user .connector .ConnectorListener ;
10
12
import fr .prima .omiscid .user .connector .ConnectorType ;
@@ -33,6 +35,7 @@ public class Main {
33
35
*/
34
36
public static void main (String [] args ) throws IOException {
35
37
//DNSSDFactory.DefaultFactory.factoryToTryFirst = "jmdns";
38
+ TcpClient .stripTrailingDotLocalDot = false ;
36
39
DNSSDFactory .DefaultFactory .verboseMode = true ;
37
40
ServiceFactory factory = new ServiceFactoryImpl ();
38
41
ServiceRepository repository = factory .createServiceRepository ();
You can’t perform that action at this time.
0 commit comments