[android-developers] Speech recognition private-API

2008-10-23 Thread Tauno T
Hi, a quick question about copying internal-APIs to my own project. hackbod has said that There should be nothing the regular built-in apps do that you can't do in your own apps, except for some carefully considered scenarios, such as dialing an emergency phone number or directly installing an

[android-developers] Re: Tips for Orientation

2008-10-21 Thread Tauno T
will be flicker. Just use android:screenOrientation=sensor. On Oct 20, 12:47 pm, Tauno T [EMAIL PROTECTED] wrote: And that's why he want's to set theorientationprogrammatically - the users expect that when the phone is turned sideways then the picture is also turned sideways:) The user

[android-developers] Re: Tips for Orientation

2008-10-20 Thread Tauno T
And that's why he want's to set the orientation programmatically - the users expect that when the phone is turned sideways then the picture is also turned sideways:) The user is not confused - he just thinks that Android has a feature that it does not have (sadly). As for the solution - Xolotl

[android-developers] Re: MAC address?

2008-10-19 Thread Tauno T
Just a note - this string is null in emulator and any application can change the value of the string if it wants to (provided they have the WRITE_SETTINGS permission). Tauno On Oct 18, 1:36 pm, Mark Murphy [EMAIL PROTECTED] wrote: Al Sutton wrote: Just by looking at the docs, what about

[android-developers] Question regarding default Contacts application.

2008-10-17 Thread Tauno T
(Sorry if it's a double post but the first message (sent ~20 hours ago) disappeared from http://groups.google.com/group/android-developers after some time and it never reached my mailbox) Hi, I added a new contact in the default Contacts app and added all possible IM names to it. If I click any

[android-developers] Contacts.PresenceColumns documentation/API mismatch.

2008-10-17 Thread Tauno T
(Sorry if it's a double post but the first message (sent ~20 hours ago) disappeared from http://groups.google.com/group/android-developers after some time and it never reached my mailbox) The dox @ http://code.google.com/android/reference/android/provider/Contacts.PresenceColumns.html indicate

[android-developers] Re: DL Android

2008-10-17 Thread Tauno T
The source is not yet released. Sorry. Quoting http://code.google.com/android/roadmap.html: Source Code Release We are currently in the process of preparing for the release of the source code. This includes a few key tasks: * Selection of hosting infrastructure * Updating the build

[android-developers] Alternative to SpannableStringBuilder.drawText()?

2008-10-17 Thread Tauno T
The method http://code.google.com/android/reference/android/text/SpannableStringBuilder.html#drawText(android.graphics.Canvas,%20int,%20int,%20float,%20float,%20android.graphics.Paint) does not exist in the 1.0r1SDK - what is the alternative to draw Spannable text (so that they are painted with

[android-developers] Re: Android FreeTTS server interfacing, a speech solution for your projects

2008-10-17 Thread Tauno T
Can I ask why you need to use TTS if you just want to play static sound files like wow or great job? Wouldn't it be easier if you just generated the sound files and bundled them with your game? I mean.. it's just a matter of playing back a few sound files that you can store in the /res/raw

[android-developers] Contacts.PresenceColumns documentation/API mismatch.

2008-10-16 Thread Tauno T
The dox @ http://code.google.com/android/reference/android/provider/Contacts.PresenceColumns.html indicate that android.provider.Contacts.PresenceColumns contains the following public static fields: PRIORITY, PRESENCE_STATUS, PRESENCE_CUSTOM_STATUS, OFFLINE, INVISIBLE, IDLE, DO_NOT_DISTURB,

[android-developers] Question regarding default Contacts application.

2008-10-16 Thread Tauno T
Hi, I added a new contact in the default Contacts app and added all possible IM names to it. If I click any of the IM options later, then the following Intents are triggered: Intent { action=android.intent.action.SENDTO categories={com.android.im.category.MSN} data=im:name } Intent {

[android-developers] Re: scrolling listview loses background color/drawable

2008-10-07 Thread Tauno T
Added as issue 946 if anyone is interested.. http://code.google.com/p/android/issues/detail?id=946 Tauno On Sep 29, 10:27 am, Tauno T [EMAIL PROTECTED] wrote: There must be something else you're doing that was wrong. Can you please explain what's wrong in this setup? :) New project

[android-developers] Re: What is google's official position on JNI ?

2008-10-01 Thread Tauno T
Isn't it a little .. how do I say it.. unfair to tell us that JNI is not supported at all and then use it in their own apps to make them better and give them more features than are available to the rest of the developers? On Oct 1, 11:49 am, Volker Gropp [EMAIL PROTECTED] wrote: Hi Ranjeet,

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-29 Thread Tauno T
:0) * Code: public class ListViewTest extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } } It smells and looks like a bug to me personally. On Sep 26, 11:08 am, Tauno T

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-26 Thread Tauno T
Has anyone figured out a workaround for this? I'm running out of ideas myself :( On Sep 24, 11:24 am, Tauno T [EMAIL PROTECTED] wrote: I'm having the same issue. A ListView is inside of a LinearLayout and the LinearLayout has a semi- transparent background. The background diappears while

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-26 Thread Tauno T
Ok, managed to fix it by adding android:scrollingCache=false to the ListView. From the dox it seems that it makes scrolling a little slower but I didn't notice any difference (have a list with ~100 entries) - I guess it's too small to notice with my primitive list :) On Sep 26, 9:30 am, Tauno T

