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 andr
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 am
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 variety
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 wrote:
> Heh... wow... this is complicated. In regular
not possible.
>
> > The standard G1'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
--~--~-~--~~~---~--~
Thanks for the info, Lee.
That's quite a work around. I'm also a bit surprised that using a file
directly is more reliable than using a file from within the package.
More curiously, though, is why the file size is being reported
incorrectly at boot time. I wonder if it's also being reported
inco
Is there a definitive list of currently known App Widget defects &
limitations? I know of a few simply because they've been confirmed on
this forum (and have seen them for myself) but it's hard to
distinguish between expected, but limited, behavior, true defects, and
possible unexpected or misuse
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 wrote:
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:
but you probably want
Second, your blocks are not within the block.
Chances are, this is preventing the system from noticing that your
application wants to be a
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 wrote
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 wrote:
> Hello,
>
> > After an
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 se
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 wrote:
> Hi
>
> I have created an application and I want to mak
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
wrote:
> If an html file is local
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 wrote:
> I've noticed that OpenGLContext is removed from 1.5. Everybody say
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 wrote:
> I also have the same issue where twoemulatorinstances can't call orSMSeach
> other like they could before (and simulat
);
I hope this helps someone.
On May 12, 12:43 pm, lilbyrdie wrote:
> 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
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, bu
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.R
19 matches
Mail list logo