Tag Archives: Xamarin Forms

Azure and Xamarin Forms book published!

I am officially a published book author! “Azure and Xamarin Forms” is now available on Amazon as an Apress publication for both the kindle and printed versions or PDF at the Apress site.

When someone asks you if you know a good book to recommend on getting with Xamarin Forms or getting started with Azure for Devs or using them both together, I would be most appreciative on considering a recommendation. To my knowledge it is the only book available like it combining these two technologies in one place. I have received some great feedback so far and am very excited about this book helping devs. Special tanks to my technical reviewer:

Sunny Mukherjee :   https://www.linkedin.com/in/sunnymukherjee/

Here are the links:

Amazon -

https://www.amazon.com/Azure-Xamarin-Forms-Platform-Development-ebook/dp/B07DS9RH87

Or directly thru Apress for the EPub and PDF versions

https://www.apress.com/us/book/9781484235607#otherversion=9781484235614

Happy coding!

 

Deploying a SQLite database file with a Xamarin.Forms app–(UWP update)

Say you have a SQLite DB you want to deploy with your Xamarin Forms app. Here is an excellent article on how to do this from Rob Gibbens of Xamarin University fame…

http://arteksoftware.com/deploying-a-database-file-with-a-xamarin-forms-app/

The article has wp8 but it uses Application.GetResourceStream and that is only for Windows phone, and the code below I have updated for UWP. Also, in November the UWP team posted some great sample code where I found the answer at: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/FileAccess

So, just replace the WP8 code in the blog article with this code below and you will all set. The iOS and Android code works fine in the blog.

var storageFile = IsolatedStorageFile.GetUserStoreForApplication();

if (!storageFile.FileExists(dbPath))

