Page 4 of 6 FirstFirst 123456 LastLast
Results 31 to 40 of 54

Thread: My Custom Frontend

  1. #31
    Newbie
    Join Date
    Jan 2006
    Location
    Colorado
    Posts
    52
    Wow this looks very Promising!!!
    keep up the good work!!!

  2. #32
    Low Bitrate MOnline's Avatar
    Join Date
    Apr 2007
    Location
    Holland, Poeldijk (Near The Hague)
    Posts
    81
    Hi dmxl,

    Thank you for your reply. I will definitly keep up the good work . I was just about to post a new update when i saw your message.

    I was bored today because i was learning (stupid stuff about datawarehousing) so i decided to continue working on my Destinator DLL. Here's a screenshot of it preloading the cities. This way you have easy access to all the cities because there already in your memory. I do think I am going to create an option to turn preloading of the cities on or off.


  3. #33
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    529
    Coming along nicely MOnline!

    A few questions...

    Is the top and bottom bar locked in the system? Meaning that it can not be "skinned away"?


    What's the advantage of preloading the cities? How long does it take to do it?

    I'm loading all the cities in the map into an array (for display in a list) and it opens up the list pretty instant, I'm not sure about how many cities that's in the list but it would be all in Scandinavia.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  4. #34
    Low Bitrate MOnline's Avatar
    Join Date
    Apr 2007
    Location
    Holland, Poeldijk (Near The Hague)
    Posts
    81
    He Borte,

    Don't worry the bars can be skinned away. Will create a skinning app because it is currently optimized for my skin (streching etc keeps the system resources down ).

    I decided to preload the cities because it takes about 10 seconds to load them all. Don't know why but it does that. (Maybe you can take a look at my code and see what i am doing wrong. (I am using the BeNeLux map btw and as you can see it contains many cities)

    Code:
    Public Sub fillCities()
        ReDim strCityNames(0 To myDest.CityCount - 1)
    
        For i = 0 To myDest.CityCount - 1
            DoEvents
            strCityNames(i) = myDest.GetCityNameFromID(myDest.GetArrayOfCitiesID.Item(i))
            If ((i / 100) = Round((i / 100), 0)) Then
                frmDestNavi.lblLoading.Caption = "Preloading Cities: " & i & "/" & myDest.CityCount - 1
            End If
        Next
    End Sub
    So thats all for now will try to see if i can create a quick skin to show you all how skinnable it is.

    With Kind Regards,

    FG van Zeelst

  5. #35
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    529
    This is my code for getting the cities:
    Code:
                Set tmpDestIDArray = Dest2.GetArrayOfCitiesID
                ReDim tmpList(tmpDestIDArray.ItemCount - 1)
                ReDim Route_City(UBound(tmpList))
                For Index = 0 To tmpDestIDArray.ItemCount - 1
                    Route_City(Index).Index = tmpDestIDArray.Item(Index)
                    Route_City(Index).Name = Dest2.GetCityNameFromID(tmpDestIDArray.Item(Index))
                    tmpList(Index) = Route_City(Index).Name
                Next Index
                Local_List = tmpList
    Like I said it loads it more or less instantly.

    I think one of the reasons your code behaves slowly is this line:
    Code:
            strCityNames(i) = myDest.GetCityNameFromID(myDest.GetArrayOfCitiesID.Item(i))
    If I understand it correctly you're querying destionator about the CityID everytime you get a name.
    In my code I get an array of this first instead of redoing this every loop.

    As far as I can see now (in a bit of a rush) that's the only difference.

    EDIT: Disregard the above statement. Our codes are more or less the same... So I don't really see the difference. I'll see if I can verify how many cities I'm loading, but I can't do that before on sunday (I got a tournament to goto this weekend)
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  6. #36
    Low Bitrate MOnline's Avatar
    Join Date
    Apr 2007
    Location
    Holland, Poeldijk (Near The Hague)
    Posts
    81
    Thanks for your reply I do think my problem is the multiple querying of destinator but I did this because that set Command gave me an error. Will be looking in to this.

    If you could also tell me how the variables in your code are defined, because the Set tmpDestIDArray = myDest.GetArrayOfCitiesID was giving me an error all the time.

    *UPDATE*
    Well fixed the problem and well it now loads in about 1 second . So that's pretty good . Thanks

    With kind regards,

    FG van Zeelst

    PS good luck at your tournament

  7. #37
    Low Bitrate MOnline's Avatar
    Join Date
    Apr 2007
    Location
    Holland, Poeldijk (Near The Hague)
    Posts
    81
    So here it is a new screenshot of the navigation screen. This is the menu where you are able to plan your navigations. Still not sure if its completely correct but he.

    I know the icons are ugly at least i think so but im not that good working with photoshop .


  8. #38
    Low Bitrate MOnline's Avatar
    Join Date
    Apr 2007
    Location
    Holland, Poeldijk (Near The Hague)
    Posts
    81
    So I was just working out my street selection thingy when i ran into a problem loading the number. I live in holland and here we have subfixes to our house numbers (sometimes) like 49A. 49B, 49C. How do I find out if those numbers are present?

    With kind regards,

    FG van Zeelst

  9. #39
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    529
    It should work using the same code as I gave you, but you have to loop trough your sub numbers before jumping to the next housenumber.
    The problem though is that you'll slow the loop down.

    I have not tested this so I'm not sure if it will work, I'm just trowing out ideeas!
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  10. #40
    Low Bitrate MOnline's Avatar
    Join Date
    Apr 2007
    Location
    Holland, Poeldijk (Near The Hague)
    Posts
    81
    Hmm,

    I see it would be pretty heavy to do so. I guess I will just stick with numbers .

    With kind regards,

    FG van Zeelst

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. XUL Frontend....
    By SFiorito in forum Software & Software Development
    Replies: 2
    Last Post: 10-02-2009, 11:23 AM
  2. Mobius - Custom Frontend
    By JaseVYS in forum Other Cool Front Ends
    Replies: 53
    Last Post: 01-24-2007, 05:20 AM
  3. Custom Piece work Sites...
    By kmcniece in forum Fabrication
    Replies: 1
    Last Post: 03-16-2006, 03:52 PM
  4. Destinator 3 Frontend v1.1.3 BETA
    By Ninja Monkey in forum Map Monkey
    Replies: 58
    Last Post: 07-19-2005, 06:42 AM
  5. Destinator 3 Frontend v1.1
    By Ninja Monkey in forum Map Monkey
    Replies: 139
    Last Post: 10-25-2004, 10:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •