Changes for page Android

Last modified by Sylvain Berfini on 2019/03/20 10:27

From version 26.1
edited by Simon Morlat
on 2018/08/15 12:12
To version 27.1
edited by Sylvain Berfini
on 2018/08/20 15:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.smorlat
1 +xwiki:XWiki.sylvain
Content
... ... @@ -85,10 +85,22 @@
85 85  
86 86  And now you have liblinphone sdk integrated in your project.
87 87  
88 -You can try your setup by trying to import the Core for example:
89 -{{code}}import org.linphone.Core;{{/code}}
88 +You can try your setup by trying to start a sample Core:
90 90  
90 +{{code}}
91 +System.loadLibrary("c++_shared");
92 +System.loadLibrary("bctoolbox");
93 +System.loadLibrary("ortp");
94 +System.loadLibrary("mediastreamer_base");
95 +System.loadLibrary("mediastreamer_voip");
96 +System.loadLibrary("linphone");
91 91  
98 +Factory.instance().setDebugMode(true, "Linphone");
99 +Core core = Factory.instance().createCore(null, null, this);
100 +core.start();
101 +{{/code}}
102 +
103 +
92 92  == Using liblinphone API ==
93 93  
94 94  The [[cross platform reference API documentation>>https://www.linphone.org/snapshots/docs/liblinphone/multilang/index.html]] is browsable here.