Git Product home page Git Product logo

adhoc-on-android's People

adhoc-on-android's Issues

run it on other phones

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

BindException during AODV setup

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

Problem with enabling AdHoc

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

crash immediately after text messenger is started

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

Udp receiver doesn't see packets from other phones??

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

How to execute this system?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.