[android-developers] Tap Outside Listener for Dialog

2009-04-30 Thread UBZack
Hi all, I was wondering if anyone knew of an event listener that receives tap outside events, that is, taps that happen outside the widget's physical boundaries, and could this listener be assigned to a dialog box (or for that matter, any visual window). Here's what the code MIGHT look like to

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Tom Gibara
Define 'meaningful'. In this context: process state is meaningful to me if its exposed in a form that I can reason about competently. I would find it easier to reason about the state of the media player as exposed by the type of API I described above than that exposed by the API at present.

[android-developers] How to run android widget example in emulator

2009-04-30 Thread Daniel Dreiberg
Hi, Can you please tell me how can I deploy the widget example to my emulator? http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Instrumentation for Dialog's and alike

2009-04-30 Thread Rick
I've seen a few posts with no answer. Consider this scenario: I use Android's InstrumentationTestCase to run functional testing through a complex application with many activities and services running. Most of it works well, but if I invoke a menu item through the instrumentation that creates a

[android-developers] Re: Cupcake's bug ? Caused by: android.content.res.Resources

2009-04-30 Thread Jeff Sharkey
So the root cause is back in your XML code: Caused by: android.content.res.Resources $NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x1010059 a=-1} Are you setting an android:background or android:src to something that isn't a @drawable? j On Thu, Apr 30,

[android-developers] Re: Is there a way to define default attributes of a Widget as applicable the application in context

2009-04-30 Thread Jeff Sharkey
So with AppWidgets you can't rely on the android:theme, since it is applied to an entire window, and home screens typically use one theme for their entire window. One way of implementing different styles is to have multiple layouts, internally store the user's preference, and build each new

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-30 Thread Ward Willats
At 11:23 AM -0700 4/30/09, fadden wrote: It's possible that it didn't actually jump back down. The event log shows results from all running processes, not just your app, so you may be seeing output from other things mixed in. Ah, OK. Now I see a steady increase in my limit and allocs from 1.1

[android-developers] Re: android 1.5: How do we use the AudioTrack class?

2009-04-30 Thread blindfold
Has anybody had any success with OnPlaybackPositionUpdateListener? I'm successfully playing one-second PCM sound clips with AudioTrack in MODE_STATIC mode (although the playback often appears truncated), but no matter what I do, onMarkerReached() is never called. I set

[android-developers] Re: NEW Gesture Recognition Application!

2009-04-30 Thread Michael Elsdörfer
check out our blog and demonstration video and comment to let us know what you think. I don't like having to click on a button (Call, SMS etc) after drawing the gesture. Instead, I'd like to see the app doing that by itself depending on where the gesture was defined. Apart from that,

[android-developers] Re: OutOfMemoryError from BitmapFactory

2009-04-30 Thread Streets Of Boston
In my app, i've been dillegently 'unloading' bitmaps when i need memory. I clear out as much as I can. E.g. when a view becomes invisible (onPause) or just before you start loading a big bitmap: - do a setImageBitmap(null) (or similar methods, depending on which class of View you're actually

[android-developers] paint individual button - please help!

2009-04-30 Thread guruk
hi, i know i can set a drawable as background to a button. but HOW can i for example: create/paint a small image in the size of a button and set this as the backgroundimage of that button? please help. just some lines how to create an image *for example just two different dots* and how to set

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-30 Thread guruk
ok, lets forget about drawable. finaly can someone help with a small source: - create a small image / lets say two small dots with two colors. - set this image as background of a button. than i am quit happy :) thanks chris On Apr 3, 11:19 am, Peli peli0...@googlemail.com wrote: I guess

[android-developers] Re: Tap Outside Listener for Dialog

2009-04-30 Thread Jeff Sharkey
So Theme.Dialog Activities still receive onTouchEvent() calls, even outside of their floating window area. If you can grab the exact window size, you could do the math to figure out if touches are outside the window. j On Thu, Apr 30, 2009 at 11:46 AM, UBZack zferv...@gmail.com wrote: Hi

[android-developers] Re: How to run android widget example in emulator

