geodb file for version1.0 ?

by DMT » Wed, 31 Dec 2008 02:10:24 GMT

Sponsored Links
 Anyone know if/how the geodb file can be populated in Android version
1.0 SDK?
I was able to use the geodb file in version m5-rc15 but it doesn't
seem to be available in 1.0.
If anyone has been able to put geodb to use in v.1.0 pls. let me know
how, thanks.


Other Threads

1. Connect to a SQL Database


Im triying to connect to a SQL Database with Android, this is my code:

package com.example.conversor;
import java.sql.*;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;


try {
} catch (Exception e) {

try {
DBConnSQL = DriverManager.getConnection("jdbc:sqlserver://zeus:
} catch (Exception e)

And this is what i get:

07-07 11:16:27.450: ERROR/jdwp(1597): Failed sending reply to
de{*filter*}: Broken pipe
07-07 11:16:29.832: ERROR/dalvikvm(1605): Could not find class
'javax.sql.XAConnection', referenced from method
07-07 11:16:29.931: ERROR/AndroidRuntime(1605): Uncaught handler:
thread main exiting due to uncaught exception
07-07 11:16:29.983: ERROR/AndroidRuntime(1605): java.lang.VerifyError:
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at Source)
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at$1800(
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at$H.handleMessage(
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
java.lang.reflect.Method.invokeNative(Native Method)
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at$
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
07-07 11:16:29.983: ERROR/AndroidRuntime(1605):     at
dalvik.system.NativeStart.main(Native Method)

SQL Server is correctly installaed and configured, and receiving
Querys from other app.



2. weird behaviour with WebView.loadDataWithBaseURL

i install a WebViewClient to intercept links using 
shouldOverrideUrlLoading(). i fetch the URL content myself, 
preprocess it, then feed it to the browser using 
loadDataWithBaseURL(). as the base URL, i use the original URL of the 

this mechanism has been working reliably for a while, but recently it 
broke and i'm not sure what's going on. the symptoms i'm seeing are 
inconsistent despite the same inputs being presented. most of the 
time, the WebView displays the contents of the base URL, completely 
ignoring the "data" parameter. this is despite the preprocessing 
actually taking place and verifiably producing the correct output 
(which btw contains no links, relative or otherwise).

after reading the documentation on the loadDataWithBaseURL() method, 
which includes a note on file: URLs etc, i've been playing with the 
baseURL to see if that changes the behaviour. passing null as the 
base URL usually results in success, but of course i need relative 
links to work properly so it's not going to fly as a real solution. 
passing an http: URL initially worked, but after a few iterations 
broke, and the WebView then started just displaying the content of 
the http: baseURL.

all of this time, the failURL parameter was set to null, just so i'd 
be sure that it wasn't showing that instead.

also, Javascript and file access is enabled on the WebView via the 
WebSettings API.

IMHO, the WebView should never display the contents of the base URL. 
it's there as a string only in order to provide context for relative 
links in the data. i see notifications in my WebViewClient that it's 
calling onPageStarted() and onPageFinished() for the base URL, so 
it's doing *something* with it.

IMHO also, the WebView should call an installed WebViewClient's 
onReceivedError() method if errors happen. since 1.5 i have *never* 
seen it do this on Android (the equivalent works on iPhone, as does 
most everything else). i can see the justification for not calling it 
if there is a failURL installed, but not if there isn't.

this is crazy as i'm seeing different behaviour for the same inputs. 
literally i could see something work (like with an http: base URL) 
then rebuild it with *no* logic changes, and it would break.

any help appreciated. btw this list still does not get on with any of 
my addresses - i suspect gmail is filtering posts, now *all* posts 
not just mine, before they get to the per-user spam filter - so 
please copy directly on replies.

thanks much


3. how to suppress Android's soft keyboard?

4. ADC 2 - June: Full Terms and Conditions made available ?

5. Sending files via Bluetooth and Wi-fi

6. What Motivates You as a Developer?

7. info needed on configuring buildbot for android