Browser versus App to present Web Data

by Fred Vinton » Fri, 17 Jul 2009 01:53:32 GMT

Sponsored Links
 Looking for best practices to deploy
   a. tabular data, and
   b. plotted data with comments (title + legend + notes)
1. Display in browser with server generated static graphic plots, or,
2. Download raw data and plot with graphics primitives (API) within
Android's SDK? 50 - 500 data points.
- Volume of requests may be large.
- Time critical response on handheld
I am keenly interested in a sample that runs on the NDK (1.5) which
can authenticate to Google and communicate with an AppEngine datastore.


Other Threads

1. handling long touch / click in android

i'm using a Custom View in my Activity. can someone give me an idea
how to register the long i.e. sustained clicks on this View?
i tried the following approach (which didnt work) -

 the Custom View implements View.OnLongClickListener and implements
the onLongClick(View v) method. i also registered the View to handle
long clicks using setOnLongClickListener(this). further i called
setClickable(true) on the View as well.

   however the onLongClick is not being called at all. i'm also using
a onTouchEvent handler in the view to handle other touch events. i
made sure that this handler returns false so as to allow the event to
propogate to other listeners. but the long click is still not being
   is there any other way that i can capture an extended click or
touch event? the basic objective is something like this -
a) the Custom View is the game screen for a board game
b) the user touches a piece to move (this is captured by onTouchEvent)
c) the user touches the destination square on the board (again
captured by onTouchEvent)
d) if the user keeps the destination square pressed for around 1
second (i.e. long click) then move the piece

   the first three points are working just fine with the onTouchEvent.
i tried to propogate the fourth event to onLongClick but it doesnt



2. How to let Android create my activity within the process which the launcher activity lies in?


You cannot do this, if only for security reasons. Running arbitrary
code in the Home process would be very bad :)

Instead of creating two processes (which is really heavy and requires
a lot more memory), why don't you stop using a singleton?

Romain Guy
Android framework engineer

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them


3. regarding network library of android

4. How to let Android create my activity within the process which the launcher activity lies in?

5. I need help with my App!!!

6. MmsApp giving a ClassNotFoundException and resulting in incoming text messages being lost.

7. Assistance with large datasets