wifi function in phones' transfering datas

by edison » Tue, 14 Dec 2010 18:16:44 GMT

Sponsored Links
 part one:hi,guys,recently i have been thinking about the use of wifi
function in android system for mobile.
my cell phone is HTC Desire Z which is installed android 2.2.
actually it is installed the wifi hotspot function which means i can
use it as a router for my
computer to access to the internet,yeah,using the 3G.
but indeed i find the other cell phones, such as NOKIA, WINDOWS
MOBILE, and android phones,which
has a wifi connection can also connect to my cell phone.but they can
not go to surfing the internet.
so it occurs to me that
if i can transfer the datas by using wifi connection between two
android phones ,or more ,just like
the bluetooth.
i think this can be easy for the system of windows mobile.but does
anyone know how wifi works really
in cell phone?
and the most thing i care about is
whether i can using this function(transfering datas between android
phones by using wifi) by writing
a software?
waiting for your suggestions

part two:
tks for your attention.
it's my first time to post a question here.
first,my desire z can connect to my computer with wifi, both in two
ways:using a router as a AP, or just using my computer's wifi function
to link my cell phones without a AP.
but what i want to know is
since the phones,just like my HTC desire Z,with android 2.2 system, i
can easily using my desire z as a 3G router, or which named Hotspot in
my cell phone, to let my computer to share the internet.
and also ,the other cell phones can connect to my cell phone by this
way ,
if i can using this function to transfer pictures,docs or something
else from my cell phone to another phone ,without a real AP.
you know,the computers,such as one which is installed windows 7, can
change itself into a temporary virtual AP,which usually we call LAN,
so the other computers can connect to it without a AP to play games or
share documents.
so if there is any possibility to do so between android phones?
tks again.


Re: wifi function in phones' transfering datas

by edison » Wed, 15 Dec 2010 01:52:00 GMT

 no one can tell me something about this?


Sponsored Links

Other Threads

1. How do you implement input (keyboard) device driver?

I see that all input devices are listed in:

And drivers for keyboard is in:

Input Devices are listed in:

Now, since devices that don't have physical keyboards (ex. Nexus One)
don't have
driver: /dev/input/event* that listens key strokes.

So, I want to implement an input driver to do that.

Attempt #1:
Using basic qwerty2.kcm in the source code, I compiled
I renamed to 'mahimahi-keypad.kcm.bin' and replaced original bin at /
system/usr/keychars/  [for nexus one].

result: That didn't allow me to send keyboard event:  'ex: sendevent /
dev/input/event4 1 30 1 (for 'a')'

Attempt #2:
/dev/input/event7  = (unused)
(using busybox) mknod /dev/input/event7 c 13 71

result: event7 => unknown device

Attmept #3
(using busybox) modprobe

result: cannot parse modules.dep

Attempt #4
implement driver: (name).c

ev = input_allocate_device();
input_event(ev, 1, 8, !!1);


result: undefined input_allocate_device() & input_event()


I tried every method I could think of.. but I didn't able to succeed.
I am even sure which attempt# is correct method to approach.

My goal is to implement a driver to be able to inject keyboard key
inputs (ex. a, b, c, d...)
using sendevent.


2. How to get notified of incoming email messages?

I'm very new to Android development, so excuse me if my use of the
terminology isn't quite right....

I would like to know how I can register to get notified when and email
comes into the device.  I think I need to create a BroadcastReceiver
and define an IntentFilter with an action.  The problem is, I'm having
a problem figuring out which action/intent/etc I should be looking
for.  I'd like my app to take certain actions based on the subject of
incoming emails.  Can anyone point me in the right direction?



3. transforming an activity to a modal full screen dialog

4. Freelance projects for Android developers

5. My android project did not show up in emulator.

6. Do I have to mount the SD card?

7. Is java.util.Scanner that slow?