2009-04-30 Thread Jeff Sharkey
svn checkout the source code from Google Code, import as an Eclipse project, and launch. j On Thu, Apr 30, 2009 at 11:56 AM, Daniel Dreiberg daniel.dreiber...@gmail.com wrote: Hi, Can you please tell me how can I deploy the widget example to my emulator?

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-30 Thread Ward Willats
Thanks for these tips. At 1:14 PM -0700 4/30/09, Streets Of Boston wrote: In my app, i've been dillegently 'unloading' bitmaps when i need memory. - clear any bitmap cache I assume you mean any of my own bitmap caches... So far, this scheme has served me well. Before i got a lot of OOM-

[android-developers] SlidingDoor issue #1?

2009-04-30 Thread Sheepz
when adding a slidingDrawer object to my application, i got this error when trying to display it on the main.xml layout view i used that view to create it as the bottommost component, and immediatly got this message in the console window and the layout stopped showing. here is the exception:

[android-developers] SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
when adding a slidingDrawer object to my application, i got this error when trying to display it on the main.xml layout view i used that view to create it as the bottommost component, and immediatly got this message in the console window and the layout stopped showing. here is the exception:

[android-developers] Re: SlidingDoor issue #1?

2009-04-30 Thread dan raaka
you will need to define the handle as well. Take a look at the launcher code for example. Dan On Thu, Apr 30, 2009 at 2:01 PM, Sheepz eladk...@gmail.com wrote: when adding a slidingDrawer object to my application, i got this error when trying to display it on the main.xml layout view i used

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-30 Thread Richard Schilling
I had the same problem but solved it. Perhaps this will help: Make sure the 'gen' directory is part of the java source build path. Right Click on project name (Package Explorer) - Properties (Context Menu) - Java Build Path (tree) - Source (tab) - Add Folder (Button) - gen (directory name) -

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Romain Guy
Do what the exception says: java.lang.IllegalArgumentException: The handle attribute is required and must refer to a valid child. You need to define the widget to use as the handle of the drawer. On Thu, Apr 30, 2009 at 2:02 PM, Sheepz eladk...@gmail.com wrote: when adding a slidingDrawer

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Romain Guy
It *needs* a handle. It's not a bug, it's a requirement to make the widget work. On Thu, Apr 30, 2009 at 2:16 PM, Sheepz eladk...@gmail.com wrote: so you mean i have to put some content in it and only then it will be visilble? even if this is true, it's still a bug - albeit with a much lower

[android-developers] Android Market app suspended. What do I do?

2009-04-30 Thread bryan
I received notice that my application was suspended yesterday around lunch. I've contacted support via email and the publisher support form with no answer as of yet. What can I do to resolve this issue? The violation was that after paid app support hit the UK, a UK company (non-software) with

[android-developers] How to Snap a picture of a Layouts contents?

2009-04-30 Thread Moto
Hi, I need to somehow get a drawable of the contents of a Layout, once I get that drawable I want to set it as a background on an empty layout How can I go about doing this? Thanks! Moto! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Date in sms

2009-04-30 Thread Yves Liu
Thanks. On Thu, Apr 30, 2009 at 1:28 AM, swarup me.s...@gmail.com wrote: try using android.text.format.DateUtils.formatDateTime(Context context, long millis, int flags) also look at /packages/apps/Mms/src/com/android/mms/ui/ MessageUtils.java : formatTimeStampString() On Apr 30, 1:03 pm,

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
okay, i might be missing something, the reason i think that this is a bug is that if you use the supplied tool, and cannot avoid getting an exception - it's a bug... i don't see any way around it - the way to create this widget is: a) create widget b) get exception c) fix error d) populate it

[android-developers] camCorder not working well in emulator

2009-04-30 Thread Sheepz
hi all, just installed myself a new AVD and set the camera to true, however the camcorder is very unresponsive and seems like it's not working... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Romain Guy
There is a bug indeed, the exception message says the handle is missing, but the content is missing. Check out the javadoc. I'll fix the exception message. On Thu, Apr 30, 2009 at 2:26 PM, Sheepz eladk...@gmail.com wrote: okay, i might be missing something, the reason i think that this is a

[android-developers] Re: Updated to 1.5 and R.java is not regeneratated

2009-04-30 Thread Richard Schilling
I also get this in the message window: [2009-04-30 14:14:15 - MyApp] /MyApp/gen already exists but is not a source folder. Convert to a source folder or rename it. Richard On Apr 30, 2:29 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I have a number of projects that were

[android-developers] Re: OutOfMemoryError from BitmapFactory

