These are Bob's reply to my initial query, originally done through
email but posting now for general discussion..
> Bob and Rusty,
> I wanted to follow up on the action items that were assigned to us
> from last weeks UME Status meeting. I think the following issues need
> to be resolved with regards to the home plugin and marquee panels and
> would like to know your thoughts.
>
> Home Plugin:
> - Agree on and merge changes from Pepper to support a generic event
> mechansim to pass data to and from Flash based home plugin. These
> changes are specified in document I sent to you a few weeks ago. We
> are have implemented some of it already, but it is not yet complete.
> We should discuss what needs to change in the design.
>
I think that passing information on the status line is a little bit
of a hack, but aside from an XPCOM extension that provided a javascript
method to C code, it is good enough for now and seems to be
getting the job done. I tried launching apps with parameters and it
worked fine. So for now and October release let's stick to the way it
works now
and we can readdress this later.
Our HTML version of the UI will also use this same mechanism to get
the application list and launch apps.
>
> One thing in particular that I think needs to be addressed is the
> start_app() function. The way it's currently implemented in Moblin,
> you need to pass it the index of the app. The only way for the Flash
> movie to know the index is if the app is dynamcially added to the
> Flash movie via the add_application function. This is a problem for
> Flash movies that don't support dynamic apps. The customer we are
> working with has a predefined set of apps that are not dynamically
> added to the movie. The movie needs to be able to launch an app based
> on a name, path, or id because it won't have an index.
> Could we add a start_app() that takes an applicationId as the
> argument?
>
I added a couple of new methods:
launchAppFromId (id)
launchAppFromPath (full-path-to-app)
The exising should be deprecated (but is still there):
launchApp(index)
Suggestions welcome. I tested that the existing index version still
works and uses launchAppFromId(id) but I didn't try the other yet.
> The applicationId would be a unique identifier for the app
> and would need to be defined in the .desktop file. I'm not sure if
> there is already some sort of identifier attribute in the .desktop
> file that we could use. I think this would be a better solution than
> using an index.
>
> - Eliminate the need to have .desktop files in /usr/share/mobile-
> basic-flash/applications. Instead, couldn't we use the standard
> desktop files in /usr/share/applications and simply add a [Mobile
> Desktop] entry in these? Seems like a more standard way to go and
> would eliminate having two copies as currently required for the osso
> activation stuff (see bug #106 https://www.moblin.org/bugzilla/
> show_bug.cgi?id=106).
>
>
I like getting rid of the duplicate .desktop files.
How about just adding a "MobileId=" field to the
/usr/share/applications/
(and not a new section)
I'm not sure how to handle sorting of the applications wrt
configuration.
A few options include: no sorting in the UI, adding "MobileOrder=<>",
or other.
> - Bob, I believe you were compiling a list (a couple of IRC meetings
> ago) of home-plugin features that would be common to both Flash and
> non-Flash home-plugins. I don't have this list or a transcript of the
> meeting, do you?
>
I didn't find it, but I'll look more.
>
> Marquee Panel:
> - What are your plans regarding navigating from an application back
> to the home screen? Currently there is no way to do this.
>
>
Top-left icon will be updated and will take you home. No drop-down
menu. Comments welcome here.
No left/right app nav.
> - There was some discussion on the mailing lists about enabling the
> default maemo layout for the UI. What is the status of this?
>
I haven't looked into that, but it could be possible. It would take
some amount of configuration work as we change a few things that prevent
the window decorations from matchbox from being displayed in lieu of the
marquee.
Bob
--
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile