I don't know if this is of any help, but since myself, I couldn't put
all linked RadioButtons inside a single RadioGroup element, but
instead, due to how the layout was implemeted, were separated here and
there, I wrote this class:
public class SeparatedRadioGroup
implements CompoundButton.OnChec
Is there an easy way to plug in a list of stored photos in a gallery
view?
--~--~-~--~~~---~--~~
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@googlegroup
your desktop PC to your android client, and how are you
> > receiving and handling these messages in your android client?
> >
> > Are you simply using the ApiDemo classes?
> >
> > On Apr 11, 6:41 am, NTR <[EMAIL PROTECTED]> wrote:
> >
> >
> >
>
At least this works for me.
1. Disable automatic launch targeting from the Run...-dialog
2. Run your project as usual
3. The launch target selector opens. Now it's tempting to click
"Launch emulator", but the trick is
4. Don't do that! Click "Cancel" instead.
5. Quickly launch the project again a
Simply:
setXfermode(new PorterDuff(PorterDuff.Mode.DARKEN));
tatagogo wrote:
> Does anyone know exactly how you set up an Xfermode for use with
> Paint..? I'm trying to set up an XferMode with PorterDuff.Mode.DARKEN
> so that, when assigned, all pixels painted with the Paint call will
> darken t
When I try to send a GTalk message from the GTalk client in my
computer to the emulator client, the following exception is thrown:
ERROR/Checkin(520): Error reporting crash:
java.lang.NullPointerException
ERROR/Notification(6349): This constructor doesn't work correctly
anymore
ERROR/Notification
I'm trying to make my own mockup location providers, but I just can't
get them to work. I have the following file structure in the emulator:
/data/misc/location/house/kml
/data/misc/location/house/properties
The kml file is obtained by saving a path in Google Earth.
Code:
LocationManager locat
s may be better used elsewhere), then you can use a Handler to
> scheduled delayed messages.
>
> On Apr 10, 6:57�am, NTR <[EMAIL PROTECTED]> wrote:
> > As said here:
> >
> > http://groups.google.com/group/android-developers/browse_thread/threa...
> >
> >
You can use a workaround as described in here:
http://groups.google.com/group/android-developers/browse_thread/thread/79fe3f22c0c764cf#
[EMAIL PROTECTED] wrote:
> Do you measure CPU activity in Android, or on your PC?
>
> On Mar 9, 2:44�pm, Peli <[EMAIL PROTECTED]> wrote:
> > If I run
> >
> > Th
! (damn, what a hack :)
NTR wrote:
> As said here:
>
> http://groups.google.com/group/android-developers/browse_thread/thread/8f736492d4ba8e04/51444bb1059a91eb?#51444bb1059a91eb
>
> I noticed the same - Thread.sleep, and also TimerTasks, take 100% of
> my PC's CPU, and also br
As said here:
http://groups.google.com/group/android-developers/browse_thread/thread/8f736492d4ba8e04/51444bb1059a91eb?#51444bb1059a91eb
I noticed the same - Thread.sleep, and also TimerTasks, take 100% of
my PC's CPU, and also bring the emulator to its knees. I'd like to run
a service in the ba
It's also clear that the exceptions are caused by those views, since
whenever I comment them out, everything works just fine.
NTR wrote:
> They were also inside a LinearLayout, and a ScrollView:
>
>android:layout_width="fill_parent"
> android
uite a lot of other stuff above them, but nothing that
should matter, as they aren't parents of those views.
Dan U. wrote:
> I put those within a LinearLayout and it worked fine. Can you post
> more of your layout and/or code?
>
> On a side note, I notice DatePicker likes to throw null p
I've tried including date and time pickers in the XML file, like the
following:
http://schemas.android.com/apk/res/android";
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
But I get:
ERROR/AndroidRuntime(2930): Caused by: java.lang.RuntimeE
Really? Sounds odd. What about the other issues?
Romain Guy wrote:
> > And, if I have a horizontal LinearLayout and put an element in the
> > middle of it, with horizontal FILL_PARENT, the elements on the right
> > of it won't be shown. For workaround, I've set the horizontal span to
> > WRAP
The permissions are:
Anything missing?
Dan U. wrote:
> have you set proper uses-permission settings in androidmanifest.xml?
>
> On Apr 6, 5:36 pm, NTR <[EMAIL PROTECTED]> wrote:
> > I even tried running "emulator -wipe-data" again, but it didn&
So many questions lately...
I've got a WebView inside of a Window (using the dialog theme). It
works fine as long as the website is loaded quickly. In that case, the
WebView resizes the window just correcly. But it seems that if it
takes a while to load the page, the WebView "forgets" to resize t
I even tried running "emulator -wipe-data" again, but it didn't
help...
NTR wrote:
> When I try using the "gps" provider, I get the following:
>
> ERROR/AndroidRuntime(3253): Caused by: java.lang.NullPointerException
&g
When I try using the "gps" provider, I get the following:
ERROR/AndroidRuntime(3253): Caused by: java.lang.NullPointerException
ERROR/AndroidRuntime(3253): at
android.location.LocationManager.createProvider(LocationManager.java:
61)
ERROR/AndroidRuntime(3253): at
android.location.Location
iddle of it, with horizontal FILL_PARENT, the elements on the right
of it won't be shown. For workaround, I've set the horizontal span to
WRAP_CONTENT, but weight to 1.0f.
On Apr 7, 2:54 am, NTR <[EMAIL PROTECTED]> wrote:
> When I have the contents of the Activity on a
When I reload a package from the Eclipse IDE to run in the emulator,
the first mouse click is always discarted when I click the emulator
screen, even if the emulator window is already "selected". Has anyone
else noticed this? Maybe if so, it's not just my computer :P
--~--~-~--~~--
When I have the contents of the Activity on a 9-patch background with
background padding, the texts in the radio buttons and checkboxes go
behind the buttons. Has anyone else experienced this? Is the only
workaround to create a separate TextView for each of those?
See the screenshot: http://users
Ah, thanks a lot!
Dan U. wrote:
> I think you should look at the docs for ViewInflate.
>
> On Apr 5, 6:25 pm, NTR <[EMAIL PROTECTED]> wrote:
> > I see there's a Resources.getView-method, but it returns an
> > XmlPullParser, and I have no idea what to d
I see there's a Resources.getView-method, but it returns an
XmlPullParser, and I have no idea what to do with it. The Views take
an AttributeSet and a "Map inflateParams". What should I pass for
them?
Thanks!
--~--~-~--~~~---~--~~
You received this message because
If the map has several overlapping overlays, I'd like to bring the
selected one to the front. Is this possible?
Also, is there a way to remove an overlay?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Devel
As the subject says, is there a way to kill a service, either from the
DDM console or the emulator?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andro
It takes about a minute for me to connect to the GTalk service. Is
this normal?
--~--~-~--~~~---~--~~
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@google
Also an another problem - the debugger just doesn't attach anymore.
I've tried restarting the emulator several times, but it just stays in
the "waiting for emulator to attach"-state forever. The DDM shows the
debugger, but Eclipse doesn't attempt to connect to it.
--~--~-~--~~-
With the latest SDK, I'm getting a lot of log entries like these:
ERROR/Database(522): Failed to open database file "/data/data/
com.google.android.providers.settings/databases/settings.db" - unable
to open database file
ERROR/Database(522): Failed to open database file "/data/data/
com.google.an
29 matches
Mail list logo