Showing posts with label windows phone. Show all posts
Showing posts with label windows phone. Show all posts

20 August 2013

Windows Phone App Studio–My First App

Recently, Microsoft made available the Windows Phone App Studio (beta). The purpose of the Windows Phone App Studio is to make it simple for anyone with a great Windows Phone app idea to create, test, and share an app without installing any development tools.

Getting Started

You can sign up for a free account at the link above and give it a try for yourself. Note, however, that you may have to wait up to a day to get a registration code.
Once you’ve signed in, click on the Create link to get started with building your first app. You will have the option to start with an empty app (not recommended for your first time using the site) or one of (currently) 19 prebuilt templates.  The templates are geared toward marketing your business, wedding invites, promoting your favorite band, etc.
For my first app, I decided to create a simple news reader tied to my (this) blog. I name the app A Developer’s Life. For this app, I started with the “Our Company” template.

App Information

When you first create an app you can give it a Title (i.e. Name), Description, and a Logo.  For example, here’s what my initial app configuration looks like in the App Studio:
image

App Content

The next step is to define the content of your app, including Data Sources and Sections.
Data Source provide content for your app whereas Sections provide the pages for your app.  In my case, I have two data sources providing content for two pages (within a panorama):
  • newsds – a “news” data source tied to the RSS feed of my blog.  This provides the main content for the app.
  • aboutus – this data source allows you to store HTML which can then be data bound to a page element.  I use this to provide a little information about myself in the app.
The screenshot on the left (below) shows how the newsds Data Source is displayed on the page and the screenshot on the right shows how the aboutus Data Source is displayed.
wp_ss_20130820_0001      wp_ss_20130820_0002

Tapping on a specific news item about will display a details page as shown below:
wp_ss_20130820_0003

Application Style

There are also settings that determine the app’s background (a specific color or an image), the foreground color, and the application bar color.  You can also specify the type of tiles to implement with your app using the Cycle, Flip, or Iconic templates.  Splash and lock screen images can be selected as well.

Generating the App

The final step is generating your app.  Once you have everything setup and configured just the way you want it, you click on Generate and sit back and wait about 30 or 40 seconds for the app to build.  Once the app has been built, you will receive an e-mail message that can be used to download the app.  A QR code will also be displayed that can be scanned with your phone for quick and easy downloading as well.
Before you install an app created by the Windows Phone App Studio you must first install the provided certificate.  A link to the certificate is provided in the e-mail that is sent to you upon completion of the app build.
Once the app has been downloaded and installed on your phone, you can use it pretty much like any other app.

Wanna Try My App?

If you’d like to give my app (as seen above) a go, then click here to download and install A Developer's Life.  You must have the Windows Phone App Studio account to be able to access the shared application.
image

But Wait, There’s More!

Although the Windows Phone App Studio gives you a quick-n-easy way of getting basic apps up and running (and shared), you can only go so far with the App Studio.  If you find you’re running into limitations that you simply can’t get around (and you will if you want to implement any non-trivial features – e.g. notifications) then you can download the source code for the app and open it in Visual Studio.  Once in Visual Studio, you can continue to enhance your app as you see fit.  Nice!
All that said, there are still quite a few limitations to the App Studio.  However, this is a brand new offering from Microsoft and it is still in beta.  I suspect they will add many new features and capabilities as feedback comes in.  And, speaking of feedback, you can provide your own feedback about the App Studio here.
You can read a little more about the Windows Phone App Studio beta here as well.

01 May 2013

TFS Live app for Windows Phone

If you happen to 1) work with Microsoft’s Team Foundation Service (TFService) or another publically accessible TFS server and 2) own a Windows 8 Phone, then you will want to check out the tfs live app for Windows Phone. The tfs live app provides quick, at-a-glance totals for the various types of work items you’re most interested in.

When you install the app and run it for the first time, you will have to configure the app to connect to your TFS server:

wp_ss_20130501_0001

Although a template has been provided for the server URL (as shown in the above image), it is not the best template to follow if you’re connecting to a TFService instance.  In this case, use the following template:

     https://{account}.visualstudio.com/DefaultCollection – replacing {account} with your specific TFService account name.

Once you have successfully logged on, you will need to select a project name, role, and a couple of other options:

wp_ss_20130417_0002

The selected role determines which queries will show up on the main screen. The roles that can be selected from include:

  • Developer – provides: “bugs assigned to me” and “tasks assigned to me”
  • Tester – provides: “bugs assigned to me”, “test cases assigned to me”, and “tasks assigned to me”
  • Dev Lead – “bugs assigned to me”, “tasks assigned to me”, and “overall bug summary”
  • Test Lead – “bugs assigned to me”, “tasks assigned to me”, “overall bug summary”, and “overall test summary”
  • Manager – “overall task summary”, “overall bug summary”, and “overall test summary”

