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

AndNav! - Android Map-Routing-System!

Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
       anddev.org - Android Development Community | Android Tutorials | Index -> Promote your Android Application
Author Message
Bruce.lntu
Developer
Developer


Joined: 03 Jan 2008
Posts: 37

PostPosted: Thu Apr 17, 2008 7:53 am    Post subject: same Nullpoint exception Reply with quote

HI plusminus,

The same result as below,pls tell me whether the reason of low internet speed or sth. else?
and pls tell out how can I do same route effect in my codes? and which methods I 'd better focus on?
thanx
Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


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

PostPosted: Thu Apr 24, 2008 7:39 pm    Post subject: Reply with quote

Hi Bruce,

are you using "Platform: m5-rc15" Question
A friend of mine tested it with a clean emulator and it worked fine...

PathEffects, aka:
Java:
this.myPaint.setPathEffect(new CornerPathEffect(4));

This Effect smoothens the corners.

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
Bruce.lntu
Developer
Developer


Joined: 03 Jan 2008
Posts: 37

PostPosted: Fri Apr 25, 2008 3:44 am    Post subject: still confused Reply with quote

Hi plusminus,

I do use m5-rc15, but it still run with error. once I click quickstart, it reflects me the same picture as above. this absolutely confused me Sad

Hope to communicate with you ,icq: 472661920,

Regard
Bruce
Back to top
View user's profile Send private message
j4ck
Freshman
Freshman


Joined: 28 Apr 2008
Posts: 3

PostPosted: Mon Apr 28, 2008 8:02 pm    Post subject: Info window in a overlay Reply with quote

Hi plusminus!

I'm trying to put some text in an info window as the next image show.
I put the text but if the string is too long, this text don't change the line and it's written out of the window.

Do you know what can I do? I use this function: canvas.drawRoundRect(); but I can't put a title and a comment as the image, only a short text.

Thanks

Sorry for my bad English Confused

Regard

J4ck



neighborhood_popup.gif
 Description:
info window with title and body

Download
 Filename:  neighborhood_popup.gif
 Filesize:  91.74 KB
 Downloaded:  194 Time(s)

Back to top
View user's profile Send private message
j4ck
Freshman
Freshman


Joined: 28 Apr 2008
Posts: 3

PostPosted: Mon Apr 28, 2008 8:12 pm    Post subject: Reply with quote

sorry, this is the image


imagen.JPG
 Description:
 Filesize:  66.49 KB
 Viewed:  5916 Time(s)

imagen.JPG


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


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

PostPosted: Mon Apr 28, 2008 11:31 pm    Post subject: Re: Info window in a overlay Reply with quote

Hey j4ck,

you are (probably) drawing the text directly to the image, what is "raw method". You need to make your code aware of line-breaks, what is in the end the same as a TextView with a transparent background.

Regards,
plusminus

j4ck wrote:
Hi plusminus!

I'm trying to put some text in an info window as the next image show.
I put the text but if the string is too long, this text don't change the line and it's written out of the window.

Do you know what can I do? I use this function: canvas.drawRoundRect(); but I can't put a title and a comment as the image, only a short text.

Thanks

Sorry for my bad English Confused

Regard

J4ck

_________________
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
Bruce.lntu
Developer
Developer


Joined: 03 Jan 2008
Posts: 37

PostPosted: Mon May 05, 2008 5:58 am    Post subject: Reply with quote

plusminus wrote:
Hi Bruce,

are you using "Platform: m5-rc15" Question
A friend of mine tested it with a clean emulator and it worked fine...

PathEffects, aka:
Java:
this.myPaint.setPathEffect(new CornerPathEffect(4));

This Effect smoothens the corners.

Regards,
plusminus


Hi plusminus,

it runs ok now, there was sth. wrong with the jdk, when I reinstall the jdk, it runs ok.
thank you for providing so good resource.

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


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

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

Bruce.lntu wrote:
it runs ok now, there was sth. wrong with the jdk, when I reinstall the jdk, it runs ok.
thank you for providing so good resource.


Phew... Very Happy

I'm feeling much better now ^^ Thanks.

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
plusminus
Site Admin
Site Admin


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

PostPosted: Fri May 16, 2008 8:04 pm    Post subject: Reply with quote

Exclamation AndNav! scored Top 25% in all ranks of the first Android Developers Challenge Exclamation
Google Android Developers Challenge Results of AndNav! wrote:
Effective use: In the top 25% of all submitted applications
Polish: In the top 25% of all submitted applications
Indispensability: In the top 25% of all submitted applications
Originality: In the top 25% of all submitted applications

Overall: In the top 25% of all submitted applications


Pretty good, imo Very Happy

_________________
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
Bruce.lntu
Developer
Developer


Joined: 03 Jan 2008
Posts: 37

PostPosted: Sun May 18, 2008 7:05 am    Post subject: Reply with quote

