×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Dec 2005
    Location
    Recife Pernambuco
    Posts
    40

    Lightbulb [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    Hi all,

    I'd like to share with the pyS60 community a simple application that I developed for my personal use, and now i decided to distribute it as an open-source project hosted at the Google-Code.


    The name of the app is MacMote. Its goal is to control the slides of your presentation remotely by using your cellphone. I have found some apps for Windows and for Linux, but I didn't find any one FREE for Mac OS X. So after some research, i've developed this little app in Python (PyS60) for my 5800 XM. The app is for touchscreen devices, but it can easily be ported to non-touchscreen devices. I've been using it for some presentations and it's working great! Ah, one of the plus features is a StopWatch so you can also manage the time spent at your presentation. It's useful tool for people that presents in time-limited lectures.

    I've tested only in my 5800 XM (running with PyS60 1.9.7.) All the code is also available at the project's main page. Feel free to test, upgrade it , make suggestions, etc.

    Sorry for the poor interface, it was for my personal use, so I didn't have enough time to improve it.

    Features:
    * Play/Go Back your slides from Mac OS X
    * Stop Watch to manage the time of your presentation

    The server is written in Python also. It's a simple script that i developed using some python bindings (LightBlue and PyOBJC) for the server-side.


    Soon i'll release a video with a demonstration of the app.


    Regards,

    Marcel Caraciolo
    Marcel Pinheiro Caraciolo
    5800 XM, E63, N95, N800

    http://mobideia.blogspot.com
    http://croozeus.com/blogs/

  2. #2
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    Hi Marcel ! Great ! Waiting for the video...
    Macmote is a new reason to ask permission to buy a mac book ... but my wife will deny this request, certainly

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Recife Pernambuco
    Posts
    40

    Re: [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    Hi Marcelo,

    Indeed, it's a good acquisition the Apple notebooks! I recommend it for all! As i promised here the link for the simple demo of the application running! I expect that you enjoy!

    http://www.youtube.com/watch?v=h20QPSNC2Fc


    Regards,

    Marcel
    Marcel Pinheiro Caraciolo
    5800 XM, E63, N95, N800

    http://mobideia.blogspot.com
    http://croozeus.com/blogs/

  4. #4
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Re: [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    Very interesting. But I'm having problems with it, it does not run on my Mac OS X 10.6

    I guess it is a lightblue incompatibility with my python version (from macports):

    Code:
    Traceback (most recent call last):
      File "/Users/cristiantm/Programas/Macmote/server.py", line 24, in <module>
        s.bind(("",0))
      File "/Library/Python/2.6/site-packages/lightblue/_bluetoothsockets.py", line 297, in bind
        address = (address[0], _getavailableport(self.__conn.proto))
      File "/Library/Python/2.6/site-packages/lightblue/_bluetoothsockets.py", line 62, in _getavailableport
        result, channelID, servicerecordhandle = BBServiceAdvertiser.addRFCOMMServiceDictionary_withName_UUID_channelID_serviceRecordHandle_(BBServiceAdvertiser.serialPortProfileDictionary(), "DummyService", None)
    TypeError: Need 5 arguments, got 3
    I'm no python programmer, maybe you have some idea how to fix that.

    The code that is related to that error is the onde after "except:".

    Code:
        if proto == _lightbluecommon.RFCOMM:
            try:
                result, channelID, servicerecordhandle = BBServiceAdvertiser.addRFCOMMServiceDictionary_withName_UUID_channelID_serviceRecordHandle_(BBServiceAdvertiser.serialPortProfileDictionary(), "DummyService", None, None, None)
            except:
                result, channelID, servicerecordhandle = BBServiceAdvertiser.addRFCOMMServiceDictionary_withName_UUID_channelID_serviceRecordHandle_(BBServiceAdvertiser.serialPortProfileDictionary(), "DummyService", None)
            if result != _macutil.kIOReturnSuccess:
                raise _lightbluecommon.BluetoothError(result, \
                    "Could not retrieve an available service channel")
            result = BBServiceAdvertiser.removeService_(servicerecordhandle)
            if result != _macutil.kIOReturnSuccess:
                raise _lightbluecommon.BluetoothError(result, \
                    "Could not retrieve an available service channel")
            return channelID
        
        else:
            raise NotImplementedError("L2CAP server sockets not currently supported")
    PS: (In portuguese, since we both are brazilians...) Parabéns pelo programa, muito bom... eu estava procurando algo desse tipo para meu Nokia 5800/Mac e fiquei feliz de ver um feito por um brasileiro publicado aqui.
    Last edited by cristiantm; 2010-03-03 at 17:09.

  5. #5
    Registered User
    Join Date
    Dec 2005
    Location
    Recife Pernambuco
    Posts
    40

    Re: [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    Hi Christian!

    Thanks for the kinds word! Indeed I haven't tested yet with the Mac OS Snow Leopard (10.6). My Mac OS is still 10.5, but I'll look after a user who has so i can make some tests and i'll post here.

    Anyway, i took a fast look at the lightblue home project, and i found this, have you followed those steps (for Mac OS 10.6 users) ?

    Code:
    For Mac OS 10.6 users:
    
    Open src/mac/_lightblue.py and change signature="v@:@iB" to signature="v@:@iZ" (line 468)
    Download and unzip LightAquaBlue-python-MacOS10.6.zip, which contains a LightAquaBlue directory. Move this directory into your python site-packages library, e.g. /Library/Python/2.6/site-packages
    Download and unzip LightAquaBlue-framework-MacOS10.6.zip, which contains a (completely different) LightAquaBlue directory. Move this directory into src/mac to replace the existing src/mac/LightAquaBlue directory. This should fix the architecture/build problems that existed with the old LightAquaBlue xcode project.
    Run python setup.py install as per normal to install.
    Regards,

    Marcel
    Marcel Pinheiro Caraciolo
    5800 XM, E63, N95, N800

    http://mobideia.blogspot.com
    http://croozeus.com/blogs/

  6. #6
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Re: [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    Yes, I've followed that instructions. I am guessing the problem is related to python version, not MacOS X. I'll try a downgrade, maybe it helps? What version of python do you use?

  7. #7
    Registered User
    Join Date
    Dec 2005
    Location
    Recife Pernambuco
    Posts
    40

    Re: [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    Yeah,

    I think so. Anyway I've sent an email for the current responsible for the Lightblue, showing the problems. I think it's a bug also. I tested with another macbook with Python 2.5.4 and Mac OS 10.6.4, and appeared the same bugs as you reported.

    Try to downgrade your MAC OS to 10.5.x to see if it works!

    Regards,

    Marcel
    Marcel Pinheiro Caraciolo
    5800 XM, E63, N95, N800

    http://mobideia.blogspot.com
    http://croozeus.com/blogs/

  8. #8
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Re: [Announce] Macmote: Control the slides from Mac OS by Bluetooth Remote Assistant

    I really don't think a downgrade like this is an option for my production macbook ...

    But I'll wait for the response of lightblue team. Maybe it is their problem, at leas looks like it is.

    Thanks for the replys!

    Cristian

Similar Threads

  1. Replies: 35
    Last Post: 2009-04-11, 14:36
  2. 7610/6600 Bluetooth Pc Remote Control
    By tarunnasa in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-02-20, 19:07
  3. Replies: 5
    Last Post: 2003-02-07, 11:25
  4. Remote control/ other neat features via bluetooth
    By jockl in forum Bluetooth Technology
    Replies: 0
    Last Post: 2002-06-09, 19:11
  5. Replies: 1
    Last Post: 2002-05-08, 16:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •