Hey Dan,

I tried to place the audio files in the res/raw folder at first. I think
that the only way you can access those files is if you call create on the
media player and pass in an ID. But if you want to receive the audio
complete notification, this only seems to work when you call create in an
activity's OnCreate method. Since I need to randomly switch between multiple
audio files, and I rely on the audio complete notification, I have to use
the SetDataSource method. I don't think you can access files via an ID when
using the SetDataSource method.

I would like to find a way to make my app work with my files in the res/raw
folder. It would make my life simpler :) 


Thanks for your question.

Mike D.

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan U.
Sent: Wednesday, April 02, 2008 10:52 PM
To: Android Challenge
Subject: [android-challenge] Re: README file format


Can you just put them in res/raw and submit the apk that gets built or
do you need them outside the emulator for some reason?

On Apr 2, 7:25 pm, "Michael DeJadon" <[EMAIL PROTECTED]> wrote:
> Hey Dan,
>
> Due to a problem with the media player, I need to reference a couple of
very
> small audio files in my application. I hear that there is no way to upload
> external files for the competition submission. I was thinking about
zipping
> them up with my app and changing the extension so that I can submit it.
Then
> I would include this information in my read me. Is there a better way to
do
> this?
>
> Thanks!
>
> Mike D.
>
>   _____
>
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dan Morrill
> Sent: Wednesday, April 02, 2008 11:45 AM
> To: [email protected]
> Subject: [android-challenge] Re: README file format
>
> The HTML file is okay, but we can't guarantee that the bitmap files will
> work.  You'd probably be better off converting it to PDF.
>
> - Dan
>
> On Tue, Apr 1, 2008 at 10:23 PM, Kyara <[EMAIL PROTECTED]> wrote:
>
> Hi Dan,
>
> Is a zip file of one HTML file and several associated bitmap files in
> relative paths OK?
>
> Thank you.
>
> Peter
>
> ----- Original Message -----
> From: Dan Morrill
> To: [email protected]
> Sent: Tuesday, April 01, 2008 8:16 PM
> Subject: [android-challenge] Re: README file format
>
> Any reasonably-widely-usable format is fine.  TXT and PDF are probably
best,
> though.
>
> - Dan
>
> On Tue, Apr 1, 2008 at 6:26 PM, Dan U. <[EMAIL PROTECTED]> wrote:
>
>
Yes.http://groups.google.com/group/android-developers/browse_thread/threa...
> <http://groups.google.com/group/android-developers/browse_thread/threa...
> cc35bb9d52d/>
> c35bb9d52d/
>
> On Apr 1, 5:47 pm, Shooter <[EMAIL PROTECTED]> wrote:
> > Hey Dan,
>
> > Was that from an official source?
>
> > On Apr 1, 12:55 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>
> > > I've been told pdf is fine and that's what I submitted
>
> > > On Apr 1, 12:04 pm, Shooter <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > What are the accepted file formats for the README file? Can it just
be
> > > > a text file? Will pdf, msword or other formats be acceptable too?
>
> > > > Please shed some Google light on this.
>
> > > > Thanks,
> > > > Shooter.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Challenge" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-challenge?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to