{"id":513,"date":"2011-10-18T14:59:07","date_gmt":"2011-10-18T18:59:07","guid":{"rendered":"http:\/\/cis.bentley.edu\/mfrydenberg\/?p=513"},"modified":"2011-11-07T10:57:41","modified_gmt":"2011-11-07T15:57:41","slug":"isecon-windows-mobile-phone-development-workshop","status":"publish","type":"post","link":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/2011\/10\/18\/isecon-windows-mobile-phone-development-workshop\/","title":{"rendered":"ISECON Windows Mobile Phone Development Workshop"},"content":{"rendered":"<p>I&#8217;m leading a workshop at <a href=\"http:\/\/www.isecon.org\" target=\"_blank\">ISECON<\/a> 2011 in Wilmington\u00a0 on <a href=\"http:\/\/proc.isecon.org\/2011\/workshops\/1764.html\" target=\"_blank\">Creating Windows Mobile Phone Apps<\/a>. \u00a0The workshop will be held on Friday, November 4, from 9:30 am to 11:55 a.m. \u00a0This post is primarily intended for participants, as it contains instructions on what to bring, read, download, sign up for, and do to prior to the workshop.<\/p>\n<blockquote><p>Learn how to create mobile applications for the Windows Phone 7 platform using Visual Basic and C# in just a few hours. By the end of this workshop, you will create and customize a phone app template developed by the presenter that combines information from your school&#8217;s Web site, RSS feeds, and other online sources to create a phone app for your school. Best of all, you don&#8217;t need to write a single line of source code to do this! You will also learn how to submit your apps to the Microsoft Marketplace. For those with some programming experience, we will review application code to interact with RSS feeds, display maps, and invoke Web services. We will also introduce Silverlight markup for designing a mobile application&#8217;s user interface. For those with no programming experience, we will also present web-based development tools to create mobile applications on iPhone, Droid, and Windows Phone 7 platforms.<\/p><\/blockquote>\n<p><iframe loading=\"lazy\" src=\"http:\/\/r.office.microsoft.com\/r\/rlidPowerPointEmbed?p1=1&#038;p2=1&#038;p3=SD852832AD8CCD8031!4127&#038;p4=&#038;kip=1\" width=\"402\" height=\"327\" frameborder=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><iframe loading=\"lazy\" src=\"http:\/\/r.office.microsoft.com\/r\/rlidPowerPointEmbed?p1=1&#038;p2=1&#038;p3=SD852832AD8CCD8031!4041&#038;p4=&#038;kip=1\" width=\"402\" height=\"327\" frameborder=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>Details about software and setup after the jump.<br \/>\n<!--more--><\/p>\n<p>We will be creating two different phone apps together, one using <a href=\"http:\/\/www.appmakr.com\/\" target=\"_blank\">AppMakr<\/a>, an online app development platform that requires no coding, and another using <a href=\"http:\/\/www.microsoft.com\/visualstudio\/en-us\/products\/2010-editions\/windows-phone-developer-tools\" target=\"_blank\">Visual Studio 2010 Express for Windows Phone<\/a>.\u00a0You will need a PC running Windows to fully participate in this workshop. \u00a0Be sure your battery is charged! \u00a0I&#8217;m told there will be wifi available, but it would be really nice if people weren&#8217;t all sitting in the back corner of the room because \u00a0that&#8217;s where the only electrical outlet is located.<\/p>\n<h3>For the Visual Studio 2010 Express activity:<\/h3>\n<ul>\n<li>Please download <a href=\"http:\/\/www.microsoft.com\/visualstudio\/en-us\/products\/2010-editions\/windows-phone-developer-tools\" target=\"_blank\">Visual Studio 2010 Express for Windows Phone<\/a> and install it.<\/li>\n<li>Please download MySchoolApp (<a href=\"http:\/\/myschoolapp.codeplex.com\/\" target=\"_blank\">the original, that I posted to Codeplex<\/a> in VB and C#) and the C# version\u00a0that Microsoft&#8217;s Chris Koenig adapted from mine, and is now included in the<a href=\"http:\/\/code.msdn.microsoft.com\/Windows-Phone-Starter-Kit-c3b8b2d2\/sourcecode?fileId=42374&amp;pathId=128403465\" target=\"_blank\"> Microsoft Windows Phone Starter Kit for Schools<\/a>. \u00a0You can read more about<a href=\"http:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/2011\/02\/22\/my-windows-mobile-app\/\"> my original version<\/a> and <a href=\"http:\/\/chriskoenig.net\/2011\/09\/15\/announcing-windows-phone-starter-kits\/\" target=\"_blank\">what Chris did to make it look a whole lot better<\/a>.<\/li>\n<li>There are tons of<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ff431744(v=vs.92).aspx\" target=\"_blank\"> code samples online<\/a> to get you started as well. \u00a0This is a good\u00a0<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ff941093(v=VS.92).aspx\" target=\"_blank\">Map tutorial<\/a>. We&#8217;re going to modify it to center the map at various landmarks. You&#8217;ll need this code.<\/li>\n<\/ul>\n<p><span style=\"font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; white-space: pre;\"> private void Plot(double lat, double lon, string descr)<\/span><\/p>\n<ul>\n<blockquote>\n<pre>        {\r\n            GeoCoordinate mapCenter = new GeoCoordinate(lat, lon);\r\n            int zoom = 15;\r\n\r\n            \/\/ Create a pushpin to put at the center of the view\r\n            Pushpin pin1 = new Pushpin();\r\n            pin1.Location = mapCenter;\r\n            pin1.Content = descr;\r\n            map1.Children.Add(pin1);\r\n\r\n            \/\/ Set the map style to Aerial\r\n            map1.Mode = new Microsoft.Phone.Controls.Maps.AerialMode();\r\n\r\n            \/\/ Set the view and put the map on the page\r\n            map1.SetView(mapCenter, zoom);\r\n\r\n        }<\/pre>\n<p>You&#8217;ll also need lat-long&#8217;s of some famous places. \u00a0Here are a few examples, or use <a href=\"http:\/\/www.bing.com\/maps\/?v=2&amp;cp=48.858249670535024~2.2944951057434038&amp;lvl=18&amp;dir=0&amp;sty=r&amp;where1=Eiffel%20Tower%2C%20Paris%2C%20France&amp;form=LMLTCC\" target=\"_blank\">Bing Maps<\/a> to find your own.<\/p>\n<ul>\n<li>Statue of Liberty:\u00a040.6892471313477, &#8211; 74.0445327758789<\/li>\n<li>Eiffel Tower:\u00a048.8579292297363, 2.29525995254517<\/li>\n<\/ul>\n<\/blockquote>\n<li>Here are some<a href=\"http:\/\/cis.bentley.edu\/mfrydenberg\/wp-content\/uploads\/2011\/10\/AppImages.zip\"> sample banners and splashscreens<\/a> if you don&#8217;t want to take the time to make your own, should you submit your app to the Microsoft Windows Mobile Marketplace.<\/li>\n<\/ul>\n<h3>For the AppMakr activity:<\/h3>\n<ul>\n<li>If you have time\u00a0\u00a0before the workshop,\u00a0<a href=\"http:\/\/www.appmakr.com\" target=\"_blank\">create an account on AppMakr<\/a>. It will be one fewer thing you&#8217;ll have to do when you get there!<\/li>\n<li>We&#8217;ll be <a href=\"http:\/\/www.mis-laboratory.com\/WP7\/AppMakrStudentHandbook.pdf\" target=\"_blank\">following these steps<\/a> for the AppMakr part of the workshop, so if you want a printed copy, please download and print one, and remember to bring it with you!<\/li>\n<li>Here are some<a href=\"http:\/\/cis.bentley.edu\/mfrydenberg\/wp-content\/uploads\/2011\/10\/AppImages.zip\"> sample banners and splashscreens<\/a> if you don&#8217;t want to take the time to make your own.<\/li>\n<\/ul>\n<p>Windows Phone Development Tools<\/p>\n<ul>\n<li><a href=\"http:\/\/www.microsoft.com\/download\/en\/details.aspx?displaylang=en&amp;id=27570\" target=\"_blank\">These tools<\/a> let you copy files to an unlocked Windows Phone.<\/li>\n<li>To deploy apps to a Windows Phone, you need to install <a href=\"http:\/\/www.zune.net\/en-US\/products\/software\/download\/default.htm\" target=\"_blank\">Zune software<\/a> on your PC.<\/li>\n<\/ul>\n<h3>To upload your apps to the Microsoft Windows Phone Marketplace:<\/h3>\n<p>Please complete these steps before you get to Wilmington<\/p>\n<ul>\n<li>It would be great if we actually got to create an app and submit it to the Microsoft\u00a0<a href=\"http:\/\/www.windowsphone.com\/en-US\/marketplace\" target=\"_blank\">Windows Phone Marketplace<\/a> by the end of the workshop.\u00a0To facilitate this\n<ul>\n<li>Please create a\u00a0<a href=\"https:\/\/www.dreamspark.com\/default.aspx\" target=\"_blank\">Dreamspark <\/a>account. You&#8217;ll need a windows LiveID for that.<\/li>\n<li>Then register for\u00a0<a href=\"http:\/\/create.msdn.com\/en-US\/\" target=\"_blank\">App Hub<\/a> using your Dreamspark account. Dreamspark gives you access to Microsoft Development tools at no charge as long as you&#8217;re a student (or can convince Microsoft that you are one! \u00a0An .edu email address usually does the trick.) \u00a0Edwin Guarin posted the\u00a0<a href=\"http:\/\/bit.ly\/r2dqFr\" target=\"_blank\">steps for creating both of these accounts<\/a> on his blog. You can follow steps 1-7 to register for Dreamspark, and steps 8 -10 to register for AppHub. Signing up for AppHub allows you to waive the $99 registration fee to post your apps on the Marketplace.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div id=\"_mcePaste\" style=\"padding-left: 90px;\">You will receive an email from a company called GeoTrust. This email will\u00a0ask you to visit a site where you will be asked a set of questions only you should\u00a0know the answer to. This will verify your identity for the App Hub Marketplace.\u00a0After GeoTrust has verified your identity, you will receive a second email from\u00a0them that asks you to send a signed copy of an ID such as a driver\u2019s license. It\u2019s\u00a0all about making sure people are identified so that they can receive payment for\u00a0and take responsibility for their work. This second email may take up to 2-3 days\u00a0before you receive it.\u00a0After you send in the signed copy of your ID, GeoTrust sends Microsoft the\u00a0identification information; this can also take another 2-3 days. At least you only\u00a0have to do this once!<\/div>\n<p>For those who teach VB, check out <a href=\"http:\/\/www.wadsworth.com\/cgi-wadsworth\/course_products_wp.pl?fid=M20b&#038;product_isbn_issn=9780538468473&#038;discipline_number=211\">Corinne Hoisington&#8217;s online chapter <\/a>about Creating Windows Mobile Phone 7 Applications using Decision Structures.<\/p>\n<p>Any other questions? Feel free to email me before the workshop!<\/p>\n<p>Mark<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m leading a workshop at ISECON 2011 in Wilmington\u00a0 on Creating Windows Mobile Phone Apps. \u00a0The workshop will be held on Friday, November 4, from 9:30 am to 11:55 a.m. \u00a0This post is primarily intended for participants, as it contains instructions on what to bring, read, download, sign up for, and do to prior to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,37,22,28],"tags":[],"_links":{"self":[{"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/posts\/513"}],"collection":[{"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/comments?post=513"}],"version-history":[{"count":16,"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/posts\/513\/revisions"}],"predecessor-version":[{"id":554,"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/posts\/513\/revisions\/554"}],"wp:attachment":[{"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/media?parent=513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/categories?post=513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cis.bentley.edu\/mfrydenberg\/index.php\/wp-json\/wp\/v2\/tags?post=513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}