Add tags field to the apps table
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
all_apps = {}
|
||||
|
||||
function on_resume()
|
||||
all_apps = apps:get_list("launch_count")
|
||||
all_apps = apps:list("launch_count")
|
||||
|
||||
if (next(all_apps) == nil) then
|
||||
ui:show_text("The list of apps is not ready yet")
|
||||
|
||||
8
samples/apps-sample2.lua
Normal file
8
samples/apps-sample2.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
-- Dumps app info table
|
||||
|
||||
app_pkg = "com.android.calendar"
|
||||
|
||||
function on_load()
|
||||
local calendar_app = apps:app(app_pkg)
|
||||
ui:show_text("%%txt%%"..serialize(calendar_app))
|
||||
end
|
||||
Reference in New Issue
Block a user