Common values: GPLv2, GPLv2+, GPLv3, Apache2, MIT, BSD
+==Name==
+
+The name of the application. Normally, this field should not be present since the
+application's correct name is retrieved from the APK file. However, in a situation
+where an APK contains a bad or missing application name, it can be overridden
+using this.
+
==Web Site==
The URL for the application's web site.
thisinfo['id'] = metafile[9:-4]
print "Reading metadata for " + thisinfo['id']
thisinfo['description'] = ''
+ thisinfo['name'] = None
thisinfo['summary'] = ''
thisinfo['license'] = 'Unknown'
thisinfo['web'] = ''
value = line[index+1:]
if field == 'Description':
mode = 1
+ elif field == 'Name':
+ thisinfo['name'] = value
elif field == 'Summary':
thisinfo['summary'] = value
elif field == 'Source Code':
--- /dev/null
+License:GPL
+Name:Mobile C64
+Web Site:http://jmec64.sourceforge.net/
+Source Code:http://sourceforge.net/projects/jmec64/develop
+Issue Tracker:http://sourceforge.net/tracker/?group_id=171310
+Summary:Commodore 64 Emulator
+Description:
+A Commodore 64 (C64) emulator.
+.
bestapk = apk
if bestver == 0:
- app['name'] = app['id']
+ if app['name'] is None:
+ app['name'] = app['id']
app['icon'] = ''
print "WARNING: Application " + app['id'] + " has no packages"
else:
- app['name'] = bestapk['name']
+ if app['name'] is None:
+ app['name'] = bestapk['name']
app['icon'] = bestapk['icon']
# Generate warnings for apk's with no metadata (or create skeleton