Après quelques essais sur les plateformes mobile (Windows Phone 8.0 Silverlight, Windows Phone 8.1) il était naturel de plancher sur la dernière génération d’application universel de Microsoft. Pour cela j’ai attendu l’arrivé de Windows 10 et de Visual Studio 2015 avec impatience. Ça y est, j’ai tout installé !

Bon qu’est ce qu’il change ? A première vu pas grand chose. Si ce n’est que nous développeur devrions passer moins de temps à développer 15 applis suivant l’OS. Normalement le but est d’en développer qu’une seule pour n’importe quelle support, du moment qu’il tourne sur Windows 10 ou plus.

L’ennuis c’est que j’ai eu du mal a switcher entre windows phone silverlight et 8.1 et que maintenant on a encore une nouvelle couche. Et je trouve très mal faite la MSDN. Je dois constament me poser la question de savoir si la doc est destiné pour quel environnement. Et franchement c’est pas clair !

Pour partir sur de bonnes bases, Microsoft met à disposition un bon paquet de code source bien ficelé pour pas mal de cas bien isolé. Voici le repo Git : https://github.com/Microsoft/Windows-universal-samples

Et voici la liste des exemples : faites vos choix :

App settings
App package informationApplication data
Audio, video, and camera
Adaptive streamingAdvanced castingAudio categories
Audio graphsBackground audioBasic camera app
Basic face detectionBasic face trackingBasic media casting
Camera face detectionCamera preview frameCamera profiles
Camera resolutionDASH streamingDirect2D photo adjustment
High dynamic rangeMedia editingMedia transport controls
MIDIPlaylistsSimple imaging
Spatial audioSystem media transport controlsTranscoding media
Video playbackVideo stabilizationWindows audio session (WASAPI)
Windows media import
Communications
Bluetooth RFCOMM chatCommunication blocking and filteringPhone call
Real-time communicationSMS send and receiveVoice over IP (VoIP)
Contacts and calendar
Appointment calendarContact cardsContact picker
UserDataAccountManager
Controls, layout, and text
AutoSuggestBox migrationClipboardCommanding
Context menuContext menu (XAML)Disabling selection
Display orientationDownloadable fonts (DirectWrite)Downloadable fonts (XAML)
Drag and dropFocus visualsFull screen mode
Line spacing (DirectWrite)ListView and GridViewLock screen apps
Message dialogMultiple viewsOCR
PrintingPull-to-refreshResponsiveness techniques
Scaling according to DPISplash screenState triggers
Tailored multiple viewsTitle barUI basics (XAML)
User interaction modeWebView control (HTML)Window resizing
Custom user interactions
Basic inputComplex inkingInking
Low latency inputSimple inking
Data
BlobsCompressionContent indexer
Form validation (HTML)IndexedDBLogging
Serializing and deserializing datax:Bindx:DeferLoadStrategy
XML DOMXmlLite
Deep links and app-to-app communication
App servicesSharing content source appSharing content target app
Devices and sensors
AccelerometerActivity detection sensorAllJoyn consumer experiences
AllJoyn producer experiencesAltimeterBackground sensors
Barcode scannerBarometerBluetooth advertisement
Cash drawerCompassCustom HID device
Custom sensorsCustom serial deviceCustom USB device
Device enumerationGeneral Purpose Input/Output (GPIO)Gyrometer
InclinometerInter-Integrated Circuit (I2C)Lamp device
Light sensorMagnetic stripe readerNear field communication (NFC)
NFC enterprise provisionerOrientation sensorPedometer
POS printerProximity sensorRelative inclinometer
Relative orientation sensorSerial ArduinoSerial Peripheral Interface (SPI)
Simple orientation sensor
Files, folders, and libraries
File accessFile and folder thumbnailFile picker
File picker providerFile searchFolder enumeration
HomeGroupLibrary managementSemantic text query
Gaming
Direct3D gameDirectX and XAML game
Globalization and localization
Application resources and localizationCalendarDate and time formatting
Globalization preferencesJapanese phonetic analysisLanguage font mapping
Linguistic servicesNumber formatting and parsingText segmentation
Text suggestionsUnicode string processing
Graphics and animation
Animated GIF playback (XAML)Animation library (HTML)Animation metrics
Composition visual without frameworkDirect2D custom image effectsDirect2D gradient mesh
Efficient animations (HTML)Transform3D animationsTransform3D parallax
Identity, security, and encryption
Credential lockerCredential pickerDisabling screen capture
Enterprise data protectionKeyCredentialManagerLock screen personalization
Smart cardsUser informationUserConsentVerifier
Web account managementWebAuthenticationBroker
Launching and background tasks
Association launchingBackground task
Maps and location
GeolocationGeotagMapControl
Navigation
Back ButtonMaster/detailNavigation menu (XAML)
PivotProjectionXHR, handling navigation errors, and URL schemes
Networking and web services
Background transferDatagramSocketExchange Active Sync (EAS)
HttpClientJSONMobile broadband
RadiosRSS reader end-to-end (JavaScript)Socket activity trigger stream socket
StreamSocketSyndicationUSSD protocol
WebSocketWi-Fi DirectWi-Fi Direct services
Wi-Fi scanning
Platform architecture
In-process component authoringIn-process component authoringOut-of-process component authoring
Speech and Cortana
Cortana voice commandSpeech recognition and synthesis
Threading
JavaScript Web Workers app multithreading
Tiles, toasts, and notifications
NotificationsSecondary tiles

Yeah ! Bon code !

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée Champs requis marqués avec *

Poster commentaire