The image below shows the screen for a Developer role:

wp_ss_20130417_0004

Tapping on any of the query icons (on the screen above) will open a custom query (based on the specific type of query being ran) in the web browser displaying the appropriate work items.  This experience is less than ideal but it does work.  I would really like to see the query results come back to the phone and displayed in a list that, when tapped, would then open the web-based query to view the full details.

That said, I still find this app highly useful for keeping up to date on newly assigned and/or modified work items.  Some suggestions I might offer to the app developer would include:

  • Modify the server URL template to be more TFService friendly (as I’ve shown above).
  • Display the project name (and possibly role) on the main screen.  Currently, you can’t tell which project you’re connected to when looking at the main screen.
  • When selecting role from the settings page, “Devloper” (notice the missing ‘e’) is spelled incorrectly.  Not a major issue but detracts from the overall fit-n-finish of the app.

A PowerPoint slide deck with further details is available from the author here.

16 December 2012

Support and Suggestion Links for Visual Studio and Windows Phone

This post is as much for my benefit as it is for anyone else :-)  Although I have frequented all of the sites referred to below, it sometimes takes me a minute or two to come up with the link.  Being able to reference this blog post just might save me a little time in the future.  Along with that, it may also point out a few support sites that you weren’t aware of.

The links below are specific to Visual Studio and Windows Phone.  As these are two of the most common technologies that I interact with on a daily basis, I thought I’d point out a few shortcuts on where to submit feature ideas, bugs, as well as where to ask questions.

Visual Studio

Visual Studio UserVoice – Do you have a great idea that you feel should be implemented in Visual Studio?  Add your idea to the Visual Studio UserVoice site and let others vote on it.  You can also vote and/or comment on other’s suggestions.

Visual Studio Forums – Ask your tough questions here.  There are literally hundreds of thousands of answered questions within the Visual Studio forums so there is a good chance your question has already been answered.  This link covers a lot of Microsoft development products so here are a few links that are more focused on specific products:

Microsoft Connect – If you have discovered a bug within Visual Studio (or think you have discovered a bug) then file it within the Visual Studio Microsoft Connect site.  From here, you will be able to track the status of the bug and any possible workarounds that are posted.

image

Windows Phone

Windows Phone Consumer Links

Windows Phone – Of course, the best place to start searching for support information for Windows Phone is the main site itself – windowsphone.com.  This site provides all sorts of information regarding your Windows Phone as well as many links to tutorials, blogs, forums, etc.

Windows Phone UserVoice – Windows Phone is great but that doesn’t mean there isn’t room for improvement.  Add suggestions for new features in Windows Phone and/or vote and comment on existing feature ideas (e.g. such as this one regarding a keyboard shortcut that I just created).

Windows Phone 8 Support – This site provides a preset list of “how to” and troubleshooting categories, each with a set of linked topics available for viewing:

image

Windows Phone 8 Forums – for those more difficult situations where you can’t seem to find the answer, check out the Windows Phone forums.  Odds are, someone will be able to help you out.

Windows Phone Developer Links

Windows Phone Dev Center – this site is a great resource for Windows Phone developers.  It provides access to videos, samples, blogs, news, and related events.

Windows Phone Development Forums – whereas the Windows Phone 8 Forums link above is more geared toward consumer-oriented questions, the Windows Phone Development Forums relies upon the developer community to help with those tough-to-answer Windows Phone development questions.

[Updated: added a couple more links based on feedback]

20 June 2012

Highlights of the Windows Phone Summit

