| Author |
Message |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Mon Dec 03, 2007 3:20 pm Post subject: |
|
|
Hello venkat,
it is displaying the list of your friends but you seem to have forgotten to set the "geo"-URI.
You go to the actual Map using the Menu-Button on the emulator. It starts the Map-Activity that show you (and your contacts/friends if you properly set the geo-URI to their notes, as shown in the first Part of the Tutorial)
This is the code taklen from above, that opens the MapActivity:
| Java: | @Override
public boolean onCreateOptionsMenu(Menu menu) {
boolean supRetVal = super.onCreateOptionsMenu(menu);
menu.add(0, 0, getString(R.string.main_menu_open_map));
return supRetVal;
}
@Override
public boolean onOptionsItemSelected(Menu.Item item) {
switch (item.getId()) {
case 0:
startSubActivity(new Intent(this, FriendFinderMap.class), 0);
return true;
}
return false;
} |
You will at least see yourself on the Map
Please tell us if that fixed it
Regards,
plusminus
Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
venkat Senior Developer
Joined: 27 Nov 2007 Posts: 152 Location: India
|
Posted: Mon Dec 03, 2007 4:42 pm Post subject: |
|
|
dear +-,
now i can see contacts list with distance. if i click any one of the menu , i can see my name and one dot on blank map. map is blank .
can u solve my problem???
regards,
venkat
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Mon Dec 03, 2007 9:13 pm Post subject: |
|
|
Hello venkat,
that was a bad double-post answered here.
Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
gaojinxuan Freshman
Joined: 04 Dec 2007 Posts: 5
|
Posted: Tue Dec 04, 2007 3:07 am Post subject: About GPS |
|
|
Hi.
Each phone can get it's location by it's own GPS device.
However, how can phone A get GPS position of other phone, like B, C... and track them?
Thanks a lot!
Throught Short Message?
|
|
| Back to top |
|
 |
venkat Senior Developer
Joined: 27 Nov 2007 Posts: 152 Location: India
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Tue Dec 04, 2007 9:51 am Post subject: |
|
|
Hey guys,
@gaojinxuan:
Yes, it is possible with XMPP (basically nothing really different from a instant-messaging-conversation).
I'll make a tutorial on that if there is some free time between the million other things to do here
@venkat:
it works, I can see "Me" and "venkat" but you seem to have not correct connection to the internet out of the emulator
Have a look at the proxy-issue here here
Zooming in/out works, right
Having zoomed in, you will see the "Me" walkign around on the map, don't you
Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
venkat Senior Developer
Joined: 27 Nov 2007 Posts: 152 Location: India
|
Posted: Tue Dec 04, 2007 11:41 am Post subject: |
|
|
sorry for the inconvenience PlusMinus. I know, you will tied up with many works. but badly i struck with map application, i can't move ahead without displaying map. i would appreciate you if you help regarding this map issue. . While zoomed in, i can see the "Me" walkign around on the map(Blank map).
i can open web pages using browser application. but while opening the Web pages , application will ask authentication. anyway , i can open the web pages.
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Tue Dec 04, 2007 6:33 pm Post subject: |
|
|
Hello venkat,
can you explain what you mean with: "application will ask authentication"
Sorry but it is always hard to help on an issue I never had myself
Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
venkat Senior Developer
Joined: 27 Nov 2007 Posts: 152 Location: India
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Wed Dec 05, 2007 10:51 pm Post subject: |
|
|
Hello venkat,
unfortunately i have the luck not to have problems with being behind a proxy
But I will keep my eyes open of course
Best Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
quauhtlimtz Junior Developer
Joined: 26 Nov 2007 Posts: 13 Location: Mexico
|
Posted: Thu Dec 06, 2007 6:33 pm Post subject: |
|
|
| venkat, make sure you typed the latitude and longitude correctly on your contacts list notes section.
|
|
| Back to top |
|
 |
Ramakrishna Freshman
Joined: 10 Dec 2007 Posts: 2
|
|
| Back to top |
|
 |
rmeph Senior Developer
Joined: 10 Dec 2007 Posts: 109 Location: India
|
Posted: Thu Dec 13, 2007 11:18 am Post subject: |
|
|
i run Friend Finder application on emulator....i have problem "org.anddev.android.friendfinder unable to start activity ComponentInfo {org.anddev.android.friendfinder/org.anddev.android.friendfinder.FriendFinder}:java.lang.IndexOutofBoundsException"
How to solved it????
|
|
| Back to top |
|
 |
plusminus Site Admin

Joined: 14 Nov 2007 Posts: 2102 Location: Germany
|
Posted: Thu Dec 13, 2007 1:53 pm Post subject: |
|
|
Hello guys,
@ Ramakrishna:
Some say, that the Maps-Application is only possible by port 1080....
Have a look at the following posts:
http://www.anddev.org/viewtopic.php?p=599#599
http://www.anddev.org/viewtopic.php?p=797#797
@ rmeph:
Please use the debugger, to locate the specific line As NullPointerExceptions can occur on many of the lines
Regards,
plusminus
_________________
| Android Development Community / Tutorials |
|
| Back to top |
|
 |
quauhtlimtz Junior Developer
Joined: 26 Nov 2007 Posts: 13 Location: Mexico
|
Posted: Thu Dec 13, 2007 8:31 pm Post subject: |
|
|
| venkat, be sure you are not using your wireless connection. Android only support wired internet connections.
|
|
| Back to top |
|
 |
|