FireMonkey app tethering not working on wifi - android

I've written a desktop app in Delphi 10.4 community edition (FMX app) and an Android app to share photos from an Android phone to a windows desktop app. Both are working perfectly when the laptop with the Windows app is connected to the local network with a cable, but not when I'm using Wifi. Phone and laptop are on the same subnet. Anybody had the same issue but having a solution for this?
Tried to connect with the windows firewall for private network off. Both phone and laptop are on the same Wifi network. When the laptop is connected to LAN everything is working as expected. I'm using on both apps TTetheringManager and TTetheringProfile.

Related

How to use SpaceDesk over a Wired Connection?

I have a Samsung Galaxy Tab A 10.1" that I want to use as a second monitor with my PC. Spacedesk works great for my needs so long as I'm on a network with lots of bandwidth -- but more frequently I want to use second-monitor functionality in other environments, e.g. at a coffee shop, where the number of users bogs down network traffic and makes Spacedesk unacceptably slow.
Spacedesk doesn't natively support a wired connection, but for those who want one they suggest using USB tethering, presumably so both devices are on the same network. Problem is, my tablet is the Wifi-only version, so USB tethering isn't enabled. I rooted the device and used adb to run the commands enabling USB tethering as an option. It didn't take - the option never appeared under Settings / Connections. Then I installed ClockworkMod Tether as a 3rd party usb tether app. The PC tether software said it connected successfully to the tablet, but Spacedesk couldn't connect. Next I tried "gnirehtet", a reverse-tethering app. Got it working fine, but again Spacedesk on the tablet couldn't find the Spacedesk server on the PC.
How can I get both devices to be on the same network, without an intermediate connection (e.g. a router), in a way that preserves my PC's ability to connect to wifi, and that will allow Spacedesk to connect?
Turns out there's this thing called "Mobile Hotspot". Of course I couldn't use this on my tablet, as it had been disabled (thanks Samsung). But you can set it up on Windows easily -- in Windows 10 it's under Settings / Network & Internet / Mobile Hotspot. Connect your tablet to that hotspot and Spacedesk works like a charm.
Huge thanks to SpaceDesk customer support, who were extremely helpful in troubleshooting this apparently rather unusual situation. 5 stars both for the product, which I can now use anywhere, and the customer service.
Wifi tethering is possible with the tab A but only on android versions 6.x and below. it can be turned on via usb tethering enabling apps found in the app store that take you to the options in the settings of your device, these options appear to just be hidden in versions lower than 7 but removed in android 7 for whatever reason as the same apps just take you to an empty screen when used with 7.
If you have already upgraded to android 7.0 or above, and having spacedesk work with minimal lag is important to you, then I suggest you roll back youre tablet android version using Odin. This is what I've had to do after updating my tablet today (google it, there's plenty of guides out there)
TBH spacedesk is just poop over wifi. With USB you can watch video no problem
I tried the advice suggested here of using the mobile hotspot on my Windows 10 PC and used an old android tablet to create the extended screen to my PC using the suggested SpaceDesk app and it worked great! The download for Spacedesk for your Windows 10 PC is at https://spacedesk.net/ and the android app is in on the Google Playstore. Give it a try; it worked great for me.
I was connected to the internet over the LAN on my WIFI so I had difficulty in connecting the tablet (Samsung Galaxy Tab 3) over USB. My solution to this problem is disconnect your Laptop from the WIFI router from LAN cable as well as WIFI and use the tether option in tablet and connect it to the laptop and now it will work. Now for using the inter connect your Wi-Fi or LAN cable after this.
I tested the #Twiffy solution "Windows 10 hotspot" and worked for me. I disabled the tablet (Galaxy Tab A7) WiFi and the lag ended.

How to browse the localhost on android device?

I try to browse localhost on my samsung device. I connected my device with eclipse via wifi. browsing http://192.1.1.190 I get a "Page not avialable. I remember, some days ago it worked
but on the emulator I am able to browse localhost.
I searched on google not able to find the correct ideas.can any one know about this.
any ideas? regards
I am currently building an Android app on the side and struggled with this problem. One solution here would be to connect your Android phone to a WiFi network which your Android Studio is also connected.
Then, when you debug your app from Android Studio, the phone should be able to access the IP address corresponding to localhost.
Yes i connect android device with wifi.but my laptop wifi ip and device ip is showing different ip numbers.so i cant able to access the localhost on android device especially.

How to connect phone to Android studio over 4G internet?

I want to connect my phone to Android studio running on my home PC over my phone cellular network 4G internet.
I've looked up the ADB documentation and saw that remote connection can be done if both the PC and the phone are on the same network so I'm guessing a solution would be to setup some kind of VPN. I'm wondering if there isn't anything simpler that can be done? Something as simple as an app or an Android Studio add-on that handles all the connections and security considerations would be nice.

Usb serial connection of FT232BL

I am working on an Android project. I want to make an Android app and load to an Android tablet. My goal is control the peripheral device over the Android app installed Android device. Therefore, I researched on the Internet to send/receive data over USB, and I saw the FTDI chip.
I have an FT232BL. I loaded the D2XXsample and driver and also read and processed TN_134_FTDI_Android_D2XX_Driver.pdf and TN_147_Java_D2xx_for_Android.pdf. But I don't achieve to connect the Android tablet and peripheral device. How can I fix this?

Trouble running Android serial monitor lite on HCL ME U1

I am trying to run this USB Serial Monitor app on HCL ME U1 tablet (ICS 4.0.3, Kernel 3.0.8). I am connecting the tablet with a serial device using a FTDI FT232RL (USB to RS232) cable. When i connect the FTDI cable to tablet, notification asking permission to connect the device pops up and when I open device, Toast saying connected also comes up. But when i write some data, the data is not send. The TX Led doesn't blink. So the data doesn't get past FT232 IC.
I have tried same app on android x86 using oracle VirtualBox. It works fine on it. No errors.
I have tried Slick USB 2 Serial terminal on both x86 & ME u1. It works on both.
Please share if anybody has any ideas what the problem might be.
Source code
This Question have become obsolete. FTDI and prolific have released their driver jars for android. They are working fine.

Categories

Resources