suriyadeepan / adhoc-on-android Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/adhoc-on-android
Automatically exported from code.google.com/p/adhoc-on-android
What steps will reproduce the problem?
1. execute the program
2. enter "Display Name"
3. click the "connect" button
4. no response. the screen is not changed.
What is the expected output? What do you see instead?
how to send the message to the desired destination?
What version of the product are you using? On what operating system?
the android devices are hero
Please provide any additional information below.
I have executed the following command lines in adb
:adb remount
adb push "\local\path\to\startstopadhoc" "/system/bin/"
adb shell
# mkdir "/data/local/bin/"
adb push "local\path\to\tiwlan.ini" "/data/local/bin/"
adb shell
# chmod 0755 "/system/bin/startstopadhoc"
.
another questions: what is SSID in tiwlan.ini? why do we need to setup SSID?
Thanks for your help!!
Best regard.
Original issue reported on code.google.com by [email protected]
on 22 Aug 2012 at 4:50
At line 28 of UdpReceiver where the DatagramSocket is instantiated, a
BindException is thrown ("The address is not available"). I've tried changing
the IP address/port from the defaults but it doesn't make a difference. Once or
twice it did not throw the error, but I can't figure out the pattern. This is
on a rooted HTC Hero with stock Android 2.1. Has anyone else encountered this?
Original issue reported on code.google.com by roblourens
on 11 Jan 2012 at 6:25
What steps will reproduce the problem?
1. run text messenger on HTC incredible
2. click connect
3.
What is the expected output? What do you see instead?
a new activity is opened to communicate,
instead,nothing happened
What version of the product are you using? On what operating system?
2.2 android Windows eclipse IDE
Please provide any additional information below.
checked the error log and found the bug is from Datagram socket can not be
created because the IP address passed to the function is not usable.
If possible,can you tell me what I should do to let it run on other models of
cellphones?
Original issue reported on code.google.com by [email protected]
on 9 Aug 2012 at 7:23
What steps will reproduce the problem?
1. click "run" in eclipse on any virtual device or real device
2.
3.
What is the expected output? What do you see instead?
the program should start smoothly.Instead,it failed right away.
What version of the product are you using? On what operating system?
android2.2 on htc incredible
Please provide any additional information below.
the error logs says "Could not find class 'adhoc.setup.AdhocManager',
referenced from method android.TextMessenger.view.Connect.clickConnect.
08-07 19:55:35.664: E/AndroidRuntime(291): FATAL EXCEPTION: main"
any idea on why?
it seems that the text messenger can not make reference to "adhocLibary"library
project somehow.
Original issue reported on code.google.com by [email protected]
on 7 Aug 2012 at 8:42
What steps will reproduce the problem?
1. Selecting bcm module is necessary or what?
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Ginger-bread(2.3)
Please provide any additional information below.
How to select specific bcm module for the phone (Samsung galaxy pop
gt-s5570).Is it compulsory that exact bcm module should be selected. Does the
source code compatible with gingerbread. Kindly suggest the steps to compile
the source code and to run on android.
Original issue reported on code.google.com by [email protected]
on 27 Feb 2012 at 4:53
Hi,
This is not a bug report, but rather a question. First of all, congratulations
on an excellent project. Your code is very nice and has been very helpful
effort to implement adhoc networking in our project (see
http://code.google.com/p/posit-mobile/). I have also recommended your project
as a model to some of my students.
I've downloaded and adapted your Udp Code to use with our own protocol.
Everything works fine when I implement it in infrastructure mode -- i.e., using
a Wifi hotspot as the broadcast node. But in adhoc mode I'm having trouble
getting the packets to be received by the Udp receiver. Here's how I set up
each phone, with X being a unique hash code between 0 and 254. I'm doing this
on G1 phones.
# insmod /system/lib/modules/wlan.ko
# wlan_loader -f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration -i
/data/local/bin/tiwlan.ini
# ifconfig rmnet0 192.168.2.X netmask 255.255.255.0
# ifconfig rmnet0 up
And in my tiwlan.ini I have the phone set to Adhoc mode:
WiFiAdhoc = 1
dot11DesiredChannel = 6
dot11DesiredSSID = hfossadhoc
dot11DesiredBSSType = 0
And here's how I create and broadcast packets:
IPAddress = InetAddress.getByName("192.168.2.255"); // Broadcast address
DatagramPacket packet = new DatagramPacket(bytes, bytes.length, IPAddress,
8889);
datagramSocket = new DatagramSocket(8881);
datagramSocket.send(packet);
The Upd receiver socket listens on port 8889. What happens is that the phone
that sent the packet does receive it. But other phones either don't receive it
at all or silently reject the packets. Can you think of any reason why this
would be? Hardware differences? Firewall?
I couldn't find your email or I would have contacted you that way.
Once again, congratulations on a nice thesis result!
Regards,
-- ralph ([email protected])
Original issue reported on code.google.com by [email protected]
on 25 Oct 2010 at 8:53
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.