1 /* |
1 /* |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
75 /** |
75 /** |
76 * Construct new AppRegInfo object. |
76 * Construct new AppRegInfo object. |
77 * When this object is used for registering applications, all |
77 * When this object is used for registering applications, all |
78 * params must be valid. When used for unregistering applications, |
78 * params must be valid. When used for unregistering applications, |
79 * only aUid is really needed. |
79 * only aUid is really needed. |
|
80 * Use default values for optional information. |
|
81 * |
|
82 * @param aUid Java application Uid (MIDlet Uid). |
|
83 * @param aGroupName The value of Nokia-MIDlet-Category attribute or empty. |
|
84 * Note that in Symbian only 16 first characters are stored to |
|
85 * application registry. |
|
86 * @param aMIDletName MIDlet name from MIDlet-<n> attribute. |
|
87 * @param aTargetDrive The installation drive, e.g. "C:" in S60 |
|
88 * @param aIconFileName The full path name to the icon file in file system. |
|
89 * The file must be accessible and the path must have \\ chars. |
|
90 * @param aJarFileName Full path name to jar file. |
|
91 * @see ApplicationRegistrator |
|
92 */ |
|
93 public AppRegInfo( |
|
94 Uid aUid, |
|
95 String aGroupName, |
|
96 String aMIDletName, |
|
97 String aTargetDrive, |
|
98 String aIconFileName, |
|
99 String aJarFileName) |
|
100 { |
|
101 iUid = aUid; |
|
102 iGroupName = aGroupName; |
|
103 iMIDletName = aMIDletName; |
|
104 iTargetDrive = aTargetDrive; |
|
105 iIconFileName = aIconFileName; |
|
106 iJarFileName = aJarFileName; |
|
107 } |
|
108 |
|
109 |
|
110 /** |
|
111 * Construct new AppRegInfo object. |
|
112 * When this object is used for registering applications, all |
|
113 * params must be valid. When used for unregistering applications, |
|
114 * only aUid is really needed. |
80 * Specify all information. |
115 * Specify all information. |
81 * |
116 * |
82 * @param aUid Java application Uid (MIDlet Uid). |
117 * @param aUid Java application Uid (MIDlet Uid). |
83 * @param aGroupName The value of Nokia-MIDlet-Category attribute or empty. |
118 * @param aGroupName The value of Nokia-MIDlet-Category attribute or empty. |
84 * Note that in Symbian only 16 first characters are stored to |
119 * Note that in Symbian only 16 first characters are stored to |