1 / 17

Workshop 6 (ws6C) native Entwicklung für mobile Geräte

Workshop 6 (ws6C) native Entwicklung für mobile Geräte. Lektion 5-6: Mega CRM. Unser Plan. 18.2 (Romano) Einführung , « Mega CRM», Aufsetzen 25.2 (Romano) Einführung in Windows Phone 8 Entwicklung 04.3 (Romano) Umsetzung « Mega CRM» mit Windows Phone 8

hamal
Download Presentation

Workshop 6 (ws6C) native Entwicklung für mobile Geräte

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Workshop 6 (ws6C) native Entwicklung für mobile Geräte Lektion 5-6: Mega CRM

  2. Unser Plan • 18.2 (Romano) Einführung, «Mega CRM», Aufsetzen • 25.2 (Romano) Einführung in Windows Phone 8 Entwicklung • 04.3 (Romano) Umsetzung «Mega CRM» mit Windows Phone 8 • 11.3 (Oliver) Einführung in Mono Entwicklung • 18.3 (Oliver) Umsetzung «Mega CRM» mit MonoTouch • 25.3 (Oliver) Umsetzung «Mega CRM» mit MonoDroid • 01.4 Kein Workshop (Ostern) • 08.4 (Michael) Einführung in iOS Entwicklung • 15.4 (Michael) Umsetzung «Mega CRM» mit iOS • 22.4 (Michael) Umsetzung «Mega CRM» mit iOS Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  3. Lektion 5-6 • Seid Ihr bereit für Mono? • Seiten Navigation • ApplicationBar • Mega CRM mit Windows Phone 8 • Add • Edit • Delete • Ausblick (5’) • Retrospective (5’) • Was war gut? • Was kann verbessert werden? Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  4. Seid Ihr bereit für Mono?11.03.13 – 25.03.13 • Allgemein • Apple Rechner mit OS X 10.7.5 • Xcode 4.6 (über App Store) • Xamarinfor Mac (http://xamarin.com/download) • PC mit Windows 7 (optional, empfohlen) • Visual Studio 2010 (wenn Entwicklung in VS statt Xamarin Studio gewünscht, empfohlen) • Xamarinfor Windows (http://xamarin.com/download) • Xamarin Account • Begin a 30-day-Trial: http://docs.xamarin.com/guides/cross-platform/getting_started/beginning_a_xamarin_trial (nötig, um App im Emulator laufen zu lassen) • Hardware (optional) • iOS-Gerät (iPhone, iPod Touch) • Android-Gerät

  5. Seid Ihr bereit für Mono?11.03.13 – 25.03.13 • Erster Workshop (11.03.13) • Google APIs für Android 4.0 (API14) • http://docs.xamarin.com/guides/android/platform_features/maps_and_location/part_2_-_maps_apiKapitel «Google APIs Add-On» • Google Maps API Key • Für gewünschte Android-Entwicklungsplattform (Windows oder OS X):http://docs.xamarin.com/guides/android/platform_features/maps_and_location/obtaining_a_google_maps_api_key

  6. Navigation • Frame • Toplevel • System Tray • ApplicationBar • Beinhaltet eine Page • Page • Hat einen Titel und Content Area Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  7. Page Navigation • XAML Apps auf WP8 benutzen ein Seiten-Basiertes Navigation Model (Gleich wie auf dem Web) • URI • Stateless • Erste Seite • Zweite Seite • Hardware Button macht das gleiche wie NavigationService.GoBack(); privatevoidButtonBase_OnClick(object sender, RoutedEventArgs e) { NavigationService.Navigate(newUri("/Secondpage.xaml", UriKind.Relative)); } privatevoidButtonBase_OnClick(object sender, RoutedEventArgs e) { NavigationService.GoBack(); } Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  8. Demo Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  9. Daten zwischen Pages • Via Query Strings • Erste Seite • Zweite Seite privatevoidButtonBase_OnClick(object sender, RoutedEventArgs e) { varid = _textBox.Text; NavigationService.Navigate(newUri("/SecondPage.xaml?id=" + id, UriKind.Relative)); } protectedoverridevoidOnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); varid = string.Empty; if(NavigationContext.QueryString.TryGetValue("id", out id)) { _textBox.Text = id; } } Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  10. Demo Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  11. Aufgabe • Wenn ein Kunde in der Liste selektiert wird, soll der Kunde auf einer neuen Seite im Detail angezeigt werden. • Lösungs Ansatz: • MainPage: • Liste  SelectionChanged • Neue Seite erstellen CustomerDetailPage • OnNavigatedTo • Link zu Sourcen • WP8 • Start: MEGA_CRM_2013_03_04_WP8_start.zip • Lösung: MEGA_CRM_2013_03_04_WP8_middle.zip • WP7 • Start: MEGA_CRM_2013_03_04_WP7_start.zip • Lösung: MEGA_CRM_2013_03_04_WP7_middle.zip Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  12. ApplicationBar Region um Buttons darzustellen • Bis zu 4 Buttons • Menu Items (swipe up) • Icons (weiss auf transparentem Hintergrund) • Kann im XAML oder Code definiert werden. Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  13. Demo: ApplicationBar Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  14. Aufgabe • Neuer Kunde hinzufügen, Kunde editieren, Kunde löschen. • Lösungs Ansatz: • MainPage: • ApplicationBar  App.CustomerUiService.NewCustomer(); • CustomerDetailPage • ApplicationBar App.CustomerUiService.SaveSelectedCustomer();, App.CustomerUiService.DeleteSelectedCustomer(); • Link zu Sourcen • WP8 • Start: MEGA_CRM_2013_03_04_WP8_middle.zip • Lösung: MEGA_CRM_2013_03_04_WP8_end.zip • WP7 • Start: MEGA_CRM_2013_03_04_WP7_middle.zip • Lösung: MEGA_CRM_2013_03_04_WP7_end.zip Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  15. Lösung Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  16. Ausblick: Weiterentwicklung • Suche • Verbesserte Darstellung der Daten • Pivot • LongListSelector • Windows Phone Toolkit • DateTimePicker • TransitionsEffects • Orientation • Tiles & Lock Screen • Gruppieren • Auf mehrere Sprachen übersetzen • Photo hinzufügen • Email versenden • Zu Kontakten hinzufügen • Karte darstellen • Sprache Kommandos & Vorlesen • Push Notifications • … Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

  17. Retrospective • Was war gut? • Was kann verbessert werden? Workshop 6 (ws6C) native Entwicklung für mobile Geräte | Romano Roth

More Related