Well, for the functionalities/classes in cupcake that are implemented
using only APIs that are public in 1.0, this is theoretically possible
(though not necessarily easy). It's safe to assume that this only
represents a very small minority.

However, if you want to look ahead, you could download the cupcake
source tree, insert your application in there, and specify that you
only want to use APIs that are marked as candidates for inclusion in
future SDKs (there's a way to specify that in the application's
makefile, I forgot what). The list of APIs for cupcake-based SDKs
isn't frozen, and the cupcake platform isn't nearly as stable as 1.0,
so you might find that the world shifts and collapses under your feet,
but that's the price to pay for going "bleeding edge".

JBQ

On Fri, Jan 16, 2009 at 3:44 AM, Tez <[email protected]> wrote:
>
> Hi,
>
> But, I was wondering if there is any way in which it would be possible
> to use the class from cupcake or build another class that can achieve
> that functionality using existing classes.
>
> cheers,
> Earlence
>
>
> On Jan 14, 6:23 pm, Jean-Baptiste Queru <[email protected]> wrote:
>> There is currently no SDK built from cupcake (which isn't stable
>> enough yet). New cupcake functionalities aren't currently available to
>> application developers working with the SDK.
>>
>> JBQ
>>
>>
>>
>> On Wed, Jan 14, 2009 at 4:55 AM, Tez <[email protected]> wrote:
>>
>> > Hi,
>>
>> > thanks for the reply. Also, I was wondering whether it is possible to
>> > stream audio to the AudioTrack class i came across in the cupcake
>> > development branch. If so, how can I go about bringing that
>> > functionality to the current version of the SDK.
>>
>> > Cheers,
>> > Earlence
>>
>> > On Jan 13, 8:44 pm, Jean-Baptiste Queru <[email protected]> wrote:
>> >> And you should use Environment.getExternalStorageDirectory() to know
>> >> the path to the external storage instead of hard-coding "/sdcard".
>>
>> >> JBQ
>>
>> >> On Tue, Jan 13, 2009 at 7:37 AM, hmmm <[email protected]> wrote:
>>
>> >> > sorry, "/sdcard/..."
>>
>> >> > -----Original Message-----
>> >> > From: hmmm <[email protected]>
>> >> > To: [email protected]
>> >> > Date: Tue, 13 Jan 2009 18:35:23 +0300
>> >> > Subject: [android-developers] Re: Accessing Files on the sdcard
>>
>> >> >> I guess it should be like File f("sdcard/myaudio.3gpp")  then 
>> >> >> FileInputStream(f) or just FileInputStream("sdcard/myaudio.3gpp"")
>>
>> >> >> -----Original Message-----
>> >> >> From: Tez <[email protected]>
>> >> >> To: Android Developers <[email protected]>
>> >> >> Date: Tue, 13 Jan 2009 07:25:59 -0800 (PST)
>> >> >> Subject: [android-developers] Accessing Files on the sdcard
>>
>> >> >> > Hi,
>>
>> >> >> > I have a couple of recorded voice files stored on the sdcard
>> >> >> > simulation of the emulator. I want to acces these files so that I can
>> >> >> > stream them over the network to another app of mine.
>> >> >> > How can I create a java File object with a file stored on the sdcard?
>>
>> >> >> > Cheers,
>> >> >> > Earlence
>>
>> >> --
>> >> Jean-Baptiste M. "JBQ" Queru
>> >> Android Engineer, Google.
>>
>> --
>> Jean-Baptiste M. "JBQ" Queru
>> Android Engineer, Google.
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to