Skip to content

mattkrebs/RBAListDemo

Repository files navigation

###GETTING STARTED###

  1. Download the Xamarin tools www.xamarin.com
  2. Make sure you have the IOS sdk or Android SDK installed with at least 4.0

#####Windows Setup:##### Download and install the Android SDK Open up the sdk manager from the install folder and install the 4.0 + sdks and x86 emulators

#####Mac Setup:###### Download and install the IOS sdk and tool set

#####Azure Setup:#####

  1. Create a new Azure Mobile Service and open its dashboard
  2. Note the MOBILE SERVICE URL (eg: https://rbalist.azure-mobile.net) on the right hand side
  3. Click the Manage Keys button at the bottom. Note the Application Key.
  4. Edit the WshLst.Core\Config.cs file
    1. Set the AZURE_MOBILE_SERVICE_URL constant value to the URL from step 2 (make sure you do NOT have a trailing slash)
    2. Set the AZURE_MOBILE_SERVICE_APPKEY constant value to the Application key from step 3
  5. In your Azure Mobile Service, Create the following Data tables (their columns will be dynamically created at runtime):
    1. WishList
    2. Entry
    3. EntryImage
  6. Open the Azure-Table-Scripts.js file from this repository and copy/paste the corresponding scripts for each table's read/insert/update/delete operations in the azure portal
  7. In your Azure Mobile Service's Identity configuration tab, setup the correct keys/secrets for all the authentication providers. You will need to follow the Azure help section to setup applications on each authentication provider (eg: Twitter, Facebook, Google, Microsoft).
  8. Create a new Azure Website and open its dashboard
  9. Download the new website's publishing profile
  10. Open the WshLst.Web.sln solution, build the web site, and publish it using your new website's publishing profile.
  11. Edit the WshLst.Core\Config.cs file again
    1. Set the AZURE_WEBSITE_URL to the url of the website you just made (be sure you do NOT include the trailing slash)

#####OPTIONAL##### Without these optional steps you will be unable to utilize the Google Places or Barcode Scanning features:

  1. Signup for a Google Places API, note your API Key
  2. Signup for a Scandit API key, note the key
  3. Edit the WshLst.Core\Config.cs file again
    1. Set the GOOGLE_PLACES_API_KEY to the key you just created
    2. Set the SCANDIT_API_KEY to the key you just created

###TROUBLESHOOTING###

  1. iOS App Crashes - Try increasing the number of trampolines: http://docs.xamarin.com/ios/troubleshooting#Ran_out_of_trampolines_of_type_2

###PROJECTS###


##LICENSE## Apache WshLst Copyright 2012 The Apache Software Foundation

This product includes software developed at The Apache Software Foundation (http://www.apache.org/).

About

"Craigs List" type demo for RBA demonstrating, code reuse, Azure Mobile Services, Xamarin.Mobile API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages