[android-developers] Re: Smooth image scaling

2008-06-01 Thread Romain Guy
Hi, You need to enable bitmap filtering on the Paint first. -- Romain Guy www.curious-creature.org On Jun 2, 2008, at 2:09 AM, David Given <[EMAIL PROTECTED]> wrote: > I'm trying to scale quite a large image (500x500 pixels or so) to > fit on > the screen. The standard Canvas scaler appear

[android-developers] Re: Smooth image scaling

2008-06-01 Thread Steve Oldmeadow
Have you turned antialiasing on in the paint object? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe f

[android-developers] Re: Can one play a ByteArrayInputStream audio with MediaPlayer?

2008-06-01 Thread Steve Oldmeadow
@blindfold. I remember seeing some people posting about converting FreeTTS to work in Android and having some success rendering the spoken text to a wave file that they could play in Android. Maybe you should speak with these people as it sounds like you have some common interests. Is there any

[android-developers] How do I do this? copy the image from one view for use in another

2008-06-01 Thread stefoid
Specifically: I have two views, A and B I want to set the background of view A with a snapshot of the current state/image of view B Possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Smooth image scaling

2008-06-01 Thread David Given
I'm trying to scale quite a large image (500x500 pixels or so) to fit on the screen. The standard Canvas scaler appears to use a simple nearest-neighbour algorithm, which results on really nasty aliasing and horrible jaggies. Does Android contain any interpolating scalers? My next step is to star

[android-developers] Re: Can one play a ByteArrayInputStream audio with MediaPlayer?

2008-06-01 Thread blindfold
> I wouldn't judge Android by the current state of its API. Thanks, fair enough, Steve. It's just that I've been around using Java long enough to know that APIs often do get rushed out without adequate consideration of key limitations, so raising the flag now might help prevent that if necessary.

[android-developers] Re: How would you like your app marketed?

2008-06-01 Thread whitemice
Any kind of common payment API would be a real boost to the industry. The act of downloading and installing apps is actually the easy part. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] Re: Can one play a ByteArrayInputStream audio with MediaPlayer?

2008-06-01 Thread David Given
blindfold wrote: [...] > Basically all phones from Nokia support it, as well as several > phones from Sony Ericsson and Motorola. I'd be careful. I was working on one mobile phone system (and for obvious reasons I can't tell you which one it was) and got a chance to look at the source code for thi

[android-developers] Re: Question About AndroidManifest.xml and resources

2008-06-01 Thread Mark Murphy
Wesley wrote: > Each activity need to declare at AndroidManifest.xml in order to start > activity... Correct. > thing I want to do is I want to startActivity without declare it at > manifest file... I do not know of any way to do that. Why do you feel you need to register an activity at run-t

[android-developers] Re: ListActivity woes

2008-06-01 Thread Nomade
what i can say about that is that when you go to an other activity or when you scroll down you list it use the cursor you place in the SimpleAdapter so when someone click a checkbox for exemple in a row of your list it is your job to do an update to your cursor (do this by using the update functio

[android-developers] Re: Can one play a ByteArrayInputStream audio with MediaPlayer?

2008-06-01 Thread Steve Oldmeadow
>    http://www.seeingwithsound.com/midlet.htm > > which is why I am investigating if a port to Android would be > possible, and was surprised by its current API limitations. > Your app looks great. I'm sure a port will be possible but you may have to use javax.sound instead of MediaPlayer. I w

[android-developers] Re: Can one play a ByteArrayInputStream audio with MediaPlayer?

2008-06-01 Thread blindfold
Steve, > How many Java ME phones can do this? Even though the spec. may > support it implementation is another story. Basically all phones from Nokia support it, as well as several phones from Sony Ericsson and Motorola. It is used in my MIDlet http://www.seeingwithsound.com/midlet.htm whi