Does WiFi Direct work reliably now? - General Questions and Answers

This is one area where Android has failed miserably, and just like App Data backup, Google doesn't seem to be interested in fixing this problem.
THE REQUIREMENT​
Ability to transfer files to other devices WITHOUT the use of internet or an intermediary device such as the router in a LAN.
Apps like SHAREit, Zapya, etc. were always a hit or a miss. They NEVER worked reliably. I have tried several apps in this category and it was the same story with all of them.
Has this problem been fixed today?
What is the best way to transfer files between two or more devices (Android, iOS, Windows, macOS) WITHOUT using internet or being connected to the same WiFi network?​
Cross-platform support would be great.

Excerpt from here
You might want to take a look at WiFi Direct and alike. There are several apps on the Playstore making use of this, like e.g.
SuperBeam | WiFi Direct Share (with a fall-back to "hotspot mode" in case of WiFi Direct problems: one device creates a hotspot, the other connects to it)
WiFiShare : Share Files Freely states it brings WiFi-Direct like functionality on lower version of Android, it also enables to send large size files to multiple people at a time -- which I understand as it does not depend on WiFi Direct, but emulates it itself.
Fast File Transfer utilizes WiFi tethering to achieve the same. The description states you could even send files to an iPh**e (censored It plugs into the "Share" menu.
WiFi Shoot! WiFi Direct uses WiFi direct
One of those should be fitting your needs.
Click to expand...
Click to collapse

xXx yYy said:
Excerpt from here
Click to expand...
Click to collapse
If you check, 2 of the links don't exist, and the other 2 seem to have been abandoned by their developers.
Internet is cheap today, and cloud/ streaming services are becoming the norm today. Still, there are situations where we may want to transfer large amounts of data between devices while on the move. A proper solution (like AirDrop from Apple) doesn't exist in Android today, unfortunately.
As I mentioned in OP, I have tried several apps for a long time and they were all a hit or miss. None of them were reliable. The issue was devices not showing up in the hotspot that these apps would create. So the question of transferring files wouldn't arise.

Related

Update various things when WiFi is avaliable

Hallo,
is there a software that can update like E-Mail, Weather, QuickGPS, RSS, Push Sites when WiFi is avaliable.
I use my phone with out a flat data service and it would be great updating all this when one is in an hotspot.
Thanks
That would be a really useful app, great idea.
Yeah, I would like an app like this as well, but for me it would just be to be able to update many items with the push of ONE button, not switching between apps and clicking 'update', not just when in a wifi hotspot area
hmmm..
it seems that nobody has an idea?!
I'm not into programming at all, but would it not be possible to hav something like a batch file you use in Windows where different things are done one after the other like you can do in Linux in the bash (wow I think my english is a little of here, I hope you get what I mean)...
I would hazard a guess at having all of these applications running in the background and poll for updates every 10 mins or so, disabling mobile data with something like MoDaCo NoData, and having your wireless constantly enabled would work.
Expect battery life to be around 7 hours, though
To code a program which polls for wifi + internet connectivity, and updates several different (closed source) applications on your device would be a nightmare. It would involve breaking the procedures they have in place to update themselves to accept updates from the new source, or directly writing to whatever temporary storage those applications use (which may be locked by those very applications while they run).
In short, not gonna happen :-\

[APP][1.5+] Webkey (ROOT REQUIRED), remote control your phone

Using this program you can control your phone from any browser. It requires a rooted Android phone.
* You can click and type on the phone (we inject touch events to the touch device and create a new HID for typing),
* get screenshots (copied from the framebuffer device) in jpeg and png, record images in sequence
* start phone calls (it uses '/bin/system/service' from android)
* open webpages on the phone (it uses intents)
* browse, download from, upload to the SD card (it uses AjaXplorer so you can rename files, listen mp3, etc.)
* browse and read every files on phone
* adjust LCD backlight
* get the phone's location (GPS and network, it uses our JAVA code and shows the result on GoogeMaps)
* exporting contacts, messages, call list in txt, csv, xml,
* chat with phone and other users
* terminal emulator with Shell In A Box
* user rights management, log
* works on wifi, 3g
* DynDNS support (it's a dinamic DNS service, after you register at dyndns.org, your phone will have an address like: myphone.homeip.net, this only works if you can reach your phone using its IP address)
* if your 3g internet provider blocks the incoming connection to your phone, then you cannot connect using its IP address or DynDNS, but you can connect through our server (the phone starts the connection like GoogleTalk does)
* user admin has a random password each time, but you can add new users. The connection is not encrypted, we are planning to use https instead of http
* opensource (it is licensed under General Public License)
* most of the functions uses only C++ part, which has very low memory footprint and almost no CPU use in idle.
* Homepage: androidwebkey.com
Feel free to ask for features and send bugs.
Market Link
I don't trust this AT ALL!!!
Yzord said:
I don't trust this AT ALL!!!
Click to expand...
Click to collapse
Why? Everything works as listed. It's opensource, you can compile it for yourself.
Sorry for my attitude. It is not personal, but these kind of apps give me the creeps...
Yzord said:
Sorry for my attitude. It is not personal, but these kind of apps give me the creeps...
Click to expand...
Click to collapse
That's all right. But I can't image a way to make it more trustable.
Pretty slow but it works.
evilkorn said:
Pretty slow but it works.
Click to expand...
Click to collapse
If there is a demand for this, we will hire a server with a faster connection. It seems like all the 3G internet providers blocks the incoming connection to the phone in USA, so we have to redirect the packets through our server. In Europe the situation is better, and we can connect to the phone directly.
Webkey listens on all interfaces, so if you manage to set up a VPN, it will work.
morapeter said:
If there is a demand for this, we will hire a server with a faster connection. It seems like all the 3G internet providers blocks the incoming connection to the phone in USA, so we have to redirect the packets through our server. In Europe the situation is better, and we can connect to the phone directly.
Webkey listens on all interfaces, so if you manage to set up a VPN, it will work.
Click to expand...
Click to collapse
I know for AT&T unless you have the laptop connect type package, ie: APN is isp.cingular, this is true. So nearly all AT&T mobile phones will have this limitation.
I like that you've worked around it using this method, I think I'll have to give this a try myself.
Also sounds like something a business might be interested in having, but their own server.. Is the communications secure between the phone and server?
khaytsus said:
I know for AT&T unless you have the laptop connect type package, ie: APN is isp.cingular, this is true. So nearly all AT&T mobile phones will have this limitation.
I like that you've worked around it using this method, I think I'll have to give this a try myself.
Also sounds like something a business might be interested in having, but their own server.. Is the communications secure between the phone and server?
Click to expand...
Click to collapse
There is nothing new about this topic. Virtual Private Network is made for this, it's secure and everyone can have an own server (although it's not so easy to set it up, but most of the firmwares support it on the phone). There are several other solutions, for example ssh reverse port forwarding (-R option), or socat can create a tunnel device as well. None of these solutions were good for us, because I didn't want to mess up anything on the phone like creating new network interface, or maintain a ssh tunnel.
Our solution is simple. The phone creates a TCP connection to the server and listen on that. It reopens it when it closed. Whenever a user connects to our site from a browser, the server searches for the appropriate socket, and connects them.
It's not secure yet, but I'll finish https when I have time. After that the connection will be secure between the browser and the phone (which is better than securing the connection between the phone and the server).
I like where this app is going. Seems good.
I ran this before on 2.1, but now Webkey won't run on my Evo running Froyo. It just hangs with black screen on start. I am running the rooted stock 2.2 ROM and other apps requiring root run fine. Any ideas?
Also, I'm a developer and want to add an option to select an http port to listen on. I'm pretty sure http will work fine over another port, like 8080 (over Sprint without using your proxy server), and I wanted to mod the code (and submit to you) if it works. Is it obvious how to build the full solution from the C and Java sources? Just Java I've done, but not built an app requiring the NDK, yet.
Thanks!
So if I understand this correctly, this relies on a server at some fixed location, as well as an apk on the phone.
Is the server source available so that I could modify the APK to point to my own server? It seems that the sources you provide are only to rebuild the APK, and that a user would have to trust your server.
wvufan said:
I ran this before on 2.1, but now Webkey won't run on my Evo running Froyo. It just hangs with black screen on start. I am running the rooted stock 2.2 ROM and other apps requiring root run fine. Any ideas?
Also, I'm a developer and want to add an option to select an http port to listen on. I'm pretty sure http will work fine over another port, like 8080 (over Sprint without using your proxy server), and I wanted to mod the code (and submit to you) if it works. Is it obvious how to build the full solution from the C and Java sources? Just Java I've done, but not built an app requiring the NDK, yet.
Thanks!
Click to expand...
Click to collapse
At start the Java code tests whether it needs to extract files. I assume that something changed on Froyo. Do you have a directory /data/data/com.webkey after install? Or does it put it on the SD card?
There is a function for changing port. You can do it from the Java gui.
For the compiling (under linux):
I used "Customized Android NDK r3 with enabled support of C++ exceptions, RTTI and Standard C++ Library", see
http://www.crystax.net/android/ndk-r3.php
and downloaded the precompiled binaries. Please find a build.sh in c.zip (I uploaded it right now). It uses my directory structure, but I hope you can find out how it works. There are some bash tricks with grep and sed to generate the menu in every html. The README.txt might help as well. Feel free to ask about anything.
heilpern said:
So if I understand this correctly, this relies on a server at some fixed location, as well as an apk on the phone.
Is the server source available so that I could modify the APK to point to my own server? It seems that the sources you provide are only to rebuild the APK, and that a user would have to trust your server.
Click to expand...
Click to collapse
In some countries you don't have to use the server (the internet providers don't block), but yes, you are right. The server code is a python script and I need to check it (again) for security leaks before opening it and ask permission from the other developer. I would say this will happen this weekend. (However, the protocol is simple. It couldn't be simpler.)
There are some other solutions for this problem:
- If you set up a Virtual Private Network on the phone (I never did that, but reverse ssh port forwarding worked for me), then you don't have to use our server.
- I hope in the next release there will be https, which encodes the data between the phone and the browser (after that you if you check the certificate then you can trust to any server). I try to finish it in a week.
I believe the publication of a program like this needs extra care because of its reputation. Before https there won't be a Market version, where you can change the server address (because of security reason). Of course, if you would like it, I'm happy to send you an apk where you can change the server address, or you can compile it for yourself.
Alright, so where can I download this from please? The hompage link is not working.
Aqua1ung said:
Alright, so where can I download this from please? The hompage link is not working.
Click to expand...
Click to collapse
It should work, please try again. It is also available on the Market (search for Webkey).
Okay, now it works. Thanks. All I gotta do now is root my phone
As for suggestions, how about taking pictures remotely using the FFC and/or BFC? Just in case your phone gets stolen or lost...
Aqua1ung said:
Okay, now it works. Thanks. All I gotta do now is root my phone
As for suggestions, how about taking pictures remotely using the FFC and/or BFC? Just in case your phone gets stolen or lost...
Click to expand...
Click to collapse
Nice Now you have to start the camera program and watch the screenshot . I'll check what can I do with the camera device from C++.
This is a great app. I love how you can upload and download from your sd card! The remote control is a little slow over 3g, but very promising. Thanks
stickerbob said:
This is a great app. I love how you can upload and download from your sd card! The remote control is a little slow over 3g, but very promising. Thanks
Click to expand...
Click to collapse
Well... There is an option in AjaXplorer, which downloads several files in a zip archive (even directories), but I was lazy, I didn't implement it in C++ (although the zip library was already there because of the png library). I don't promise to finish it in the following weeks, but I'll do it sometime.

[APP] X-Link - Zero Setup File Transfer

The app I would like to present is called X-Link and is intended to make file transfers between devices (Android or PC) easy.
It's using multicasts to find other clients within the same WiFi network.
So no setup ist needed.
In addition to the Android app there is also a Java based PC client available.
This client has been tested on Linux and Windows but might work on other configurations.
The full description and a short video can be found on the Android Market page:
https://market.android.com/details?id=de.fun2code.android.xlink
You can not only transfer files between PC and Android but also between Android devices.
This is beta software, so there are still bugs.
Please report them in this thread. I'll have a look as soon as I find time and will contact some of you to get things fixed.
There are surely some timing (and timeout) problems which need some attention.
Make sure your router supports multicasts.
Please post comments, I'll try to read them all
Link to PC client
http://www.fun2code.de/downloads/xlink/XLinkClient.jar
Copying of directories
Supported since 0.8.4 beta.
Testing and how you can help
Multicast test
To test if your network is able to deal with multicast messages you can do the following test:
1. Download the file MulticastSender.jar and MulticastReceiver.jar.
2. On one PC start the MulticastSender.jar and on another the MulticastReceiver.jar.
The sender sends screenshots. If you see the screenshots on the receiver's side, multicasts are working for you.
If not, X-Link will not work.
If this works but X-Link doesn't it's likely that there is a problem concerning timeouts within X-Link.
In this case, please send me a mail (xlink [at] fun2code.de).
If sharing on Android does not work
Sharing does not seem to be working in some apps.
If you encounter such a problem, please download the app XLinkDebug.apk and install it.
Use sharing as you normally would with X-Link but select X-Link Debug instead.
On execution the app will copy the information needed for me to fix the issue to the clipboard.
Please paste the clipboard into a mail ans send it to the following address: xlink [at] fun2code.de
installed both the client and app on my Nexus One (CM7)
PC client doesnot detect my Mobile.
firoz3321 said:
installed both the client and app on my Nexus One (CM7)
PC client doesnot detect my Mobile.
Click to expand...
Click to collapse
Was your phone on a WiFi network?
obviously, yes it is
The devices have to be connected to the same WiFi network and the network has to support multicasts (which usually should be the case).
If you are on a weak WiFi signal it might take more than one try to find other devices.
My test devices are:
Galaxy Nexus, Nexus One and Notion Ink Adam
i really do not have knowledge about the Multicast thing, but my Wifi Signal is good. And i used SAMBA and other wifi file sharing apps and they all worked using the same wifi.
And clicked RELOAD many times but i cant see any device in the popdown menu..
Hm ... so this seems not to work on your network
Multicast is different from TCP connections, so this can't be compared.
Wow, it actually worked in HTC Desire!! Great app!! Now I can transfer files w/o any cables!! Need sometime to allow 2 devices to connect though..
Sent from my HTC Desire using XDA App
I don't know anything about Multicast, but my Mac is on the same Wifi network as my Galaxy Nexus, and the Mac couldn't see the Nexus. I tried "Reload" several times.
Works on Windows 7 64-bit and a Galaxy Nexus. Cool app, really like it!
My only suggestions would either be to get rid of the menu and put it all in the "drag file here" area, or maybe some slightly simpler graphics. They come off a little cheesy.
Other than that, it works well.
Next steps would be to keep app closed, but still have access to dropping files. Root access? I'm not sure how it would work.
App and client work seamlessly with windows 7 and tmo sgsII.
Only thing I notice is inability to share pics directly from my phone's gallery. I use my file explorer and it works fine.
Amazing work. Coffee money on the way
So this is like airdroid but rather than the file browser/tools being built into the web address there's a desktop client?
https://market.android.com/details?...t=W251bGwsMSwxLDEsImNvbS5zYW5kLmFpcmRyb2lkIl0.
Hello There,
Using Windows8, DHD and TF101. My PC had no problem seeing the items on my network Alas, every time I tried to swap a file over I just kept getting a pop message telling me there was an upload error. Thanks.
Pity because it was something I had been looking for :-(
Worked perfectly on Macbook running Lion and galaxy nexus
awesome app!
amazing app and super simple to use/set up, great stuff dude =D
dodge3003 said:
Hello There,
Using Windows8, DHD and TF101. My PC had no problem seeing the items on my network Alas, every time I tried to swap a file over I just kept getting a pop message telling me there was an upload error. Thanks.
Pity because it was something I had been looking for :-(
Click to expand...
Click to collapse
Make sure you have x-link at the front of your screen (on your phone) seems it disappears after being inactive and you'll get the upload error problem. I am of course speaking from experience as I just fought with that, bringing x-link back to the front seemed to solve it.
Thanks to all of you for testing!
The X-Link app has to be active on the Android device to be visible to others and for the transfer to work.
If you close the app during data transfer, the transfer will break.
I'm glad that it worked for some of you. I'll do some debugging next week.
Hope things will improve...
For does of you having problems seeing other devices.
You can do the following test.
Run the PC client from console: java -jar XLinkClient.jar
Then try to detect you PC from the Android device.
You should see an output similar to this on the console:
Connecting: 192.168.0.198/4500
If an Exception occurs there was a problem when connecting back to the Android device.
If no output is visible, it's likely that multicasts are not working within your network.
Might help newer users who want to try out your app if you put a download link on your web site or here in this thread. I found your app through xda article and didn't realize that I had to type the link out verbatim with 'XLinkClient.jar' having correct capitalization lol. Took me a minute to figure out, so newer people might just give up without trying it. Just fyi ;-)
Great app, thanks for your work! Working on Mac running Lion and Droid 3.
Working great on Windows 8 Consumer preview and LG Optimus 2X. If i had a job right now, i would send you money for a beer, but i dont have a job at the moment, so a cant. Thanks.

[Q] Will SHAREit & SuperBeam work without WiFi Direct?

I have been searching a lot about different file transferring apps. After googling a lot I kept stumbling into three apps; Xender, SuperBeam & SHAREit. I found that Xender can trasnfer file with just WiFi (without WiFi Direct) by using Virtual Router & Client concept. But I couldn't find anywhere if SuperBeam & SHAREit can do the same... All my SmartPhones have WiFi Direct & so do my friends' SmartPhones. So there is no way of checking if they work without WiFi Direct. So can anyone please confirm or verify, if SuperBeam & SHAREit apps will work wihtout WiFi Direct?
I have a small question, will Xender work with just Bluetooth (without WiFi & WiFi Direct)?
Hi Satya,
Xender uses Wi-Fi direct technology which means that it can transfers data up to 50 times Bluetooth speed, Most of the Smartphone today have Wi-Fi
There is no reason to use Bluetooth instead of Wi-Fi direct so Xender never carry Bluetooth functions.
Thanks
Firstly your question does not belong to this forum
And answer is superbeam can also use hotspot to send files, for that you need to go into superbeam's setting and then go into sending and select preferred direct mode as hotspot (instead of auto)
AnMobi said:
Hi Satya,
Xender uses Wi-Fi direct technology which means that it can transfers data up to 50 times Bluetooth speed, Most of the Smartphone today have Wi-Fi
There is no reason to use Bluetooth instead of Wi-Fi direct so Xender never carry Bluetooth functions.
Thanks
Click to expand...
Click to collapse
I asked about Bluetooth compatibility because I wanted to cover all bases. And thanks for clarifying that. But don't you think it will be cool if Xender was able to send file even when wifi and wifi direct facilities are unavailable?
I've been messing around with file transfer apps myself. On the play store there's "WiFi...." by app dev dubloo (I think) its been a bit since. Anyway, that app allows files from device to a computer with an easy to use interface via web browser. I guess the app acts like a server. If you are interested... ICE COLD APPS have *Servers*/*Synchronize* "Ultimate" by way of the play store. Plus, there is a support or feedback thread for each here on XDA. If you were looking at using superbeam I would recommend picking up the pro key as well. The main app functions well on its own, like, the pro key adds just enough at the right price to say heck with it and pick it up for $3 or so. There are a couple different options to choose from before starting a file transfer, too. And I'm pretty sure+don't quote me+ that each option has a brief description of the way the files move from device to device. Also, there is a windows app to compliment. Last, certainly not least -SimPfile(also on play) I think using WiFi direct. Like, both devices need to be on the same WiFi network. Less options than superbeam, no pro key. And for what you pay for it, its free, BTW... It gets the job done if you are looking for a straight forward app without the bells and whistles. And just to name drop, FX file explorer has a small pay once add-on for media sharing also. Feeling adventurous? Tired of of the run of the mill apps? Give that a shot.... Its been in production and updated since either the end of GB or the beginning of ICS. Each of those apps has been good to me.✌?
just an edit - browsing xda app section http://forum.xda-developers.com/showthread.php?p=55878697

Wifi Direct sharing from google

Most phones today have wifi direct. However, very few of these can actually use it to share files the way samsungs can. Of course, there are many 3rd party apps that can do it, and some quite well, but the thing they all have in common is that the app must be installed on both devices. (Unless using a web address on a browser on the receiving device, which is not so user friendly as apps like superbeam, or the samsung wifi direct share.)
Wouldn't it be great if all android devices came with a preinstalled app to do send large files back and forth, eith share options in all apps, like bluetooth share, only for wifi direct? Because lets face it, while blutooth is certainly useful, it's just too slow for anything more than a few picture or a short video.
So why not make a feature request in code.google.com, asking for a wifi direct share app to to be preinstalled in all devices, (in new android versions, that is, just to add another app to the gapps we already have,) or even just to be able to install from play store, just like google camera, the only difference being that all devices will be able to receive the file the way all phones can receive an incoming bluetooth file..
If this isea interests you, Post here, and if I see that thete is enough interest to actually make this worthwhile, I will post a new topic there and we can try getting as many people as possible to vote for it there, and maybe we might get our wish and the next version of android will include this! I can't believe it would be very difficult for google to implement.
So, does anyone else think this is a good idea? If you do then tell me and lets see if we can actually get built in wifi direct sharing on android!

Categories

Resources