Page 4 of 8 FirstFirst 12345678 LastLast
Results 31 to 40 of 80

Thread: Some progress on the application...

  1. #31
    Constant Bitrate
    Join Date
    Feb 2005
    Posts
    124

    Reception

    Quote Originally Posted by Jirka Jirout
    OK, I downloaded the software for RadioShark and looked at it. It is definitely not scriptable. BUT - it is written in Cocoa and should therefore be quite easy to hack. I just need to find a way of smuggling a bundle/plug-in into it.
    The unit or the price are not a problem. If you think the RadioShark is good enough for in-car use, I can grab one from AppleStore in London when I am over there and try to make a module for it.
    Great !! I have tested the shark over here with it connected to my powerbook and sitting on the passnger floor. Reception without an arial is pretty good...so expect it will be indigtinguishable from radio once its properly hooked up, to radio, sig amp I have in the car.... I hope :-)

    Yes, apologies, I thought you had prev. had a look at the code...silly me. I will go and stand in a corner now....

    rgds.

  2. #32
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Quote Originally Posted by Jirka Jirout
    OK, I downloaded the software for RadioShark and looked at it. It is definitely not scriptable. BUT - it is written in Cocoa and should therefore be quite easy to hack. I just need to find a way of smuggling a bundle/plug-in into it.
    The unit or the price are not a problem. If you think the RadioShark is good enough for in-car use, I can grab one from AppleStore in London when I am over there and try to make a module for it.
    It is possible to use Applescript to script the interface on the Radio Shark app (or most any app). It can be programmed to trigger the actual buttons and tabs or menu items. It's a hack, but it can be done.

    The main challenge is to find out the name of the actual button but there is inspector-type software that can tell you this.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  3. #33
    Newbie
    Join Date
    May 2005
    Location
    Munich, Germany
    Posts
    15
    radioSHARK is scriptable since the 2.0beta is out.
    See here....
    As I am using a touchscreen at home, radio integration would be sooooo good to save those big old tuners.
    Thanks.
    Still, would someone provide a functioning binary, PLEASE... It doesn't seem to load any modules. Seems as not only I have that problem...

  4. #34
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    So here is the set of binaries (application + modules that do not depend on my hardware), with System menu module fixed.

    http://homepage.mac.com/jirka.jirout...y-20050730.zip

    Regarding my hardware, currently I use:
    Mac mini 1.4GHz, 512MB RAM
    CarNetix P1900 with extra +5 V output
    Griffin PowerMate as controller
    6.5" industrial open-frame LCD
    LEVEL GB060 GSM/GPS module (also has 8 I/O lines)
    Conrad C-Control II module on the application board (a microcontroller system, programmed in C-like language and providing many functions like ADC, I/O lines, I2C and CAN bus etc.) to interface with my car's engine
    DS1821 (One-Wire bus) temperature sensors connected to the GB060 and therefore permanently available also for queries over GSM etc.
    DS1621 (I2C) temperature sensors only available when car is in use (A/C compressor, air outlets etc.) connected to the C-Control II for advanced A/C control)
    iButton identification keys (One-Wire bus)
    Keyspan 4 port USB-RS232 adapter
    2 generic USB hubs
    small 8 port Ethernet switch
    iSight can be mounted on the windshield or on the roof (using magnetic holder)

    Sony CD-XA 900 head unit with IR and wire remote controls
    Audison 2ch amplifier for subwoofer
    Audison 4ch amplifier for speakers
    do-not-know-brand A/V hub (4 A/V inputs, 3 A/V outputs) for routing the signals.

    I also have a 17" flip-down LCD installed, but since I replaced the old PowerMac with Mac mini, this is only hooked to a DVD player at the moment. I will either figure out how to set up the Mini for dual-head or buy another one (it should fit nicely into the bookshelf).

  5. #35
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590

    RadioShark

    I have looked at the RadioShark software again... Since I will not have the device for few more weeks, I will just post my findings in case someone else wants to play around...

    1. When you run the RadioShark application (I have 1.0.5), two processes are actually run. The /Application/RadioShark.app which handles the GUI and the /Library/Application Support/radioSHARK/radioSHARKServer.app that seems to be handling the communication with the device itself and the audio stream, that comes from it.

    2. The RadioSHARKServer.app uses a well-documented MTCoreAudio framework. Documentation for this framework is actually included within the RadioSHARKServer's bundle. Try to look at: file:///Library/Application%20Suppor...on/in dex.html if you have the software installed or here: http://aldebaran.armory.com/~zenomt/macosx/MTCoreAudio/ if you do not.
    A big question still is, whether the software uses this framework also to send the commands to the device, or whether it uses a separate USB connection to do this. If everything is done using this framework, then it should be very easy to just control the RadioShark from custom application, without the original front-end running at all.
    This framework could actually be very usefull to anyone who wants to manipulate the audio devices and streams (ie. playing an external audio from USB adapter thru computer's output etc.)

    Even if the framework approach does not work, controlling the original front-end application does. The names (and addresses) of the buttons can relatively easily be retrieved using gdb. Just attach it to the application and then type: po [[[NSApp frontWindow] contentView] subviews] to get the list of all the controls in the main window. After that, you can get the names of buttons by sending them -title message.

  6. #36
    Newbie
    Join Date
    May 2005
    Location
    Munich, Germany
    Posts
    15
    GREAT! Thanks...
    But I cannot add modules (other than the countdown module), the buttons are greyed out... Any ideas?

  7. #37
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    Quote Originally Posted by mini_velvetred
    GREAT! Thanks...
    But I cannot add modules (other than the countdown module), the buttons are greyed out... Any ideas?
    You can only add (in setup, this means *create*) modules, that have been designed and built as multi-instance. Most modules are created automatically at startup and can be placed into slots immediately (select slot, then Apple+5, choose, confirm).

    The logic is, that while it is useful to have two or more countdown timers or distance counters, I cannot imagine a reason to have let's say two clocks (since the "Current time" module does not support time zones yet) or two MP3 players (since you can only play one song at a time).

  8. #38
    Newbie
    Join Date
    May 2005
    Location
    Munich, Germany
    Posts
    15
    Yeah, figured that out... I should have read everything before complaining - sorry for that.

    Some ideas fro modules (keep in mind these come out the fact that I am running my touch panel at home as a home stereo rather than in a car):
    - radioShark (that has been proposed already, again, I would suggest you to have a look at the 2.0beta software, the latest contains a widget)
    - disk copy - do a simple 1:1 copy of the inserted CD. the background here is that if someone gives me a CD I like (I am not starting discussions about the contents of this CD though), I can make a quick copy
    - burn CD from current playlist - support of the iTunes function for that
    - shuffle on/off - you NEED to support this in your iTunes control, PLEASE...
    - embed widgets - as widgets can be run within safari, it would be great to call them from within the application...

    just a few thoughts.

  9. #39
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    I will have the radioShark module within 48 hours of the purchase of the hardware. I know I can do it, I know at least two ways how. I just need the box to test and debug the module.

    The Shuffle function for MP3 player is on the to-do list. But first I have to figure out few remaining issues with storing the actual position. Polling iTunes using AppleScript is not really such a great approach :-|

    Widgets are no technical problem at all. It is 15-minute work - just using WebView from WebKit will do the trick. I just do not know how this should look like as most of the widgets do not fit the standard module size. But perhaps if the css is modified, the widgets could be actually made to display their contents in a module. OK, I will do it.

    I will have a look at the CD functions probably some time in mid-August. These are certainly no priority, but should not be difficult.

  10. #40
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    OK, so the widgets module is more or less done (a first version, that is). The binary is attached to this post, i will post the source as soon as I have removed all the debug notes and cleaned it up a bit. Few general notes on usage:

    The module is called JJDWModule and it is a multi-instance module, which means you have to create instance(s) in setup, before you can actually use it. Technically it is just a WebView, for which you can specify the URL, so it will work not only with widgets, but with any contents referenced by an URL (picture, web page, movie). Given the limited space it has on the screen, I really doubt it would be that useful for normal web contents. On the other hand if you have your own web server, you can easily create customized contents and then use this module to display that content in your car (this is similar to web pages optimized for smartphones, PDA's etc except the module size is even more limiting than displays of these devices. Hmm, that could be quite interesting...

    Step-by-step guide - let's take radioShark widget in /Library/Widgets/ as an example.

    1. download and unzip the module, place it in the same folder as your TatraApp executable
    2. Run TatraApp
    3. Press Apple+S to go to setup
    4. in the list of module types, select "JJDWModule" then click "Add module" button.
    5. Select the newly added button
    6. Type "SHARK" into the "name" field
    7. Type "file:///Library/Widgets/radioSHARK.widget/radioSHARK.html" into the "path" field. Note that this has to be the path to the html file within the bundle, not the widget bundle itself.
    8. click "Apply", close setup window
    9. Place the newly created "Shark" module into one of the slots.

    Final notes:
    1. The widget should take care of its refresh, as there is no support for requesting an explicit refresh of the contents of the WebView (yet?). The same applies for optimized html pages you may want to display - their refresh needs to be specified in their header.
    2. The widget can not use the simplified GUI provided by the host application. You will need a mouse or a touch screen if your widget requires user input.
    3. At the moment, the background is always white. I will look into some cleaner solution probably later this coming week.
    Attached Images Attached Images  
    Attached Files Attached Files

Page 4 of 8 FirstFirst 12345678 LastLast

Similar Threads

  1. Neocar External Application Bug Fix!
    By reddeath30 in forum NeoCar Media Center
    Replies: 10
    Last Post: 04-07-2005, 09:25 AM
  2. How do I setup my GPS Application ?
    By guino in forum RR FAQ
    Replies: 0
    Last Post: 03-20-2005, 03:17 PM
  3. How to embbed any Application in RR ?
    By guino in forum RR FAQ
    Replies: 0
    Last Post: 03-20-2005, 01:35 PM
  4. Beta-Testing External Application Code
    By CarComp in forum Media Engine
    Replies: 2
    Last Post: 02-17-2005, 11:42 PM
  5. Cdplayer application
    By kreyzig in forum FrodoPlayer
    Replies: 2
    Last Post: 06-19-2004, 11:51 PM

Bookmarks

Posting Permissions

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