[Q] Which file/property tells apps phone HAS internet access? - Desire HD General

Hi,
I'm working to get reverse tethering (internet passthrough) working through a Linux pc. The app that comes with the phone is for Windows only. I have got to the stage where I can bridge the interfaces on the pc, get a dhcp address on the phone's usb interface, set the route and access the internet (from some apps). However, other apps don't even bother to try to connect if the phone tells them it has no access. This must be set in a property somewhere, but I don't know where? Can anybody help find it and tell me how to set it?
Cheers!

They probably only ask this class, directly or automatically when creating a connection :
http://developer.android.com/reference/android/net/ConnectivityManager.html
You will probably need to browse the Android SDK sources, but looking at this class, this will not help you much as the connectivity itself is hidden behind a IDL interface :
http://android.git.kernel.org/?p=pl...ore/java/android/net/ConnectivityManager.java

Thanks for the reply faugusztin.
Sounds too complex for me to set, unless there are ways to do this indirectly.

Related

HELP GUYS

Hi forum,
I have a WiFi Connection in my office premisis & was womdering if I could create a VPN or a similar p2p connection between my laptop & my universal...
Any comments or ideas..
Thanx,
mOrph
yes you can
but not an activesync connection.
you basically have to get on the WIFI network (VPN not necessary unless you are external of the network and/or behind firewalls).
then its a question of what you want to do, the WIFI network gets you on to it using WEP or WPA SPK I think (we use WEP at home and work).
if you want to connect to your laptop, create a mapped drive then you can copy and paste backwards and forwards.
you can run terminal server to control your PC or connnect to a terminal server, or connect to SBS with administrator priverlidges.
The question is, if you connected, what do you want to do. You cannot activesync, but you might like to try streaming music or other bandwidth consuming activities...
ok
got your PM.
Question: If you created the connection using WIFI between your laptop and your PDA, what do you want to do/achieve?
PS morphosin
Please please please stop using "help guys" as your heading. Refer here: http://forum.xda-developers.com/viewtopic.php?t=4534
Particularly point 2.
This is at the beginning of every forum topic.
Hi
Answer:
Hi Simon... The reason i was wanting to connect my laptop & my ppc through Wifi is that i cannot activesync (like you already know).
I was thinking maybe i can have a data trasfer between the devices if nothing else.
Is that possible?
If not, what can the connection be used for?
Thanx buddy,
mOrph
Activesync cannt be done over WIFI, 2003 allowed it not WM2005.
You can share a folder on your PC, and thus place files in and out of that using WIFI. Generally though, I found it more efficient to use an SD card with a USB memory reader to transfer files, much quicker read/write. Usually I want to put pictures or videos back the other way anyway. some pc's and laptops come with memory card readers anyway.
ON your PC' find a folder, right mouse click and share it with a share name. Make sure you know the name of the machine, eg my computers name is TLA-DELL1 for work, and home is the name of my daughter. If you havent named your machine it will have some dodgy obscure pathetic name issued by the manufacturer. You can get this from system in control panel.
On your PDA, start your WIFI.
Using Resco explorer hopefully you have it, map a net work drive. You can try the standard file explorer, but I dont like it. Total commander can also do it. In the share address use:
\\computername\foldersharename
note the double backslash.
Enter usernames and passwords as appropriate.
Now, the pain in the arse bit.... do you have a firewall? This is where it can get tricky.
The other thing you can do is if you are running XP Pro (if not, I recommend it), you can also go into control panel > system on the tab called remote connection, you can tick a box that allows you to take control and use your machine on your PDA using Terminal Server. This allows you to access all the resources and facilities that your machine has as if you were sitting at the console, including the power and processing speed of your computer.
Only downside, the screen is much much smaller than your computer, so getting around it can be painful.
Once you have enabled your machine to allow the connection, its simply a matter of starting wifi, programs > terminal services, and enter the IP address or computer name of your laptop to connect to it, and it should open then a log on name for you to start using your machine.
A further feature, which I dont use and cannot advise how to, but read about it here, is to "stream" mp3's from your laptop to your PDA so you can play music on your PDA based upon music on your machine rather than having to copy it.
In relation to sending files to your computer, if all else fails, I ahve two extra email accounts on my PDA a hotmail account, a POP3 account, and if in times of need, a GMAIL account, all of which allow me to email particular files anywhere I want using any WIFI connection. I use this when all else fails.....
Hence my question, what did you want it for....
Dont worry mate, we'll get there... one day. We just have to challenge MS, and what is life without a challenge or 100 from MS.

ubuntu sync

