Help required in application structuring

by cotyledon 11 » Sat, 30 Apr 2011 15:14:52 GMT


Sponsored Links
 Hi

I am trying to develop an application which needs to perform the following
tasks

 [1] Fetch and store data from database.

 [2]calculate my location through GPS.

 [3]Do some calculations based on the (1) and (2) data.

 [4] Draw the data from (3) on camera preview.

The main requirement is whenever my location is updated/changed the above
mentioned tasks should be performed again.

right now i am using services for the first three tasks and in the main
activity i am drawing the data over camera preview. But this does not seem
to work so i am confused if i am implementing it right or does my
application require re-structuring. Please suggest some alternatives or
improvements.

Thanks
-- 
-Nidhi Singh

-- 
.



Re: Help required in application structuring

by TreKing » Sun, 01 May 2011 04:46:37 GMT


 



Elaborating on "does not seem to work" would be helpful if you want help.

so i am confused if i am implementing it right or does my application


You've provided such a high-level description of a couple of very broad
topics with very little details that it's pretty much impossible to tell you
anything useful.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 
.


Sponsored Links


Other Threads

1. onscreen keyboard on/off?

Is it possible to find out whether onscreen keyboard is present or not?

THX
Walery ;o)


-- 
Follow me:
http://twitter.com/walery

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

2. Get next Alarm

Hi there,

Both as an exercise and because I've not yet found a simple app that
does this already, I'm trying to develop a widget that displays the
next alarm set by the standard Alarm Clock application.

I've found that you can get an already formatted String of this time
using:

Settings.System.getString(getContentResolver(),
Settings.System.NEXT_ALARM_FORMATTED);

but I have a few problems with this:

1. The String it returns is already formatted, but in a way I don't
want. So, I'd have to do some rather {*filter*} String splits and
manipulations to reformat it how I want. Ideally I'd like to get this
time in millis/seconds since epoch, or as a Date object.

2. I've read that this value is easily overwritten by any app for any
purpose - if this is the case, it's not exactly reliable.

3. It's stopped working for me! (It's now returning a blank (not null)
String, despite there being alarms set). I guess if nothing better is
available to get this information, this will become a debugging
assistance discussion :-).


Is there a better, more reliable way to get the date/time of the next
Alarm set?

Thanks,
Mark.

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

3. AD HOC

4. More accessibility API questions

5. ApplicationContext.java and Activity.java. Is ApplicationContext not used ?

6. problem installing a .apk file

7. help with rawQuery statement