Fetching Images , audios and videos....

by gunaaa » Wed, 14 May 2008 13:21:12 GMT


Sponsored Links
 How to fetch the images and ringtones of the emulator into our own
application.... What is the path i have to give... Actually its in
data/system/audio/ringtone.mp3 .... Anyone know about how to fetch
that????
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android activity as overlay over other app

The answer should be "no."  You can make an activity that is transparent or
looks like a dialog or whatever, but it still exists as part of the activity
stack, pauses whatever is behind it, etc.










-- 
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.

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

2. Permission at installation time and run tim

Hi all,

All documents say that permissions in Android are granted at the
installation time. However, I wonder how they are actually checked at
run time. In my mind, there are 2 possibilities:

- First, when an application is installed, all permissions specified
in Manifest.xml are parsed and check if they are granted or not. In
case, all are granted, the source code is also parsed to check if
every component/system access is legal (i. e. it belongs to one of
granted permissions). When all accesses are passed, the application is
installed successfully. Later, the application can be run without
caring about permissions, i. e. no check is performed.

- Second, at installation time, requested permissions are parsed and
check if they are granted or not. After passing this phase, the
application is successfully installed. During the run-time, whenever
the application requests to access other components/system, this
action is checked against granted permissions (at installation time).

I think the first one is not a good idea. I think it is so awkward and
it's impossible to parse all source code, assuming the code is
compiled into byte code.

So, it should be the second one. Am I correct? Or is there any other
way?

Thanks in advance,

Nga

3. ring replacement

4. user demographics

5. startActivity and the back button

6. How can I android 2.0 source code

7. Bold a row in ListView programmatically