Android Question Skype ???

Pietro Pancino

Member
Licensed User
Longtime User
I all !

I have to do a simple APPs that establish an audio connection beetween two android devices over WIFI.
The calling device is in England and the receiver is in France.
We have no possibility of GSM connection, only WIFI throught internet.
I thought about SKYPE or WHATSAPP that allow those king of connections.
I tryed to use the Skype library with the given exemple and I have an error each time I try to start a connection, saying there is a null object reference?
It's seems that the internal library list is empty, I don't know. If any one can help :)

the apps is in the zip file ...

The error message :
Error occurred on line: 97 (Main)
java.lang.NullPointerException: Attempt to read from field 'java.lang.ref.WeakReference anywheresoftware.b4a.BA$SharedProcessBA.activityBA' on a null object reference
at anywheresoftware.b4a.keywords.Common.StartActivity(Common.java:853)
at njdude.skype.library.sample.skype._chatcall(skype.java:114)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:777)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:354)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7862)
at android.widget.TextView.performClick(TextView.java:15004)
at android.view.View.performClickInternal(View.java:7831)
at android.view.View.access$3600(View.java:879)
at android.view.View$PerformClick.run(View.java:29359)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
error on chat
 

Attachments

  • SkypeSample_pp.zip
    11.9 KB · Views: 210

BillMeyer

Well-Known Member
Licensed User
Longtime User
This might be your answer VoIP and it's all B4X !!
 
Upvote 0
Top