andbook!.pdf - Learning Android Get an anddev.org - Android-Shirt Back to index
anddev.org Header Logo
FAQ Search Top rated articles Browse Feeds anddev.org - Authors Contact Details Register Log in

The Friend Finder - MapActivity using GPS - Part: II / II

Goto page Previous  1, 2, 3, 4  Next
 
       anddev.org - Android Development Community | Android Tutorials | Index -> Map Tutorials
Author Message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2624
Location: College Park, MD

PostPosted: Tue Feb 05, 2008 11:33 pm    Post subject: Reply with quote

Hello crayder,

crayder wrote:
Wau )))
May be you are cheating? I think you are not a student - you are a teacher! ))))))
Thank you for very good explanation!


I am a student @ 3rd semester Razz

But I like the teaching/tutorial stuff... Rolling Eyes

[Edit]
I started writing a book about learning android.(Just the introduction yet ^^, because of my exams) Probably will be open/free and downloadable as pdf, already while I'm writing it.
[/Edit]

Best Regards,
plusminus

_________________
Download my apps Idea
Please remember, that this board is give & take Smile

| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
crayder
Freshman
Freshman


Joined: 04 Feb 2008
Posts: 9

PostPosted: Sat Feb 09, 2008 8:14 pm    Post subject: Reply with quote

By the way... Are you planning (or may be I missed such examples here) to write smth about service organizing? I mean operations that require time (network interaction) and as a result special architecture. It would be interesting to learn...

P.S. How are your exams? ))
Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2624
Location: College Park, MD

PostPosted: Sun Feb 10, 2008 1:29 pm    Post subject: Reply with quote

Hello crayder,

paller wrote 3(?) articles about Services. You'll find them under "Advanced Tutorials".

Exams were fine up to now, A+ with 2 of 4 already Very Happy

Regards,
plusminus

_________________
Download my apps Idea
Please remember, that this board is give & take Smile

| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bholaday
Once Poster
Once Poster


Joined: 09 Apr 2008
Posts: 1

PostPosted: Wed Apr 09, 2008 5:40 pm    Post subject: Friends Dont Show Up Reply with quote

Hi,

I've adapted the source a bit for m5, but my friends don't show up on the map. I get a real-time view of myself driving around San Fran and a distance between my friends and I, but they dont show up on the map view.

Any idea why?

-Blake
Back to top
View user's profile Send private message
chintan153
Once Poster
Once Poster


Joined: 08 May 2008
Posts: 1

PostPosted: Thu May 08, 2008 3:29 am    Post subject: problem using the tutorial with M5 sdk Reply with quote

the M5 emulator does nto have "Notes" field in it. So i could not use the People.Notes to get the location information for the person. Can you tell me a workaround for this problem?
I created a custom Notes field in the Contacts based on previous post, but I am not getting how to use the Notes field that i created or any other custom field to get the location information.

Thanks in advance
Back to top
View user's profile Send private message
buster
Junior Developer
Junior Developer


Joined: 22 Apr 2008
Posts: 19
Location: Berlin, Germany

PostPosted: Thu May 08, 2008 3:15 pm    Post subject: Reply with quote

oh, just posted the exact same problem in the part I -> http://www.anddev.org/viewtopic.php?p=7829#7829
(can be deleted/merged/moved i guess) Smile
Back to top
View user's profile Send private message Visit poster's website
zsimplicityz
Junior Developer
Junior Developer


Joined: 23 Apr 2008
Posts: 14

PostPosted: Tue May 13, 2008 7:24 am    Post subject: How to run on my m5 version Reply with quote

I've error running on my m5 .
Is there anyway I can make it run ?

Apart from that , how do I download a map to android so as to make full use of it on my next project .
Thanks for all the help , really need all of them as I just started learning about android with basic java skills .
Back to top
View user's profile Send private message
zsimplicityz
Junior Developer
Junior Developer


Joined: 23 Apr 2008
Posts: 14

PostPosted: Fri May 16, 2008 4:41 am    Post subject: Reply with quote

any help to my previous post ?

need help badly !
Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2624
Location: College Park, MD

PostPosted: Fri May 16, 2008 11:53 am    Post subject: Reply with quote

Providing the actual error would push the solving-process further. Smile

Are you talking of caching the map-tiles Question
The MapView currently does not do that (only during the lifetime of the particular MapView, but not when it is destroyed once).

Regards,
plusminus