I can't find the site but at one point I saw a how to sync with windows mobile 6. I am running ubuntu and would like to be able to sync my contacts. I know it has been done any help would be great
thanks
I just want to bump this thread.
I unfortunatly do not have a solution
for this issue but I also run ubuntu as
my primary OS and i'd love to not have
to boot into windows to get my phone
updated
This maybe not the perfect solution, but use VMWARE server and install WinXP/Outlook in the guest OS
you need to install synCE. it will do what you need. make sure you install the latest svn because with that it will allow you to tether the phone as well..
in addition to that you will also need odccm ..odccm is the only one that works for me..not dccm or vdccm.
I tether my phone all the time in my gentoo box. I don't really sync anything cause im not that important I guess but I have connected it numerous times in order to put files on the phone or storage card
Does this work? You've synced with your mogul?
I was interested in such a solution, but SynCE was last reported "working on support" for WM 2005.
I assumed that if it doesn't even support WM5, there's NO WAY it would support WM6...
I can assure you it works with the mogul/titan because that is what I have. if you read the synce wiki I think it does mention wm6,but not so sure. in any case I stress the fact that you need to directly check it out from svn as binary packaqges are way outdated anyway and the svn version has the code to tether it.
I have a copy of usb-rndis-lite also from synce..for some reason I have to recompile it with every reboot but it is what gives tethering ability. as soon as you run reload.sh in the usb-rndis-lite folder my box automatically recognizes it as an ethernet device and the networkmanager will auto-connect it. if you dnt have networkmanager you will have to add the appropriate ip in /etc/resolv.conf
to synce I just run 'synce-serial-config /dev/ttyUSB0' then I start odccm..then I run 'synce-serial-start' and you will see the phone connect and avtivesynnc arrows will show up on the phone
also its very mportant..for it to work with synce you have to turn OFF adv. usb capabilities in settings > usb to pc on the phone..it basically enables a legacy mode on the phone. without disabling that option my box sees the phone as a simple usb ethernet device..
when it connects you can type 'rapip:/' in a konqueror window to acess the files on phone and storage card
ActiveSync BOOSTER
Is there a way to boost up speed of Sync
Is there a any software or Cab file for it ?
Also want to know after we sync Phone
It keeps repeating to sync, is there a way to stop it ?
With removing the phone
Please Help

help needed to set up Remote Desktop

can anybody tell me how to setup remote desktop from HTC to my PC (I am using Windows 7)
Step by step please guys
http://www.youtube.com/watch?v=iCs4GQma7IQ
With that guide I made it work, good luck.
I did exactly everything in this guide and even set a corresponding exception in the Windows firewall (also tried with Windows firewall off) - but the mobile remote desktop program always tells me there was an internal error... But what the heck could that be?
Dont bother the remote dt program is ****e, im currently using vnc which is a bit better, but rather lacking also.
Is it me or did that video not mention setting up your windows machine to allow connections.
Make sure remote desktop is enabled on your PC and make sure it is allowing connections from computers running any version of Remote desktop(2nd option) third option works between windows 7 machines but wouldn't allow my phone to connect.
Your error sounds like it is being caused by something on the phone end though so i dont know if that will help.
Those with remote desktop working can you get it to go landscape? Mine works fine except i can't get landscape mode. Also anyone know of a app that can send wake up requests to a machine? I have this on my laptop so i can wake my pc over the internet and then log in. Anything similar out there for win mobile?
allowing a connection through windows firewall alone is not helping, if you have other system securtiy programs that also has a firewall. or maybe your router has a firewall too. you should try and forward the right port (3389) in the software of your router.
I opened port 3389 on the router, I activated the correct remote desktop option on the PC (Vista), the IP is right (wrong IP adress throws a different error, so the program gets that far)...
I guess you have Windows 7 Home version
Have you tried using 16 bit high colour option? Mine said it couldn't connect when i turned it down to 256 colours.
Edit: Windows 7 x64 btw
OK on my windows7 x64 ive turned on remote desktop and set it to allow connections (2nd option) and i still cant connect, what do i type in user/pass on the hd2
-ive setup the portforwarding on my bethere box
-tryed both color modes on hd2
does it have to be over wifi or can it be over 3g?
Your user name and password for windows.
You MUST have a password set up on your windows account to be able to use remote desktop. If you don't have a password set up remote desktop and other network related access will not work. I.e using the phone to access shared windows folders.
bzdemes said:
Your user name and password for windows.
You MUST have a password set up on your windows account to be able to use remote desktop. If you don't have a password set up remote desktop and other network related access will not work. I.e using the phone to access shared windows folders.
Click to expand...
Click to collapse
ok ive added a password to my pc but still wont work, i think i tmay be something todo with this steps
2. Open a web browser, and type 192.168.1.1 to access your router. If you don't know the default username and password (usually admin/password), Google for it.
3. Enter port forwarding. Add a new entry using your local IP address, and the start/end port of 3389.
Click to expand...
Click to collapse
my router is a THOMSON TG585v7 and to log into it i need to type http://192.168.1.254 so i did and the only thing like port forwarding i can find is the Toolbox\Game & Application Sharing menu and in their i can type the ports but cant type the local IP address as their no where to add it, ive added a pic that might help you help me
If you are accessing the machine via your wifi(i.e your own network) you should be able to do it without any port forwarding.
So punch in your machines local IP and your username and password. That should work(make sure it is using your WiFi and not still connecting via 3G). If you wanted to be able to do it via 3G/wifi(external network) then you will need to get port forwarding working.
Edit: Port forwarding guide for you. I think this is roughly the same version of router you have just different branding.
http://www.portforward.com/english/...mson-Alcatel/SpeedTouch585/Remote_Desktop.htm
bzdemes said:
If you are accessing the machine via your wifi(i.e your own network) you should be able to do it without any port forwarding.
So punch in your machines local IP and your username and password. That should work(make sure it is using your WiFi and not still connecting via 3G). If you wanted to be able to do it via 3G/wifi(external network) then you will need to get port forwarding working.
Edit: Port forwarding guide for you. I think this is roughly the same version of router you have just different branding.
http://www.portforward.com/english/...mson-Alcatel/SpeedTouch585/Remote_Desktop.htm
Click to expand...
Click to collapse
so in the last part of the setup i need to manually define it as the local ip, still not working if that's what i should do
The last step is applying the forwarding to your PC. So you should be able to pick your PCs name in the drop down box.
Have you tried just doing it over your local wireless network(forget about port forwarding for a minute.) Enter the local IP(could also just try entering the name of the PC though im not sure if that works) of your PC as the computer then your user name and password.

