Hi,
I would like to auto-start the hotspot with a bluetooth connection. This is to enable internet on my android headunit when i enter my car.
The strange thing is that the hotspot only works when i physically hit the hotspot icon in the notification bar. It does NOT work when i try to start it using any of the hotspot tools from the playstore.
Any ideas?
Are those apps allowed to work with screen off? Power management will kill them off if not set.
They are. I adjusted the power settings so they stay awake. I can see the wifi going offline and the Hotspot icon being enabled but the head unit is not getting an ip address.
It does get an ip address when I manually hit the Hotspot icon. Weird isn't it?
Related
Sometimes ill push my wifi wiidget and it will Jehoshaphat that it is on but it wont connect to my network. If ithen go to settings, then wiring, it will start connecting.
Anyone have a similar issue?
Are you talking about the power control widget that comes with the phone?
Yes.....
In that case then yes, my phone doesn't auto connect to my network when I turn on wifi I have to go into settings too.
I've been having issues with my phone staying connected to wifi also. It's become quite annoying.
I have been trying to figure out a way to choose wifi or 3G when i want to surf. For instance if i click on the intrrnet app and it should give me an option, to surf through a wifi or 3G service.
What happens now is that it just connects difrectly but i do not now which service it is connected to. How do i achieve this option or at least get the option to surf through eithet wifi or 3G?
If you don't know what connection it uses you should at least read the manual or find out the icons from somewhere else.
Have you set up wifi in the settings? If there is no wifi available I believe it uses 3g automatically.
There is widgets to turn connections on/off.
ebue said:
I have been trying to figure out a way to choose wifi or 3G when i want to surf. For instance if i click on the intrrnet app and it should give me an option, to surf through a wifi or 3G service.
What happens now is that it just connects difrectly but i do not now which service it is connected to. How do i achieve this option or at least get the option to surf through eithet wifi or 3G?
Click to expand...
Click to collapse
That would be quite annoying to get the pop up everytime you open the internet up. It uses whatever connection you have active. If you have wifi and 3G on, and you are on a wifi network then wifi will override the 3G (and save you battery in the process). If you have 3G on and wifi off, 3G will be used. However, if you have no connection, a popup does come up saying "please connect to a wifi network" when you click the box, it brings you to the wifi settings, where you don't have to hit a single button and it will turn wifi on and bring you right back to the page where you were (honestly, this might be different across firmwares, but if you don't have it then expect it in the 2.2 update).
So, how to fix the problem you have, I have two recommendations for you:
1) QuickDesk, it's a UI screen that will pop-up over any program you have running without exiting the program (even games). Double-click of home button will allow you to access 1 page of apps (such as a wifi on off switch or power control widget...see below)
2) Power control widget, or at least a wifi on/off toggle switch. Before I had an always on 3G this was a widget I never lived without. I'd have wifi off 3/4 of the day and 3G on 95% of the day, meaning if I wanted to connect to the internet I wanted something easy and simple to use... a simple wifi on/off toggle will work. I would sometimes forget to switch 3G off when I'd get home and half way through looking at web pages I'd think about it, so I'd double click home, find power control widget and activate wifi to override the 3G connection as I originally described.
Hope that helps.
alovell83 said:
That would be quite annoying to get the pop up everytime you open the internet up. It uses whatever connection you have active. If you have wifi and 3G on, and you are on a wifi network then wifi will override the 3G (and save you battery in the process). If you have 3G on and wifi off, 3G will be used. However, if you have no connection, a popup does come up saying "please connect to a wifi network" when you click the box, it brings you to the wifi settings, where you don't have to hit a single button and it will turn wifi on and bring you right back to the page where you were (honestly, this might be different across firmwares, but if you don't have it then expect it in the 2.2 update).
So, how to fix the problem you have, I have two recommendations for you:
1) QuickDesk, it's a UI screen that will pop-up over any program you have running without exiting the program (even games). Double-click of home button will allow you to access 1 page of apps (such as a wifi on off switch or power control widget...see below)
2) Power control widget, or at least a wifi on/off toggle switch. Before I had an always on 3G this was a widget I never lived without. I'd have wifi off 3/4 of the day and 3G on 95% of the day, meaning if I wanted to connect to the internet I wanted something easy and simple to use... a simple wifi on/off toggle will work. I would sometimes forget to switch 3G off when I'd get home and half way through looking at web pages I'd think about it, so I'd double click home, find power control widget and activate wifi to override the 3G connection as I originally described.
Hope that helps.
Click to expand...
Click to collapse
Thanks. Thats the answer I was looking for. I have both services activated and they are active in the bar at the top of the screen; that is why I asked to see which one was actually being used in this case. So if both are on then Wifi takes perference over the 3G? Good to know this. I take it I can ger this on/off widget in the Market. I'll see if I can download it. The widget method sounds better.
BTW, just checked out the Market and there are quite a few. Any particular one that you guys recommend or just any will do-? I just downloaded the one by Curvefish
Now looking for one to turn off the 3G.
I think power control widget comes out of the box long press on your screen and go to widgets to look for it. As far as 3g goes you should be able to program a shortcut instead. Long press then access settings which should bring you to individual settings you can program like 3g toggle...ank program off the market will do just fine but I prefer to not give access to my phone unless necessary.
when both WiFi and 3G/H are ON
it will by default use WiFi
if WiFi fails or signal is poor, it will automatically switch to 3G/H
you will see the icon at the top of the status bar
ebue said:
I have been trying to figure out a way to choose wifi or 3G when i want to surf. For instance if i click on the intrrnet app and it should give me an option, to surf through a wifi or 3G service.
What happens now is that it just connects difrectly but i do not now which service it is connected to. How do i achieve this option or at least get the option to surf through eithet wifi or 3G?
Click to expand...
Click to collapse
You can force the phone to only use WiFi if you install this App
APN on-off Widget http://forum.xda-developers.com/showthread.php?t=765081
Thank you guys for the good info. I am in the process of downloading some maps and it is really going well. Got something like 165KB/s so far.
yea so recently my nexus wont keep the option to keep wifi on during sleep checked, everytime i pickup the nexus its gone back to "never" keep connected.
also, in the wifi advanced settings theres an options called "direct-wifi" it bring up peer devices,,,, is this a file sharing feature?
edit: ok "facepalm" a reboot seems to have solved the wifi-on prob., but still wondering what wifi-direct is
edit 2: found it Wi-Fi Direct
Android now supports Wi-Fi Direct for peer-to-peer (P2P) connections between Android-powered devices and other device types without a hotspot or Internet connection. The Android framework provides a set of Wi-Fi P2P APIs that allow you to discover and connect to other devices when each device supports Wi-Fi Direct, then communicate over a speedy connection across distances much longer than a Bluetooth connection.
NEW REPLY,
ok now its gone back to resetting to switch wifi off with screen off,
with this option constantly re-enabling itself will i be able to receive notifications while screen off?
FOUND ANSWER.
problem was a app called wifi-unlocker that i had given admin right to, it was for some reason shutting off my wifi with the screen off.....dont know why but uninstalled checked the box rebooted and now no issue
I know this is not exactly Android head unit topic but it's closely related to using the device.
So here's what's going on. When I manually turn on wifi tethering (Hotspot) on my phone (NOA H10, 7.1.1 nougat), device (head unit) connects to it as it should, and everything works.
On the otherhand when I use tasker, or any other app to trigger wifi tethering on Bluetooth connection, the hotspot turns on but device can't connect to it. I get obtaining IP address issue, and when I set to static IP it connects for a few seconds and then drops the connection. It's really frustrating because I know it can work.
I know l can always turn the hotspot on manually when I get into the car but I want it to be automatically turned on when Bluetooth connects to my unit.
Anyone else has/had this kind of issues? Any ideas/solutions?
AFAIK most of these units don't support bluetooth tethering at all. Not really sure if any do at all.
Sent from my iPhone using Tapatalk
I'm not talking about bluetooth tethering.
Ok I get it, trigger wifi on bluetooth connection with the triggering attempted on the phone side.
I have 0 experience with android phones but I know my iphone will never allow a connection (to anything) unless you open the hotspot setting manually. When I do that my units all automatically connect.
Sent from my iPhone using Tapatalk
I use Macrodroid app to activate the hotspot when muy phone is conected by bluetooth, and all runs ok
I tried macrodroid. Same thing as the other apps. It turns on hotspot but can't connect to it.
So here's the SITREP, when I use connected to a bluetooth device trigger without specifying a device, the hotspot works. Only if variable, device name and/or mac address is specified the device will not connect to hotspot.
Install and use this plugin
Doesn't work. But I managed to get it work with secure settings and touch task plugins.
Tux2609 said:
Doesn't work. But I managed to get it work with secure settings and touch task plugins.
Click to expand...
Click to collapse
Can you elaborate please? I'm also having this EXACT same issue.
Thanks.
jks8496956 said:
Can you elaborate please? I'm also having this EXACT same issue.
Thanks.
Click to expand...
Click to collapse
I'm using secure settings and touch task Tasker plugins to simulate manual hotspot toggle. When my phone connects to my headunit it triggers screen on then screen unlock to unlock the phone, then quick settings (drop down) menu and finally touch on hotspot tethering icon. Same command is executed on Bluetooth disconnected status.
Orbot 16.0.5-RC-2-tor-0.0.4.9 works in Carbon 7.0 from 2019-07-31 and Lineage 16 from 2019-07-21.
I didn't check Tor for newer builds ROM and Orbot.
1. Turn off "Mobile data" in "Mobile network"
2. Establish a Wi-Fi internet connection.
3. Install Tor.
Code:
Active settings in Tor:
Always-On Notifications
Expanded Notifications
Allow Background Starts
relaying
Reachable Addresses
Isolate destination addresses
Connection padding
Reduced connection padding
No Network Auto-Sleep
4. In "Tor-Enable Apps" add your favorite apps.
5. Set the VPN to the "always on" position.
6. Turn "Always-on VPN" on and off again.
7. In "Tor-Enable Apps" add your favorite apps.
8. Wait for Orbot to connect to the server. By swiping from the right edge inwards, you can check in logs what is happening. Waiting for the connection takes a really long time. Try to touch the onions to connection turn off,
and tap the onions again to connection turn on.
9. If you see STOP on the onion, it means that the connection to the server has been established.
10. Run your favorite app.
Despite the connection, I'm not sure that everything works as it should. Orbot disconnects the connection quite often, system applications have an internet connection despite blocking connections without VPN and not assigning the application to the orbot list.
ze7zez said:
Orbot 16.0.5-RC-2-tor-0.0.4.9 works in Carbon 7.0 from 2019-07-31 and Lineage 16 from 2019-07-21.
I didn't check Tor for newer builds ROM and Orbot.
1. Turn off "Mobile data" in "Mobile network"
2. Establish a Wi-Fi internet connection.
3. Install Tor.
Code:
Active settings in Tor:
Always-On Notifications
Expanded Notifications
Allow Background Starts
relaying
Reachable Addresses
Isolate destination addresses
Connection padding
Reduced connection padding
No Network Auto-Sleep
4. In "Tor-Enable Apps" add your favorite apps.
5. Set the VPN to the "always on" position.
6. Turn "Always-on VPN" on and off again.
7. In "Tor-Enable Apps" add your favorite apps.
8. Wait for Orbot to connect to the server. By swiping from the right edge inwards, you can check in logs what is happening. Waiting for the connection takes a really long time. Try to touch the onions to connection turn off,
and tap the onions again to connection turn on.
9. If you see STOP on the onion, it means that the connection to the server has been established.
10. Run your favorite app.
Despite the connection, I'm not sure that everything works as it should. Orbot disconnects the connection quite often, system applications have an internet connection despite blocking connections without VPN and not assigning the application to the orbot list.
Click to expand...
Click to collapse
Tried this from a clean LOS16-Install but no success.
So currently I have run out of options (except going back to LOS 14, where things worked fine.
Carbon ROM seems to have no root, so it's not really an option for me.)