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. indexOf(ENTER)

I know this is more of a java question than a android question, but I
know most of you are pro's here an both so I'll ask it here!
Is it possible to search a string that I have taken from an edittext
for when ever the value for new line comes?
But this string might include \n so I want it to ignore that a go for
the value 10 instead. (which is the value for new line if I remember
correctly)
Is this possible or should I use something else of string when I look
for a new line?

Appreciate any answers!
//Andr

-- 

2. DevicePolicyManager - unlock method

Hello,

the DevicePolicyManager (API8) allows applications to add and remove
admin users and to lock the device with the lockNow() method. Is it
planned to also add a complementary unlockNow() method? We developed a
modular authentication system, which can be extended by modules
(graphical authentication, biometric authentication etc), but we need
a way to lock and unlock the screen in case the user cannot or can be
identified through one of the modules.

Thanks in advance.

Kind regards,
Heiko

-- 

3. [WTShare] I AM ANDROID

4. Using DISTCC to compile Native Libraries?

5. Ratingbar problem (Big Size and Wrong Star Count)

6. Why does gmail and market suddenly not connect.

7. Harga Motorola Xoom Dinilai Wajar