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. No place in Google Checkout to set international tax rates. Do we owe? How to Pay?

Paul,

The EU passed a law back in 2003 that requires US based companies selling
digital goods to collect VAT tax on sales to the EU (typically 15-25%). This
was done to try to level the playing field with EU based companies that were
subject to VAT.

In the Google agreement, it passes back responsibility for paying taxes to
the developer. This would require getting the billing addresses of all
customers in the EU and calculating the taxes owed. You'd need to register
your company with the EU and wire them the money (the transfer costs
possibly being more than you actually owe) each quarter. Given that you are
a US based company, they could potentially ban you from selling into the EU
for violation, but if you are big enough to care about, I think that is a
good problem to have.

Of course, no small company or individual delivering digital goods could
survive trying to figure out all the global tax laws. Even if you comply
with the EU, you may be in violation in other countries like Australia or
China. So it's up to you if you want to be in full compliance around the
world (and just close up shop due to the maintenance and legal costs) or if
you'd rather just muddle along the best you can.

Even properly collecting state sales taxes can be beyond the means for many
small companies. For example, in the state of Washington, they have
different sales taxes based on zip-code and county. If I were to sell an app
through Android Market, I'd need 5K in CPA assistance and another 2-3K to
hire a company to manage the systems. Or I could just collect the highest
sales tax for the whole state and hope that an individual buying the app
doesn't sue me for charging them an extra penny or two in sales tax.

As developers in this rising app market phenomenon, I don't think the tax
laws in most places take into account individuals operating a business
having such a global reach for the selling of small amounts of digital
goods.




> 

2. AlertDialog - selected item

Hi,
   I have an AlertDialog with a list of selectable items and a OK
button. How can I get the selected option, when the user clicks the OK
button?

Thank you,
AJ

-- 

3. Statusbar source code in android

4. Ssst backflip

5. Camera Emulation on Android

6. ask :setelah instal blakmoon fetching attachment juga blom bisa

7. Displaying different layout in eclipse when using ViewFlipper