Contenu connexe Similaire à Lens app trasformare il telefono in una fotocamera (20) Plus de Microsoft Mobile Developer (20) Lens app trasformare il telefono in una fotocamera2. AGENDA
•
•
•
•
•
WP e App fotografiche
Lens App: cosa sono
Integrazione
Nuove risoluzioni
Imaging SDK
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
3. WP E APP
FOTOGRAFICHE
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
5. LENS APP:
COSA SONO
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
6. COSA SONO
App selezionabili come stand alone o dal viewfinder della
camera
• Non solo scatto, ma anche «Rich_Media_Lenses» per vedere
o editare le foto
• Offrire esperienza di utiizzo della fotocamera per altri
servizi (es. lettura barcode)
•
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
7. LENS APP:
COSA SONO
Demo
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
9. INTEGRAZIONE
Le applicazioni fotografiche possono essere integrate con il
sistema operativo
• L’utente può interagire con l’applicazione direttamente
dall’hub Photos
• Viene attivata con una dichiarazione nel file di manifest
• L’app viene aperta con un Uri speciale
•
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
10. APPS
•
•
•
L’applicazione viene aggiunta nella sezione Apps
dell’hub Photos
Al tap, l’applicazione viene aperta regolarmente
E’ semplicemente una scorciatoia
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
11. © 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
13. SHARE PICKER
L’utente può importare una foto della libreria
direttamente nell’applicazione
• L’applicazione riceve un GUID che rappresenta la
foto scelta
• La classe MediaLibrary permette di recuperare
l’immagine tramite GUID
•
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
14. © 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
15. MANIFEST & URI
<Extension ExtensionName="Photos_Extra_Share"
ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}"
TaskID="_default" />
/MainPage.xaml?Action=ShareContent&FileId=%7BA3D54
E2D-7977-4E2B-B92D-3EB126E5D168%7D
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
16. RICH MEDIA APP
«Firma» che viene applicata alle foto scattate e salvate in
Camera Roll con un’applicazione di terze parti
• Viene visualizzata nell’hub Photos e come opzione nell’app
bar
•
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
17. © 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
18. MANIFEST AND URI
<Extension ExtensionName="Photos_Rich_Media_Edit"
ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}"
TaskID="_default" />
/MainPage.xaml?Action=RichMediaEdit&token=%7Bed8b7de86cf9-454e-afe4-abb60ef75160%7D
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
19. EDIT
•
•
Pensata per le applicazioni che supportano
la modifica delle foto
Funzionamento analogo allo Share Picker
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
20. © 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
21. MANIFEST AND URI
<Extension ExtensionName="Photos_Extra_Image_Editor"
ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}"
TaskID="_default" />
/MainPage.xaml?Action=EditPhotoContent&FileId=%7B
ea74a960-3829-4007-8859-cd065654fb
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
22. LENS APP
L’applicazione può essere lanciata dall’app nativa
della fotocamera
• In questo modo, l’utente può continuare a
sfruttare il tasto hardware dedicato
•
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
23. © 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
24. MANIFEST AND URI
<Extension ExtensionName="Camera_Capture_App"
ConsumerID="{5B04B775-356B-4AA0-AAF86491FFEA5631}" TaskID="_default" />
/MainPage.xaml?Action=ViewfinderLaunch
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
26. NUOVE RISOLUZIONI
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
27. NUOVE RISOLUZIONI
1020, 1520, 1320
• Microsoft.Phone.Info.DeviceStatus.DeviceName
• Identificato come RM-xxx
• Risoluzione da forzare:
• Per il 1020 7712 x 4352
• Per il 1520 5376 x 3024
•
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
30. IMAGING SDK
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
31. IMAGING SDK
Libreria nativa di Nokia per Windows Phone 8 (qualsiasi
device, non solo Lumia)
• http://s.qmatteoq.com/ImagingSDK
• Permette di applicare filtri alle immagini acquisiti o in real
time
• Funzionalità di crop, resize, undo
•
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
32. IMAGING SDK
Essendo una libreria nativa, non può essere compilata in
modalità «Any CPU».
• Occorre specificare l’architettura:
•
•
•
ARM per deploy sul device e sullo Store
X86 per deploy sull’emulatore
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only
33. IMAGING SDK
Demo
© 2012 Nokia. All rights reserved.
© 2012 Microsoft. All rights reserved.
12/4/2013
Nokia Internal Use Only