Android DRM package

by dpelleti » Tue, 28 Apr 2009 11:03:23 GMT


Sponsored Links
 Hi,

Can someone please tell me where I can find this package:

android.drm.mobile1

I've seen references to it online but I can't find it anywhere in the
SDK.

Thanks!

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. IME sample in the SDK

Hi,
I want to create a new on-screen-keyboard, and I thought that a good
start point will be to see how the SoftKeyboard sample in the SDK
(under the SDK folder: android-sdk-windows-1.5_r1\platforms
\android-1.5\samples\SoftKeyboard) works.
But it doesn't! I run it in Eclipse. So, it compile, then the emulator
starts, and under "Settings->Locale&text" I see the new keyboard. But
it does not show up when I click on a textbox. Only the regular on-
screen keyboard appears.
Am I missing something?

Thanks ahead,
Menny

--~--~---------~--~----~------------~-------~--~----~

2. How to have singleInstance of the activity and relay information back to parent.

Indeed, you can't, because singleInstance (and singleTask) means that the
activity is managed independently of the previous activity that is launching
it, so there can be know guarantees about when or in what order the result
will be returned.

Don't use singleInstance.

Why do you want singleInstance?  You probably don't.  You have to realize
that by doing this you are splitting your app into separate tasks, which
will mess up the user's interaction with it as they go in and out of your
app.

As far as you using singleInstance as a way to hide the fact that your
activity is too slow to start...  really, I would suggest fixing that
instead. :)  If your view hierarchy takes too long to inflate, it is
probably way overly complicated -- either with a lot of complicated layout
managers that can be simplified, or a lot of things that are normally hidden
that you should only inflate when needed (see Romain's articles on this for
help).

If there are other things you do that are slow, you can look at keeping
those objects in singletons in your process so they only need to be created
the first time the activity is started, and can be re-used thereafter as
long as your process is aound. (But first optimize optimize optimize to try
to make them not slow!  If your activity is so slow to start that you are
doing this, you are making it only somewhat better by reducing the times the
user need to wait...  there will still be many times when they still need to
wait.)






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~

3. Problems with building android

4. I'm not able to receive more than two GPS position. The application hangs.

5. This post does not show up in discussion

6. The new Android 1.5 message problem

7. Message counting app