[android-developers] Re: SDK1.0 and 0.9

2008-09-26 Thread Tauno T
Release notes for 1.0r1: http://code.google.com/android/RELEASENOTES.html Overview of changes in 1.0r1 compared to 0.9: http://code.google.com/android/migrating/0.9-1.0/changes-overview.html API differences in 1.0r1 compared to 0.9: http://code.google.com/android/migrating/0.9-1.0/changes.html

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-26 Thread Tauno T
color hint is all you need to do. Could you show me your XML layout file? On Thu, Sep 25, 2008 at 11:41 PM, Tauno T [EMAIL PROTECTED] wrote: Ok, managed to fix it by adding android:scrollingCache=false to the ListView. From the dox it seems that it makes scrolling a little slower but I

[android-developers] Re: intercept incoming and outgoing calls and have customized screen

2008-09-26 Thread Tauno T
You could do that but there's a catch if you want to see the changes on a real device - you would have to push the changed Android source code to phone manufacturers so they use your modified version of the OS on new phones. Correct me if I'm wrong.. On Sep 26, 11:02 am, Pulkit Arora [EMAIL

[android-developers] Re: Vote: a device G1 for each ADC entrance

2008-09-26 Thread Tauno T
Did Apple give every app developer a free or otherwise special device? No. Is Symbian giving free (or selling) new devices to developers who can't buy them officially? No. Is Sun giving free (or selling) J2ME enabled devices to developers who can't buy them officialy? No. The same goes for

[android-developers] WebView and #links

2008-09-25 Thread Tauno T
Hi all! I have a problem with WebView. If I call loadData() with a String parameter that has an anchor with a href that contains the symbol # then the WebView will not render anything after that statement. For example: loadData(a href=\#tips\Jump to the Useful Tips Section/aa name= \tips\Useful

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-24 Thread Tauno T
I'm having the same issue. A ListView is inside of a LinearLayout and the LinearLayout has a semi- transparent background. The background diappears while scrolling the ListView with the mouse. Adding android:cacheColorHint=# to the LinearLayout has no effect. On Sep 24, 11:02 am,

[android-developers] (documentation) Is there a typo in ViewTreeObserver.dispatchOnPreDraw() ?

2008-09-24 Thread Tauno T
From the dox: ...If a listener returns true, then the drawing pass is canceled and rescheduled It seems to be the opposite. I tried it and if my listener returns true, then the view hierarchy will draw just fine but when my listener returns false, then the hierarchy won't be drawn. Or am I

[android-developers] Determining if an Activity is visible

2008-09-22 Thread Tauno T
Hi all! A quick question - is there a way to determine if an activity is visible to the user or not? I'd like to display a notification to the user but only then when the user is not seeing any of my Activities. I figure that one possibility is to raise a flag in onResume() and lower it in

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Tauno T
I wonder if this will be possible on real devices? It should be according to the All applications are equal statement but has anyone further info regarding this? On Sep 17, 8:01 am, Megha Joshi [EMAIL PROTECTED] wrote: Unfortunately, you cannot intercept incoming calls in the sdk. 2008/9/16

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Tauno T
I don't agree that changing the in call screen/incoming call screen/ outgoing call screen should be only available to handset manufacturers/ operators. A phone could do SO much more when applications could somehow hook into these screens (or even control the voice streams). Imagine an