Android i-jetty server access over 3g - java

With an android app that uses an i-jetty server, I managed to connect to an android device from a PC web browser over wifi. However, I want to enable connecting over a 3g (mobile data) network. Is there a way to do that?

Related

Android app ignore Raspberry PI Wifi AP.How to connect Android App to non internet Wifi network?

I have basic web view android app - client side, and Raspberry Pi as server side (NodeJS WEB server). Raspberry acts as Wifi access point and receive connections. Android app works when i have internet enabled on raspberry via lan port. When i try to connect and around me i have saved wifi connection wit INTERNET ACCESSS, app ignore raspberry pi wifi. How to force android app to connect to NON INTERNET WIFI and keep the connection?
I assume you want to know, how you can prevent Android from switching networks, when the OS detects no Internet Connection.
You could start by disabling the Google Connectivity Services App. This sometimes works for me. To do this go to Settings -> Apps -> Google Connectivity Services (On some phones you need to enable 'system apps')
This feature might have different names on some brands...

PC (java program) and Android communication over USB

I need to develop android application that will communicate with PC over USB. The PC software will send some data and android app need to display received data.
I already did this communication over sockets (pc server, android client), but i need to cover situation if there is no internet connection. What is the best way to do this?

Problem connecting Android app to automation devices using socket connection

This requirement for automation devices.
Hello, I want Send - Receive data using Static IPAddress and Port with WiFi connection. (It's working fine for me using TCPIP Socket Programming.)
Now, My phone connects with router wifi, but here Internet connection not available. Then after I want to do the above process between mobile devices and automation devices.
Is there any possible way to connect mobile devices and automation devices using only wifi connection (Wifi Internet connection not necessary in this case.)

How to configure a BLE device as a bridge to communicate from android app to a USB device?

I have a BLE device (BlueMode+S42). I have attached the BLE device to a phone via a USB cable. Now I want to communicate via an app I created that sends something to the other phone.
Android App (Bluetooth) -----> BLE device (USB cable) -----> Android phone
I can already connect and disconnect from the BLE device via the app. I can read the UUID's from the BLE Device too. So I already have the app that communicates with BLE, the problem now is to set the BLE device as a bridge to communicate from the app to the other phone.
The github project is available here (It works fine, don't look at the roughness of the code please :D): https://github.com/Dehma/BleConnectionProject.git
Edit:
Ok I did both connections and now I'm struggling with how to connect them toghether so the phones can communicate each other.

tcp socket not connecting over wifi if device is connected with 4g connection with internet availability

I created a sample app, with just 3 buttons, Connect , send msg, disconnect.
I am using TCP server on another mobile B, (any available tcp server app or test tool app).
and our client app is on mobile A.
Case 1. Both the Mobile A & B, are on same wifi network, app is working fine (connect, disconnect) if both have same internet or does not have any internet over wifi, and client device does not have internet availability on other network, like 4g.
Working
Case 2. Both the Mobile are on same wifi network, but in client app device, Mobile A has 4g connection with internet available, now the app is not connecting with tcp server over wifi network.
this wifi network does not have internet connectivity.
Not Working
so case 2 is not working. If devices are on same wifi, and client has other 3g/4g working internet , the app is not connecting over wifi.

Categories

Resources