plusminus wrote:
Exclamation AndNav! scored Top 25% in all ranks of the first Android Developers Challenge Exclamation
Google Android Developers Challenge Results of AndNav! wrote:
Effective use: In the top 25% of all submitted applications
Polish: In the top 25% of all submitted applications
Indispensability: In the top 25% of all submitted applications
Originality: In the top 25% of all submitted applications

Overall: In the top 25% of all submitted applications


Pretty good, imo Very Happy


congratulations Smile
Back to top
View user's profile Send private message
rmeph
Senior Developer
Senior Developer


Joined: 10 Dec 2007
Posts: 120
Location: India

PostPosted: Fri May 23, 2008 3:37 pm    Post subject: Reply with quote

AnyOne tel me plz......In rotate option can we use SurfaceView ? Sad
give me some idea how will be use?
Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


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

PostPosted: Wed May 28, 2008 10:30 pm    Post subject: Reply with quote

Hey guys,

There is an official update out now:
http://www.trackdroid.com/info/nicolas-gramlich/andnav

Any feedback is welcome. YOU can influence the Project !!

Major changes:

  • Voice-Directions (by Joy an Tom Gibara[MoseyCode]) (not ON by default, as MediaPlayer is buggy. See "Settings"...)
  • UnitSystems (Metric & US [i.e. Kilometers vs. Miles]) (See "Settings"...)
  • Home-Location (Route-Home with one click)
  • WeatherForecast in WhereAmIMap (Long-Press to Map)
  • Waypoints can be optimized (Travelling-Salesman-Problem. Calculation can only be done using the linear distance) (select via Menu)
Full Changelog wrote:
###########################
# 0.5.0 (adc) --> 0.6.0 #
###########################
# Added:
...- Voice-Directions & Menu-Voices, spoken by 'Joy Gibrara' (British female)
......- Possibility to En/Disable in the Settings
...- Added CitySearch to SearchDestination
...- Possibility to change KeyLayouts (Generic implementation. Currently: QWERTZ, QWERTY, ABCDEF)
...- Possibility to change UnitSystems (Generic implementation. Currently: METRIC, US)
...- AndNav now starts the "Where Am I?"-Activity on system-wide {android.content.Intent.VIEW_ACTION; and "geo"-scheme}-Intents.
...- Navigate Home-Possibility
......- Changeable in the Settings
.........- a.) with a Long-Press to the MapView
.........- b.) with the SearchDestination-Dialogs (SOON)
......- Asked for Home-Location if not set (when clicking "Home-Sweet-Home"-Button in the Main-Menu)
...- Weather ForeCast can be accessed from the Menu and LongPress-ContextMenu of WhereAmI
...- Context-Menu on the Main-Nav-Map allows to Add and Clear Waypoints when long-pressing the MapView
...- WayPoints can now get optimized, what means distance between gets minimized. (classic 'Traveling-Salesman' problem)
...

# Updated:...
...- 7 instead of 5 turn-arrows
...- QuickInfo in Settings-Activity now changes also on Click (not just on FocusChanges)
...- ZipCode and CityName now also AutoComplete with previously entered ones.
...- DisplayQuality can now be changed "on the fly" (via Settings). --> No more map-restart necessary
...- Reduced Memory-Footprint in all Activities, by Code-Optimizations and combination of Listeners
...- WayPoints being crossed, now get removed. (on next Route-Refetch they are no more included)

# Fixed:
...- When Route was lost once it stuck searching the same GPS-position again and again. Now it uses always the current GPS-position, as it was originally meant to be.
...- When remaining time is > 10 hours, it now shows only hours, no more minutes.
...- Clicks to the Buttons of the NumberPads now not just appends the number, but also replaces previous selections.


Any feedback is welcome. YOU can influence the Project !!

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
liaowg
Junior Developer
Junior Developer


Joined: 03 Jun 2008
Posts: 12

PostPosted: Wed Jun 04, 2008 8:18 am    Post subject: fail to load activity spash? Reply with quote

I got a classnotfoundexception of Spash


failload.JPG
 Description:
fail details
 Filesize:  46.82 KB
 Viewed:  5491 Time(s)

failload.JPG


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


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

PostPosted: Sat Jun 07, 2008 10:32 am    Post subject: Re: fail to load activity spash? Reply with quote

Hello liaowg,
liaowg wrote:
I got a classnotfoundexception of Spash


it works fine with me, having pulledit via trackdroid. Deploying it from Eclipse also works fine with me.
Maybe try a wipe-data first Question

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
plusminus
Site Admin
Site Admin


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

PostPosted: Tue Jul 08, 2008 10:28 pm    Post subject: Reply with quote

Hey guys,

the next release will include a Statistics Module:


I hope you'll like it Smile

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
Display posts from previous:   
       anddev.org - Android Development Community | Android Tutorials | Index -> Promote your Android Application All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 
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.