2009-04-30 Thread fadden
On Apr 30, 1:39 pm, Ward Willats goo...@wardco.com wrote: It still seems like Voodo to me. If I have to manually call setImageBitmap(null) it implies (to me) that the image view is not being released in the first place, which means the view hierarchy is not being released, even though I have

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
okay, that didnt work :( SlidingDrawer android:id=@+id/SlidingDrawer01 android:layout_width=wrap_content android:layout_height=wrap_content android:handle=@+id/ImageView01 android:content=@+id/ImageView02 ImageView android:id=@id/ImageView01 android:layout_width=wrap_content

[android-developers] Re: Problem with extends TabActivity

2009-04-30 Thread Mark Murphy
rico_1 wrote: Hello! I have problem with extends TabActivity. My code is: import android.widget.TabHost; import android.content.Intent; import android.app.TabActivity; import android.app.Activity; import android.os.Bundle; public class MyProgram extends TabActivity { /**

[android-developers] Re: App widgets and remote views

2009-04-30 Thread shleeforandroid
Hi Tom Thanks for your reply . Is there any ways to apply animation effect to HomeScreen? I doubted and tested it by using AppWidget API, but it's failed. I can see some changes on RemoteViews' imageView. On May 1, 3:26 am, Tom Gibara m...@tomgibara.com wrote: There's no way of applying an

[android-developers] Re: Updated to 1.5 and R.java is not regeneratated

2009-04-30 Thread Xavier Ducrohet
When updating an old project that doesn't have the gen source folder setup, it first detects if the gen folder already exists, and if so, generates this error. The idea was to not convert and pre-existing gen folder (or file) into an Eclipse source folder. Are you sure you didn't have the gen

[android-developers] Re: Eclipse + cupcake + other android projects in build path = VerifyError

2009-04-30 Thread Xavier Ducrohet
Hello, Editing the .classpath is a good solution. Let me explain why. ADT supports referenced projects so that you can have library projects reused by your main Application project. In the past, the build system provided by ADT just looked at the list of referenced projects, and added their

[android-developers] Re: Maps Intent in CupCake

2009-04-30 Thread agirardello
Create a new AVD with: android create avd -n my_androidMAPS -t 3 and then use it while running your app! ;) On Apr 30, 1:14 pm, agirardello andrea.girarde...@gmail.com wrote: I have the same problem!!! Any help? On Apr 29, 6:55 pm, khose marcos.hdez@gmail.com wrote: Hello!

[android-developers] Re: Eclipse + cupcake + other android projects in build path = VerifyError

2009-04-30 Thread Guillaume Perrot
Android lib projects would be a good feature. But why not having a dependency system between APKs like debian packages ? 2009/5/1 Xavier Ducrohet x...@android.com Hello, Editing the .classpath is a good solution. Let me explain why. ADT supports referenced projects so that you can have

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Nik Bhattacharya
What if I want to animate a view (lets say a button) in an S shape from the top right of the screen to the bottom left of the screen? Use a FrameLayout and then have a whole bunch of translate animations that I have to hand-code? With a handler and an AbsoluteLayout, I can do this easily wherein

[android-developers] Re: How to Snap a picture of a Layouts contents?

2009-04-30 Thread dan raaka
Bitmap b = Bitmap.create( ); Canvas c = new Canvas(b); your_view.draw(c); use b to in setDrawable else where there are missing lines, but you should get the idea Dan On Thu, Apr 30, 2009 at 2:23 PM, Moto medicalsou...@gmail.com wrote: Hi, I need to somehow get a drawable of the contents

[android-developers] Re: Quality of paid applications on the Market...

2009-04-30 Thread Rob Franz
I was going to let this thread die but I saw this and had to add on to it because I think it reinforces the need for better filtering options in the Market. I posted this originally because I came across one particular developer (I won't mention the name, but you can find him easily) who's

[android-developers] Re: Quality of paid applications on the Market...

2009-04-30 Thread Josh Dobbs
Let the users filter them. Eventually those apps will fall to the bottom of the list (if they havent already). Apple has an approval process and they still have tasteless apps get thru. On Thu, Apr 30, 2009 at 3:42 PM, Rob Franz rob.fr...@gmail.com wrote: I was going to let this thread die but

[android-developers] Re: Porting 1.0 to 1.5, map tiles stopped displaying

2009-04-30 Thread Ron
I had to generate a new Google maps key using the new keystore in my project before the tiles would show. On Apr 29, 8:44 pm, JP joachim.pfeif...@gmail.com wrote: I started porting a functioning 1.0 app to 1.5 last night. It uses MapView and associated classes and everything checks out on 1.0.

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-30 Thread John B. Hansen
I also checked and the 'gen' dir is in my java source build path. Its still not working. jh On Apr 30, 2:54 pm, John B. Hansen jnahan...@gmail.com wrote: I have the same problem i.e. after converting to Android 1.5 SDK, my project files won't compile due to dozens of R.* files cannot be

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Romain Guy
Just use an AnimationSet containing several TranslateAnimation. On Thu, Apr 30, 2009 at 3:37 PM, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: What if I want to animate a view (lets say a button) in an S shape from the top right of the screen to the bottom left of the screen? Use a

[android-developers] Re: How to Snap a picture of a Layouts contents?

2009-04-30 Thread Romain Guy
You can also use the View's drawing cache API. On Thu, Apr 30, 2009 at 3:38 PM, dan raaka danra...@gmail.com wrote: Bitmap b = Bitmap.create( ); Canvas c = new Canvas(b); your_view.draw(c); use b to in setDrawable else where there are missing lines, but you should get the idea Dan

[android-developers] Re: Quality of paid applications on the Market...

2009-04-30 Thread Marco Nelissen
On Thu, Apr 30, 2009 at 3:42 PM, Rob Franz rob.fr...@gmail.com wrote: I was going to let this thread die but I saw this and had to add on to it because I think it reinforces the need for better filtering options in the Market. I posted this originally because I came across one particular

[android-developers] Re: paint individual button - please help!

2009-04-30 Thread nEx.Software
I would extend Button, then in the constructor do setBackgroundDrawable (null); then override onDraw and do your custom drawing there. If you want to draw once, create and draw a Bitmap and store it in a local variable for reuse. On Apr 30, 1:15 pm, guruk ilovesi...@gmail.com wrote: hi, i know

[android-developers] Re: out of memory exception on transferring large file to DataOutputStream

2009-04-30 Thread zeeshan
I used httpclient but i got 411 error code! i am desperately looking for any solution to avoid buffering for my audio streams. any help would be appreciated On Apr 29, 12:39 pm, zeeshan genx...@gmail.com wrote: Hi Mike, thanks for the reply. this link is very helpfull but my problem is

[android-developers] Re: Quality of paid applications on the Market...

2009-04-30 Thread Rob Franz
Nothing, but when he's charging $5 for an app with info that you could google easily, you really kind of see what he's after. If you look at the feedback for his other apps, there's a recurring theme - he's almost a scam artist... Just saying. On Thu, Apr 30, 2009 at 6:49 PM, Marco Nelissen

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Nik Bhattacharya
So if I have a fine grained animation that moves along a complex curve, I will have to have potentially hundreds of translate animations in my anim file? Just to implement the S movement, along a HVGA screen, I could see a lot of linear translate animations in the animation set. How long will

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Romain Guy
Then write a custom Animation class, which should not be different than what you are doing already. On Thu, Apr 30, 2009 at 4:31 PM, Nik Bhattacharya nik.bhattacha...@frogdesign.com wrote: So if I have a fine grained animation that moves along a complex curve, I will have to have potentially

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-04-30 Thread Nik Bhattacharya
That is a much better answer. I can certainly live with that. Nik On Apr 30, 6:32 pm, Romain Guy romain...@google.com wrote: Then write a custom Animation class, which should not be different than what you are doing already. On Thu, Apr 30, 2009 at 4:31 PM, Nik Bhattacharya

[android-developers] SurfaceView on G1

2009-04-30 Thread petunio
Hi I am finally testing my application on a G1 and even though it works fine on the emulator, it crashes on the G1 it crashes when it does: setContentView(R.layout.mylayout); the xml is fairly simple: com.google.android.myproject.myView

[android-developers] Re: Quality of paid applications on the Market...

2009-04-30 Thread Josh Dobbs
I don't really think it's an issue at this point. Especially since you can get a refund up to 24 hours after purchase. On Thu, Apr 30, 2009 at 4:18 PM, Rob Franz rob.fr...@gmail.com wrote: Nothing, but when he's charging $5 for an app with info that you could google easily, you really kind of

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-30 Thread Xavier Ducrohet
Did you setup the Build target for your older project? Xav On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen jnahan...@gmail.com wrote: I have the same problem i.e. after converting to Android 1.5 SDK, my project files won't compile due to dozens of R.* files cannot be resolved. I've tried:

[android-developers] Re: Maps Intent in CupCake

2009-04-30 Thread Xavier Ducrohet
That is correct. A few more details for everyone. Maps is not bundled on the default Android 1.5 System Image bundled with the SDK. Because your app doesn't actually use the Maps API (ie doesn't have uses-library with maps), it will install on devices that do not have Google Maps. Therefore: -

[android-developers] Re: SurfaceView on G1

2009-04-30 Thread Dave Sparks
Do you have a stack trace from the log? On Apr 30, 4:51 pm, petunio juanjosegilmen...@hotmail.com wrote: Hi I am finally testing my application on a G1 and even though it works fine on the emulator, it crashes on the G1 it crashes when it does: setContentView(R.layout.mylayout); the xml

[android-developers] Re: widget views

2009-04-30 Thread shleeforandroid
Hi Jeff I'm happy your comment of possible to implement animation to use Dialog or Translucent theme. please let me knos some detail ways? Thanks shlee On 4월30일, 오전2시31분, Jeff Sharkey jshar...@android.com wrote: ive read the docu for home screen widgets but i couldn't find a possiblity to

[android-developers] Re: SurfaceView on G1

2009-04-30 Thread jj
I dont see any log (seems that it hangs just inside setContentView, which is at the very beginning of the app. I know this because I am able to debug it, and put a breackpoint in this line) anyway, I can get this list of threads... I dont know if that's useful somehow... babel [Android

[android-developers] Re: Video play error

2009-04-30 Thread Dave Sparks
Android does not support playing two video streams at the same time. On Apr 30, 1:48 am, N V nithi...@gmail.com wrote: Hi to all      I am playing 2 videos(.mpg4) at time... Some times its works fine, But some times give error like Cannot Play the Video Can any One tell me Why its

[android-developers] Theme and Styles stores

2009-04-30 Thread Raja Nagendra Kumar
Hi, Any Theme and Style store available for preview and purchase. What is the good source to develop Themes and styles for andorid. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-30 Thread John B. Hansen
Yes, I selected Android 1.1 platform API Level 2. I also made sure src and gen folders were included in the Build path. I also included res folder in Build path but it had no effect. FYI: I am able to build a new Hello World program that just works. But, I can't figure out why that one works and

[android-developers] Re: Searching maps

2009-04-30 Thread JP
To the best of my knowledge... has been discussed before: http://groups.google.com/group/android-developers/browse_thread/thread/bc1e6e1524dcca5a/0c4d20a769e666e5?lnk=gstq=googlenav#0c4d20a769e666e5 On Apr 29, 11:23 am, c.a.jeffer...@googlemail.com c.a.jeffer...@googlemail.com wrote: Hi,

[android-developers] Re: New to Android

2009-04-30 Thread JP
It's been a while since I've seen majorminor-49er. Here's the usual cause: http://forums.sun.com/thread.jspa?threadID=736596 You see this is likely a problem with your Java installation. I suspect you have an old Java version, probably 1.4.2. The bytecode of the android tool has been compiled

[android-developers] When is a good time to require 1.5?

2009-04-30 Thread EboMike
I'd like to add widget support to my app, but I suppose that it'll take quite a while until 1.5 is globally rolled out. I assume that widget support means that I need to compile against 1.5 and set up the minSdkVersion to 3, so I'll effectively lock out anybody with 1.1. Other than adding a

[android-developers] Re: Video play error

2009-04-30 Thread Nithin Varamballi
Thanks for reply... Can know why it is no available, May this feature is not available in android...? Thank You Nithin n v --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: When is a good time to require 1.5?

2009-04-30 Thread JP
My approach exactly. Plus I recommend you install your 1.1-based apk on the 1.5 emulator (or device) to see how it performs. Based on test results, I am preparing to release an 1.1-based update that disables access to a couple of features that I found crashing or hanging when running on 1.5 (BTW

[android-developers] Re: When is a good time to require 1.5?

2009-04-30 Thread EboMike
Yeah, I did that, and I had to make minor changes to a TableLayout so it looked right in an 1.5 environment. The real thing is widget support - I really want to add that soon. I don't want to wait too long, at the same time I don't want to make the app inaccessible to users with 1.1. I

[android-developers] Re: SQLite Pre-populated Database

2009-04-30 Thread hivebrain
Mark, Do you know if after the resource has been moved to the SD card, whether it can be deleted from the package to free up main memory for the user? I am enjoying your book, by the way. --Mike On Apr 11, 6:40 am, Mark Murphy mmur...@commonsware.com wrote: fg1921 wrote: 1. Included the db

[android-developers] Installing App From Eclipse to AVD

2009-04-30 Thread Nmix
Just started testing my apps against the 1.5 SDK and got these console messages when I re-install an app to the AVD. Eclipse project is set to 1.1 and the AVD is 1.5: [2009-04-30 22:22:49 - ...] Starting activity com... on device [2009-04-30 22:22:57 - ...] ActivityManager: DDM dispatch reg

[android-developers] Re: WebView get position within page

2009-04-30 Thread sagar.indianic
Wat type of position are you talking about?? If u want to get position of the text within the webview then you can use javascript for that. Give unique id inside the tag of which you want to get the position. Then use javascript function document.getElementById ('yourId').offsetTop(); On Apr

[android-developers] AudioFlinger - many write blocked for log WARN messages

2009-04-30 Thread Mark Carter
I'm using the MediaPlayer to play audio (mp3) files. I don't think I'm doing anything out of the ordinary, but, during playback, I get many (several per second) log messages like these: 05-01 09:46:20.685: WARN/AudioFlinger(554): write blocked for 47 msecs 05-01 09:46:20.785:

[android-developers] surprise, No process called surfaceflinger listed by ps

2009-04-30 Thread wen yi
After I did a 'ps' I am surprised not to be able to see surfaceflinger process listed even though I saw the binary /system/ bin/surfaceflinger. I didn't find any scripts that starts surfaceflinger and I couldn't figure it out from the code. Can someone explain how native services such as

[android-developers] Re: When is a good time to require 1.5?

2009-04-30 Thread JP
Looks like there is no obvious good answer. Comes back to personal taste. Personally I prefer to offer only one edition/version of my app to avoid confusing the user. Keep in mind as devels we're into this, but the regular user may not be aware of all the complications. Having a phone floating

[android-developers] work around of Animator class

2009-04-30 Thread Honest
I am porting one open gl based applet application to android. In that there is use of Animator class of JOGL. which class i can use instead of it in open gl in android. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: When is a good time to require 1.5?

2009-04-30 Thread EboMike
Actually... that's not a bad idea. Have the user install the 1.1-based app from the market, and if the code detects the 1.5 API, it brings up a dialog and offers an Cupcake version preview for download - that will bring up a link to the dev's site with the .apk for download. Downsides, of

[android-developers] Re: Maps Intent in CupCake

2009-04-30 Thread JP
Xavier, Having exhausted all the below, I find that calling Street View is crashing. Both from the built-in Maps app (as well as my app that calls it). Am I alone with this? Also, map tiles are not displayed with a 1.5-based build of the app. The 1.1-based build using identical source code base

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
anyone else found something here? On Apr 30, 5:43 pm, Sheepz eladk...@gmail.com wrote: okay, that didnt work :( SlidingDrawer android:id=@+id/SlidingDrawer01 android:layout_width=wrap_content android:layout_height=wrap_content android:handle=@+id/ImageView01 android:content=@+id/ImageView02

[android-developers] Re: Tabhost Disappearing List view

2009-04-30 Thread cre
Mark, I got to see the error condition with hierarchyviewer. The ListView is visible but the TextViews that contain the lines of text are missing from the diagram. That is why the list of items does not appear. I did a print screen to capture the diagrams of the error condition and the normal

[android-developers] Re: When is a good time to require 1.5?

2009-04-30 Thread JP
On Apr 30, 9:47 pm, EboMike ebom...@gmail.com wrote: Actually... that's not a bad idea. Have the user install the 1.1-based app from the market, and if the code detects the 1.5 API, it brings up a dialog and offers an Cupcake version preview for download - that will bring up a link to the

<    1   2