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. Is there any Dalvik bytecoder available?

Hi:
As part of my research I implemented a runtime bytecoder for Java apps
based on Javassist. The idea is to introduce code to execute code
remotely based on current context. Since the context is not the same
at every moment, I need to perform the bytecoding at every execution
(if needed).
I tried to port my code to Android in order to test it on mobile
devices (I already tested it on win mobile and iphone using phoneme
and jamvm respectively). However, I could not find any bytecoding tool
available for Dalvik.
Is there any Dalvik bytecoder available or an ongoing project that I
can join/check that is working on this issue?
If not, is there any other alternative beside running a decompiler for
dex files, and modifying it manually?

Thanks,
--Gonzalo

-- 

2. Android and Java Reflection to call a higher API level function/abstract class



Seems like you need to wrap it at a higher level.  Some thoughts on a
reflection alternative are here:

 
http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html

-- 

3. porting dalvik doesn't needs emulator?

4. Problems installing Eclipse with Android.

5. BufferedInputStream buffer size

6. ViewSwitcher with AsyncTask

7. discoverability