On Sun, Oct 28, 2012 at 11:51 AM, mendes128 <[email protected]> wrote:
> Hi
>
> I am trying to develope an app for android in school and i am new on
> this field and i whant to know two things:
>
> 1st how can i make my app rotate when i rotate the phone?

Just rotate your phone. :-)

If you want to let you Activity detect phone rotation you must add the
attribute android:configChanges="orientation|screenSize" in the
manifest and handle the configuration changes in the
onConfigurationChanged method, as documentet at

     
http://developer.android.com/guide/topics/manifest/activity-element.html#config

> 2nd it's possible to integrate the app voice search on my app? or
> sommething like that?

There is a speech recognition API (se package android.speech) but as
far as I know there is no voice search API.

-- 
"The flames are all long gone, but the pain lingers on"

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