First Application_Connecting Time

by hanysderhans » Thu, 29 Oct 2009 14:42:41 GMT


Sponsored Links
 Hi guys,

I wanna program an application in Eclipse/Android SDK with following
features:

1. Three G1 mobile phones (mobile A, B, and C) should clearly indicate
how long (in hours, minutes or seconds) they were next to eachother or
together in a room.
Mobile "A" belongs to me (the programmer), "B" belongs to my
girlfriend and "C" to a colleague at my job.
With this application you can see if you have spend more time with
your girl-friend or with your colleague at your job.

2. When I`m at home with my girlfriend, my mobile "A" saves the time
(the "connection" time is here meant) in SQLite how long it was in the
near of my girlfriends mobile "B".
At my job it saves the time how long it was in the near of my
colleagues mobile "C".

3. When I leave home, my mobile "A" saves the connection time with "B"
and stops. When Im back at home it starts to continue to save the
connection time with "B" again.

4. After 1 month the mobile should be able to show the minimum,
average and maximum connection time to "B" and "C".

Is it possible to program such an application in Android?
Can a G1 recognize automatically that another G1 is around? If not,
what is the best way to let them communicate automatically
(bluetooth?) and how can you implement it in android?
I`m thankful for every theoretical or practical hints.

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



Other Threads

1. OpenCore - pvmf_sm_fsp_registry.cpp

I'm having some problems with OpenCore logs!

In class pvmf_streaming_manager_node.cpp I am using the command
PVMF_SM_LOGERROR ((0, "log text")); to log into the logcat, in the
pvmf_sm_fsp_registry.cpp class that is part of the same package, by
default has no system log, however, if add the following code

#include "pvlogger.h"

PVLogger * iLogger;

//Logging macros
#define PVMF_SM_LOGERROR(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_REL,iLogger,PVLOGMSG_ERR,m);
#define PVMF_SM_LOGINFOHI(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_HLDBG,iLogger,PVLOGMSG_NOTICE,m);
#define PVMF_SM_LOGINFOMED(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_MLDBG,iLogger,PVLOGMSG_INFO,m);
#define PVMF_SM_LOGSTACKTRACE(m)
PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG,iLogger,PVLOGMSG_STACK_TRACE,m);

now i can use the command PVMF_SM_LOGERROR ((0, "log text")); the
problem is that the logs do not appear in logcat!
Someone can give me some help to see what is going on? I need to log
in this class and I am not getting, if anyone knows the solution or
you have another solution for show the log in this class, please give
me some help!

Best regards,
Andr Barbosa.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. motorola droid

ini andro 2.0 bener2 deh.. fitur sync ms exchange udah built in,
facebook juga udah built in

hmmm sayangnya motodroid buat cdma doang hiks2


2009/10/28 Superbiji                  <superb...@gmail.com>:



-- 
Kamus Online - http://kamus.landak.com/

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group, please visit the following page:
 

3. Problem launching another java file from app.

4. Checking to See if I directory is there and if not creating one?

5. Beagleboard Rev C4 Android Porting Efforts

6. How to recreate and reinflate a ViewStub?

7. OOT : Flexi going EVDO, alternatif lain buat ngempanin android :)