﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Fri, 09 Jan 2015 02:36:23 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hi Thomas! We wish you a prosperous and happy new year.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Since &lt;em&gt;MapType&lt;/em&gt; is specific to Android platform, I'm afraid that it is only possible to set this in Activities class.&lt;br&gt;Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Thu, 08 Jan 2015 12:55:46 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;"Happy new year" to you and the support team.&lt;/p&gt;&lt;p&gt;I have a question about CROS-649. Will it be included within update 2 of Crosslight 3?&lt;/p&gt;&lt;p&gt;To what date is update2 roughly scheduled?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Mon, 22 Dec 2014 07:54:52 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I have created a request to Crosslight development team to provide a way to bind map properties (for example: MapType; IsTrafficEnabled; IsCompasEnabled; etc) to a ViewModel property. This is filed under CROS-649.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Regarding the bindable properties of "Calendar", currently we are completing the documentation so that developer can easily find the information about the bindable properties. I'll get back to you as soon as possible.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Fri, 12 Dec 2014 08:57:41 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;what is always important when developing is binding properties with the viewmodel.&lt;/p&gt;&lt;p&gt;When I open the following link &lt;a href="http://developer.intersoftpt.com/display/crosslightapi/BindableProperties+Class"&gt;http://developer.intersoftpt.com/display/crosslightapi/BindableProperties+Class&lt;/a&gt; I have a list of all bindable properties.&lt;/p&gt;&lt;p&gt;But aren't there a lot of properties which are missing.&lt;/p&gt;&lt;p&gt;Concerning the map view. How can I bind the "MapType" to a viewmodel property? Where can I find a list of all map properties which can be bound? There are a lot of map properties like IsTrafficEnabled, IsCompassEnabled, ... and they all should be bindable.&lt;/p&gt;&lt;p&gt;Where can I find the bindable properties of other new components like the "Calendar"?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Fri, 12 Dec 2014 04:51:15 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;blockquote&gt;... So, the main issue is solved now.&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear that the route is now appearing on Android.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;Can I change to Satelite or Hybrid mode?&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Set the &lt;strong&gt;&lt;a href="http://developer.intersoftpt.com/display/crosslightapi/MapType+Enumeration" target="_blank"&gt;MapType&lt;/a&gt;&lt;/strong&gt; property by overriding MapType in activities class that consumes the map layout.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;protected override MapType MapType
{
    get
    {
        return MapType.Satellite;
    }
}&lt;/pre&gt;
&lt;blockquote&gt;Can I change to Google Street View?&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Currently the Google Street View is not available yet in Crosslight MapView. I have submitted this as feature request to Crosslight development team. It is filed under CROS-646.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I will keep this thread updated with any news I heard from the team regarding CROS-646.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Thu, 11 Dec 2014 13:02:49 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;I found out what went wrong. After obtaining my API key for Google Maps I copied it to the manifest file. But I also copied it to the "intersoft.crosslight.android.GOOGLE_API_KEY" section. This causes the problem. The map itself works, but the routes are not drawn. After changing back to the original key the routes work fine.&lt;/p&gt;&lt;p&gt;So, the main issue is solved now. &lt;/p&gt;&lt;p&gt;Some more questions about the map:&lt;/p&gt;&lt;p&gt;- Can I change to Satelite or Hybrid mode?&lt;/p&gt;&lt;p&gt;- Can I change to Google Street View?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Thu, 11 Dec 2014 12:04:30 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;I changed the Crosslight assemblies,&amp;nbsp;the ParseLocation method and the GooglePlayServiceLib as described above.&lt;/p&gt;&lt;p&gt;Starting the MapsSample nothing has changed. I had no problem with the markers. All markers have been drawn on the map before. So, I don't understand why I should change the ParseLocation. I never had this culture issue when parsing out the locations.&lt;/p&gt;&lt;p&gt;My problem is that there is no route drawn on the map (blue and brown routes between two markers). And this problem still exists. Looking at the AlternativeRoutesViewModel the "Routes" property is null. I think this is the case in the DefaultRouteViewModel, too. I don't know where the "Routes" are. Maybe it is a service from Google. This is not working on my devices. Please, check again.&lt;/p&gt;&lt;p&gt;If there is anything I can do, please let me know.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Tue, 09 Dec 2014 06:38:46 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;blockquote&gt;... The only special thing I can see is that the culture is set to German/Switzerland.&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I started my investigation by changing the culture of my Galaxy Nexus device to German (Settings &amp;gt; Language and Input &amp;gt; Language &amp;gt; Deutsch); and followed by modifying the &lt;em&gt;ParseLocation&lt;/em&gt; method into the following:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;private Location ParseLocation(XElement element){    Location location = new Location();
    if (element != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(element.Value))
    {
        string[] parts = element.Value.Split(',');
        double latitude = Convert.ToDouble(parts[0], System.Globalization.CultureInfo.InvariantCulture);
        double longitude = Convert.ToDouble(parts[1], System.Globalization.CultureInfo.InvariantCulture);
        location.Coordinate = new LocationCoordinate(latitude, longitude);
    }

    return location;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;After save the changes and re-deploy the app to device, the reported problem is reproducible. This problem seems to be related with the culture issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Currently, the Crosslight development team is investigating this issue. It is filed under CROS-645.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I will keep this thread updated with any news I heard from the team regarding CROS-645.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;&lt;strong&gt;Update: December 10, 2014 12:06 AM&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;A nightly-build of Crosslight 3 (build 152) is now available to be downloaded. Please obtain the hotfix in &lt;a href="http://git.intersoftpt.com/projects/CROS/repos/updates/browse/Crosslight3_0_5000_152" target="_blank"&gt;here&lt;/a&gt;. This is a nightly-build update include the fixes for routes that are not drawn to the map in Android platform(CROS-645).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For your information, I have evaluated the nightly build on MapSamples project using Samsung Galaxy Nexus device (the culture is set to German) and found that the reported problems are no longer persist. Please let us hear your feedback regarding the nightly build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Note:&lt;br&gt;+ You might need to apply GooglePlayServicesLib.dll (attached) to "C:\Program Files (x86)\Intersoft Solutions\Crosslight 3\common\packages\googleplayservices-13.0" folder if necessary.&lt;br&gt;+ Modify ParseLocation method in BeachRepository.cs and MedicalPlaceRepository.cs into:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;private Location ParseLocation(XElement element)
{
    Location location = new Location();

    if (element != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(element.Value))
    {
        string[] parts = element.Value.Split(',');

        double latitude = 0;
        double.TryParse(parts[0], NumberStyles.Any, CultureInfo.InvariantCulture, out latitude);

        double longitude = 0;
        double.TryParse(parts[1], NumberStyles.Any, CultureInfo.InvariantCulture, out longitude);

        location.Coordinate = new LocationCoordinate(latitude, longitude);
    }

    return location;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This modification involving invariant culture conversion when parsing the maps coordinate (latitude and longitude). This changes have been applied to the MapSamples project in our git (at &lt;strong&gt;develop&lt;/strong&gt; branch).&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Tue, 09 Dec 2014 02:48:00 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Thomas,&lt;/p&gt;&lt;p&gt;Thanks for your continuous support and feedback.&lt;/p&gt;&lt;p&gt;No worries, we will escalate your issues to our development team and address these few glitches shortly. We will keep you informed.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Mon, 08 Dec 2014 18:20:18 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;I used the maps sample as it was provided by Intersoft. What I changed was the Maps API key in order to see any map on my device.&lt;/p&gt;&lt;p&gt;See my screenshot attached.&lt;/p&gt;&lt;p&gt;It is great that everything seems to work at your end, but on my end almost nothing seems to work. It is the same as the dark background of the TimePicker which should be light. I have nothing special on my devices. Meanwhile I tested with devices from my family and friends and I have the same results. These are the same devices as my customers may have. The only special thing I can see is that the culture is set to German/Switzerland.&lt;/p&gt;&lt;p&gt;What can I do? I need these features to work. Otherwise Crosslight is a waste of time for me because I'm spending my whole time chasing bugs instead of being productive.&lt;/p&gt;&lt;p&gt;Hope to here from you soon.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight 3 Maps Sample (Android)</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-3-Maps-Sample-Android/</link><pubDate>Fri, 05 Dec 2014 15:17:13 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Crosslight Support,&lt;/p&gt;&lt;p&gt;I just ran the new Maps sample on my Android device. Under "Default Route" the map shows up and also the two markers. But there is no blue&amp;nbsp;route drawn to the map like on iOS.&lt;/p&gt;&lt;p&gt;Under "Alternative Routes" its the same behaviour. No routes are drawn to the map. Clicking on "Change Route" a message says "Alternative route is not available yet. Try again later.".&lt;/p&gt;&lt;p&gt;Drawing routes to a map is a feature I want to use. Why isn't it in the Android sample? Isn't it realized at all on Android?&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>