Alljoyn framework Raspberry Pi and Alljoyn Android application are not interacting with each other? - alljoyn

Using Alljoyn framework I have developed an Android application to communicate with Raspberry Pi which also contains Alljoyn framework. I tried using the method which is available in the official site. But they are not communicating with each other.
I tried to run samples which are available from Alljoyn framework. I assumed my Raspberry Pi as server so I moved to this directory
export AJ_ROOT=`pwd`
# <TARGET CPU> can be either x86_64, x86, or whatever value you set for "CPU=" when running SCons.
export TARGET_CPU=arm
export LD_LIBRARY_PATH=$AJ_ROOT/core/alljoyn/build/linux/$TARGET_CPU/debug/dist/cpp/lib:$LD_LIBRARY_PATH
$AJ_ROOT/core/alljoyn/build/linux/$TARGET_CPU/debug/dist/cpp/bin/samples/chat -s mychannel
This is the tutorial for Alljoyn chat. Then I opened my Alljoyn chat Android application which I developed using Alljoyn SDKs, to make a chat with Raspberry Pi which is acting as server (s channel). But it's not getting connected.
This is the link for Android application chat: https://allseenalliance.org/framework/documentation/develop/run-sample-apps/chat/android
Please kindly give some ideas how to do chat between Raspberry Pi and Android application through Alljoyn framework.

I used this gist to compile alljoyn onto my raspberry pi.
After that you should be able to run the chat sample app with both the raspberry pi and the android device in the same network
Note that the folder structure may vary, depending on which Alljoyn SDK version you have.

Related

Connect BLE device using .net core

I want to develop a window-based application that runs on Windows 10 OS using .NET core or .NET 5. I am not sure which nuget package supports connecting to the BLE devices.

Do I need to provide Opencl.dll when deploying OpenCL app?

I'm about to deploy an app which has been developed using OpenCL and Nvidia's CUDA toolkit. For app to work correctly on my PC (where I have compiled and tested the app), I need OpenCL.dll. It is located in Windows folder. Do I need to provide a copy of this file when deploying my app to a user which is using a different PC with, possibly, a different graphics card ?
No - if the GPU supports OpenCL, then OpenCL.dll will have been installed along with the GPU driver.

deploying Xamarin forms application to android phone

I am very new to xamarin forms. I developed a simple autocomplete application in Xamrin forms using Visual studio 2017 enterprise version. I want to deploy that application to android phones. When I created the application, I selected Cross Platform app (xamarin.forms or Native). below is the image of visual studio run button:
and the properties of the project are below:
any article or any steps to deploy this application to android phones will be highly appreciated.
Set Up Device for Development - source - https://developer.xamarin.com
Enable Debugging on the Device - By default, it will not be possible to debug applications on a Android device.
Install USB Drivers - This step is not necessary for OS X computers. Windows computers may require the installation of USB drivers.
Connect the Device to the Computer - The final step involves connecting the device to the computer by either USB or WiFi.
Once a device is connected to your computer you will see your device like this
Now Click the green arrow to start deploy and debug.
additional - This link will show you how to debug and prepare APK for release
https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/

Xamarin Forms: All device features available with USB Debugging?

When using Xamarin forms (VS2017 for Windows) for cross-app development, there is certain features that are not covered by the android emulator, such as Bluetooth. Is this any different with USB debugging? Assuming my app runs via USB debugging on an actual mobile device, would Bluetooth be available in my running app as if it was installed and running natively?
I just would like to know, if I can test all features that are missing in the emulator by using USB debugging or is there any other limitations in this case?
If you're using an actual device there are no limitations other than those imposed by the device itself.

Testing apps on Native Client ARM

I understand that there is no NaCl SDK support for ARM platform so far. I am right now developing applications for ARM on Ubuntu. Is there a way I can test the applications on ARM machines without using SDK?. As far as I understand from Native Client website, we need SDK to start the server to test the applications. Does any one have experience on this?
You can develop your application on an x86 machine, and use the SDK's compilers to target NaCl ARM. This is commonly called cross-compiling. You then copy files over to the ARM machine that you want to test with, or use QEMU (to emulate ARM's ISA on an x86 machine).
It's possible to build a NaCl SDK from source for ARM, it's simply not distributed by the SDK team because there hasn't been demand for this.
You're trying to test in a browser? The server is there to serve content to a browser, but I've often found it simpler to use python -m SimpleHTTPServer.

Resources