Talk:Application Manager

From Openmoko

Jump to: navigation, search

--Chaowei.Song 06:09, 6 September 2006 (UTC)

Q1:About the Application_Manager#Filter Menu, column 0 in Application_Manager#Navigation_Area and Application_Manager#Action Buttons.

I am puzzled by the interrelate of these.

e.g.:When user choose Installed in Application_Manager#Filter Menu, user select a checkbox in one row, does it means user want to remove the package? And when user check the apply button, does the Application Manager remove the selected package?

A: (Sean Moss-Pultz) The checkbox reflects the status of the applications. So if it is checked, and apply is pressed, it will make sure the application is installed. If it's unchecked, it will uninstall the application.

But I think this method could be made more optimal. Do you have any ideas?

A: (Chaowei.Song 09:08, 6 September 2006 (UTC)) About the checkbox, I think we should expand the checkbox, it should not be two states(checked/unchecked). It should have three status, as "Not Installed", "Installed" and "Update". When user operation a package, the states can switch and the view will respect the end state, and when user check the apply button, the Application_Manager will execute the corresponding operation. Do you agree it?

(Sean Moss-Pultz) A: This is really good. I'll update the spec.

(Sean Moss-Pultz) Q: I think we need to support the following actions (this is from Synaptic Package Manager):

  1. Unmark
  2. Mark for installation
  3. Mark for Upgrade
  4. Mark for Removal

Should we do this using a Popup Menu or do think an icon would be better?

(Chaowei.Song 09:43, 7 September 2006 (UTC)) A: I think Popup Menu is better. At the begginning of user using the Application Manager, the meanings of icon will be delusive.

Q: When the action is Unmark, Need we display the current status of package(such as:Installed, Not Installed, Upgradeble)?

(Sean Moss-Pultz) A: One method would to to have an icon that displays the current status. They when this is clicked it shows the popup menu. Any other ideas?


e.g.:When user choose Upgradable in Filter Menu, user select a checkbox in one row, does it means user want to update the package? And when user check the apply button, does the Application Manager update the selected package?

A: (Sean Moss-Pultz) If the user selects upgrade from the filter menu, it will show a list of all the applications that can be upgraded. It's still up to the user to manually check the applications they want to upgrade. After pressing the apply button, the checked applications will be upgraded.

e.g.:What is the means when user choose All, <category>, Search Results?

A: (Sean Moss-Pultz)

  • All -- all the applications will be displayed in the navigation area
  • Search Results -- are the results store in a list of the last search performed by the user.
  • <category> -- is a list of categories. for example, a complete popup menu might look like this:
+--------------------+
| All                |
+--------------------+
| Drawing            |
| Games              |
| Internet           |
| Multimedia         |
| Text               |
| ...                |
+--------------------+
| Search Results     |
+--------------------+
NOTE: the list of categories is parsed from the section attribute of the package.


--Ken 06:01, 6 September 2006 (UTC) Q:Our application manager is based on libipkg. Libipkg only show package list, not application list.

(User:Mickey) A:We differentiate applications by reading their SECTION, e.g. openmoko applications will reside under SECTION=openmoko/apps

We default to showing applications by setting filter to openmoko/apps, users can then change filter to see packages from other sections.


Q: Could we indicate (perhaps via icon in the Navigation Area) whether a given package is installed internal or external?

(User:Sean)

A: I don't think this matters. Is there a reason you would want to know?


Q: How to specify whether to install packages to internal or external storage?

Q: If an application is installed on a SD card that is removed, how will the system react.

About the Application's icon.

--Chaowei.Song 07:33, 9 October 2006 (UTC)---

At the detail area, there is an application icon in each package.

But we can't get the related picture from libipkg. What should we do? Display a random picture or Don't display picture?

User:Sean

A: We will make these icons for all OpenMoko applications. For other applications, if they don't have an icon, we will display a "Icon Unavailable" message.

Q: We want to know how to locate the icon in our program. It is not a good idea to specify the icon in our source code. We need one kind of rule to search the icon for every application,but it is not easy.

User:Sean A: I'm not sure. See if you can figure out how other applications do it. if you can't then just send email to devel. Thanks!

Q: When we are installing an application, or even worse a system upgrade, how will we handle incoming calls?

A: Possibly send a SIGTSTP to the process when a call comes in, and a SIGCONT when it finishes?

Personal tools