My favorites | Sign in
Project Logo
                
Search
for
Updated Sep 04, 2008 by cavalcantii
Labels: Featured
how_to_install_source  

Software installing instructions

Cellphone client

Software Dependencies

The client requires installing Python for S60 (version 1.4.4), and you can download it from sourceforge. Pay attention that there are different versions of PyS60 for 2ed and 3ed devices.

To install, copy the 2 sis files (python and the script shell) to your cellphone and select them using the standard file browser application of cellphone. Alternatively, you can see other ways to install here.

Installing

Create a folder in your cellphone memory card (E:\Python) or main cellphone memory (C:\Python) and copy the contents of amora client file distribution to this folder.

Important: You must copy the contents of amora client to \Python directory not including amora-client folder itself. It must be C|E:\Python\{client subdirs and files} instead of C|E:\Python\amora-client\{client subdirs folders and files}.

Attention: there is a report of Amora client freezing when running in a N70 (S60 2ed) for a extended period. If you have this problem, a workaround is to turn off the stopwatch.

Running

You must use python script shell (there is one icon for it in 'installed applications') to launch amora client (the file named 'amora.py'). In python script shell, select 'Options->Run script' and select 'amora.py' in the list of available scripts.

Amora client should execute them, if you had followed all instructions.

Tips

PC server

Software dependencies

You can download the server source file here.

For server side, to compile the source code, you will need:

  • gcc compiler
  • Xlibs
  • XTest libs
  • BlueZ libs
  • Imlib2 libs

And also XTest extension enabled in you X server (default on Ubuntu). So, in Ubuntu simply run in your terminal:

$ sudo apt-get install gcc libxext-dev libbluetooth2-dev libimlib2-dev libxtst-dev

Installing

After installing the dependencies, extract server app tarball with:

$ tar -zxvf amora-server-x.y.tar.gz

where x.y is the current download version.

Change to the extracted directory and execute the following commands:

$ mkdir build

$ cd build

$ ../configure

$ make

It will generate an executable file named 'amorad', you must start the application (and make sure that the bluetooth dongle is connected to the computer):

$ ./amorad

Repository version

If you checked out the code from repository, you need first to generate the build system scripts. This one requires autotools packages (automake, etc).

You first run in the directory amora-server:

$ autoreconf -i --force

and then just follow previous instructions for tarball version.

User group

Do you have questions, suggestions, bug reports or wish to share your experience with Amora? Please, visit Amora discussion group at: http://groups.google.com/group/amora-user


Comment by shougoki, Mar 30, 2008

I've got problem with amora server. It compiled without any errors but when i want to start it the console throws up this:

~> amorad closing socket... : Address already in use build_bluetooth_socket error! : Illegal seek Failed creating bluetooth conn!Exiting...

I don't know what's going on. There are no connected BT devices and I've got bluetooth configured. If you want to know I'm using up to date OpenSUSE 10.3.

Comment by cavalcantii, Mar 30, 2008

This error message appears if you have a service running in port 10. Try to run: $sdptool browse local

and look for any service using the channel 10 (besides amora server).

Best regards

Adenilson

Comment by shougoki, Mar 31, 2008

Thanks for your help! It works now (OBEX Push was using channel 10). Really great app but.... i only need amarok control ;P Is it possible to make Amora display the pc desktop in realtime?? That would be great but probably would take too much load on BT connection

Comment by GMNicke, May 28, 2008

Actually, there is software for windows that "streams" the desktop in realtime to the phone. It used to be sluggish on my old nokia 6021 but I figure with BT 2.0 and my S60 phone it should definately be faster. Only problem is I don't use POS windows anymore ;)

It'd be nice if amora could implement this feature for sure.

Comment by cavalcantii, May 28, 2008

GMNicke

Thanks for the idea... in fact, it would be quite easy to implement that but there are some complications:

a) The main purpose of amora is not be a VNC. Its focus is more in controlling slides and movies

b) That would low the battery life considerably (my wild guess would be maybe 50 minutes of operation).

Regards

Adenilson

Comment by maria.sjogren83, Jul 08, 2008

I have the same problem as shougoki had, OBEX file transfer uses channel 10. How can I change that? What channel shoud I use? Thanks in advance!

Comment by cavalcantii, Jul 08, 2008

Friend

You can either: a) stop the service that is running in channel 10 (that depends on which linux distro you are running)

or

b) checkout the server source code and compile it (since trunk code runs in channel 16 and should be ok with OBEX services).

Comment by merisiop, Jul 09, 2008

Hi, after correct a problem with path in amora.py all seems works, but i can't connect to my pc, if i try with python bluetooth console after selecting my pc from list of device I get "Can't found serial port". Can you help me? I figure myself I have to do something on my pc but I don't know wath (ubuntu 8.04) Thanks

Comment by cavalcantii, Jul 09, 2008

Ubuntu 8.03 has a faulty bluez package, see details and how to fix here: http://groups.google.com/group/amora-user/browse_thread/thread/d075c2aa2a1915b

Best regards

Adenilson

Comment by luqeckr, Dec 04, 2008

i have to change the key event to 113 and 114 for left and right arrow to make it work... i'm using Nokia E50 and MSI Wind U100 with USA keyboard

Comment by cavalcantii, May 26, 2009

Dear friend

I was bitten by this issue only with newer X.org server, and made this fix: http://code.google.com/p/amora/source/detail?r=656

Could you confirm using amora server from trunk if it works for you? http://code.google.com/p/amora/source/checkout

Best regards

Adenilson


Sign in to add a comment
Hosted by Google Code