Saving Stats to Textfile

by jh » Wed, 25 Mar 2009 01:33:27 GMT


Sponsored Links
 Hi,

I would be an intermediate level Java programmer (more of a hobbyist).
I want to create an app for android that counts stats during a
football game. This is roughly the functionality:

1.User presses buttons representing each type of stat e.g. #1 for
score, #2 for lost posession of ball etc. (ideally it would be on a
touchscreen phone and the user could use a stylus to touch buttons on
the screen -by the way, would I have to program differently for a
touchscreen? or is that a hardware thing?)

2.Each time a number is pressed, it's written to a text file on the
phone or into a database (sqllite or whatever).

3. the text file can then be sent in a message to another android
enabled phone.


Is all this possible without being an advance Java programmer? Any
guidance would be welcome and I realise this is a broad definition of
the program.

GF

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



Other Threads

1. Corner-centric window backgrounds

I'm not sure if this is exactly a beginner question or not, but I'll
ask here anyway.

What I'm trying to add to my app is a simple background for the common
windows.  That part is easy enough either through themes or defining a
background attribute to the toplevel layouts, but what I'm
specifically trying for is a background with a drawing in the lower-
right of the window.

Now, this is also easy to implement in a sort of brute-force method.
That is, make a background the size of the screen that is mostly white
and leave it at that.  But, that seems sort of a waste of storage
space (ignoring the fact that PNG compresses big empty spaces well)
and would not scale well if used on a device that doesn't have the
320x480 screen of the G1.  Plus, it requires two backgrounds for the
G1 regardless, one for portrait and one for landscape.  And I can't
easily define it in a theme without checking the orientation on each
layout and reassigning the theme then based on it (else it scales to
the new orientation).

So my question is, how hard would it be to make a background I can
attach to a theme with a single image in the corner that does not
scale with the rest of the single-color background?  Would this be a
job for a NinePatch (albeit not the job it was meant for)?
--~--~---------~--~----~------------~-------~--~----~

2. NP API Plugin

Does any know how to install NP plugin into Android's browser?
--~--~---------~--~----~------------~-------~--~----~

3. Android XML-RPC to JBoss Seam Enterprise Application....cannot Create SOAP Envelope Exception

4. Parsing SOAP Envelope

5. Trying to receive the ACTION_PROVIDER_CHANGED intent from the gmail app

6. SOAP envelop not being created for response from seam server

7. webkit.plugin samples