[Q] Hotspot radio - General Questions and Answers

Hello,
I'm trying to build an app which streams audio output from a Galaxy S II, via hotspot, to devices connected to that hotspot (no internet). I'm very new to android coding, so that's why I want ask, in a few words, what would be the easiest way to build the app?
So far, I've figured the app should have 2 sort of profiles, one for 'server', one for client, and the basic functionality of the app would be to send the output from the server device to the hotspot, then have the client devices receive that signal.
Question is, could anyone advise me on some key elements to take into consideration? I'd really appreciate any help, since this is my disertation, and it's not long till it's due.
Thx

Related

[SOLVED] Reverse VNC Connection

-- SOLVED --> For those who care...
Initial issue/goal: Ports open or blocked over 3G/4g? Getting a reverse VNC connection working on an android phone.
Resolution: Ultra VNC SC basically allows someone behind a firewall or router to, without any configuration required, share their desktop with someone (you) for technical support or any other means. I use it for friends and family and such, and it works great, but the real question and purpose of this thread was about open ports on a 3G/4G connection and what VNC apps allow listening. This is what worked for me: Remote VNC Pro from the market (~$6), DynDNS from the market (free), a dynamic DNS account that is supported by the DynDNS application (like no-ip, dyndns, etc), and a personalized/configured version of Ultra VNC SC (linked below). Port 5900 works, as well as a few others, but 80, 8080, and 443 won't.
VNC Application: Remote VNC Pro (for the phone)
VNC Application: Ultra VNC SC (for the client)
Dynamic DNS: DynDNS (update agent)
Mods/Admins feel free to move this thread and/or lock delete if I am breaking any rules (like advertising?) or something.
Re: [HELP] Reverse VNC Connection
I know with 4G you definitely get a publicly accessible IP without any proxy in the middle. I imagine 3G would be the same so it should be fine in that regards.
As for open ports, any app worth its chops should let you choose which port it listens on so that shouldn't be an issue.
Why don't you just buy one of the apps and give it a try? If it doesn't work you can always return it within 24 hours for a full refund.
Trial and Error
---- ORIGINAL FIRST POST ----
Not sure if this should go here or not, but I'm trying to see if I can get a Reverse VNC Application going. Looking at existing VNC applications for Android, the only one that allows listen mode is Remote VNC Pro v1.7.7 and above. Unfortunately, since it is not free, I cannot test the listening capabilities. Listening aside, I suppose my biggest issue will be open ports. Given 3G/4G addresses (NAT, I assume?) are out of our control, does anyone know what ports are open and what ports are not?
Has anyone else tried? Interested? Suggestions? Here's what I have so far:
VNC Application: Looking at Remote VNC Pro (for the phone)
VNC Application: Ultra VNC SC (for the client)
Dynamic DNS: DynDNS (update agent)
---- END FIRST POST ----
rdude said:
Why don't you just buy one of the apps and give it a try? If it doesn't work you can always return it within 24 hours for a full refund.
Click to expand...
Click to collapse
Well the idea was to see if anyone had already tried this and/or had the application to save me time troubleshooting. Since there has been no response, save yours, I went ahead and purchased it.
rdude said:
As for open ports, any app worth its chops should let you choose which port it listens on so that shouldn't be an issue.
Click to expand...
Click to collapse
Oh, it has the option to specify ports, but which ports are open over a 3G/4G connection is what I wanted to know. I tried 443 and 80, and both gave me permission errors. Surprisingly 1723 (PPTP) works, but VNC Pro on the phone just sits on the 'please wait while listening on <ip address>' screen forever. The computer running the Single Click VNC server says that the connection was successfully acquired, but the icon never changes colors (suggesting I am completely connected). The interesting thing is that when I cancel or close the connection on the computer, VNC Pro on my EVO closes the 'listening' window and gives me a java exception error.
*sigh* any ideas? I'm guessing the connection is going through but other traffic is getting blocked or something. Not sure what other ports to try, but I will fiddle around with it in the mean time.
Edit: I tried the standard ports on a local WiFi connection. I gave the phone a static IP, port forwarded everything appropriately, and then received the same results. I'm going to take a few screenshots and send and e-mail to the developer for now.
Edit: It appears to be an issue with Ultra VNC SC. Ultra VNC and Real VNC both worked by manually adding the viewer client from the installed server while using port 5900. Sort of defeats the purpose for me, but the developer said he would try it out and (hopefully) get it working.
Edit: The dev got back to me really quickly and we figured out the issues and fixed it over the weekend. He pushed out a new version of the application on Sunday. First post has been updated for those who care.
Bumping the thread for those who are interested in what worked for me, now that everything is fixed.
Nice, been interested in this. How is the refresh rate when your phone is on WiFi and also how is it on 3G?
I tried Screencast (http://code.google.com/p/androidscreencast/), but it only runs at 3-5 FPS, so it was pretty unusable.
I've only had it working for a day, and nobody has really needed my help, so my testing of the application has only been to confirm it works. The best thing I can say, for now, is that the reviews all brag about the performance and pinch-zoom, that the developer is pretty cool and was willing to return the application well beyond the 24 hour limit, should the application not meet my needs, and finally that he fixed the issue I was having in less than 48 hours from the time I reported it to him. Overall, as far as the application is concerned, I am pretty satisfied. For example, I wrote (and edited) this post while using it over 3G from my phone. I saw all the text as I was typing, so I would say the frame rate is satisfactory.
Edit: Wait, after following your link, I think you might be misunderstanding the purpose of this application. This allows you to control a PC from your Android, not the other way around. The purpose is to supply people with a pre-configured portable application that allows you to connect to the computer without any port forwarding or security changes on their machine. The application (uVNC SC) also "uninstalls" itself from their computer after the connection is closed. To reiterate, the primary benefit is to allow you (the admin) to connect to someone else (the user) without them having to do anything but double-click on your connection.
You're right. I misunderstood, didn't know what "reverse vnc" really meant.
Sorry, I knew people confused the two, so I could have been more clear. On that note, I am also interested in a... remote connection to my Android phone. Recording, in particular, would be great for demo's and setup instructions, given so many people have android devices now-days. But yeah, this is not the setup for that. =/
brennen.exe said:
Bumping the thread for those who are interested in what worked for me, now that everything is fixed.
Click to expand...
Click to collapse
Glad to hear you got it working! I'll try installing it this week and see how it goes.
Looks to me that I want to do exactly the same. Sorry to bump the thread but seems the best thing to do.
I want to support people OTA, since I don't need high framerates, just a view at some PC settings.
I have Remote VNC Pro and it allows the phone to Listen for incoming VNC connections. But it listens on a 10.20.xxx adress, instead of my WAN 3G/4G ip-adress.
I want to use GITSO (awesome little program) for the http://code.google.com/p/gitso/ support issues.
It works flawless pc-to-pc where I have my own portforward setup, saves tons of hassle with the people I want to support.

[Q] Sending files through bluetooth on predetermined devices programmatically

Hi all,
In the app I'm developing I will need to be able to send arbitrary files (probably many at a time) to known and previously paired bt-enabled devices. Is there any way to bypass the discovery dialogue and the devices list by somehow providing a registered intent with the address of a device, say, through a putExtra call? In other words, I will already know the bt mac addresses, so I won't be needing the extra discovery and user input.
Downloading an alternative bt app that is capable of this would also work for me. So far I've tried to use the services offered by both "androbex" and "bluetooth file transfer" but with no luck.
I'm developing for a Samsung Tab, android-8.
Any help would be greatly appreciated.
Many thanks!

[developer needed] Android device as bluetooth headset for phone

Well here is what’s needed by me and by general demand that I noticed:
We need an application that will enable an android device (a tablet for instance) to act as a Bluetooth headset and dialer for another phone
I have searched through the forums but with no luck, all that I found where similar questions but unanswered!
http://forum.xda-developers.com/showthread.php?t=844605
http://forum.xda-developers.com/showthread.php?t=720397
http://forum.xda-developers.com/showthread.php?t=905938
http://forum.xda-developers.com/showthread.php?t=868062
So to sum it up I think we need a developer that can help us out also am willing to pay for it or buy it of the market if that’s what it takes
Cheers & thanks in advance
(PS: if this is not the proper place for something like this, please excuse the noob and redirect me to the proper thread)
Please guys. I'am looking to and is also willing to pay for it.
I'm also willing to pay for the application. Please someone help us?
bump!!
bump!!
come on guys... any thing?!?
bump
this should be a default feature for android...
I have been asking for the same thing, Moscow Desire is looking into it with LeeDroid to try and implement something by porting it from a phone I think...I'm waiting on pins and needles.
The thread on it is here, the last couple pages:
http://forum.xda-developers.com/showthread.php?p=23447188&posted=1#post23447188http://forum.xda-developers.com/showthread.php?p=23447188&posted=1#post23447188
It's not what we're looking for.
In the thread they are trying to get bluetooth headsets to work on a tablet.
We are looking for an app that can get a tablet to connect to a phone and make calls.
For example, I have my tablet built into my car and connectet to my car radio via cable. It would be nice if it could make and receive calls.
Bluetooth dialer
simonmbjornes said:
It's not what we're looking for.
In the thread they are trying to get bluetooth headsets to work on a tablet.
We are looking for an app that can get a tablet to connect to a phone and make calls.
For example, I have my tablet built into my car and connectet to my car radio via cable. It would be nice if it could make and receive calls.
Click to expand...
Click to collapse
Hi! I have been searching for the same solution from months but the onle thing i have found is,
"dealextreme.com/p/minipad-a9-1-lcd-bluetooth-dialer-headset-white-94840"
so untill any developer work on true bluetooth applitacation which can fulfill our needs this is the only thing we can use.
I started a thread on this then discovered that it's been asked plenty of times before. After doing research I have discovered the following things:
1) It is possible to replace the Bluetooth stack on Android
2) We would have to make Android play the role of the hands free and not an audio gateway
3) This has been implemented - http://www.parrot.com/usa/products/bluetooth-hands-free-car-kits/parrot-asteroid
4) The stack on Android is BlueZ
5) The devs at Cyanogen mod have been working with the Android Bluetooth stack
From what I can see, we would have to modify the Hands-Free Profile in the Bluez stack to play the hands-free role. If we could somehow load in another profile or edit the existing one, that might do the trick. I'm not too familiar with Bluetooth, but I will be going over code tonight to see if I can come up with an idea.
touchpad webos has this capibility
I have a hp touchpad with cynogenmod 9 that dual boots to webos. In webos, i can link via bluetooth to my blackberry phone. I can call and receive via a dialer app in webos. I have not been able to figure out how to do this on the android boot. I can pair the device but haven't figured out how to do in android. Hoping since wedos went open there might be an app for android to mirror the webos capibility.
I've posted support for this development in a number of forums and in other threads here at XDA. This would be a huge deal for the 'android-as-car-stereo' idea. There are a number of suppliers that make USB-->DAC-->RCA(composite) converters, and that takes the shoddy internal DAC out of the equation for most tablets. All that is left is the need for bluetooth call transfers to the tablet.
hopefull news
people check this out:
https://play.google.com/store/apps/details?id=com.funkyandroid.phonelink
its to connect between tablet and android phone hopefully this might lead somewhere!!
I have a Bluetooth transmitter (B-Speech RTX1) attached to my AV-receiver and want to use my phone with headphones as a speaker system. There has to be an app that plays the stream once we can connect a transmitter via HFP profile with the phone I guess...
I don't know if my wish is related to this thread, but there is a thread explaining how to enable HFP in Android by editing the "audio.conf".
I get the new options but am not able to connect the transmitter to my phone. I guess I will have to buy BT-headphones...
I too am looking for this service to be done (using my tablet in my dash of my car connected to my amp's/speakers). Another post for this can be seen here: http://forum.xda-developers.com/showthread.php?t=844605
I just tried the method posted in the link above by hudl.. but it didn't work. My tablet still pairs with my phone like before, no way to connect them, nor the "use for phone audio" option from my phone to the tablet. :-( Still no solution as of yet.
I think this might work for ya
I haven't tried it yet, but am downloading it now. After much searching I think this is what we've been looking for.
jimbill88 said:
I haven't tried it yet, but am downloading it now. After much searching I think this is what we've been looking for.
Click to expand...
Click to collapse
???
I'd love to see this and would happily pay towards development of this. Parrot Asteroid seems to handle incoming HFP, HSP and A2DP profiles very well. I too have modified the audio.conf file and can also see the additional options.. My phone just doesn't know what to do with it!
Is there anyone who can point this thread in the right direction? It's the only piece of the puzzle left for android carpc tablet goodness.
Thanks,
MrNorm
Just reviving interest in this thread again as tablets in cars are becoming more and more common.
Checking if any developer is still willing to help out, I am sure there are plenty of willing users waiting with their wallets ready
Cheers
Mario
Parrot did it for sure. It would be an awesome feature. I wish things just worked like that by default... someone needs to re-invent a BT-like connection where everything on a device is exposed... a phone should be a BT keyboard/mouse/airmouse/headset/speaker/monitor/camera/drive/sdreader/modem/gps/serial-console/etc as well as being on the opposite end of each of those things. And without needing a separate app for each of those things that is even possible/created.
http://www.gottabemobile.com/2012/04/18/using-the-galaxy-player-3-6-as-a-bluetooth-handset/
If we could use Samsungs work in this player we could easily implement it.

Webcam to Android App (Sound streaming soon)

Hi all,
Just wanted to share this app that found a little while ago and which was a great surprise for me.
Basically I was looking for an application that would let me see my place through my mobile phone.I tried a couple of apps but some needed really security camera systems but I just have a pc webcam..,others would not let me connect if i was not on the same network. And the best thing is that sound streaming will be implemented soon (as per the developer, who has shown a high customer service focus to me since I was unable to connect and spent a lot of time in helping me to sort it out)
This app can be used with 3G/Wifi connections... (just make sure you have a permanent public Ip address).
Lite version.
https://play.google.com/store/apps/...t#?t=W251bGwsMSwyLDEsIm1sYy53ZWJjYW10cmlhbCJd
Paid version
https://play.google.com/store/apps/details?id=mlc.webcam&feature=more_from_developer
Hope this app is useful for somebody!
Cheers.

[Completed] Identifying my Default gateway and DNS (Rooted Turbo)

Hello geniuses, ( and I mean that literally, you guys are amazing) I have Direct TV and just got my hands on there Cinema connection kit witch allows me to connect to an internet source wireless-ly. Anywho, the error I am getting is asking for my default gateway, and my DNS, and that is way over my head. Can anyone assist? I am running a rooted Turbo. Thanks in advance!
Special~k said:
Hello geniuses, ( and I mean that literally, you guys are amazing) I have Direct TV and just got my hands on there Cinema connection kit witch allows me to connect to an internet source wireless-ly. Anywho, the error I am getting is asking for my default gateway, and my DNS, and that is way over my head. Can anyone assist? I am running a rooted Turbo. Thanks in advance!
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
It's unclear what Android-related specific problem you have but if by "Turbo" you mean a Verizon Motorola Droid Turbo, there is a forum specifically for questions about that device at http://forum.xda-developers.com/droid-turbo/help where you may want to ask Turbo-related questions.
That said, if the Direct TV device simply needs information about your internet connection, you would need to know the address of your WIFI router (it'll be something like "192.168.0.1") and your default DNS server (maybe "8.8.8.8" for Google DNS?), something whoever installed your internet connection should be able to provide.
If all else fails, try posting with all relevant details in the general forum at http://forum.xda-developers.com/general/general where someone might be familiar with your specific situation.
Good luck!
I appreciate your reply... and yes I was referring to the droid trubo. The internet service I am referring to, however, is my Turbos hotspot. I figured anyone running 4.4 or 5.1, no matter the device could possibly help. I know its possible, and I came very close last night to getting my Direct TV to connect to my phones hotspot. Everything else in my house is connected to my phone, not sure why this won't. I am certain its an address issue, and the default gateway and DNS is the culprit.
Special~k said:
I appreciate your reply... and yes I was referring to the droid trubo. The internet service I am referring to, however, is my Turbos hotspot. I figured anyone running 4.4 or 5.1, no matter the device could possibly help. I know its possible, and I came very close last night to getting my Direct TV to connect to my phones hotspot. Everything else in my house is connected to my phone, not sure why this won't. I am certain its an address issue, and the default gateway and DNS is the culprit.
Click to expand...
Click to collapse
Hello again.
If you are connecting though your phone's hotspot feature, then you have to use its address. That information depends on your phone, ROM and which and how many other devices are on the local network you establish, among other factors, but it's probably in the "198.162.?.?" range mentioned earlier and you can probably set "8.8.8.8" (Google) as your DNS provider. One simple way to determine your default gateway's address is to use whatever other phone, tablet, or computer you connect to that hotspot and execute a "traceroute" command. The first entry will be the gateway. I'm afraid I can't tell you how to do that specifically for your device/OS but most all operating systems have a similar command.
We cannot provide technical support nor can other members reply to your posts here on XDA Assist but, as suggested earlier, asking in the Turbos' Q&A thread at http://forum.xda-developers.com/droid-turbo/help would be the best way to get help
This thread is now closed.
Once again, good luck!

Categories

Resources