Re: [android-developers] using the uses-library to hide DLC

2011-08-21 Thread Dianne Hackborn
I recommend people avoid shared user IDs. It is a hole you can never escape once you are in it. It is true that you can't disable the components of another app that has a different uid. However, you could have a broadcast receiver in the other app that when invoked disables the appropriate

Re: [android-developers] using the uses-library to hide DLC

2011-08-18 Thread Jeremy Lakeman
If they are signed by the same key, both applications should be able to use the same user id, data folder and process space. I'm thinking of doing something similar, where the main application can download and install additional apk's directly from our web site. But I haven't got around to

Re: [android-developers] using the uses-library to hide DLC

2011-08-17 Thread Mark Murphy
On Tue, Aug 16, 2011 at 6:50 PM, Ryan Routon ryanrou...@gmail.com wrote: My question is this,  if we pick the second option can we use the uses-library filter to prevent the user from seeing the add-ons until they have the main app which would be the shared library we use to filter against?

Re: [android-developers] using the uses-library to hide DLC

2011-08-17 Thread Kristopher Micinski
On Tue, Aug 16, 2011 at 6:50 PM, Ryan Routon ryanrou...@gmail.com wrote: Hey Guys, 1.  Quick question.  Our company is exploring different ways to implement DLC and I see that there are basically two ways, using the in app purchase model with our own server pushing the content as is

Re: [android-developers] using the uses-library to hide DLC

2011-08-17 Thread Ryan Routon
Thank you Mark, that is what I was worried about... Does anyone know of any way to hide the downloadable content apps until the main app is installed? Some form of app dependency is what we were hoping for, but it looks like there might be no way of actually implementing this using filters. We

Re: [android-developers] using the uses-library to hide DLC

2011-08-17 Thread Mark Murphy
On Wed, Aug 17, 2011 at 2:12 PM, Ryan Routon ryanrou...@gmail.com wrote: Some form of app dependency is what we were hoping for, but it looks like there might be no way of actually implementing this using filters. Oh, how I wish we had a dependency mechanism on the Market. I suggested this

Re: [android-developers] using the uses-library to hide DLC

2011-08-17 Thread Kristopher Micinski
On Wed, Aug 17, 2011 at 2:12 PM, Ryan Routon ryanrou...@gmail.com wrote: Thank you Mark, that is what I was worried about... Does anyone know of any way to hide the downloadable content apps until the main app is installed?  Some form of app dependency is what we were hoping for, but it looks

Re: [android-developers] using the uses-library to hide DLC

2011-08-17 Thread Ryan Routon
@Mark - Actually that is just what we were talking about =) having each DLC package check for the engine/framework required to run it and then once the engine itself is run it would disable the DLC so that the icon would no longer show, though I am wondering if the engine can disable the DLC app

Re: [android-developers] using the uses-library to hide DLC

2011-08-17 Thread Mark Murphy
On Wed, Aug 17, 2011 at 5:16 PM, Ryan Routon ryanrou...@gmail.com wrote: I am wondering if the engine can disable the DLC app or if that can only be done from the DLC app itself Only from the DLC app itself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] using the uses-library to hide DLC

2011-08-16 Thread Ryan Routon
Hey Guys, 1. Quick question. Our company is exploring different ways to implement DLC and I see that there are basically two ways, using the in app purchase model with our own server pushing the content as is described here: