From: Roger B. <ro...@ro...> - 2004-04-26 05:35:13
|
Please make sure all help changes are committed by 1pm PST Monday. I hope to do the build sometime on Monday evening. Steven, Please add an extra clickable application that runs "bitpim bitfling" and name it BitFling. Don't worry about icons etc to. On Linux I will be making a wrapper shell script that does that. On Windows just a duplicate of the BitPim icon with more command line args supplied. Roger |
From: Roger B. <ro...@ro...> - 2004-12-14 07:04:24
|
I didn't get a chance to do it this evening so I'll try tomorrow night. And if the sequence Stephen quoted changes from diagnostic back to modem mode, that will be fantastic. There is also sorts of nice stuff to see in modem mode such as battery charge. Roger |
From: Steven P. <n9...@n9...> - 2004-04-26 17:31:16
Attachments:
smime.p7s
|
On Apr 26, 2004, at 12:35 AM, Roger Binns wrote: > Please make sure all help changes are committed by 1pm PST Monday. > I hope to do the build sometime on Monday evening. I will plan on the same schedule for the Mac builds. > Please add an extra clickable application that runs "bitpim bitfling" > and name it BitFling. Don't worry about icons etc to. On Linux I > will be making a wrapper shell script that does that. On Windows just > a duplicate of the BitPim icon with more command line args supplied. This may be a bit more difficult on the Mac... Not sure. The whole "bundle" that makes it possible to launch a Macintosh application with the embedded libraries/etc requires that all the parts be in that bundle... So the bitfling bundle would have to embed these all a second time. Bad. Also, since you have no guarantee where they have placed the two in relation to each other, I can't think of a way to have a "bitfling" application bundle call items from the "bitpim" bundle. I'll give this some more thought. There is no way to run bitfling from within bitpim via a menu or something? Just asking. ;-) |
From: Roger B. <ro...@ro...> - 2004-04-26 18:38:04
|
Steven Palm wrote: > two in relation to each other, I can't think of a way to have a > "bitfling" application bundle call items from the "bitpim" bundle. I'll > give this some more thought. Can't you add a shell script that looks like this and put it in the same directory of the bundle as the BitPim app object. --------------------------------- #!/bin/sh dn=`dirname "$0"` exec "$dn/bitpim" bitfling --------------------------------- For the moment it doesn't have to have an icon etc. It just needs to be possible to start it in some way, even if that means using a console. > There is no way to run bitfling from within bitpim via a menu or > something? Just asking. ;-) It doesn't make sense. The intention is for it to sit in your tray and have no other user interface (unless you click on it). Consequently it needs to be started seperately and be possible to start automatically. Roger |
From: Steven P. <n9...@n9...> - 2004-04-27 01:44:49
Attachments:
smime.p7s
|
On Apr 26, 2004, at 1:38 PM, Roger Binns wrote: > Steven Palm wrote: >> two in relation to each other, I can't think of a way to have a >> "bitfling" application bundle call items from the "bitpim" bundle. >> I'll >> give this some more thought. > > Can't you add a shell script that looks like this and put it in the > same directory of the bundle as the BitPim app object. The user has no way to call this. A "bundle" is a self-contained object to the MacOS Finder (although it's just a directory). In the bundle is a file "Info.plist" that tells the Finder what to launch when the bundle is "launched". There is no way to have two items in the bundle that would get launched. > For the moment it doesn't have to have an icon etc. It just needs to > be possible to start it in some way, even if that means using a > console. If we are foregoing the need for a "clickable" launcher, then I can come up with some instructions on how to do it for the end-user through the command line. Another alternative (ugly) is to require the user to put a clickable "bitfling" application bundle in the same directory as the "BitPim" bundle, and require that BitPim be named BitPim... Then the exec call in the shell script in the BitFling bundle could use relative directory paths to get into the resources of the BitPim bundle, possibly even using symlinks if needed to make it's bundle look "populated" with the right items. Getting a "clickable" bundle in the MacOS X Finder is a real PITA. :-) |
From: Roger B. <ro...@ro...> - 2004-04-27 02:11:54
|
Steven Palm wrote: > The user has no way to call this. A "bundle" is a self-contained > object to the MacOS Finder (although it's just a directory). In the > bundle is a file "Info.plist" that tells the Finder what to launch when > the bundle is "launched". There is no way to have two items in the > bundle that would get launched. That is bizarre. What happens when you have a suite like Office, OpenOffice or Mozilla where there are multiple executables? > If we are foregoing the need for a "clickable" launcher, then I can > come up with some instructions on how to do it for the end-user through > the command line. For this release go with simplicity. BitFling is still somewhat rough and the likely usage scenario is a developer running BitPim getting someone with a particular phone running BitFling and walking them through talking to each other. > Getting a "clickable" bundle in the MacOS X Finder is a real PITA. :-) Apparently. It could be worse. You could have Windows' Program menu where apps install two things in a group. One runs the application and the other uninstalls it. Given how often the latter is actually used, and the consequences of clicking on it by accident, I have yet to see the point. I am just trying to fix one more minor issue and then everything should be read for the build. (The tickbox for {en,dis}abling BitFling isn't having much effect). Roger |
From: Peter D. <du...@hd...> - 2004-04-26 18:41:11
|
On Apr 26, 2004, at 1:31 PM, Steven Palm wrote: > This may be a bit more difficult on the Mac... Not sure. The whole > "bundle" that makes it possible to launch a Macintosh application with > the embedded libraries/etc requires that all the parts be in that > bundle... So the bitfling bundle would have to embed these all a > second time. Bad. Also, since you have no guarantee where they have > placed the two in relation to each other, I can't think of a way to > have a "bitfling" application bundle call items from the "bitpim" > bundle. I'll give this some more thought. What about using applescript? I mostly use the Mac as a unix system so I might be off base as to what you're up to. Peter Peter Dufault HD Associates, Inc. |