Does android support Google Gear?

by ying lcs » Wed, 11 Mar 2009 03:10:27 GMT


Sponsored Links
 Hi,

Does android support Google Gear? if yes, does it uses sqlite3
Database to save stuff?
And how can I dumb the content of sqlite3 database at a command prompt?

Thank you.

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



Does android support Google Gear?

by Mark Murphy » Wed, 11 Mar 2009 03:16:30 GMT


 


The built-in Browser application does, if the user enables it.


Probably.


I do not know what you mean by "dumb the content". Moreover, if Gears
does have a SQLite database, it will be owned by the Browser process,
meaning it would not be available to you on a production Android device,
for security reasons.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

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


Sponsored Links


Does android support Google Gear?

by ying lcs » Wed, 11 Mar 2009 04:31:01 GMT


 Thank you.

By "dumping the content", I mean displaying what are the database
column, database row content.

Is that possible on the emulator?   by opening a shell to it and run
some commands?

Thank you.





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



Does android support Google Gear?

by Mark Murphy » Wed, 11 Mar 2009 04:34:16 GMT


 


The sqlite3 command is built into the emulator, and you can use it and
".dump" to dump a database's contents. Please refer to the SQLite
documentation for details on sqlite3:

 http://sqlite.org 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

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



Does android support Google Gear?

by Diego Torres Milano » Fri, 13 Mar 2009 05:53:50 GMT


 



It's possible.
For example, after running "Gears Database Demo" and entering some
values into it opn the emulator and
# cd /data/data/com.android.browser/gears/code.google.com/http_80
# # sqlite3 'database-demo#database' <<!
Heeloooo|1236894032405
This is|1236894036105
Gears|1236894040152

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



Other Threads

1. Links in TextView

I have a very simple string resource defined as:

<string name="txtCredits">Search using <a href="http://
www.google.com">Google</a></string>

And I have a very simple TextView that displays the string.

        <TextView android:layout_width="wrap_content"
                android:layout_height="wrap_content" android:text="@string/
txtCredits"
                android:autoLink="web" android:id="@+id/infoTxtCredits"
                android:linksClickable="true"></TextView>

I want the user to be able to click on a link in the TextView and have
it opened in the browser (not in my application).  The links in my
text view look clickable, but they are not.  They do not respond to
any user action.

But if I change my string to:

<string name="txtCredits">www.google.com</string>

The link is highlighted and the user can click on it and the browser
opens.

I don't want my link text to be "www.google.com", I want the link text
to be the word "Google."

What am I doing incorrectly?

-- 

2. Newbie and Dreamer

Salam Kenal buat para suhu suhu disini,..
setelah beberapa kali mengikutin milis ini,..akhir mutusin beli HTC
Dream..pengen beli Hero dana nya belom mencukupin nih...hehehe..
ini lagi di cas..abis utak-atik tadi..so far sih okeeyyy...trus langkah apa
nih selanjutnya biar dream gw makin oke.
Thanks.

-- 
"Indonesian Android Community [id-android]" 

3. private input method

4. How to obtain a google developer phone in germany?

5. How to obtain a google developer phone in germany?

6. Android Bottombar with two buttons having different backgrounds and a common background for two buttons

7. Getting Access of Mp3 data using MediaPlayer in Android