[android-developers] Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread brian.schim...@googlemail.com
Hi there, I know that many people are complaining about slow emulator performance, and mostly it can't be helped because of slow hardware and the fact that emulators somehow have to be slow by definition because of the way they work. But something really puzzles me: I'm using a dual boot configur

[android-developers] Re: Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread brian.schim...@googlemail.com
To answer your questions: I was using Ubuntu two different hardware setups, both had 2 GB Ram installed, about 75% of which was free. See below for an output of "free". As far as I can tell (that is, as far as "java -version" tells me), I'm using Sun's Java: java version "1.6.0_16" Java(TM) SE Ru

[android-developers] List of private / hidden / system APIs?

2009-03-12 Thread brian.schim...@googlemail.com
In this post http://groups.google.com/group/android-developers/browse_thread/thread/bedd7b2dcfad5e97/6257106b3d301527 i've read about all that stuff about private APIs which are annotated with @Hide. The presence of hidden APIs is not as well-known as the "All Apps are equal"-mantra, but I think

[android-developers] Re: List of private / hidden / system APIs?

2009-03-13 Thread brian.schim...@googlemail.com
Hi, > MosthiddenAPIs are used by the framework itself and not by > applications. Some applications do usehiddenAPIs but we definitely > want to fix them to compile with the SDK. Does this mean those APIs, e.g. reading contacts, will be made a "public" part of the SDK? > > But I'm afraid there ma

[android-developers] Re: List of private / hidden / system APIs?

2009-03-16 Thread brian.schim...@googlemail.com
Thank you for your answers so far, but I still think you're getting me wrong. I'm not planing to use private APIs - at least not as long as they remain private. I'm trying to create high quality software and I know that hacking won't get me there. But it would be nice if Google (or the Open Hand

[android-developers] How to browse deeper into /data/data/package/app_/

2009-04-17 Thread brian.schim...@googlemail.com
Hi, my app is creating a directory by using File thisDir = getDir("mycustomname", Context.MODE_WORLD_WRITEABLE); It is stored at /data/data/package/app_mycustomname/ I can browse that directory with DDMS or with 'adb shell', of course, it is empty. My App then creates some subdirectories there

[android-developers] List items not clickable when using ListAdapter, but clickable with SimpleAdapter

2009-05-13 Thread brian.schim...@googlemail.com
Hi, I was populating a list with a SimpleAdapter like this: final List> data = someObject.getData(); SimpleAdapter dataAdapter = new SimpleAdapter (this, data, R.layout.listline, from, to); listView.setAdapter(dataAdapter); listView.setOnItemClickListener(...); The listV

[android-developers] SDK 1.5 - where has aapt gone?

2009-05-18 Thread brian.schim...@googlemail.com
Hi there, I'm currently very confused about the 1.5 SDK. I used to call aapt.exe from my build script, but the new SDK does not contain aapt any more. Is there any replacement, or can I use on old version of aapt without getting into more problems? To be more precise, I was using autoandroid / a

[android-developers] Understanding build.xml in SDK version 1.5 - where are the targets?

2009-05-18 Thread brian.schim...@googlemail.com
Hi there, I just tried to figure out the build.xml from the SDK 1.5. I used "android update project" an an existing project and got a very short build.xml. When I strip out all the comments, this is what's left:

[android-developers] Getting the manifest.xml of applications from the market?

2009-05-20 Thread brian.schim...@googlemail.com
Hi there, is there some way to retrieve the manifest.xml of an application from the market, without installing the application? I think the official Market Application somehow get this file (or at least parts of it) to show needed permissions, etc. before installing. I'd be interested in seeing t

[android-developers] Re: Emulator on Linux 10 times slower than on Windows

2009-12-08 Thread brian.schim...@googlemail.com
t; On Dec 7, 5:49 pm, Michael MacDonald > wrote: > > > I've had bad Linux/hardware interactions with the emulator from audio. > > The emulator AFAIK uses the SDL audio libraries.  Try starting the > > emulator from the command line with the -noaudio flag and see if that > >

[android-developers] Soft references freed too early

2009-07-23 Thread brian.schim...@googlemail.com
Hi there, I'm using a caching mechanism for some objects which have a small memory footprint but are computation expensive to instantiate. Also, I'm using a loop to prebuffer all those objects on application startup, so that they are already in my cache when my UI starts displaying them later. R

[android-developers] ListView: invisible dividers still take up space. Is it a bug or a feature?

2009-07-30 Thread brian.schim...@googlemail.com
I'm using a ListView with a custom ListAdapter and a custom Drawable as divider. My list contains active elements and passive ones as well. By default, the ListView draws a divider only between two active items. This is exactly what I want it to do, expect that ListView leaves "dividerHeight" pix

[android-developers] ListView turns black when focused/selected, although I already set cacheColorHint to transparent

2009-07-31 Thread brian.schim...@googlemail.com
Hi there, first of all, sorry for always complaining about ListView. For standard tasks it works perfectly, but in my current project, it seems that I'm just pushing it beyond its limits sometimes, or maybe beyond the limits of my understanding :) My list, which contains transparent items, used t

[android-developers] How to style my own styleable with a style? (Custom view class with custom attribute)

2009-07-08 Thread brian.schim...@googlemail.com
Hi, I'm creating my own View class, and defining custom xml attributes with a attrs.xml. As long as I provide each attribute manually, there is no problem, but To be honest, I don't understand the proper use of the attributes "id" and "name" in the above co