[android-developers] Re: Using StaticLayout with a canvas to draw text.

2011-07-09 Thread lilbyrdie
The translate() method is, indeed, the easiest. For instance, canvas.save(); canvas.translate(25.0f, 15.0f); layout.draw(canvas); canvas.restore(); -- 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] Re: Handling Network Unavailability

2009-10-07 Thread lilbyrdie
I think the question you're asking is simple: When network is lost, the SDK doesn't detect this and thinks it's valid still. Thus, it still tries to use it. But, since it's not there, nothing happens. How can this be resolved? If that's your question, I share that question. On Sep 16, 11:38 

[android-developers] Re: ScreenDensity for WVGA in Donut Emulator

2009-09-16 Thread lilbyrdie
Hi, WVGA should be 800x480 pixel resolution. I would hope that the emulators would all draw pixel-to-pixel on whatever screen you're running on. That means they would all technically get the same pixel density -- the host machines. However, the idea is the simulate hardware that is of a

[android-developers] Re: App Widget and Orientation Changes

2009-09-14 Thread lilbyrdie
's home screen rotates when you slide out the keyboard. Right, thanks. lilbyrdie, I can confirm that my caching solution also works when the screen is rotated. Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain

2009-09-14 Thread lilbyrdie
I think it's best to think of WebView as little more than a rendering engine. If you want to implement a Web Browser, you have to do that yourself. WebView isn't intended to be a little micro-embedded web browser. On Sep 14, 8:22 am, Photics m...@photics.com wrote: Heh... wow... this is

[android-developers] Re: App Widget and Orientation Changes

2009-09-02 Thread lilbyrdie
Also, I don't think this is related to the configuration issue reported (and confirmed) here: http://groups.google.com/group/android-developers/browse_thread/thread/869afdb312fc1e76/cb49f5e728430e75 But, if it is, that would be nice to know. On Sep 1, 2:07 pm, Lee lee.wil...@googlemail.com

[android-developers] Re: App Widget and Orientation Changes

2009-09-02 Thread lilbyrdie
I'm using setImageViewResource. I find it odd that it persists when an Alarm is set, but not when an Alarm isn't set. Are you saying that for your widget your aren't configuring an update at all (e.g. just a static widget) via the widget configuration or manually? On Sep 1, 2:07 pm, Lee

[android-developers] Re: Can't get my widget to show up?

2009-09-02 Thread lilbyrdie
Right away I see two things: I notice that you're setting the minimum SDK to v1.1 when App Widgets require v1.5. e.g. you have: uses-sdk minSdkVersion=2 / but you probably want uses-sdk minSdkVersion=3 / Second, your receiver blocks are not within the application block. Chances are, this is

[android-developers] Re: Bug report: widget does not load if the orientation changes during the configuration

2009-09-02 Thread lilbyrdie
I'm curious; what's in your widget? Is it a simple layout or a complex layout? A couple of us are seeing parts of our widgets become phantom on orientation changes (see here: http://groups.google.com/group/android-developers/browse_thread/thread/292892b7888bdfc5). On Aug 3, 4:03 pm, Derek

[android-developers] App Widget and Orientation Changes

2009-09-01 Thread lilbyrdie
Hello, I've built an app widget -- a fairly simple one -- that draws an image inside a frame. (If that sounds familiar, that's because it's very similar to the built-in one, but it's a start to something else.) The RemoteView consists of little more than a FrameView and an ImageView. I have a

[android-developers] Re: Render OpenGL to regular View (not GLSurfaceView)

2009-08-19 Thread lilbyrdie
That would depend on your definition of regular View, I suppose. For my uses, I can use a GLSurfaceView as a regular view as for as layout goes. What did you need it to do that you can't do? On Aug 19, 6:49 am, Deren adam.d0...@gmail.com wrote: I've noticed that OpenGLContext is removed from

[android-developers] Re: why would a javascript alert doesn't show on a locally loaded html file through webkit?

2009-08-19 Thread lilbyrdie
Have you looked at WebChromeClient? http://developer.android.com/reference/android/webkit/WebChromeClient.html You'll likely need to override onJsAlert(). You'd then need to add it to your WebView via setWebChromeClient(). On Aug 18, 11:45 pm, Satya Komatineni satya.komatin...@gmail.com wrote:

[android-developers] Re: Resolution

2009-08-19 Thread lilbyrdie
In addition what what Mark said, you can use the emulator to test with the QVGA skins, too (320x240 and 240x320). Those resolutions should help quickly reveal any obvious layout problems. On Aug 19, 6:06 am, Sukitha Udugamasooriya suk...@gmail.com wrote: Hi I have created an application and

[android-developers] Re: Gallery usage without using styleable

2009-05-13 Thread lilbyrdie
the background: imageView.setBackgroundResource(mGalleryItemBackground); I hope this helps someone. On May 12, 12:43 pm, lilbyrdie kf6...@gmail.com wrote: Hello, I'm trying to find the correct new way to do image Gallery items, previously (as also documented here:http

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-05-13 Thread lilbyrdie
I couldn't find an open issue for this, so I opened a new one: http://code.google.com/p/android/issues/detail?id=2660 On May 12, 6:33 pm, lilbyrdie kf6...@gmail.com wrote: I also have the same issue where twoemulatorinstances can't call orSMSeach other like they could before

[android-developers] Gallery usage without using styleable

2009-05-12 Thread lilbyrdie
Hello, I'm trying to find the correct new way to do image Gallery items, previously (as also documented here: http://developer.android.com/guide/tutorials/views/hello-gallery.html and here http://developer.android.com/reference/android/widget/Gallery.html) the correct way was to apply

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-05-12 Thread lilbyrdie
I also have the same issue where two emulator instances can't call or SMS each other like they could before (and simulated SMS or calls to them do work -- it's as if the problem is just an outbound one?). Has anyone made any progress on this? The documentation implies that it should still work,