{
// copy storage file; replace if exists.
var fileToRead = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(new Uri(“ms-appx:///people.db3″, UriKind.Absolute));

Windows.Storage.StorageFolder storageFolder =

Windows.Storage.ApplicationData.Current.LocalFolder;

StorageFile fileCopy = await fileToRead.CopyAsync(storageFolder, “people.db3″, NameCollisionOption.ReplaceExisting);

}

Where is Russ Fustino in July? The tour continues!

IMG_8157 small

July 2, 6:30 PM – Space Coast User Group

  • Topic: Improving Your App Quality with Raygun
  • Register at: http://www.meetup.com/Space-Coast-Net-User-Group/events/222906128/?a=wc1d.2_gnl&gj=wc1d.2_e&rv=wc1d.2_e
  • Location: Aerotek new office, 6767 North Wickham Road Suite B-104, Melbourne, FL
  • Join MVP and Raygun Community Evangelist Russ Fustino as he shares a great error reporting tool that is fast and reliable, no matter what the load. See how he used Raygun this during the development cycle to help debug errors and some weird bugs for the Xamarin Forms Endorsed Jethro Tull app. It is also great for the production environment and gives you real time data and affected user information no matter what the platform including JavaScript, .NET, Ruby and more. Be proactive and fix errors before your users hound you down. See an overview of Raygun and the many supported platforms as well as integrations. Download your free trial today! www.raygun.io and follow @raygunio

July 7, 6PM – Tallahassee Capital City .NET User Group

  • Topic: Rock’in with Russ, Raygun and Xamarin Forms
  • Register at: http://www.meetup.com/tally-dot-net/events/223451975/
  • Location: Domi Station – 914 Railroad Avenue, Tallahassee, FL (map)
  • Join MVP and Raygun Community Evangelist Russ Fustino in this hot off the metal session as he shares insights into the trials, tribulations and joy of building the Endorsed Jethro Tull App. Share the excitement as Russ “tells all” about creating his Jethro Tull app. The app is now published for Android and iOS, Windows Store and Windows Phone. How did he do it? Is Xamarin Forms the real deal? Topics covered include: Custom Renderers, Embedded Resources, XAML, Third party controls and plugins, Building for Phone and Tablet, Dependency Injection, Store app review process,  and Third Party Endorsement Proof. Russ will close with showing his world class error reporting built into the app with proactive email support. He shares this great error reporting tool that is fast and reliable, no matter what the load. See how he used Raygun this during the development cycle to help debug errors and some weird bugs for the Xamarin Forms Endorsed Jethro Tull app. It is also great for the production environment and gives you real time data and affected user information no matter what the platform including JavaScript, .NET, Ruby and more. Be proactive and fix errors before your users hound you down. See an overview of Raygun and the many supported platforms as well as integrations. Download your free trial today! www.raygun.io and follow @raygunio

July 10-11, CodeStock attendee, Knoxville, TN

  • wait list for speaking:
  • Register at: http://www.codestock.org/
  • Location: Knoxville Convention Center 701 Henley Street, Knoxville, TN 37902

July 14, 6PM – South Florida Xamarin User Group

July 18, Tampa Code Camp

  • Topic: Rock’in with Russ, Raygun and Xamarin Forms
  • Register at: http://tampacodecamp.net/
  • Location: KForce 1001 East Palm Avenue, Tampa FL 33605

July 27-28 Disney Developer Days (onsite for internal employees) , Orlando

  • Improving Your App Quality

Rock’in with Russ Fustino, Florida Tour Announced!

Where in the world is Russ Fustino? Here are the dates, locations and topics for this week in Florida! More dates to be published next week. This week includes Bradenton, Miami and Boca Raton! Hope to see you there!

Date: June 2 @ 6:00 pm – 8:00 pm

Location: Station 2 Innovation Center
912 7th Ave E, Bradenton, FL 34208  (map)

Topic: Rock’in Cross Platform Mobile Dev with Russ!

Register here: http://www.meetup.com/Entrepreneurs-Startups/events/222241246/

 

Date: June 3 @ 4:00 pm – 5:00 pm

Location: University of Miami

5030 Brunson Dr #314, Coral Gables, FL 33124

Room 314 Dooley Memorial Building.  In the same building as the Cosford Cinema.

Topic:  Rock’in with Russ on Today’s Software Development Technologies

Register here:   (limited number of public seats available) https://www.eventbrite.com/e/rockin-with-russ-on-todays-software-development-technologies-tickets-17218250250

 

Date: June 4 @ 6:30 pm – 8:30 pm

Location: Coders Café Special meeting at Cendyn Spaces!

Cendyn SPACES Cazbah
980 North Federal Highway #110
Boca Raton, FL 33432

Topic:  Rock’in with Russ! How We Built the Jethro Tull App Using Xamarin Forms and Raygun

Register here:   http://www.fladotnet.com/Reg.aspx?EventID=769

Tour sponsored by Raygun.IO!

raygun-background@128

Rock’in Cross Platform Mobile Dev with Russ!

June 2 @ 6:00 pm – 8:00 pm

Station 2 Innovation Center

912 7th Ave E, Bradenton, FL 34208  (map)

Two sessions in one! Join Russ as he kicks off his Florida Tour. This will be the only Tampa/Sarasota location on the tour, so be sure not to miss it! Details  of tour to follow.

Also, see “Improving Your App Quality”, details below!

Register here: http://www.meetup.com/Entrepreneurs-Startups/events/222241246/

RussFustino

Join Microsoft MVP and Raygun Community Evangelist Russ Fustino in this hot off the metal session as he shares insights into the trials, tribulations and joy of building the officially endorsed Jethro Tull App.

Share the excitement as Russ “tells all” about creating his Jethro Tull app. The app is now published for Android and iOS, Windows Store and Windows Phone. How did he do it? Is Xamarin Forms the real deal?

Topics covered include:

·  Images

·  Custom Renderers

·  Embedded Resources

·  XAML

·  Third party controls and plugins

·  Building for Phone and Tablet

·  Dependency Injection

·  App Store review process

·  Third Party Endorsement Proof

Improving Your App Quality:

Russ will close with showing his world class error reporting built into the app with proactive email support. He shares this great error reporting tool that is fast and reliable, no matter what the load. See how he used Raygun this during the development cycle to help debug errors and some weird bugs for the Xamarin Forms Endorsed Jethro Tull app. It is also great for the production environment and gives you real time data and affected user information no matter what the platform including JavaScript, .NET, Ruby and more. Be proactive and fix errors before your users hound you down. See an overview of Raygun and the many supported platforms as well as integrations. Download your free trial today! www.raygun.io and follow @raygunio

Raygun

Bio: Russ Fustino is a MVP and Raygun Community Evangelist and a highly experienced software evangelist. He has developed and published Windows Store, Windows Phone 8.1 Universal, Xamarin iOS, Android and WP 8 apps. He is a former Developer Evangelist for Xamarin, ComponentOne and Microsoft and is CEO of Fustino Brothers, Inc (FBI). FBI Tull apps are officially endorsed by Jethro Tull. Russ has a passion for software development and tools through conveying technology via live seminars, webcasts, blogs, photos and internet video productions.  Russ is a Microsoft Most Valuable Professional (MVP) in Client Development and an INETA Lifetime Achievement Award winner for helping educate, entertain and enlighten over 1 million programmers. Russ co-heads up an INETA group:  Mobile Application Developers Tampa (MADTampa – www.madtampa.com ). Check out Russ’ blog at www.russtoolshed.net/blog and follow @RussFustino.

MAD Tampa recap, How We Built The Jethro Tull App

Special thanks go out to a great group! The Mobile Application Developer Tampa group was a packed house and the crowd was very engaged with a ton of questions. Please find the links with all of the answers!

 

IMG_8143

 

The second session I did was on “Improving Your App Quality”  and the recap for that session including PowerPoint and sample code will be posted soon on the http://raygun.io  site. As promised, here are all of the resource links for the Tull session:

Post

• Xamarin Forms Gallery (Navigation)

http://developer.xamarin.com/guides/cross-platform/xamarin-forms/controls/pages/

•What is a Xamarin plugin?

http://motzcod.es/post/104507063997/what-exactly-is-a-plugin-for-xamarin

•How to create a plugin?

http://blog.xamarin.com/creating-reusable-plugins-for-xamarin.forms/

•302 Error on Tour dates feed – Bugzilla
https://bugzilla.xamarin.com/show_bug.cgi?id=27265

•Mr. Gestures on NuGet

http://mrgestures.com/

•Background images that don’t stretch

http://java.dzone.com/articles/using-full-size-none-stretched

•Circle Images

https://www.nuget.org/packages/Xam.Plugins.Forms.ImageCircle

•XAML View for Custom Cells

https://gist.github.com/jamesmontemagno/a70ffa4a3d16972a3369

•HP 10 Plus 10.1-Inch 16 GB Tablet (Silver) – $239

http://www.amazon.com/HP-Plus-10-1-Inch-Tablet-Silver/dp/B00LPC3W1Q/ref=sr_1_1?ie=UTF8&qid=1431503402&sr=8-1&keywords=HP+10+Plus+10.1-Inch+16+GB+Tablet+%28Silver%29

PS. You need 10 inch screen shots for submitting apps, and there are no emulators of that size that I could find.

•Excel 2003 Add-in: XML Tools Add-in

http://www.microsoft.com/en-us/download/details.aspx?id=3108

•Good link for splash screen on android:

http://forums.xamarin.com/discussion/19362/xamarin-forms-splashscreen-in-android

• For the Build/iOS Bundle Signing set “Identity: Developer (Automatic)” and “Provisioning Profile: Automatic”. Was getting error – can’t find in keychain

http://forums.xamarin.com/discussion/25768/iphone-code-signing-key-other-developer-name-xxxxx-not-found-in-keychain

•App Submission Resources Android

https://developers.google.com/android-publisher/

http://www.appbrain.com/stats/android-market-app-categories

https://play.google.com/about/developer-content-policy.html

https://support.google.com/googleplay/android-developer/answer/113474

• App Submission Resources IOS

https://developer.apple.com/app-store/review/guidelines/

https://developer.apple.com/app-store/

• IOS Screen shots

https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Appendices/Properties.html#//apple_ref/doc/uid/TP40011225-CH26-SW2

•Publishing IOS:

http://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/app_distribution_overview/publishing_to_the_app_store/

•Common Bug on IOS Publishing

https://forums.xamarin.com/discussion/40388/disallowed-paths-itunesmetadata-plist-found-at-when-submitting-to-app-store/p1

•Publishing Android

http://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/

•Android in app billing:

http://components.xamarin.com/view/xamarin.inappbilling  (Which has a sample app)

•Dependency service:

http://developer.xamarin.com/guides/cross-platform/xamarin-forms/dependency-service/

•Getting Started  Xamarin.InAppPurchase:

https://components.xamarin.com/gettingstarted/xamarin.inapppurchase

Rockin with Russ Fustino!

Join the Mobile Application Developer Meetup Group in Tampa, Florida!

http://www.meetup.com/TampaBay-MobileAppDevelopers

Meeting Dates Set for 2015!

MAD Tampa will generally meet every second Wednesday

Time: 5:30-8:00PM

Location: AgileThought Office (Tampa)

2502 N Rocky Point Dr. Ste 900
Tampa, FL 33607  (map)
Wednesday, May 13, 2015

Two Sessions by Russ Fustino, MVP and Raygun Community Evangelist

Tull_iOS_LaunceScreen2048x1496

How we built the Jethro Tull Endorsed app using Xamarin Forms

Is Xamarin Forms the real deal? Join MVP Russ Fustino as he shares insights into the trials, tribulations and joy of building the Endorsed Jethro Tull App. Hot off the metal topics covered include: background images in the app (that are not distorted), using custom renderers, using embedded resources, XAML markup for Tablet and Phone, instrumentation, custom view cell, image sizes, third party controls including Mr. Gestures,  Circle Image Control ,  Xam.Plugins.Settings as well as portrait and landscape orientations. Also, he will cover some gotcha’s on the submission process to Amazon Store, Google Play and The App store including: setting up a test team, app size limitations on Android, iTunes and Apple logos, competitive mobile platform stores for iOS apps, in app purchases and third party endorsement proof.

raygun-transparent@128

Improving Your App Quality

Join MVP Russ Fustino as he shares a great error reporting tool that is fast and reliable, no matter what the load. See how he used Raygun this during the development cycle to help debug errors and some weird bugs for the Endorsed Jethro Tull app. It is also great for the production environment and gives you real time data and affected user information. Be proactive and fix errors before your users hound you down. See an overview of Raygun and the many supported platforms as well as integrations.

Download your free trial today! www.raygun.io and follow @raygunio

Bio:

Russ Fustino is a Raygun Community Evangelist and a highly experienced software evangelist. As well he has developed and published Windows Store, Windows Phone 8.1 Universal, Xamarin iOS, Android and WP 8 apps. He is a former Developer Evangelist for Xamarin, ComponentOne and Microsoft and is CEO of Fustino Brothers, Inc (FBI). FBI Tull apps are endorsed by Jethro Tull. Russ has a passion for software development and tools through conveying technology via live seminars, webcasts, blogs, photos and internet video productions. Russ is a Microsoft Most Valuable Professional (MVP) in Client Development and an INETA Lifetime Achievement Award winner for helping educate, entertain and enlighten over 1 million programmers. Russ co-heads up an INETA group: Mobile Application Developers Tampa (MADTampa – www.madtampa.com ). Check out Russ’ blog at www.russtoolshed.net/blog and follow @RussFustino

Where in the World is Russ Fustino?

My calendar has been filling up in my new Developer Evangelism role at Xamarin. Here is my current itinerary, I hope to see you at one or more of these events! If you have an event you would like to have me speak at, please let me know. @RussFustino

8/18/2014
South Florida Xamarin User Group

The Best of Xamarin University
http://www.meetup.com/South-Florida-Xamarin-User-Group/events/199391772/

8/19/2014
TechNite in Miami

Networking Event
http://technightattheballpark.com/

8/20/2014
Tampa Xamarin UG

The Best of Xamarin University
http://www.meetup.com/Tampa-Bay-Xamarin-User-Group/events/199363032/

9/4/2014
Tallahassee .NET UG

Xamarin.Forms
http://www.meetup.com/tally-dot-net/

9/13/2014
Jacksonville, Code Impact

Xamarin.Forms
http://www.codeimpact.org

9/18/2014
Portland, Maine, Casco Bay .NET Users Group
Xamarin.Forms
http://www.cbnug.org/

9/20/2014
Vermont Code Camp
Xamarin.Forms
http://vtcodecamp.org/

9/25/2014
Space Coast UG

Topic TBD
http://www.meetup.com/Space-Coast-Net-User-Group/

10/6 thru 10/10
Evolve – Atlanta

Topic: TBD
Http://evolve.xamarin.com

Xamarin 3 Rocks! Tampa Xamarin Meetup Recap

I had the great pleasure of attending the Xamarin user group in Tampa the other night.  Xamarin 3 was recently announced on May 28, 2014.  James Montemango, Developer Evangelist for Xamarin, delivered a killer online session for the Tampa Xamarin User Group. The folks at the meeting were very appreciative of the fact that James took the time to present to us.  We had a packed house at the AgileThought office to see all the new features of Xamarin 3. Wow. Everyone was blown away. I overheard one attendee saying on the very next day, he would pitch  to his boss to get Xamarin licenses for entire staff at his company. So, I guess it was a successful meeting! Special thanks go to Michael Stark for heading up the new group and organizing this meeting with James.

20140611_225644270_iOS

James Montemagno delivered a session to Tampa from Seattle on Wednesday night at the Tampa Xamarin User Group.

20140611_225621773_iOS

MVPs Kevin Wolf and yours truly, Russ Fustino were in the house.

James gave a quick overview of Xamarin and  covered the Xamarin Designer for iOS as well as Xamarin Studio & Visual Studio Enhancements.

Local developer,  Imaya Kumar, then showed off the new Xamarin Forms!

image

Imaya Kumar, Solution Architect Convene Technologies
Ex MSFT

Here are my notes from the meeting:

  • C# on 2.6 Billion devices! Yes, billion not million!
  • Xamarin 3 is the best release yet!
  • Xamarin Mission Statement: Make it fast, easy and fun to create apps.
  • The third year of the company was celebrated with a Birthday cake! Happy Birthday Xamarin!

birthday

Birthday Cake and Pizza were provided by Xamarin!

  • Xamarin is seeing explosive growth with strong recognition from the Gartner Magic Quadrant as a Visionary :

image

  • Xamarin has a test cloud for all of the different Android devices. Wow! So, now you don’t have to buy all sorts of Android devices to test with.

image

 

  • Users prefer to use Native apps that are fast, smooth and deliver a great experience. Hybrid apps typically don’t get good reviews. For example,  Facebook switched to a native interface and the downloads doubled.

image

  • F# and C# are supported.
  • New meaning to “write once and run anywhere”.  Shared C# backend  code is typically  %75 of the code, but  now the UI code can be sharable too, raising that number even higher!
  • All native API’s are supported and are made available to C# Developers.

image

image

image

  • Xamarin University is the quickest way to become a Mobile Developer? Numerous classes in all time zones are available 6 days a week with live training.

Major elements in Xamarin 3

  • Xamarin Designer for iOS
  • Xamarin Studio & Visual Studio Enhancements
  • Easy code sharing
  • Xamarin.Forms

Xamarin Designer

  • iOS provides and intuitive interface for developing iOS apps. For example, when you double click on an item in the designer it opens a code windows for the default event handler, etc.
  • Comprehensive editor, auto layout, etc.
  • iOS6 and iOS7 are both supported
  • Works on Windows and Mac

Xamarin Studio

  • Handy for those that don’t’ have Visual Studio and the interface has been improved. NuGet Package manager along with integration with Xamarin Component Store provides ease of access to many libraries.
  • Easy assess to solution
  • Main panel has new information from Xamarin, blogs, etc.

Visual Studio and Xamarin Studio

Easy code sharing

  • Shared project support
  • Editing can be in the context of the editing container. For example,  Android code is grayed out when in the iOS context.

Miscellaneous

  • Same project can be opened in both VS and XS
  • Build Story Boards to provide app functionality
  • iOS has native calls for face detection and sepia color editing, since 100 percent of the calls are available in Xamarin, this is no problem.
  • Custom Controls can be built as well
  • Screen shots of sample custom control, to crop and apply sepia filter

image

Auto Crop (uses automatic face detection in iOS): provides real time update in designer.

image

Sepia filter:

image

Xamarin Forms:

Besides the Xamarin Birthday cake, Xamarin Forms was the topic I was the most excited about! Can you imagine using shared code for multiple platforms. Wow!

image

  • Build native UI’s for iOS, Android and Windows Phone from a single shared C# codebase
  • uses XAML like code for the Xamarin compiler

With Xamarin Forms you can…

  • build the entire app with Xamarin Forms…
  • or use this to prototype, leaving the door open to incorporate  further platform specific features…
  • or take an existing project and add a new page, build you don’t want to do that three times

Pages, Layouts and Controls oh my!

  • Controllers are provided for pages using Master Detail , navigation, tabbed pages and more
  • Layouts are provided for stack, Absolute, relative, grid and more
  • Controls, controls and more controls. Being a former developer evangelist for control vendor, this is huge!

image

image

image

I am about to update my Tull Tribute Windows Phone app (to be renamed Jethro Tull, which is endorsed with Tull assets). There is no doubt in my mind when porting to iOS and Android, I will be using Xamarin to to this.

If you missed the meeting, don’t worry… here are links to the deck and a recording of the announcement of Xamarin 3. The video features Xamarin’s Nat Friedman, CEO and Co-Founder, Miguel de Icaza, CTO and Co-Founder and James Montemagno, DE.

 

See more details of the Xamarin 3 Announcement:

http://blog.xamarin.com/announcing-xamarin-3/
Download Xamarin:
http://xamarin.com/
Webinar recording:
https://xamarin.wistia.com/medias/dnm9rouaer
Webinar slides:
http://www.slideshare.net/Xamarin/say-hello-to-xamarin-3