Announcement

Collapse
No announcement yet.

RRDroid [phone control for Android phones]

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • RRDroid [phone control for Android phones]

    Hardware Requirements:
    Android Phone.
    Bluetooth capable CarPC .
    HandsFree kit, (Optional) .


    Software Requirements:
    microsoft or widcomm stack.
    Call Center application installed,
    https://play.google.com/store/apps/d...1vdGVQaG9uZSJd

    What this plugin does is:
    communicates with youre android phone using bluetooth or wifi, gives you control over phone controls, access calllog and phonebook, send and recieve sms.
    a few more functions like, mute/unmute phones mic, turn on/off phones speaker(usefull for those without a handsfree) etc.
    notifications using text-speech, or tones, and a small voice command engine, this is using PC's not phones, so the PC needs a mic, this will be removed,
    as soon as phones voice command is added to call center if that is added at some point.


    Code:
    skin commands:
    _____________________________________________________________________________________________________________________________
    VARS:
    
    "rrdroid_path"                      : path to RRdroids folder.
    
    "rrdroid_usexml"                    : if true, xml files will be created with lists info, instead of filling custom list's, mostly for flash skinning,
                                          files will be on ".\Ride Runner\Plugins\RRDroid\"
                                          to see what is the xml structure open the created xml files. very easy to follow.
    
    "rrdroid_password"                  : wifi password.
    
    "rrdroid_autoanswer"                : true/false
    
    "rrdroid_autoanswertime"            : time before autoanswer if enabled, in seconds.
    
    "rrdroid_notifications"             : use either,  0=tts 1=sound 2=none
    
    "rrdroid_notificationsvolume"       : ringtones, tones volume from 0 - 100
    
    "rrdroid_ringtone"                  : ringtone used, mp3,wav supported. files stored in ".\Ride Runner\Plugins\RRDroid\Ringtones"
    
    "rrdroid_smsincomingtone"           : same as above but for tones. files stored in ".\Ride Runner\Plugins\RRDroid\Tones"
    
     **NOTE**
    	all this variables are saved in an xml, and restored upon start, so no need to save else where.
    _____________________________________________________________________________________________________________________________
    
    FLASH VARS:
    
    _root.RRDROID_LOADCONTACTS          : true when a new Contacts.xml file is ready. skinner is responsible to reset this variable as soon as is recieved.
    
    _root.RRDROID_LOADCALLLOG           : true when a new Calllog.xml file is ready. skinner is responsible to reset this variable as soon as is recieved.
    
    _root.RRDROID_LOADRINGTONES         : true when a new Ringtones.xml file is ready. skinner is responsible to reset this variable as soon as is recieved.
    
    _root.RRDROID_LOADTONES             : true when a new Tones.xml file is ready. skinner is responsible to reset this variable as soon as is recieved.
    
    _____________________________________________________________________________________________________________________________
    
    CMDS:
    
    "rrdroid_test"                      : this is to test functions, without really using youre phone, params are:
    			               "smsincoming" simulates an incoming sms.
    				       "smssent" simulates an sms sent event.
    			               "smsnotsent" simulates an sms not sent.
    			               "incomingcall" simulates an incoming call.
    			               "outgoingcall" simulates an outgoing call.
    			               "notifications" plays current notification, usefull to adjust volume.
    				       i.e "rrdroid_test;smsincoming"
    
    "rrdroid_setpassword"               : set wifi password.
    				      i.e. "NUMOSKTOCMD;WifiPass;RRDroid_SetPassword;$WifiPass$" using numosk
    
    "rrdroid_call"                      : if ringing accepts incoming call, if not ringing will try to call a number.
                                          i.e. "rrdroid_call;9098602154" will call the number.
                                               "rrdroid_call" will accept the incoming call if any.
    
    
    "rrdroid_end"                       : ends current call if any, cancel dialing, ignores incoming call.
    
    "rrdroid_reloadcontacts"            : reload contacts from phone.
    
    "rrdroid_showcontacts"              : show contacts in current screen, needs a CL, phone number is on "LISTTEXT" var.
                                          i.e. if you want to call the selected contact. "rrdroid_call;$LISTEXT$"
    				 
                                           NOTE:if variable rrroid_usexml=true will create Contacts.xml an CL wont be filled.
    
    "rrdroid_getcontactinfo"            : gets contact info. using a provided phone number, will populate some labels, and/or fills a CL if current screen has one.
                                          i.e. "rrdroid_getcontactinfo;9098602154"
    
    "rrdroid_sendsms"                   : sends an sms, to send the same sms to more than one number, just separate the numbers using ";" and set the text at the end.
    				      i.e. "rrdroid_sendsms;9098602154;hello will be there soon" one number.
                                               "rrdroid_sendsms;9098602154;9093452234;see you there in 5" 2 numbers.
    
    "rrdroid_readincomingsms"           : this will read last incoming sms, using Text-to-Speech.
    
    "rrdroid_showsmslog"                : will populate a CL list with sms history.
    				      NOTE:if variable rrroid_usexml=true will create Smslog.xml an CL wont be filled.
    
    "rrdroid_smslogfromnumber"          : populates a CL with sms from given number.
    				      i.e. "rrdroid_smslogfromnumber;$LISTTEXT$" use selected number for a CL
    				      NOTE:if variable rrroid_usexml=true will create Smsnumberlog.xml an CL wont be filled.
    
    "rrdroid_getcalllog"                : will populate a CL with call history.
    				       NOTE:if variable rrroid_usexml=true will create Calllog.xml an CL wont be filled.
    
    "rrdroid_togglemic"                 : mute/unmute phones mic.
    
    "rrdroid_togglespeaker"             : mute/unmute phones speaker.
    
    "rrdroid_recognitionon"             : turns on voice command., this is using pc NOT phones voice command. so pc needs a mic.
    				      CMDS are:
    				      "end call"             - ends a call, or ignores incoming call.
    				      "answer"               - answer incoming call.
    				      "call <contact name>"  - makes a call using contact name. i.e. "call home"
    				      "dial <number> call"   - makes a call using numbers. i.e. "dial 9093424587 call"
    				      "call last number"     - calls to the last dialed number.
    				      "call missed number"   - calls to the last missed call.
    				      "say <contact> number" - say's the number of a given contact. i.e. "say home number"
    				      "say missed call"      - say's the number from last missed call.
    				      "say last dialed"      - say's the last diled number.
    				
    
    "rrdroid_recognitionoff"            : turns off voice command.
    
    "rrdroid_ringtones"                 : show ringtones files, found in ".\Ride Runner\Plugins\RRDroid\Ringtones", needs a CL, filename is on "LISTTEXT" var.
                                          to set the selected ringtone   "SetVar;rrdroid_ringtone;$LISTTEXT$    
                                          
    "rrdroid_tones"                     : show tones files, found in ".\Ride Runner\Plugins\RRDroid\Tones", needs a CL, filename is on "LISTTEXT" var.
                                          to set the selected tone   "SetVar;rrdroid_smsincomingtone;$LISTTEXT$ 
    
    
    _____________________________________________________________________________________________________________________________
    LABELS:
    
    
    "rrdroid_password"                  : shows wifi password.
    
    "rrdroid_phonestate"                :
    
    "rrdroid_connectionstate"           :
    
    "rrdroid_phonename"                 :
    
    "rrdroid_btheadset"                 : bt headset name.
    
    "rrdroid_notificationsvolume"       : 0 - 100 % ringtones, tones volume.
    
    "rrdroid_callvolume"                : 0 to 100 %
    
    "rrdroid_contactinfoname"           : contact name and numbers, when command "rrdroid_getcontactinfo" is executed.
    "rrdroid_contactinfoassistant"      :
    "rrdroid_contactinfocallback"       :
    "rrdroid_contactinfocar"            :
    "rrdroid_contactinfocompanymain"    :
    "rrdroid_contactinfocustom"         : 
    "rrdroid_contactinfofaxhome"        :
    "rrdroid_contactinfofaxwork"        :
    "rrdroid_contactinfohome"           :
    "rrdroid_contactinfoisdn"           :
    "rrdroid_contactinfomain"           :
    "rrdroid_contactinfomms"            :
    "rrdroid_contactinfomobile"         :
    "rrdroid_contactinfonone"           :
    "rrdroid_contactinfoother"          :
    "rrdroid_contactinfootherfax"       :
    "rrdroid_contactinfopager"          :
    "rrdroid_contactinforadio"          :
    "rrdroid_contactinfotelex"          : 
    "rrdroid_contactinfottytdd"         :
    "rrdroid_contactinfowork"           : 
    "rrdroid_contactinfoworkmobile"     :
    "rrdroid_contactinfoworkpager"      :
    
    
    "rrdroid_smscurrentnumber"          : when sms is recieved, show the info available.
    "rrdroid_smscurrentname"            :
    "rrdroid_smsincomingtext"           :
    
    
    "rrdroid_currentnumber"             : this is for current number and current contact name, incoming and outgoing calls.
    "rrdroid_currentname"               :
    
    
    
    _____________________________________________________________________________________________________________________________
    
    INDICATORS:
    
    "rrdroid_connected"                 : on when connected to phone.
    
    "rrdroid_currentthumbnail"          : this is for current contact picture, incoming and outgoing calls. if no picture, will show default.jpg from dll path, if no
                                          contactdefault.jpg image in current skin folder is found.
    
    "rrdroid_contactinfothumbnail"      : same as above but when asking for contact info.
    
    "rrdroid_smscurrentthumbnail"       : same as above but for incoming sms.
    
    "rrdroid_micstate"                  : on if mic is on, off when mic is muted.
    
    "rrdroid_wireheadsetstate"          : on when wired headset is enabled, off when muted.
    
    "rrdroid_btheadsetstate"            : on when bluetooth headset is enabled, off when muted.
    
    "rrdroid_speakerstate"              : on when phone speaker is enabled, off when muted.
    
    
    
    _____________________________________________________________________________________________________________________________
    SLIDERS:
    
    "rrdroid_callvolume"                : this goes in 20% steps, thats how phone works.
    
    "rrdroid_notificationsvolume"       : 
    
    
    ____________________________________________________________________________________________________________________________
    EVENTS:
    
    "*ONRRDROID_LOADSETTINGS"           : this is executed when settings button is pressed while on plugin manager, if RRDroid pi is selected, 
    				      can be used to load a config screen.
    
    "*ONRRDROID_WIFIPASSWRONG"          : executed if wifipassword is missing or wrong.
    
    "*ONRRDROID_OFHOOK"                 : executed when phone is offkook.
    
    "*ONRRDROID_RINGING"                : ringing.
    
    "*ONRRDROID_IDLE"                   : idle.
    
    "*ONRRDROID_SMSRECIEVED"            : executed if an sms is recieved.
    
    "*ONRRDROID_SMSSENT_OK"             : executed if last sms sent, was successfull.
    
    "*ONRRDROID_SMSSENT_ERROR"          : executed if last sms sent, was unsuccessfull.
    
    "*ONRRDROID_VOICENOTREADY"          : executed if voice command isnt ready when rrdroid_voicerecognitionon command is executed.
    
    "*ONRRDROID_VOICEON"                : executed if voice command is ready, after rrdroid_voicerecognitionon command is executed.
    
    "*ONRRDROID_VOICEOFF"               : after rrdroid_voicerecognitionoff command is executed.
    
    "*ONRRDROID_VOICENOTRECOGNIZED"     : executed if voice command didnt recognize nothing.
    Beta Release HERE
    Last edited by EL CAMINO; 11-23-2012, 02:13 PM.
    BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
    RRTube ==> [View/Download Youtube Videos]
    WifiMan ==> [Wifi Manager]
    RRec ==> [Audio Capture]

    If You Want To Be Given Everything, Give Everything Up ...
    Bird York -- In The Deep --

  • #2
    screencaps
    Attached Files
    Last edited by EL CAMINO; 11-16-2012, 05:32 PM.
    BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
    RRTube ==> [View/Download Youtube Videos]
    WifiMan ==> [Wifi Manager]
    RRec ==> [Audio Capture]

    If You Want To Be Given Everything, Give Everything Up ...
    Bird York -- In The Deep --

    Comment


    • #3
      FINALLY thanks really so much!
      sadly i don't have a droid for test it out i guess it's time to buy the nexus

      Comment


      • #4
        I canīt wait to test!

        When the plugin will be available?

        Comment


        • #5
          I have an Android Xperia U phone for test this plugin ! I can't wait !!!

          Comment


          • #6
            beta link on first post.
            BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
            RRTube ==> [View/Download Youtube Videos]
            WifiMan ==> [Wifi Manager]
            RRec ==> [Audio Capture]

            If You Want To Be Given Everything, Give Everything Up ...
            Bird York -- In The Deep --

            Comment


            • #7
              I <3 you. Looking forward to checking this out... hopefully I end up getting this truck this weekend...
              F350 Superduty 7.3L Diesel - build thread

              Comment


              • #8
                I have tried it in my car (widcomm stack, Sony Xperia Neo V), callcenter working OK but I get the following error in RR debug.txt file

                Plugin Manager: Plugin Found: RRDroid(.NET) plugin found but will be unable to create (most likely NOT registered)[skipped]

                although the plugin seems to register OK as in cmd prompt window it states "types registered successfully. Assembly RRDroid.tlb exported to RR plugins and the type library registered successfully.

                Any ideas?

                Comment


                • #9
                  I have installed RRDroid into this folder :
                  D:\Program Files\Ride Runner\Plugins\RRDroid

                  I have run the Register.cmd batch file but the plugin isn't registered !

                  My OS is XP SP3 32 bits !!

                  Comment


                  • #10
                    Originally posted by pierrotm777 View Post
                    I have installed RRDroid into this folder :
                    D:\Program Files\Ride Runner\Plugins\RRDroid

                    I have run the Register.cmd batch file but the plugin isn't registered !

                    My OS is XP SP3 32 bits !!

                    My guess is, it won't run on XP, El has moved on from it

                    Comment


                    • #11
                      I have tried it on XP Pro SP2 (in the car), XP Pro SP3 (home PC), Win 7 Pro 32 bit (in the office) it says it is registered in all cases but RR will not load the plugin.

                      I have .NET 2.0, 3.5 & 4.0 installed on each machine but I do not think that's a problem. Any inputs are welcome.

                      Comment


                      • #12
                        ok, heres another dll to try, changed some settings in VS.

                        UNREGISTER FIRST THEN COPY NEW DLL AND REGISTER AGAIN.

                        @pierrot, if CallCenter works on xp pi will do as well, just be sure to have .NET 4, cant use .NET 3.5 CallCenter needs 4.
                        Last edited by EL CAMINO; 11-22-2012, 11:46 PM.
                        BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                        RRTube ==> [View/Download Youtube Videos]
                        WifiMan ==> [Wifi Manager]
                        RRec ==> [Audio Capture]

                        If You Want To Be Given Everything, Give Everything Up ...
                        Bird York -- In The Deep --

                        Comment


                        • #13
                          Originally posted by Enforcer View Post
                          My guess is, it won't run on XP, El has moved on from it
                          I have the same issue on my Vista 32 bits :-(

                          Comment


                          • #14
                            so, did you tried the other DLL? Please check if Callcenter works first then try the pi.
                            BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                            RRTube ==> [View/Download Youtube Videos]
                            WifiMan ==> [Wifi Manager]
                            RRec ==> [Audio Capture]

                            If You Want To Be Given Everything, Give Everything Up ...
                            Bird York -- In The Deep --

                            Comment


                            • #15
                              Callcenter works both on XP and Win7, at least on my machines. Have tried the other DLL both on Win7 Pro and XP Pro SP2 in the car. I am still getting the same message in RR debug, i.e. "Plugin Found: RRDroid(.NET) plugin found but will be unable to create (most likely NOT registered)[skipped]" although it is registered.

                              What is interesting is that when the pi is registered, RR crashes upon resume from hibernation but does not crash upon resume from suspend. When it is not registered it does not.

                              Which RR version are you using El? I am using the latest. Could it be a bug in RR?

                              Comment

                              Working...
                              X