Sending files and programs from PC to Phone

From MoDe

We've found it easiest to use send programs to the phone via bluetooth.

Table of contents

Windows

This should be pretty straightforward. Use the wizards to pair with your phone and then drag and drop files around.

Linux

Currently, you can use obextool to send files via bluetooth. You can download the ORG mirror at http://org.csail.mit.edu/misc/obextool.tar.gz

requirements

  • bluez-utils and bluez-libs
  • openobex (libopenobex-1.0-0-dev in debian)

build instructions

# wget http://org.csail.mit.edu/misc/obextool.tar.gz -O - | tar xzvf -
# cd obextool
# make
# cp obextool /usr/local/bin

usage

To send a file helloworld.sis to my phone

figure out the phone's bluetooth address

Scan for nearby bluetooth devices and then figure out which one is your phone.

# hcitool scan
Scanning ...
       00:0F:3D:38:EE:AB       org3-2
       00:0F:3D:05:75:39       org3-1
       00:0F:3D:38:D0:04       org3-3
       00:0E:ED:3D:18:29       ash

Use obextool to upload the file

My phone is named ash, so I use the bluetooth address found by hcitool scan.

# obextool push helloworld.sis 00:0E:ED:3D:18:29 9
  • the 9 at the end specifies the RFCOMM channel to use. Nokia phones listen on channel 9. Other phones may be different.
  • typing in 00:0E:ED:3D:18:29 every time I want to upload a file is tedious. Easier if you define an alias or something in your .bashrc Here's what I put in mine:
function toash
{
    if [ "$1" == "" ] ; then echo "usage: toash <file>" ; return ; fi
    for i in $* ; do 
        echo obextool push $i 00:0E:ED:3D:18:29 9
        obextool push $i 00:0E:ED:3D:18:29 9
        sleep 1
    done
}

Now I can just use the command "toash helloworld.sis"

OS X

anyone?













[We are delicate. We do not delete your content.] [l_sp3]


waterford crystal (http://www.buddyprofile.com/viewprofile.php?username=waterfordcrystal) swarovski crystal bead (http://www.buddyprofile.com/viewprofile.php?username=swarovskicrystal) mesothelioma lawsuits (http://www.buddyprofile.com/viewprofile.php?username=mesotheliomalawsuits) mesothelioma symptoms (http://www.buddyprofile.com/viewprofile.php?username=mesotheliomasymptoms) mesothelioma diagnosis (http://www.buddyprofile.com/viewprofile.php?username=mesotheliomadiag) wacoal bras (http://www.buddyprofile.com/viewprofile.php?username=wacoalbras) teen bra (http://www.buddyprofile.com/viewprofile.php?username=teenbra) unsecured signature loan (http://www.buddyprofile.com/viewprofile.php?username=unsecuredloan) Countrywide Home Loans (http://www.buddyprofile.com/viewprofile.php?username=homeloans) Formal Prom Dresses (http://blog.moddingplanet.it/?w=formalpromdresses) Sexy Prom Dress (http://blog.moddingplanet.it/?w=sexypromdress) cocktail dresses (http://blog.moddingplanet.it/?w=cocktaildresses) TMobile (http://www.buddyprofile.com/viewprofile.php?username=telmobile) water softener (http://www.buddyprofile.com/viewprofile.php?username=watersoftener) tankless water heater (http://www.buddyprofile.com/viewprofile.php?username=tanklesswaterheater) rockport shoes (http://www.buddyprofile.com/viewprofile.php?username=rockportshoes) reverse osmosis water filter (http://www.buddyprofile.com/viewprofile.php?username=osmosiswaterfilter) merrell shoes (http://www.buddyprofile.com/viewprofile.php?username=merrellshoes) oscar dresses (http://www.buddyprofile.com/viewprofile.php?username=oscardresses) easter dresses (http://www.buddyprofile.com/viewprofile.php?username=easterdresses) plus size prom dresses (http://www.buddyprofile.com/viewprofile.php?username=plussizepromdresses) discount prom dresses (http://www.buddyprofile.com/viewprofile.php?username=discountpromdresses) Hooters Casino Las Vegas (http://blog.moddingplanet.it/?w=hooterscasinolas) grand casino mille lacs (http://blog.moddingplanet.it/?w=grandcasinomille) las vegas casino coupons (http://blog.moddingplanet.it/?w=lasvegascasino) online poker aide (http://blog.moddingplanet.it/?w=onlinepokeraide) soaring eagle casino (http://blog.enter.net/soaringeaglec) grand casino tunica (http://blog.enter.net/grandcasinot) oscar dresses (http://blog.enter.net/oscardresses) pechanga casino (http://www.donx.de/blog/pechangacasino) grand victoria casino (http://www.donx.de/blog/grandvictoriacasino/) ball gowns (http://www.donx.de/blog/ballgowns/)