Is anyone else getting bored of POSTS about announced product releases that don't materialise ...

by clark » Tue, 28 Apr 2009 22:56:06 GMT


Sponsored Links
 On Apr 27, 7:19am, "admin.androidsl...@googlemail.com"


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. searching in HUGE SQLite database

Hi,
  this was already discussed here, but I have another problem with
database search.

I'm testing on one big database, more then 2GB (stored on SD card of
course) with around 1 million of rows in table 'tiles'. Database
contain X, Y, Z coordinates as INT (map index) and byte[] image data.

database is created with this SQLite string which cannot be changed!
CREATE TABLE tiles (x INTEGER,y INTEGER,z INTEGER,s INTEGER,image
BYTE, PRIMARY KEY (x, y, z, s));

And all I want is to get all available Z values in database like by
this
SELECT DISTINCT z FROM tiles

But after around 5 minutes of loading (time isn't problem here) logcat
return
  android.database.sqlite.SQLiteDiskIOException: disk I/O error

have you please any tip how to solve this??

-- 

2. Spinner drop-down with blank lines

Hello,

One of my users has reported a mysterious behaviour with a spinner
which I so far have been unable to reproduce. When pressing the
spinner, a list of blank (empty) items appears. Only when selecting an
item does the spinner display the relevant text associated with the
item. The number of blank lines correctly corresponds to the expected
number of items in the spinner.

Here is the code I use for populating the spinner, which is executed
in the onPostExecute method of an AsyncTask:

String[] spinnerArray = new String[]{...}; // array contents omitted.
ArrayAdapter<String> adapter = new ArrayAdapter<String>(ctx,
android.R.layout.simple_spinner_item, spinnerArray);
spinner.setAdapter(adapter);
spinner.setSelection(0);

This is pretty standard as far as I can tell.

Has anybody encountered behaviour similar to what is described above?
Any idea what might be going wrong?

Any suggestions would be greatly appreciated.

Best,
Michael.

-- 

3. Howto? identify the inflated resource

4. Turning off "save to SD Card"...problem?

5. Window token is always null

6. Using a bitmapdrawable to repeat an image and translate it

7. GPS turned on automatically on some devices?