Mapping the activities

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Mapping the activities

Postby manju » Tue Jun 10, 2008 5:12 am

Am a student working on android as my summer project.
Now am asked to prepare a code which works for the following situation:

Consider a situation where you have a group of ur friends with GPS enabled,
Now if anyone of your friend presses a particular button on their mobile, you should get a signal saying
they are in danger(signal may be anything like message etc.) and locate them on the map.

hi plusminus,
I have read all your topics under android and its mapping techniques. :D Particularly "FriendFinder" program.
I have some problem in runnig that program. The errors are in the following lines.

menu.add(0, 0, getString(R.string.map_menu_zoom_in));
menu.add(0, 1, getString(R.string.map_menu_zoom_out));
menu.add(0, 2, getString(R.string.map_menu_toggle_street_satellite));
menu.add(0, 3, getString(R.string.map_menu_back_to_list));



pls help me to learn more on android......... :cry: :cry:

Thanks a lot in advance. :lol:
manju
Junior Developer
Junior Developer
 
Posts: 18
Joined: Mon Jun 09, 2008 9:38 am
Location: banglore

Top

Postby shiteiru » Tue Jun 10, 2008 10:21 am

Maybe you can give a few more details about the error(s) you receive.

Consider a situation where you have a group of ur friends with GPS enabled,
Now if anyone of your friend presses a particular button on their mobile, you should get a signal saying
they are in danger(signal may be anything like message etc.) and locate them on the map.


What exactly do you want to know?
shiteiru
Junior Developer
Junior Developer
 
Posts: 23
Joined: Tue May 20, 2008 7:16 pm

hi

Postby manju » Wed Jun 11, 2008 5:19 am

The error which i mentioned is in different program. That is in the program of "FriendFinder" which i am gonna use for my purpose.

Now my project program is
Exactly i want to know their position when they are in emergency.
See,imagine the situation when my friend has come across any accident,now he is in such a condition that
he is not able to call u and sms you saying am at so and so place and so and so condition etc.
So what my statement is he will jus press a button which gives me a msg which denotes he is in some emergency situation.
The 80% of program is almost GPS FriendFinder program. the only thing u need to add is a program which makes sending sms...
Now i have a program from plusminus tutorial which gives the locating of me and my friends on map but it is not working when i tried to run it........
this link will show that program.

viewtopic.php?t=87


Is this clear now???????
manju
Junior Developer
Junior Developer
 
Posts: 18
Joined: Mon Jun 09, 2008 9:38 am
Location: banglore

Postby shiteiru » Wed Jun 11, 2008 12:43 pm

as for sending sms take a look at:
how_to_send_sms-t552.html
and
recognize-react_on_incoming_sms-t295.html

for the key stroke event you should read the following:
throwing-simulating_keystrokes_programatically-t717.html

maybe this will give you some hints on how to do what you have in mind.

You should be aware that you need some kind of "sms-parser" to extract the location information out of a relevant sms. Further on you need a method to save this information and pass it on to the mapview.

Now i have a program from plusminus tutorial which gives the locating of me and my friends on map but it is not working when i tried to run it........
this link will show that program.

viewtopic.php?t=87


you will have to do some "twists" on the code to get it to work on the m5 sdk as it has originally been written for and with m3.
shiteiru
Junior Developer
Junior Developer
 
Posts: 23
Joined: Tue May 20, 2008 7:16 pm

hi

Postby manju » Mon Jun 16, 2008 6:44 am

Thanks....
manju
Junior Developer
Junior Developer
 
Posts: 18
Joined: Mon Jun 09, 2008 9:38 am
Location: banglore

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 3 guests