_________________
Download my apps Idea
Please remember, that this board is give & take Smile

| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zsimplicityz
Junior Developer
Junior Developer


Joined: 23 Apr 2008
Posts: 14

PostPosted: Mon May 19, 2008 6:36 am    Post subject: Reply with quote

I tried using another computer to run your application .
However I can't even start as the Andriod Manifest.xml is missing . Download the full source code from e thread but still , sigh Confused it doesn't work .
How can i resolve it ?
Ive also paste a screenshot to my prob .

P.s I tried importing by creating a new project , however there's much more error than I expect . Confused
So what should I do now guru , didn't want to take things on my own hand for now .



untitled_resize.JPG
 Description:
 Filesize:  164.23 KB
 Viewed:  1772 Time(s)

untitled_resize.JPG


Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2624
Location: College Park, MD

PostPosted: Fri May 23, 2008 9:07 am    Post subject: Reply with quote

Hello zsimplicityz,

I just checked it, the AndroidManifest.xml is included in the project. Maybe try importing the project instead of creating a new one with existing resources.

The last option is to create a clean project and copy all the source-files by hand Wink

Regards,
plusminus

_________________
Download my apps Idea
Please remember, that this board is give & take Smile

| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zsimplicityz
Junior Developer
Junior Developer


Joined: 23 Apr 2008
Posts: 14

PostPosted: Mon May 26, 2008 3:01 am    Post subject: Reply with quote

under FriendFinderMap.java ,

line 117
Java:
canvas.drawText(getString(R.string.map_overlay_own_name),
                                   myScreenCoords[0] +9, myScreenCoords[1], paint);


and especially from line 246 to 249

Java:
public boolean onCreateOptionsMenu(Menu menu) {
          boolean supRetVal = super.onCreateOptionsMenu(menu);
          menu.add(0, 0, getString(R.string.map_menu_zoom_in));                       // Line   246
          menu.add(0, 1, getString(R.string.map_menu_zoom_out));                 // Line   247
          menu.add(0, 2, getString(R.string.map_menu_toggle_street_satellite));   // Line   248
          menu.add(0, 3, getString(R.string.map_menu_back_to_list));            // Line   249
          return supRetVal;
     }





need sum help over at here .
Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2624
Location: College Park, MD

PostPosted: Tue May 27, 2008 9:27 pm    Post subject: Reply with quote

Hello zsimplicityz,

the things you mentioned are simple String-Resources which are placed under "/res/values/mystringfile.xml"

XML:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="main_title">FriendFinder - anddev.org</string>
    <string name="main_menu_open_map">Open visual FriendTracker</string>
    <string name="main_list_format">$name ($distance km)</string>
    <string name="main_list_geo_not_set">not set</string>
    <string name="map_title">FriendFinder - anddev.org</string>
    <string name="map_menu_zoom_in">Zoom in (Key: I)</string>
    <string name="map_menu_zoom_out">Zoom out (Key: O)</string>
    <string name="map_menu_back_to_list">Back to list</string>
    <string name="map_menu_toggle_street_satellite">Toggle View: Street / Satellite (Key: T)</string>
    <string name="map_overlay_own_name">Me</string>
</resources>


Anyway this file is also included in the file you downloaded Arrow http://www.anddev.org/the_friend_...t87.html

Regards,
plusminus

_________________
Download my apps Idea
Please remember, that this board is give & take Smile

| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zsimplicityz
Junior Developer
Junior Developer


Joined: 23 Apr 2008
Posts: 14

PostPosted: Thu May 29, 2008 3:39 am    Post subject: Reply with quote

Under FriendFinder @ line 252 , ive got this error .


Java:
     if(this.getListAdapter() != null)
               beforeIndex = this.getSelectionRowID();



Missing method , didn't want to edit as im afraid i mite screw things up .

pls advice thanks .



and lastly , do i need to connect to a Database or something ?
Back to top
View user's profile Send private message
java.padawan
Freshman
Freshman


Joined: 27 Oct 2008
Posts: 4

PostPosted: Mon Oct 27, 2008 7:10 pm    Post subject: Reply with quote

venkat wrote:
Sorry, my attachment is here...


This is just an apikey problem.

http://www.androidph.com/2008/10/android-map-viewer.html
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
       anddev.org - Android Development Community | Android Tutorials | Index -> Map Tutorials All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


© 2007, Android Development Community
All rights reserved.
Powered by phpBB.