×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Nokia Developer Champion
    Join Date
    Feb 2011
    Location
    bucharest
    Posts
    151

    why do we need to download pictures with data that we already have in our phones?

    it would be nice to load pictures offline (for maps that you have in your phone), and online for maps you don't have in your phone

    it would be nice, because now I'm working on an app which needs real-time scrolling of the map. I'm gonna use some workaround (load a bigger map before entering the real-time part)

    maybe this idea would be nice with the native API too (of course on Android would have no impact :) )

    it would improve the user experience a lot! and since the majority of apps use your location you certainly have the map data in your phone, so no need for additional traffic data...

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,170

    Re: why do we need to download pictures with data that we already have in our phones?

    As the API is HTTP API, indeed it uses a service in remote server. it though should use cached images as well, so in essence you get the image if it is already in the device.

    Basically there is separate APIs in which you can use maps data, and depending on the platform offline maps might also be supported. anyway, for Web pages etc. AFAIK there is no such API available.

  3. #3
    Regular Contributor
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    289

    Re: why do we need to download pictures with data that we already have in our phones?

    why do we need to download pictures with data that we already have in our phones?
    The simple answer is that you don't - it is all a matter of using the right API for the right use case.


    If you are sending a static image to another (unknown) phone use the Map Image API - http://developer.here.com/map_image
    It uses a simple HTTP request to a server, which should be displayed on any phone - consider this as the lowest common denominator.
    Even this API will attempt to forward you to m.maps.here.com if your phone is considered capable of doing so.

    I'm working on an app which needs real-time scrolling of the map.
    * If you have a Windows Phone, you can obtain scrollable offline maps fromthe phone using the Maps API for Windows Phone: http://developer.here.com/windows_phone
    * For other smart phones (which are HTML5 capable) you can use the Mobile HTML5 platform - this has an ability to cache maps if requested http://developer.here.com/mobile_html5 - just use something like Phone Gap as a framework.
    * If you are developing specifically for Android - you could look at the OEM specific version of the Maps API
    * If you are developing for Asha phones, you could look at the Maps API for Java ME for a scrollable Map widget http://developer.here.com/java

    You shouldn't use the Map Image API to stitch together a larger map as it is prohibited in the Terms and Conditions.
    5 RESTRICTIONS

    (ii) You will not ... stitch multiple static map images together to display a map that > is larger than permitted in the Location Platform Services documentation;
    As you suggest, the Map Image API is the wrong API for a scrolling map and does not retrieve on board maps.

Similar Threads

  1. "SIM Data Download" supported by Nokia phones?
    By amandachen in forum General Messaging
    Replies: 5
    Last Post: 2009-11-06, 12:12
  2. Replies: 3
    Last Post: 2003-10-12, 10:49
  3. Replies: 1
    Last Post: 2003-02-04, 07:45
  4. Preloaded icons / images / pictures in Nokia WAP phones
    By nkn_jones in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2001-11-08, 14:27

Posting Permissions

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