Finance for Android - A Google Dev eloper鈥檚 Note

by Bob Rose » Thu, 05 Mar 2009 22:59:41 GMT

Sponsored Links
 I wrote up my experiences working on the new Finance app here: 


Other Threads

1. How to understand and use a reference information (esp, class Hierarchy)


"Class Index" is just to find a specific class. I don't think it's
used very much. It's just there if you ever need it. "Class Hierarchy"
similarly just shows the hierarchy. It's not easy for me to use
though. It appears easier to  go to the Class pages and viewing the
class hierarchy there.

- Juan T.


2. google visualization in Android web app


I want to display a page with Google Visualization stored in device,
but got an error message like this:
 Console: ReferenceError: Can't find variable: google line: 5 source:
line 5 referers to this line -    google.load("visualization", "1",
Why it works fine in browser running in PC and Android Web browser
when browsing Google web page, but not work as put html file in assets


Here is the code:
    <script type="text/javascript" src=""></
    <script type="text/javascript">
      google.load("visualization", "1", {packages:["areachart"]});
      function drawChart() {
        var data = new google.visualization.DataTable();
        data.addColumn('string', 'Year');
        data.addColumn('number', 'Sales');
        data.addColumn('number', 'Expenses');
        data.setValue(0, 0, '2004');
        data.setValue(0, 1, 1000);
        data.setValue(0, 2, 400);
        data.setValue(1, 0, '2005');
        data.setValue(1, 1, 1170);
        data.setValue(1, 2, 460);
        data.setValue(2, 0, '2006');
        data.setValue(2, 1, 660);
        data.setValue(2, 2, 1120);
        data.setValue(3, 0, '2007');
        data.setValue(3, 1, 1030);
        data.setValue(3, 2, 540);

        var chart = new
        chart.draw(data, {width: 800, height: 240, legend: 'bottom',
title: 'Company Performance'});
    <div id="chart_div"></div>


3. Contribute to OpenStreetMap-Project within 4 Lines of Code

4. Determining if an Activity is visible

5. Where is time stamp info kept for sms and recent calls

6. No date/time stamps on call history/sms database, where is it stored?

7. help reading files by line