1 2 3 4

Porting MIDlets from Symbian to Nokia Asha (Featured Article)

Porting MIDlets from Symbian to Nokia Asha by skalogir

PortedCatBarExpanded.png

This article provides instructions on how to port existing MIDlets written for Symbian to Nokia Asha software platform. The article covers a number of porting aspects ranging from heap memory limitations, image processing, virtual keyboard, persistent storage, location aware MIDlets, etc.

There are also companion articles How to develop Java ME applications on Symbian and Porting MIDlets from Nokia Asha to Symbian which help you write code to address the biggest possible market of Nokia devices.

See Featured Article for other great articles from the community.

WeatherApp – Featured Project

JMEWeatherIcon  This week we have selected WeatherApp as our Featured Project, another Nokia Developer example for the Nokia Asha software platform and Series 40. This project lets users see the upcoming day’s weather forecast for their region or any other city of their choice. GPS/cellid based positioning is used to fetch user’s location which in turn is utilized to get the forecast data in JSON format.

JMEWeather1 JMEWeather2

The project works well with Nokia Asha software platform 1.0, on which the latest device Nokia 501 is based. The project also proves a good source of information for anyone wanting to implement in-app advertising in their apps.

It boasts a huge number of downloads since its creation depicting how much helpful the project has been. For all the technical details about the project see its Wiki.

Thanks to all the people who have been creating such cool & great examples & helping developers in a great manner.

- Vineet Jain (on behalf, Projects Moderation team)

Maps and location API’s for Windows Phone (Featured Video)

Learn how to use the location-related capabilities of Nokia Lumia hardware, Windows Phone Location APIs, and the HERE location platform, including HERE Maps, HERE Drive, and HERE Transit. Starting with the basics — retrieving location information from the phone and registering for background location notifications — this webinar then looks at the map-related services APIs available for your Windows Phone apps for Nokia Lumia smartphones, including APIs for map rendering, geocoding, and routing controls.

A downloadable copy of the slides from the session can be found here.

For detailed documentation on the maps features in Lumia smartphones see Guide to WP8 Maps API and don’t forget to check out the examples at Nokia Developer Projects.

For more details about developing for Nokia Lumia smartphones visit: http://www.developer.nokia.com/Develop/Windows_Phone/Learn/

See Featured Videos for other great videos from the community.

 

Map with directions in Windows Phone 8 (Featured Article)

Map with directions in Windows Phone 8 by pasi.manninen

This week we are featuring article about Map with directions for use in Windows Phone 8 applications. This article explains how to show route in map and get route directions with Windows Phone 8. The cool thing about this article is that the Map offers route directions in both textual and speech format.

Here are few screenshots of the code example in the article,

Map with Directions screenshot Map with Directions screenshot

Read this article and add Maps with route directions in your Windows Phone applications.

Compass (Featured Project)

2611-425751dbb371dfb313504bcb875c656bCompass is a Nokia Developer Windows Phone application that has been ported from Qt to Windows Phone 8. This application combines Nokia Maps with compass sensor. It also allows user to determine the bearing to the desired direction.

compass-2compass-1

This application has been tested on Nokia Lumia 920 and developed using Visual Studio 2012 Express for Windows Phone 8. To learn more on the project follow up on the wiki page.

– Somnath Banik (on behalf of the Projects Moderation team)

Tourist Attractions – use of the Location, In-App Purchase APIs and more (Featured Video)

Tourist Attractions is a Nokia Developer example app written in Java for Series 40 phones. It demonstrates the use of the Location API for Java ME (JSR-179) and the HERE Maps API for Java ME (formerly the Nokia Maps API) to retrieve and show location information as well as details of nearby attractions. In addition, it incorporates the In-App Purchase API to enable the purchase and download of additional city guides.

This application works on most Series 40 phones, ranging from entry-level models to the highly successful Asha family of smartphones.

For downloads, source, and more information, please visit: http://projects.developer.nokia.com/JMETouristAttractions

For more information on in-app purchase, please see:http://www.developer.nokia.com/Resources/Library/Java/#!developers-guides/in-…

For more Java example apps from Nokia Developer, please check out: http://www.developer.nokia.com/Develop/Java/Code_examples/

Drawing shapes with Windows Phone maps API (Featured Article)

Drawing shapes with Windows Phone maps API by symbianyucca

LumiaMaps.pngThis week’s featured article shows how to draw shape objects on a map in Windows Phone applications. Generally you can add polylines, polygons and MapOverlay objects onto the map, however there are no predefined shapes which could be drawn into the map.

The complete source code for the example illustrated in this article can be found from Windows Phone 8 Maps Examples project, the code used here is implemented for example in MoreMapContent example inside that project.

Please try out Windows Phone 8 Maps Examples project and let us know how you like it.

Windows Phone 8 Maps Examples (Featured Project of the Month December 2012)

project iconWindows Phone 8 Maps Examples is a collection of code examples demonstrating the basic Map uses cases on Windows Phone 8. The examples are an evolution/extension of work previously done for other platforms, hosted on the Nokia Developer Wiki.

The map examples cover the following use cases (to list just a few):

  • Basic map with kinetic panning and pinch zooming
  • How different events can be captured, and which events are generated with different map changes
  • Moving to predefined locations
  • Switching different animation modes (parabolic, linear, none)
  • Changing heading, pitch & zoom levels
  • Switching between map color (light/dark) modes & map types (road, Arial, hybrid, terrain)
  • Toggling pedestrian features & landmarks on/off
  • Setting multiple values with setview()
  • Add and remove Markers (MapOverlay), Polyline and Polygon to the Map.
  • Routing
  • Geocoding and reverse geocoding
  • Dynamic polylines
  • Map location and area selectors
  • And many many more …

The author has also created a number of wiki articles documenting some of these examples: Drawing shapes with Windows Phone maps API, Showing/Hiding map content with Windows Phone maps API, Fitting content into the view with Windows Phone maps API, Draggable markers with Windows Phone maps API .

The project and wiki articles are essential viewing for anyone working with maps on Windows Phone 8. If you have any questions or suggestions, please raise them on the project discussion board.

– Hamish Willee (on behalf of the Projects Moderation team)

Map Explorer (Featured Project)

Map Explorer demonstrates the use of new Map control for Windows Phone 8. This application shows  functionality like searching of address, calculating route, etc in the same page, giving the user an immediate understanding of the Map property changes.  To follow the standards of using location feature in the application it has also added the query dialog for user’s premising before accessing the location service of the device.  The project wiki explains the compatibility and implementation of the application.

Windows Phone 8 Map API brings a fluid and extensive use of Map experience. Whether you are upgrading an existing Bing Maps application or writing a new Map application for Windows Phone 8 , Guide to the maps could be the one stop tutorial for you. This article explains step-by-step implementation of Windows Phone 8 Map API along with its features and the class library used.

– Somnath Banik (on behalf of the Projects Moderation team)

Creating a Map Type Selector for the Maps API for Java ME (Featured Article)

Creating a Map Type Selector for the Maps API for Java ME by jasfox. This was a winner of the Asha Touch Competition 2012Q3.

A map selector is a UI component for choosing the type of map to display (e.g. street map, terrain, satellite view etc.) This article explains how to create a Map Type Selector for both full-touch and non full-touch Java ME phones.

MapSelectorTouch.png

An appropriate UI is dynamically created at run time to utilise Full Touch features where they are available. The code also demonstrates how to create a fallback option so simpler feature phones are also supported.

MapSelectorNonTouch.png

Please let us know how the article was helpful to you!