linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] linphone-android ==> liblinphone.so question


From: Wu Shan
Subject: Re: [Linphone-developers] linphone-android ==> liblinphone.so question
Date: Thu, 20 Oct 2011 15:37:30 +0800

Dear Guillaume, 
     issue : Don't know how to load liblinphone.so library file from normal android project.

      traces , logs: ... no , when I declare variable native TutorialHelloWorld tutorial, it just shows red line under it.

it shows I didn't load the liblinphone.so file properly... so TutorialHelloWorld class doesn't exist. 

                                                                                                                                       Sincerely, 
 
2011/10/20 Guillaume BERAUDO <address@hidden>
Hi,

Could you describe the issue?
Do you have some traces, logs?



Le Thu, 20 Oct 2011 12:46:44 +0800,
Wu Shan <address@hidden> a écrit :

> Hi everyone,
>
>           I was trying to load liblinphone.so to load the shared
> library and
>
> run the tutorial code in linphone-android.
>
> package com.apt;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.widget.TextView;
>
> public class LinphoneHelloWorldActivity extends Activity {
> static {
> System.loadLibrary("linphone");
>     }
> private static final String defaultSipAddress = "sip:";
> private TextView sipAddressWidget;
> native TutorialHelloWorld tutorial;
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.main);
>     }
>
>
> }
>
> but TutorialHelloWorld class seemed doesn't exist in the
> liblinphone.so file (
> or maybe I load liblinphone.so in a wrong way)
>
> Could anyone please tell me what I should do to run this HelloWorld
> activity in the linphone-android ?
>
>
>                                                         Sincerely,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]