Android debugging on device with usb tether test wifi - wifi

In order for adb to recognize my device LG G4 I needed to select USB tethering. With this setting on, I am unable to maintain a wifi connection. I am trying to do some testing with wifi and want to have access to the log.
I thought maybe I could use adb over wifi but I want to see logs for connecting and disconnecting to wifi, do once I disconnect from wifi I loose my log.

Related

How to wirelessly connect Apple devices (iPad or iPhone) to Xcode without connecting the device to the Macbook using USB cable?

I want to wirelessly debug my app. How do I wirelessly connect my iPad to Xcode? It is required of me to connect my device to my Macbook using USB cable first, but my USB port is not working at all and it is impossible for me to do so. I looked everywhere on the web but cannot seem to get it working.
Here is what I get when I go to Window -> Devices and Simulators:
I tried clicking on "+" at the bottom left to see if my iPad connected:
Is there a way for me to connect my device using IP address?
In the Xcode help documentation it states:
Before you can launch your app on a wireless device, you must pair the device with Xcode.
And then in the same documentation it gives instructions on how to pair the device where it states:
Connect the iOS device to your Mac with a lightning cable.
So, in short, in order to get wireless debugging to work you have to connect the device using a wire the first time.
AFTER you have paired the device with Xcode using a wire, you should see something like this (image taken from Apple's help docs) in Devices and Simulators.
Enable wireless debugging with a paired device
Once this pairing has taken place the device will show up in Devices and Simulators whether it is connected or not.
At this stage if the device does not connect automatically then there is a way to connect via ip address by right clicking on the device in Devices and Simulators:
Connecting to disconnected (paired) device via IP address

Connect Sony SmartEyeGlass to Wifi

today a SmartEyrGlass arrived at the office and I am having trouble connecting it to the wifi to take pictures.
The manual just says:
Turn on wireless LAN on your smartphone.
And in the settings off the glass it only displays the MAC address of the device.
I looked online for a full manual, but I couldn't find any.
What do I need to do to take pictures?
It will automatically connect over wireless LAN when you start the Camera application.
For connection, initial pairing over bluetooth is enough. Device will switch to WLAN automatically when application needs it.
Start Camera and you will see it is starting to connect.

Is it possible to simulate 4G network in iPhone Simulator or device?

I wanted to know whether my device is connected to Wi-Fi or 3G or 4G specifically.Currently I am using Apple Reachability classes to check Internet Connection.
When I gave App for beta release to client it's showing connected network as Wi-Fi not 4G even though device is connected to 4G network.In my development location there is no 4G network to test.So is there any tool that can simulate 4G network?
Note:
I tried with Xcode tool Network Link Conditioner, but by this I am able to simulate only speed of the network but not the type of the network.
I tried with CoreTelephony framework also.But by using this I am getting incorrect results for iPad and iPhone.
iPhone 5:
Connected to Wi-FI with SIM getting CTRadioAccessTechnologyHSDPA
Connected to Wi-Fi without SIM getting NULL
Connected to 3G getting CTRadioAccessTechnologyHSDPA
iPad:
Connected to WI-FI but I am getting NULL
API returning NULL value when there is no SIM in device.
So Is there any valid way to know whether the device(iPad and iPhone) is connected to Wi-FI or 3G or 4G.
I replaced existing classes with this and tested in actual 4G device, it's working as expected.

iOS Simulator unable to get connection over ethernet

I've previously bought a MacPro which come with ethernet port and also wifi adapter. I've my wifi turned off and the ethernet port connected with an intranet network cable.
However in my simulator, it keeps showing the error of having NO connection (my Mac can connect to intranet resources perfectly). Fyi, I also noticed that my Mac connection icon was a empty wifi icon, which it means I don't have connection? I just wan my Mac to default to ethernet connection, and my iOS simulator should be able to connect to intranet as expected.
Any help please?
iOS simulator uses the same network interface what your MAC is supporting at present.
"I also noticed that my Mac connection icon was a empty wifi icon" It means Wifi is turned off… It doesn't mean that you don't have connection.
Let me know if more info needed.. :)

Pocket PC not Connecting to PC

I have a Symbol PPT8800 that will not connect to Windows Mobile Device Center. It was working, I took it off the cradle, did a hard reset, and now it's not connecting. Is there a setting on the HH itself that is preventing the connection?
I have other Symbol PPT8800's that will connect in the same cradle without an issue.
There are a lot of possible sources for connection problems between a windows mobile handheld device and a PC running WMDC (ActiveSync).
use a known good USB cable
connect USB cable directly into PC and avoid USB hub
verify WMDC connects with another windows mobile device
disconnect handheld and reboot you PC and wait until PC is booted
before trying to connect
"Allow USB connections" has been deselected in WMDC Connection
Settings
sometimes the device setting "Enable advanced network functionality"
in Start/Settings/Connections/"USB to PC" has to be unchecked (or
checked).
the device has a corrupted registry and does not start the connect
(repllog.exe) or does not authenticate correctly. Do a clean boot or
wipe of the device to get the device back to factory defaults
I am sorry, but there are many possible issues that can cause a WMDC connection to fail. Recently I had the prob that after sleep/resume of my PC the USB hubs were in power save mode and I was unable to get device to connect to WMDC.
Does your PC do some 'boing' sound when you attach the USB cable to the device?
What does Hardware Device Manager show? Any exclamation marks?
EDIT: How to wipe a device?
You need to write either a small .net or c++ app using DMProcessConfigXML and the following wap provisioning xml:
<wap-provisioningdoc>
<characteristic type="RemoteWipe">
<parm name="doWipe" value="1"/>
</characteristic>
</wap-provisioningdoc>
[see also http://peterfoot.net/UsingRemoteWipe.aspx]
or use RapiConfig tool from Mobile SDK.
If both are not useable for you (is that running Windows Mobile or Windows CE?) or just restore factory default or reflash the device. If it is a device with Windows Mobile before version 5, you can just do a cold boot but delete any persistent folder first (ie Flash File Store or ???).
Factory restore of PT 8800:
hold white RESET button + POWER + FUNC

Resources