Wifi send recieve files

Does anyone knows can i send and recieve files over wifi like the iphone. My phone is a htc prophet.
not generic way iphones are very closed platforms
if you can find a program which does it and is available for both iphones and wm then yes
otherwise you can use dropbox or livedrive or gmail and using the internet as middle station
so does anyone knows where to find such a program.
Google it and you will gett the path
do you mean datatransfer over wifi without being connected to the internet?
yes to send files from one phone to other over wifi without being connected to internet
WiFi Remote Access will solve your purpose.
CHECK OUT
no this is from ppc to pc, we want to transfer files from ppc to ppc!!
mare123 said:
no this is from ppc to pc, we want to transfer files from ppc to ppc!!
Click to expand...
Click to collapse
I think you can...
Lets assume, PPC1 has been configured with WiFi Remote Access.
Create an ad-hoc Open WiFi network from PPC2.
Connect PPC1 to this network.
Turn on WiFi Remote Access.
The PPC1 behaves as a server.
Open a Browser on PPC2.
Try opening the server address (as displayed on WiFi Remote Access Interface on PPC1. This is device specific).
A page should open.
Perform the password authentication on both devices, as will be prompted.
Try downloading the file from yor PPC1, the way you download usually through your browser on PPC2.
Its technically possible.
I don't have two PPCs with me to try this.
But, technically speaking, it should run flawless.
But, again you need lots of RAM on both the devices, specially on PPC2.
But, you must have a bit experience to use it properly.
And, only using it can help you know it!!!
Isn't that?
So please Use it, then reply back.
And, if this works, it can be used as a two-way protocol also.
Best of Luck guys.
today i tried it and it works perfect i transfer files much more faster than with bluetooth thanks for your help

[Q] File sharing outside network

OK, so right now I've got a folder on a windows xp machine shared across my home network via smb. I want to take this to the next level and be able to access it everywhere. I need to be able to get to it on Android and write access would be nice but not necessary. I've been googling around and all I've been able to gather is that smb is a bad idea. What would be the best way to go about making this happen?
Tyfighter said:
OK, so right now I've got a folder on a windows xp machine shared across my home network via smb. I want to take this to the next level and be able to access it everywhere. I need to be able to get to it on Android and write access would be nice but not necessary. I've been googling around and all I've been able to gather is that smb is a bad idea. What would be the best way to go about making this happen?
Click to expand...
Click to collapse
Use the filezilla ftp server, setup the port you want to use and the password and configure everything accordingly. (I can help)
And then setup port forwarding on your router.
Then install "Turbo Ftp Client" from the google play store.
Set it up with the external ip address of your network and the port that you forwarded on your router.
And bam, you could access anywhere.
Google is your friend, but if you've searched and read about the stuff listed above, I will be glad to help guide you.

Categories

Resources