项目作者: LCC-CIT
项目描述 :
Demo apps for a Xamarin Android app dev course
高级语言: C#
项目地址: git://github.com/LCC-CIT/CS235AM-Demos.git
CS235AM-Demos
Demo Xamarin Android apps for CS235AM at LCC
Note: All these apps are in one repository, so you will
need to download or clone the whole repository even if you
only want code for one app.
Directory
- Apps with multiple screens using Intent objects
- AgeCalc
- MathFlashCards- 2 Screens (4 projects)
- v0: Two activities with just one pair of layouts for portrait orientation
- v1: Same as v0, but with LaunchMode of FrontActivity set to SingleInstance - this approach is now depricated, use the approach in v0 instead.
- v2: Uses StartActivityForResult, and overrides OnActivityResult to get a result from a second activity
- GuessMyNumber (not working yet)
- Apps that save activity state using OnSaveInstanceState
- ClickCounter-SaveState, stores an int in a Bundle object
- ToDo-SaveInstanceState, uses XmlSerializer to save and restore object state
- Apps that use a ListActivity
- ListActivityDemo-VocabularyParseSectionIndex, 4 projects:
- CustomAdapterDemo: App with a ListView and a custom adapter class that inherits from BaseAdapter
- ListActivity+SimpleAdapter+XmlFile: Custom adapter for List\>. The adapter is populated with data parsed from an XML file.
- ListActivityDemo: Uses the Android ArrayAdapter class for an array of custom objects
- ListAndParser: Uses a custom adapter with a section indexer. The adapter is populated with data parsed from a text file.
- Apps that have both portrait and landscape layouts
- RpsLayoutDemo - Rock, Paper, Scissors game - 2 projects:
- RpsDemo-LinearLayouts
- RpsDemo-RelativeLayouts
- Apps that use Fragments
- Apps that use an SQLite Database and SQLite.Net ORM
- DataAccessDemo - Displays stock price history in a ListView
- DataAccessExercise - built on DataAccessDemo, includes a Spinner, DatePicker and complex queries
- Apps that consume a WebService
- Stocks+WebService - Not finished. Can someone help me find a free Stock price Web Service?
- Weather-WebServiceDemo - Gets weather data from the Weather Underground using a REST web service. Android and Console apps both work!
- Weather-NDFD-WebServiceDemo - Gets weather data from the NOAA NDFD using both SOAP and REST web services. Not working.
- Apps that demonstrate getting locaiton information
- GeolocationDemo
- FusedLocationProvider - Demonstrates getting location using the Google Play Services Fused Location Provider API
- XamarinGeolocator - Demonstrates getting location using the Xamarin cross-platform Geolocator plug-in
I wrote these apps for use with a class I teach at Lane Community College, CS235AM, Intermediate Mobile Applications Development: Android. Read more about the class and find out how to enroll here: https://birdsbits.wordpress.com/2014/09/09/xamarin-android-course
Read the rest of my blog, BirdsBits, here:
https://birdsbits.wordpress.com