wifi direct app - Vibrant Android Development

Hi,
In ICS we have wifi direct feature but there is no app which can use it. I am not a developer so if someone can compile source of this wifi direct app and make it an apk http://developer.android.com/resources/samples/WiFiDirectDemo/index.html
This is provided by Google..so i think it only needs compilation.

This is just an example of how to get a connection started and to look for other ICS phones. You'd still need to write an app that knows how to utilize that connection.

so if someone were to meet up with a another friend on ics, they cant trade file with wifi direct currently??
sent from the xda app on my android smartphone.

Not with what he posted because it's not a complete app, but there might be other apps using it or other ways of doing it. I remember Bump can transfer files, I'm not sure if it uses wifi or bluetooth though and it's not ICS exclusive.

Related

apk downloads

Hi all,
Do you folks have suggestions of good places to download apk's so I can still install apk's to my device even though it's not connected (would download on pc and transfer to device)?
Thanks,
Ho'okani
Be carfull with questions like this if they think you are asking for "warez" you can be banned, if you are looking for free to download apks check the devlopers sites as most of the time they are up for free. If you cant find anything and its not Private or Paid ill help you but I will dont get you anything that needs to be bought.
Definitely not looking for warez type sites or for apk's you have to pay for. basically looking for freeware type sites so i an download and manually install when i don't have access to the market. I haven't been able to work out how to wifi tether my Gpad with my Touch HD so when at the office so I can't get my Gpad online to gain access to the market since we only use wired lan.
Thanks,
Ho'okani
I'm looking for something similar. One spot where I can find apk's like flash, new york times or other official apps that for whatever reason do not show up in the market.
Getjar.com has a few.
Sent from my SGH-T959 using XDA App
I purchased a number of apps from Handango/Pocket Gear. They had an option to download to PC. Result was the APK for the programs. It was also beneficial for flashing a ROM and having to re-install.

[Q] WiFi Direct gingerbread

Hey guys,
Does anybody know if WiFi Direct is working on gingerbread?
I can't find a cooked ROM with this capability.
Wifi cast lite
There is a work around for this called WiFi Cast Lite ...just Google it and you can find it ....just like WiFi direct you need this app in both the devices to do the transfer....
The process is to enable hostspot on one device and connect to that hotspot using the other device and you are connected....then u can use the app to transfer the files ....
sridhar2malladi said:
There is a work around for this called WiFi Cast Lite ...just Google it and you can find it ....just like WiFi direct you need this app in both the devices to do the transfer....
The process is to enable hostspot on one device and connect to that hotspot using the other device and you are connected....then u can use the app to transfer the files ....
Click to expand...
Click to collapse
FC on HTC Explorer everytime
Totinsky, WiFi Direct was officially implemented by Android in ICS, but it sucks huge lemons and it crashes the phone all the time. WiFi Direct was finally stabilized in Jelly Bean (thanks to a certain little company). There is no official support in anything pre-ICS, I'm sorry to say. On another note, if you happen to get JB, we are building a proximity P2P file sharing app that uses WiFi Direct. The app is called Drop, and it is a simple, fast, and secure way to share files with people/devices in proximity. We are going into a limited Private Beta soon, so if you're up for the challenge, (and running Jelly Bean) then sign up at www.get-drop.com. Seats are limited, and we have a rolling enrollment, so check it out.

Nexus 7 - WiFi Ad-Hoc fix for wpa_supplicant?