Today, Microsoft held their first ever Windows Phone Summit.  Although the event lasted only two hours, there was quite a bit of information provided, lots of questions answered, and several questions still left to be answered.  Below are some of highlights of the event (in no particular order):

  • Windows 8 and Windows Phone 8 will both utilize a Shared Windows Core
  • Device drivers can be built once to support Windows 8 as well as Windows Phone 8
  • Support for multi-core chipsets
  • A total of three screen resolutions to be supported:
    • 800x400 (current resolution for Windows Phone 7.x)
    • 1280x768
    • 1280x720
  • Support for (removable) MicroSD cards (can be used for photos, music, videos, apps)
  • Internet Explorer 10 – includes SmartScreen anti-phishing filter (same as in Windows 8) as well as improvements to JavaScript and HTML5 performance
  • Native code support for game development
  • NFC support including “Tap-to-Share”
  • New Wallet Hub with support for credit and debit cards, loyalty and membership cards, and coupons.  Can utilize NFC capabilities for “Tap-to-Pay”.
  • Nokia maps – all Windows Phone 8 devices will include Nokia map technology (not just the Nokia devices)
  • Enterprise features such as:
    • Trusted Shared Windows Core
    • Encryption and Secure Boot
    • Line-of-Business app deployment
    • Device management
    • Familiar Office apps
  • New and improved Start Screen – can now resize tiles to one of three sizes (small, medium, and large).  Can have up to four (small) tiles running horizontally across the Start Screen.  The tiles still retain their “live” feature regardless of size.
  • Support for IPv6
  • Improved Bluetooth support (details not announced)
  • Native support for Voice over IP (VoIP) and Video Chat – integrated into the standard phone experience (i.e. you can receive a Skype call just as you would any other call)
  • DataSmart feature allowing to you better manage your data usage
  • Developer SDK will be released later this summer
  • Visual Studio 2012 will support development for Windows Phone 7.5, 7.8, and 8
  • Windows Phone 7.5 apps will run on Windows Phone 8.  They will be compiled “in the cloud” automatically by Microsoft as they are published to the Windows Phone Marketplace.  Existing apps will be compiled as well.
  • Windows Phone 8 will not be provided for existing (Windows Phone 7.x) devices.  However, a Windows Phone 7.8 release will be made available that provides the new Start Screen experience.
  • Audible app due in the Windows Phone Marketplace later today
  • Location apps can run in background (e.g. turn-by-turn instructions will continue to announce instructions, even if another app is running in the foreground)
  • SQLite has been ported to run on Windows 8 RT and will also run on Windows Phone 8
  • Introduced support by various game technology providers such as:

I have no doubt left out a few details covered during the summit but you can get all the details yourself by watching the recorded presentation currently available here (I’ll update this link if the video is moved).

I look forward to seeing what else has yet to be announced for Windows Phone 8.

21 December 2010

My First Published Windows Phone 7 Apps

Like many other developers out there (there’s over 18,000 registered developers so far) I decided to take a try at writing some applications for Microsoft’s new Windows Phone 7.  I decided to create two simple applications (to start with) – one for free and the other to (try to) sell for $0.99 (USD).  The details for each application is included below.  But first, a few lessons learned.

Lessons Learned

“Twas the Night Before Christmas”

For my first free published application, I decided to take the near-200 year old poem “A Visit from St. Nicholas”, also known as “Twas the Night Before Christmas” and make it available for reading as an off-line Windows Phone 7 application.  With Christmas Eve fast approaching, it seemed like a simple choice :-)

This application allowed me to make use of the Windows Phone Browser Control as well as the Pivot Control.  Probably the biggest challenge with this application was getting the Browser Control to properly read the embedded HTML and image files.  As it turns out, you have to copy the files to Isolated Storage (this only needs to be performed once) before the browser control can directly access them.

Once you install and run the application, you have the option of reading the Introduction, the actual Story, and the Credits (i.e. copyright notice).  Here are a few screen shots:

Twas_Introduction_lightTwas_Story_lightTwas_Credits_light

Read the full application details and/or download the application here.

SafetyTip

For my first “non-free” application, I decided to port an application I had originally written for Windows Mobile 6.0 – SafetyTip.  Although the user interface code did not directly port (not even close :-), the underlying business logic ported just fine – since it was c# code.

This application is not just another tip calculator but rather calculates what I like to call “visually verifiable” tips.  In other words, it will generate a tip that, when added to the original amount, will total up to an amount that can be visually verified by looking at it.  For example, one of the methods available for selection is “Palindrome”.  This method ensures the "cents" digits are the reverse of the first two "dollar" digits.  For example, in the screen shots below, you can see that the tip calculated for $100 using this method (at 15%) is 15.51.  Add this to the total for $115.51.  Note how the "cents" digits, ".51" is the reverse of the first two "dollars" digits, "15".  If you get your credit/debit card statement and these sets of digits are not reversed, then you know you should probably check into what's going on.

This application provided me the opportunity to work with the Silverlight for Windows Phone Toolkit.  I utilized the ListPicker control from the toolkit to list the various tip calculation methods (there are a total of four).  Working with this toolkit is simple and there are various examples to learn from.

Here are a few screen shots of the application:

ST_Palindrome_lightST_Checksum_lightST_RoundUp_lightST_Standard_light

Read the full application details and/or download the application here.

What’s Next?

Like many other software alchemists out there, I have a running list of ideas that I hope to convert to Windows Phone applications in the relatively near future.  Given the simplicity of the Windows Phone 7 platform, I just might stand a chance!