i want a full proper code with xml and java file of sharing Data between mobile and computer through wifi connectiion and code in android studio

I have just started doing some Android development. One of the things that I would like to add to the app the I’m working on, is data exchange between a desktop computer and an android phone. Think of it like exchanging of data wih the phone when it is connected to the wifi network.

Asus ROG Strix wifi drivers with UEFI enabled

I can’t get my Linux Mint 19 install to detect my wireless card.

I have followed instructions from here: Asus Rog Strix Z370 EGAMING Wireless card not working

No errors or warnings occur through the whole build process.

The last command gives the following:

modprobe: ERROR: could not insert 'rtl8822be': Required key not available 

I think this is due to me having UEFI mode enabled as I dual boot with Windows. Is there anything I can do to get this driver signed so it prompts for a new MOK on reboot?

Can connect to server on the university network with ethernet but not with wifi

In my lab, we set a dell server with the idea to connect via wifi to it. The server is located on the university and connect to the Internet with ethernet, using an static ip.

The server is running Linux server and i’m using windows 10 on my laptop. I set up to xrdp remote desktop and to ssh to connect to it. I can be connected and use the server when my laptopis connected with ethernet, but it is not possible with wifi, which was the main point of the server. This is the same for xrdp and ssh, i can connect with ethernet but not with wifi.

I’m really lost since this is the first time that I set up a remote connection. I have not clue what the problem could be.

Thanks for your answers!

PS: The network is eduroam.

Stop Android from automatically switching between WiFi networks

I am using the gopro app on my Xiaomi Mi Max 3 (MIUI 10.3) android device, and whenever I connect the camera to the phone, the later automatically switches back to the ‘Home’ wifi.

The only workaround that works so far is when I disable the ‘Auto Connect’ option on the ‘Home’ Network, but this is not very convenient as the phone switches to Data Usage when the connection with the gopro is terminated.

There is indeed a default pop-up message saying that the Current Network (the gopro wifi) doesn’t have ‘Access to the Internet’ and it prompts me to “Keep” the connection, but until this message pops-up, the phone constantly keeps switching between the two Networks trying to identify which is the best connection to use.

Is there a way to “lock” the selected network when tapping on it, and stop the device from Automatically switching between the two networks? Thank you all

Realtek and USB Wi-Fi Adapters not Found in Ubuntu 18.04


I have a Lenovo Legion Y7000 with dual boot system (Win10 and Ubuntu 18.04). The internal wireless card is Realtek 8822be and I have also attached a Panda wireless USB drive (as I was unable to get the internal wireless card working). When I go to Wi-Fi Settings in Ubuntu, I see “No Wi-Fi Adapter Found” for both internal and USB Wi-Fi drives. But the following commands actually show that Ubuntu has detected my Wi-Fi chips:

o-vh@o-vh:~$   lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 04ca:7070 Lite-On Technology Corp.  Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver Bus 001 Device 005: ID 0bda:b023 Realtek Semiconductor Corp.  Bus 001 Device 002: ID 148f:5372 Ralink Technology, Corp. RT5372 Wireless Adapter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 


o-vh@o-vh:~$   iwconfig wlp7s0    IEEE 802.11  ESSID:off/any             Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm              Retry short limit:7   RTS thr=2347 B   Fragment thr:off           Power Management:on  enp8s0    no wireless extensions.  wlx7cdd90764d5b  IEEE 802.11  ESSID:off/any             Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm              Retry short  long limit:2   RTS thr:off   Fragment thr:off           Power Management:off  lo        no wireless extensions. 

which is not clear to me, as it seems that two wireless cards are detected, but I still see two no wireless extensions. messages. Finally, when I run lshw -C network, I see:

  *-network                         description: Wireless interface        product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:07:00.0        logical name: wlp7s0        version: 00        serial: 48:5f:99:b2:fd:e7        width: 64 bits        clock: 33MHz        capabilities: bus_master cap_list ethernet physical wireless        configuration: broadcast=yes driver=r8822be driverversion=4.15.0-50-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11        resources: irq:143 ioport:4000(size=256) memory:a4300000-a430ffff   *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:08:00.0        logical name: enp8s0        version: 15        serial: e8:6a:64:c1:75:66        size: 100Mbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip= latency=0 link=yes multicast=yes port=MII speed=100Mbit/s        resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff   *-network DISABLED        description: Wireless interface        physical id: 1        bus info: usb@1:1        logical name: wlx7cdd90764d5b        serial: 7c:dd:90:76:4d:5b        capabilities: ethernet physical wireless        configuration: broadcast=yes driver=rt2800usb driverversion=4.15.0-50-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11  

Note that for the USB Wi-Fi I see *-network DISABLED while I don’t see this for the Realtek Wi-Fi.

Can anyone give me some hints on what the problem is and how I can fixed the “No Wi-Fi Adapter Found” issue? I appreciate your help very much!

I have tried many of the approaches suggested for similar (but not identical) problems without any success.