Media Package in android source

by Anandi » Sat, 27 Mar 2010 04:55:38 GMT


Sponsored Links
 Hello all,

I am trying to find out the location of Media Package in android
source. I am curious about it, because this package is accessible
anywhere(I can import it in any application in any workspace).

I am also looking for the option in "make file" which makes the build
system to generate this package globally accessible.

I have observed one thing that the classes which are there in the
"preloaded classes" list are globally accessible. Does it related
anyway to this fact?

So, Please can anyone help me in solving these queries ?

Thanks in advance
Anu

--



Other Threads

1. Implementing a Service - Call down to super?

Justin,

What you saying is certainly true generically.  But I am specifically
talking about a class as follows:

public class JakeService extends Service {
}

In example code I don't think I usually see calls up to the super
implementations.  That seems wrong.  So when extending the Service class
do you call super before or after you do your own work?  Wouldn't the
answer to this question be the same regardless of what my Service
implementation does?

...Jake



   JA> But DanH is right, it totally depends on what you want to do.  It
   JA> also depends on what super does... If your subclass is setting
   JA> information that is also set by super then chances are you would
   JA> want to call super first.  If what super does varies based on
   JA> settings in your implementation, then you would want to call
   JA> super last.  If there is no such relationship then it doesn't
   JA> matter when you call.

   JA> Also, IMHO, you would only want to skip calling super in
   JA> extremely rare circumstances.

   JA> And, technically speaking, you would be calling "up" to the super
   JA> implementation, but that's just semantics... :-)

   JA> ----------------------------------------------------------------------
   JA> There are only 10 types of people in the world...
   JA> Those who know binary and those who don't.
   JA> ----------------------------------------------------------------------




   >> Maybe, maybe not.  It depends on what you want to do.
   >> 


   >> > When extending Service with your own Service, should you be calling down
   >> > to the super implementation of the methods that are being overridden?
   >> > If so, do you do it before or after you've invoked your own code?
   >> >
   >> > --
   >> > Jake Colman -- Android Tinkerer
   >> 
   >> --
   >> 

2. Image viewers on android phones not always the best experience?

Hi,

I'm trying to use an image-display intent to..display an image:

    Uri uri = ...;
    Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
    intent.setDataAndType(uri, "image/" + extension);
    startActivity(intent);

this works well, but some devices have image viewers that handle this
intent which are sub-optimal. For example, on the Nexus One, it looks
like an image gallery application starts up - this takes about 10+
seconds before showing the image. On the Droid, an image application
starts up very quickly and shows the image right away.

If we shouldn't rely on the above intent to provide a good experience
for the user, is there another method anyone is using? Would just like
to know before I try writing something myself,

Thanks

-- 

3. How to know whether bluetooth is enabled/disabled

4. ContextMenu Problem - how to resolve these menu items

5. Implementing a Service - Call down to super?

6. adb device not getting recognized.

7. Do other devs get asked to list their apps on foreign market sites?