Phone to Tablet Socket Connection - Java for Android App Development

Hello all,
I am currently required to develop a POC that uses a Google Nexus S phone as the controlling device and an ASUS TF101 tablet as a display. The phone will have a wheel interface, and once a user selects an option on the wheel, the appropriate view has to be displayed on the tablet. Also, I am required to NOT use bluetooth for the P2P connection, and the Nexus S does not support WiFi direct. Please help me out with possible ways to tackle this problem.
Thanks in advance!
Krishna

Related

[Q] android phone as a bluetooth HID

Hello guys,
I want to write an app that registers my android phone as a HID through bluetooth to my PC. I have found many descriptions how I can connect a bluetooth keyboard or mouse to an android phone but no working solution doing generally the opposite.
The most helpful so far was groups.google.com/group/android-developers/browse_thread/thread/73f03a22963b356d, but as you can see there also isn't any solution provided.
So is it currently even possible doing this with android? Could there be a way using the underlying BlueZ with the NDK?
Any hints and help would be much appreciated.
I'm currently working on something related, which is connecting an android phone to a PS3.
You can look in /system/etc/bluetooth, notably the main.conf file, in which you'll find a Device class definition. I yet have to try to change it, to see if it changes the way the device is recognized by others
Hope this will help.

[Q] Direct communication with other Android device?

I'm working to develop an application to use a rooted Nook STR as a handheld data input platform, which then sends the data to another Android device (tablet or phone; TBD) acting as a hub. From what I've been able to determine, the options for communications between the devices are:
Bluetooth
-Possibly available using a dongle, USB OTG cable, and enabling USB host mode as described here. This doesn't seem practical within the time/budget/scale of our application.
Wi-Fi
-Wi-Fi Direct would be ideal, but requires either Android 4.x or a patch/hack to enable it, which I haven't seen anyone working on (correct me if I'm wrong about this)
-Separate Wi-Fi hub to manage communications between the devices
Is there an alternative, implementable within reasonable time and cost, to facilitate device-to-device communications wirelessly and without additional separate hardware? My research hasn't turned up any solutions that aren't extremely awkward, but I'm relatively new to this, so hopefully someone has a better idea or knows of an obvious possibility that I'm missing.

Can you use a Nexus10 as a PRIMARY laptop screen to replace a broken laptop screen ?

I wanted to know if the Nexus 10 can be used as a PRIMARY laptop screen?
A wired connection would be preferred, with a bluetooth connection being an alternative.
I cracked the screen on my Lenovo E420 laptop and I wanted to buy a Nexus10 and use it as a replacement for my primary laptop LCD.
Thank you.
You could look into this: http://www.celiocorp.com/screenslider/
irishrally said:
You could look into this: http://www.celiocorp.com/screenslider/
Click to expand...
Click to collapse
Thanks for posting, Rally.
Unfortunately, the solution you provided requires a Wi-Fi network connection.
I need a wired solution preferably, or bluetooth solution at worst, because I will not always have WiFi access.
From the site you provided:
http://www.celiocorp.com/screenslider_faq
Q: I've installed the PC and Android apps but the two devices can't see each other in the "Find Devices" (PC) or "Connect To" (Android) menus.
A: Make sure that you enable Wi-Fi on your Android device and that the ScreenSlider for Android app is running on your device with the screen turned on,
Q: I've installed the PC and Android apps but the two devices, enabled Wi-Fi on my Android device, but the two devices can't see each other to start a connection.
A: In order for ScreenSlider to function properly both your PC and Android device need to be on the same Local Area Network (LAN and subnet). Your PC can be connected to the network via Wi-Fi or Ethernet but must stay on the same LAN and subnet. This should not be a problem for home use (and for some small businesses too) especially if you only have one wired/wireless router in the home or office connected to your incoming Internet connection (Cable modem, DLS modem, etc.). If your PC and Android device can not see each other on a complicated home network or in an office environment, please ask your IT administrator to see if both devices are on the same LAN and subnet.
But Why??
Why would you use the nexus 10 as a replacement screen when you could just simply well.... buy a replacement screen? Unless your intention is to use the nexus as it is intended as well but..... i don'y know i just find it odd to use a 350 dollar tablet as a replacement LCD.
Droid_4_ever said:
Why would you use the nexus 10 as a replacement screen when you could just simply well.... buy a replacement screen? Unless your intention is to use the nexus as it is intended as well but..... i don'y know i just find it odd to use a 350 dollar tablet as a replacement LCD.
Click to expand...
Click to collapse
You answered your own question.
If I have to buy a new "screen", I might as well get one that can serve 2 purposes:
1. A stand alone Android tablet
2. A replacement LCD for my laptop.
As nice and geeky as it sounds, it's never going to be practical. At best you could remote desktop into the laptop from the tablet, otherwise, not worth the effort, just get a new screen, or bin the laptop if you can live with just a tablet.
Maybe check out iDisplay?
Sent from my Nexus 10 using Tapatalk 2
chilimac02 said:
Maybe check out iDisplay?
Sent from my Nexus 10 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the suggestion.
Unfortunately, it requires all devices be connected to WiFi.
I'm looking for a wired or bluetooth connection.
alias_neo said:
As nice and geeky as it sounds, it's never going to be practical. At best you could remote desktop into the laptop from the tablet, otherwise, not worth the effort, just get a new screen, or bin the laptop if you can live with just a tablet.
Click to expand...
Click to collapse
Thanks for the response.
Why can't it be practical?
Why can't the Nexus10 work as an external monitor with either a wired or a bluetooth connection?
tt c6 said:
Thanks for the response.
Why can't it be practical?
Why can't the Nexus10 work as an external monitor with either a wired or a bluetooth connection?
Click to expand...
Click to collapse
No problem,
Well, the device isn't designed to accept video on its usb port, and it probably lacks the bandwidth unless it supports some reverse MHL implementation.
As for Bluetooth, I'm pretty sure all Bluetooth versions lack the bandwidth by some margin to display decent quality video at a decent rate.
Unfortunately just the nature of these things, it wasn't designed for it, so it'll never do a very good job of it.... Remote desktop on the other hand over Wifi will probably work quite nicely.
Sent from my GT-I9300 using Tapatalk 2

[Q] Using Nexus 4 with External Display via...

Hello all, maybe you can share some suggestions to a challenging situation I'm facing:
I want to use my Nexus 4 with an external display, a Bluetooth keyboard and a Bluetooth mouse so I can work on documents on Google Drive. However, I do not have access to a good up-to-date display in the location I want to achieve this set up.
Currently, I have an older display that only has an older VGA input. I've seen some negative reviews for a slimport-to-vga device available on Amazon, so I'm on the ropes about ordering one.
Alternatively, I may be able to get a monitor with a HDMI imput. Would a slimport connection on that be recommended? Or, should I get creative and try to connect to a Chromecast-to-HDMI, if such a thing is even available.
Also, I'd like to find a reliable keyboard and mouse for this set up, or would any Bluetooth devices do the trick?
Last, are there any limitations to how many devices can run to the Nexus 4 simultaniously? Ideally, I'd be using a T-mobile 4G data connection with a wireless mouse and keyboard while outputting via the slimport.
Thanks for any thoughts you might like to share.
- J
Via USB you can connect only one device. Display and 4G Stick is not possible.
Sent from my HTC One S using Tapatalk 4

Can Android act as a broadband dongle?

Hi! I originally posted this question in the Android Auto section- however its not really related to Android Auto since its more about networking - or internet sharing capability of android.
If I connect a "car-stick" such as https://www.onlineshop-skoda.de/index.php/carstick.html, the car (a Skoda Kodiaq) should be able to provide a wifi-hotspot.
I could simply enable internet sharing using my Samsung S9, but I guess the signal would be better if the cars built in wifi-hotspot capability was used.
The phone is connected via USB to the car.
Could the phone be configured in some way which would enable it to present the type of network interfaces similar to what the earlier mentioned car-stick presents?
//Erik
Your question is 100% not clear.
A recent broadband dongle is just a cellular phone w/o keyboard and display that shares the connection via USB networking.
Practically the same thing that an android Phone does when you enable the USB tethering.
The only relevant difference is that the former does that by default, while the latter requires a manual input.
BTW you can automate the usb tethering using tasker or some dedicated apps available on the store

Categories

Resources