Update March 25, 2013:
Solved!! The folks over at Thinktube Inc. have developed a fix and submitted it to CyanogenMod and AOSP for merging into their code:
http://b-real.org/2013/ad-hoc-ibss-m...h-cyanogenmod/
http://www.thinktube.com/android-tech/46-android-wifi-ibss
Essentially the EASIEST solution is to ROOT your phone, and install the CyanogenMod nightly as of March 25 or later (note: you will have to wait until the nightly is actually BUILT, since as of today it is not ready yet).
I have not tested this solution out myself, however others within this thread have confirmed it working.
Please if anyone develops a easier patch or a step-by-step for people who do NOT want to use CyanogenMod, post and I will update the OP
Cheers!
WiKiD24
-------------------------------------------------------
Update Oct 9, 2012:
- Nexus 7 v4.1.2 did not add Wi-Fi Ad-Hoc Support with the stock update from Google.
To do: Check if any WPA-Supplicant changes previously tested in v4.1.1 now work in 4.1.2
- Workaround (Recommended): Bluetooth Tethering to Nexus 7 Tablet (via Bluetooth DUN Profile). "BlueVPN" from Google Play Store.
Tested successfully on many Nokia Symbian phones (N7, E71, E72), and others.
However, many applications on Nexus 7 Tablet do not support it (without fixes from the developers)
Confirmed working applications:
- Pulse
- Google Chrome
- Dolphin Browser
- Facebook
- Ebuddy
- Youtube
- Others (I am too lazy to add them all)
Confirmed NOT working applications:
- Gmail
- Email
- Google Search
- Google Play Store
- Dropbox
- Words with Friends
- Scramble with Friends
- Others (I am too lazy to add them all)
More details can be found here: http://forum.xda-developers.com/showpost.php?p=29763582&postcount=27
Issue: Sometimes the phone/tablet do not connect (randomly), due to issues with either the phone or the tablet.
To resolve: Turn on and off bluetooth on phone, Turn on & off bluetooth on tablet. Try again. If does not work, reboot phone and tablet and try again. Should work.
-Workaround: Android Phone to Nexus 7 Tablet (via "FoxFI" App on Phone, "FoxFi Addon" App on Tablet, or via "PDANet", or via "Wireless Tether App")
http://forum.xda-developers.com/showpost.php?p=29763582&postcount=27
- Workaround: USB Tethering ANY Phone to Nexus 7 Tablet (via "PPP Widget" App on Tablet, requires rooted Nexus 7)
http://forum.xda-developers.com/showpost.php?p=32431103&postcount=51
- Workaround: Windows WiFi Laptop Tethering to Nexus 7 Tablet
http://www.youtube.com/watch?v=klHzMyYFGeQ
-------------------------------------------------------
Hi All,
I've just recently gotten a Nexus 7 and need to be able to enable Ad-Hoc wifi on the tablet.
I also own a Asus TF101 and previously had the same problem however there was a fix for that.
The solution was to replace the wpa_supplicant file in the /system/bin folder, however I do not know the code to change it.
If anyone has the technical know-how, they would be able to reverse-engineer it and apply the same fix.
http://forum.xda-developers.com/showthread.php?t=1370955
http://szym.net/2010/12/adhoc-wifi-in-android/
http://www.slatedroid.com/topic/2752...less-hotspots/
http://www.olsr.org/?q=olsr_on_android
http://hostap.epitest.fi/gitweb/gitw...upplicant.conf
I posted a possible solution in QnA section. Thread title is similar to this one. Check it out. Doesn't involve any coding. Prime had a similar issue on a few firmware updates. This was solved for us(before Asus came around to enabling it themselves) by adding in a wifi supplicant file and renaming an older one. Then setting permissions on the new file. Here is the link to that thread. There's a good chance it will work without the file needing to be modded. It came from a galaxy tab LR something and worked fine on prime. Its worth checking out.
http://forum.xda-developers.com/showthread.php?t=1438297
thanks for the tip and I tried it out, which is essentially the same type of solution but it didn't think work as there is no wpa_supplicant2 file in the nexus 7.
http://forum.xda-developers.com/showthread.php?t=1777413
here's some more useful information for enabling ad hoc:
http://szym.net/2010/12/adhoc-wifi-in-android/
http://www.slatedroid.com/topic/27522-howto-connect-to-ad-hoc-wireless-hotspots/
http://www.olsr.org/?q=olsr_on_android
http://hostap.epitest.fi/gitweb/git...ob_plain;f=wpa_supplicant/wpa_supplicant.conf
I'm doing what I can right now to try and enable it.
Some more experienced android users whom know what they're doing would be better than me trying it out, though!!
Did any of those sources of information get you any closer to enabling ad-hoc?
Just FYI that Nexus S "ad hoc enabling file" doesn't work on NS with Jelly Bean.
nexususer0101 said:
Did any of those sources of information get you any closer to enabling ad-hoc?
Click to expand...
Click to collapse
None yet, I need some help to do so. There is a file called "wpa_cli" that I need copied from another device, because I can't find it on the internet.
If anyone could find it in their "/system/bin" folder and attach it to this tread, I could certainly try it.
I've also requested the same thing in the Q&A forum here: http://forum.xda-developers.com/showthread.php?t=1793437
Bumping; I have the same condition. I'm in Italy and bought an internet package for my laptop--I'm sharing it with all my other devices but the N7 doesn't see the adhoc connection. Like OP said, I had a Transformer TF101 and remember flashing a file to fix it.
Thanks in advance.
Just an FYI: Also checked my GNex for a wpa_cli and came up empty.
Just wanted to give quick update, i have not been able to find anyone to help me and also my life is kinda hectic right now... Hopefully someone will be able to pick up where I left off, in the meantime my nexus 7 is pretty much useless to me until resolved.
One more "me too".
I'm here to share my sympathy to everyone else's pain as I have a nexus 7 that I can't connect to my phone's adhoc Hotspot. I have also posted my query in Android Central, but no one seems to have been able to know a fix as of yet. (topic can be found here: Android Forums at AndroidCentral.com > Google Nexus 7 Tablet Forum > Nexus 7 Rooting ROM's & Hack's > *** CONNECTING TO Adhoc WiFi WITH THE NEXUS 7 ***)
As I said in that thread.. not being able to connect to phones hotspot makes my beautiful nexus 7 feel like a handicapped tablet.
wikid24 said:
Just wanted to give quick update, i have not been able to find anyone to help me and also my life is kinda hectic right now... Hopefully someone will be able to pick up where I left off, in the meantime my nexus 7 is pretty much useless to me until resolved.
Click to expand...
Click to collapse
I haven't seen any reports/posts of people checking out or trying what I mentioned in post #2..lol. on prime we had this exact same problem. Then we found the supplicant file to replace one we had and then adhoc tethering worked after that. You only need to be rooted to do this as you need to rename a file and insert new supplicant in there and set permissions. You can always backup and rename original file. So if it doesn't work, you can easily revert back to stock file. I have a feeling this new file will work. Just haven't tried myself yet as I haven't brought tablet outdoors yet to need tethering. I might eventually see if it works if no one else does.
Look at the thread I linked in second post and you will see prime owners had exact same problem and we solved it. It worked for the transformer 300 also. Will likely work for nexus 7 also. The file is, in a sense, universal.
demandarin said:
I haven't seen any reports/posts of people checking out or trying what I mentioned in post #2..lol. .
Click to expand...
Click to collapse
I have tried. It does not work -- WiFi refuses to turn back on with this new supplicant file. And yes, I made sure to follow your instructions exactly as described in the procedure.
With the N7, there is no such thing as a wpa_supplicant2 file originally in /system/bin (only the one without the '2' exists in the N7 which is the one running the show here, I know this for a fact as when restoring this file, the WiFi in the N7 becomes functional again). So I tried this same file you provide both with and without the '2', with no better results.
I suspect that only a developer that knows what he's doing would be able to come up with a new wpa_supplicant file specifically tweaked for the N7 (as opposed to using one that did the trick for the Prime or for the Xoom or whathaveyou).
Thanks for the suggested idea though... anything else you think we should try?
rdelfin said:
I have tried. It does not work -- WiFi refuses to turn back on with this new supplicant file. And yes, I made sure to follow your instructions exactly as described in the procedure.
With the N7, there is no such thing as a wpa_supplicant2 file originally in /system/bin (only the one without the '2' exists in the N7 which is the one running the show here, I know this for a fact as when restoring this file, the WiFi in the N7 becomes functional again). So I tried this same file you provide both with and without the '2', with no better results.
I suspect that only a developer that knows what he's doing would be able to come up with a new wpa_supplicant file specifically tweaked for the N7 (as opposed to using one that did the trick for the Prime or for the Xoom or whathaveyou).
Thanks for the suggested idea though... anything else you think we should try?
Click to expand...
Click to collapse
They likely will implement it through a future update. Hopefully that's sooner than later. Ill ask motley, kernel developer.
I toyed with this for a while...
If you install Power Controls (Power Controls) you can add a button that turns on the Wifi Hotspot.
Problems:
you cant change any settings in current settings UI
Appears to be default "Android_AP" SSID and whatever the default password is (i dont recall if this is a random code or not)
Its a start!
Demented-Idiot said:
I toyed with this for a while...
If you install Power Controls you can add a button that turns on the Wifi Hotspot.
Problems:
you cant change any settings in current settings UI
Appears to be default "Android_AP" SSID and whatever the default password is (i dont recall if this is a random code or not)
Its a start!
Click to expand...
Click to collapse
Could you explain exactly what this does? I didn't understand what it is being implied with this being a start? with this you can actually connect to adhoc?
idk if anyone has looked...but has anyone looked into editing the Wifi-Direct api to make adhoc networks visible in there? Since wifi-direct is made for p2p connections. it's android.net.wifi.p2p.WifiP2pManager info about it is here http://developer.android.com/guide/topics/connectivity/wifip2p.html like I said...don't know if it's much help
I also wanted to post a quick reply, since I've been an insomniac yesterday.
From my previous posts I posted this link here as well, I edited the wpa_supplicant.conf file from the /system/etc/wifi folder and modified with the following settings, however I don't think that it even reads the wpa_supplicant.conf file either. Can anyone either confirm or deny that the wpa_supplicant.conf file is being used on the N7??
-------------------
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="Bondphone"
mode=1
frequency=2412
key_mgmt=NONE
wep_key0="1234567890123"
wep_key1=1234567890123
wep_tx_keyidx=1
priority=3
auth_alg=SHARED
}
------------------------
wikid24: I don't know if N7 (or my NS) reads this file but it definitely reads /data/misc/wifi/wpa_supplicant.conf. Only problem is that I can't turn wifi on after ANY change in this file. Sometimes even if I revert my backup file, wifi won't launch and I must delete it to make wifi working again.
I found this thread on XDA
http://forum.xda-developers.com/showthread.php?t=1806937
It is edited wpa_supplicant file for Asus Transformer but it allows me to turn on wifi even on NS. But it doesn't show me any ad hoc networks. Maybe with non-stock kernel...?
And I also found ad hoc patch for source code of older version of wpa_supplicant. But I'm not able to try if it is possible to apply it on JB version too.
http://szym.net/android/wpa_supplicant-ibss.patch
jenda.69 said:
wikid24: I don't know if N7 (or my NS) reads this file but it definitely reads /data/misc/wifi/wpa_supplicant.conf. Only problem is that I can't turn wifi on after ANY change in this file. Sometimes even if I revert my backup file, wifi won't launch and I must delete it to make wifi working again.
I found this thread on XDA
http://forum.xda-developers.com/showthread.php?t=1806937
It is edited wpa_supplicant file for Asus Transformer but it allows me to turn on wifi even on NS. But it doesn't show me any ad hoc networks. Maybe with non-stock kernel...?
And I also found ad hoc patch for source code of older version of wpa_supplicant. But I'm not able to try if it is possible to apply it on JB version too.
http://szym.net/android/wpa_supplicant-ibss.patch
Click to expand...
Click to collapse
jenda, I think you may have solved a big piece to the puzzle!!
You can copy the file to another directory, and THAN you can open the file! I noticed I had all my pre-saved wifi addresses in this file!
If someone can please copy the "/data/misc/wifi/wpa_supplicant.conf" file to another directory, modify it, than overwrite the old file, it should work!! *fingers crossed*
(unfortunately I am busy for a few days, don't know if I'll be able to make the change for a while)

Email App with Image Compression

I have a Korean HTC Desire HD that I rooted and installed the Ice Cold Sandwich rom on.
I currently live in Japan and am on the Softbank network. The biggest problem is that I can't send images through email to other mobile users because of a 1mb limit.
I have been trying to find an email app that will compress images before sending while keeping the original intact.
The closest that I have found is this: AndroMail (sorry can't post links since I'm a noob)
The problem is that I can't get it to connect to my gMail account. I sent the developer a message but he hasn't replied.
I've also read that the Galaxy S3 has this feature by default.
Is it possible to install the S3 mail apk on the DHD (and if so, does anyone know where I can get it?), or are there other options?
By the way, I do understand that there are apps that I can use to compress images.
What I am hoping to find is an email app that is able to do the compression before sending.
It's not that I'm lazy, it's just that I'm lazy
Okay, so I found the S3 rom. I'm going to try to extract the mail app and install it on my phone.
I still haven't found any other mail apps that include image compression as a feature.
Also, from what I can tell, the AndroMail app servers are not working. There is a gateway option in the setting. By default, it has different servers listed. I can change them, but I have no idea what I would need to change them to. Anyone else use this app?
Okay, so I successfully extracted the S3 secMail apk and odex files from the rom using the guide here: http://forum.xda-developers.com/showthread.php?t=1667081
Then I attempted to deodex the files using the guide here: http://forum.xda-developers.com/showthread.php?t=1053227
I couldn't deodex. I got no output files. I checked to make sure Java was installed (I knew it was, since I sometimes try to do some basic programming with the Android SDK).
So, since I couldn't deodex, I figured, why not? I tried to install the S3 secMail app anyway. As I expected, it didn't work.
Is there no mail app that has this functionality? I guess I incorrectly assumed that this was basic feature.
Okay, after four days of trying, I'm about ready to give up.
I have tried side loading different SecMail apps, but I'm assuming it's locked to Samsung devices only.
I have also scoured the internet and both Google and Amazon markets, and nothing.
I have just about given up. One last time, is there anyone that knows of any mail apps that offer image compression, or is it possible to port SecEmail (the only mail app I know of that does offer image compression) to the DHD

App Development question: Will WiFi Direct API work in an App I am developing?

Hello,
So I am developing an app that will use wifi direct API to connect to other devices, will it work on HP Touchpad?
I am seeing posts where people are trying to use WiFi transfer Apps and they are not working properly.
BTW, I am using CM9 Nightly 12-23. Thanks!

Categories

Resources