Can I passthrough nfc events through USB/ADB to a desktop ? - Android Q&A, Help & Troubleshooting

hi guys,
I'm trying to use an Android phone/tablet as an interface to a desktop. I want to try and use the phone as a captive NFC reader for the desktop. If anyone must know, I'm using pyusb as the host software.
Can I passthrough any NFC scan events from the phone to the desktop over adb or something (over USB) ? I suppose then I cant really read a USB port - rather it will be more similar to reading from a network port (adb forward).
I'm absolutely at a loss trying to figure out how to do this. Could someone help ?
EDIT - on thinking some more, maybe the way to do it is write nfc tag data to a datagram-socket and use adb forward to read it from a desktop. anyone know of any nfc app that forwards read data on a port ?

Related

[Q] Connect GT9100 to Internet through PC

Hello guys,
I'm sorry if the reply to my question was already posted by I was unable to find it here or through google search.
I'm new to the Android world so this might be very easy to achieve although I was unable to find it.
I'm trying to connect my SGS2 stock KE7 to the internet through my PC. I wanted to connect the phone with the data cable to a usb port on my laptop and then route all the traffic. I went through the options but couldn't find anythign that could achieve this.
Can someone, please, give me some pointers?
Thanks in advance for your help.
Just go in to wi-fi settings and set up a hotspot. Your phone now works as a "wireless router/modem" and your computer should detect your wi-fi hotspot created by the phone
I thought Wifi/usb Tethering was to allow other devices to connect to the internet through your phone.
computer -> phone -> internet
And I want to achieve the opposite, Connecting to the internet with my phone by going through a laptop/workstation.
phone -> computer -> internet
tosheeba said:
I thought Wifi/usb Tethering was to allow other devices to connect to the internet through your phone.
computer -> phone -> internet
And I want to achieve the opposite, Connecting to the internet with my phone by going through a laptop/workstation.
phone -> computer -> internet
Click to expand...
Click to collapse
This is a bit off-topic, and I may have misunderstood your question, but this might be what you are looking to do -
1. Setup your computer in wifi adhoc sharing mode, so that any other wireless device can find that network.
2. Use your phone as the wifi device to connect to that network.
This is pretty easy - just setup a wifi network.
Many videos available on youtube -
Again, this is just one way of doing what I think you want to do-
http://www.youtube.com/watch?v=ADpHIeBSFUk
What if wireless is not available?
Is it possible to reverse tether a phone to use a PC's internet connection via a USB cable?
monkley said:
What if wireless is not available?
Is it possible to reverse tether a phone to use a PC's internet connection via a USB cable?
Click to expand...
Click to collapse
Don't think that you can use the network over the usb cable it is not designed for that, may be someone else may know a bit more.
Theoretically a proxy agent app on pc should be able to do what you want above, over the usb cable, but it is better to use a wireless modem instead.
androidsos said:
Don't think that you can use the network over the usb cable it is not designed for that, may be someone else may know a bit more.
Theoretically a proxy agent app on pc should be able to do what you want above, over the usb cable, but it is better to use a wireless modem instead.
Click to expand...
Click to collapse
Ok, thanks for the reply. Unfortunately I often find myself in the situation where I do not have phone signal or wireless available :-/
Maybe I should invest in a wireless access point to carry around with me!
Yeah, it's a pity. There are a couple of scenarios where this would be useful for me.
Thanks anyway for replying to my question.
AFAIK this a HTC sense only feature as i remember having this on my HTC desire
What I use is an Edimax Wireless USB adapter - EW-7711UAn. The hardware works really well, the software works well once it is set-up, but configuring XP to share its network connection through this is a bit tricky
This may help, I am sure there is similar for Vista Windows 7 around on the Internet
http://www.labnol.org/software/ad-hoc-wireless-network-in-windows-xp/11486/
This might help you out guys!
Heres the explanation of how to do it (sorry it's in Portuguese, but google translator will do the trick!
http://pplware.sapo.pt/smartphones/android/internet-no-android-a-partir-do-pc-sim-possvel/

[Q] use pc internet (opposite of tethering)

I am not sure what to call this so it is difficult to search for it... what I am wondering is... can I connect my SG2 to PC via usb and use the wired internet connection that way? (For example, at someone's house who doesn't have wireless - so I am not using cell data all the time)
It's generally called reverse tethering. I found a page here on XDA that may help you do what you're wanting to do - [Tool][Windows Only][Root] Android Reverse Tethering
Here's a good example of how to set it up for XP, MAC and Vista. I assume this should apply to Windows 7 as well.
http://cnettv.cnet.com/make-your-laptop-hot-spot/9742-1_53-28619.html
Thanks, guys. I guess I was hoping there was just some setting on the PC and another on the phone and then connect and go. I don't want to install things on on a computer I am just "visiting" for a day or two. I appreciate the quick answers though.
If the PC has a wireless card, you can use that to host an access point for your phone to connect to via wifi.

Sending commands

Firstly, I am not sure if this is the correct place for this, if it isn't I apologise.
Basically, I am trying to make an android app to replace the need for my remote for my AC Ryan MiniHD which is a media box. It is connected to the internet by a dongle. I have searched but couldn't find anything. Does anyone know how to send commands over a connection to the box, for example play/pause/stop etc.
Like a code snippet/example.
Thanks

How to edit ROM so that it works on broken touch phone

Hi guys I have a lot of old phones sitting in drawer but all of them with one problem their touch digitizer is broken and the problem is I am not getting digitizer even if I am getting they are of more cost then the Phone itself.
While searching on the internet I went through numerous posts suggesting otg and adb mainly but the problem is these devices were of 2013 then otg was not so much in fashion.
I have a method but I don't know how to do it I found that I can flash ROMs using SPFlash Tool for mediatek chip devices
But I want to modify ROM in following way so that:-
#)No Phone setup screen (Google, WiFi,language,time)-phone should auto start with no google account and no WiFi
#)On every boot up Auto Bluetooth enabled and search for available device and connect to available bluetooth mouse(considering only my Bluetooth mouse is shown in list ) and do the pairing without any need of giving input
#) Auto enabled USB debugging and adb access to all computers without authorization
If these task could be accomplished we can reduce e-waste and use old phones
1)serve as media station
2)WiFi hotspot
3)display for raspberry via vnc
4)downloading torrents
5)webcam
6)security cam
7) music player
Please help this is link of one of the ROMs in zip https://drive.google.com/file/d/0BzZcfIgMbw3odC1nUU9iZ1NycW8/viewhttps://drive.google.com/file/d/0BzZcfIgMbw3odC1nUU9iZ1NycW8/view

P30 pro can I start window like second system / vmware

Hi! In conjunction with my hobby and bussines It's very important to have a possibility to run windows (xp, 7, 10, whatever) and It's lovely when i can connect something with RS232 port - with usb otg and cable ubs-rs232 or bluetooth - RS232 device (i'll suspend It's probably not possible to run, becouse cpu architekture) or option to emulate windows from vmware. Can somebody help me? I search all Google threads, and nowhere can find thats info. You don't have to write instruction 4 me. I'll would be gratefoul for tags what can get me closer to solution.
Edit:
Second solution it would be that i can have pc in home and connect to it program like teamviever. But any of team viever like program can transmit rs 232 with stable connection to pc?
Edit2:
Can use Team Viever and "usb Network Gate" It's available for android and windows. But i'm happy when don't be depended from internet connection. If It's possible to run windows on Phone, eaven if It's slow emulated version

Categories

Resources