S salanmar Member Licensed User Longtime User Jan 3, 2012 #1 Hi all, I'm newbie. How I can save a intent variable in a sqlite database and then retrieve it in a intent variable?. It is possible whith the blob field? Sorry for my English.
Hi all, I'm newbie. How I can save a intent variable in a sqlite database and then retrieve it in a intent variable?. It is possible whith the blob field? Sorry for my English.
NJDude Expert Licensed User Longtime User Jan 3, 2012 #2 You don't need to save the intent, just the package name and button number, when you run the app, populate the buttons. I guess you already know how to run an app, but just in case, look at the code below. Code: Copy Sub Button1_Click Dim in As Intent Dim pm As PackageManager in = pm.GetApplicationIntent("com.my.awesome.app") '<-- This app name will come from your DB. If in.IsInitialized Then StartActivity(in) End Sub Upvote 0
You don't need to save the intent, just the package name and button number, when you run the app, populate the buttons. I guess you already know how to run an app, but just in case, look at the code below. Code: Copy Sub Button1_Click Dim in As Intent Dim pm As PackageManager in = pm.GetApplicationIntent("com.my.awesome.app") '<-- This app name will come from your DB. If in.IsInitialized Then StartActivity(in) End Sub
S salanmar Member Licensed User Longtime User Jan 4, 2012 #3 Thanks NJDude, I had not thought this way. Last edited: Jan 4, 2012 Upvote 0