Jump to content

How are widgets referenced in launcher.db?


Guest sulligogs

Recommended Posts

Guest sulligogs

Hi,

I've been experimenting with Android for the past couple of weeks and I've been stumped by how widgets are referenced in the Launcher app. If I use Root Explorer, for example, I can navigate to

 /data/data/com.android.launcher/databases

And in there is launcher.db which is a SQLite3 database file.

If I open it within Root Explorer and go into the favorites table I can see a series of entries describing the shortcuts on my home screen. However, where it looks like widgets are on the home screen I can't see how they are being referenced. I can see appWidgetId which references a number index, but nowhere telling me where the actual widget is located.

How would I know the path to a widget just from the appWidgetId?

Many thanks for any help.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.