getting your windows and meego apps into appup · –add appup sdk code –build an installer...

24
Andreas Breitschopp Intel AppUp Getting Your Windows and MeeGo Apps Into AppUp SM Slide 1 of 24

Upload: others

Post on 13-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Andreas Breitschopp

Intel AppUp Getting Your Windows and MeeGo Apps Into AppUp

SM

Slide 1 of 24

Page 2: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Andreas Breitschopp

End User Products Based on .NET Targeting the Online and Retail Market

Software Consulting and Development

Slide 2 of 24

Page 3: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Overview

• Windows Apps – Example Project – Preparations –Add AppUp SDK Code – Build an Installer –Digitally Sign the Installer – Published After Validation

• MeeGo Apps • Conclusion

Slide 3 of 24

Page 4: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Example Project

• “Energy Costs Calculator”: Free power and water consumption calculator

• Development environment: Microsoft .NET Framework 2.0 (C#)

Slide 4 of 24

Page 5: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Example Project

Slide 5 of 24

Page 6: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Preparations

• Download the AppUp SDK for the Microsoft .NET Framework

• Add a reference to the “AdpLibrary.dll” assembly in your project

http://appdeveloper.intel.com/en-us/sdk

Slide 6 of 24

Page 7: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Add AppUp SDK Code

Insert only few lines of code:

Slide 7 of 24

Page 8: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

• For Windows products: only MSIs are accepted as product installers

• The installer has to be absolute silent

• It has to perform a clean(!) uninstall

• We use the integrated setup system of the Microsoft Visual Studio to build the MSI

• It is extendible with “Custom Actions” if necessary

Build an Installer

Slide 8 of 24

Page 9: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Build an Installer

Slide 9 of 24

Page 10: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

• Get “signtool.exe” with the Windows SDK

• Create a small Batch file like this:

• Just drag & drop your MSI on this Batch file

Digitally Sign the Installer

Slide 10 of 24

Page 11: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Published After Validation

Slide 11 of 24

Page 12: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Overview

• Windows Apps • MeeGo Apps

– Porting to MeeGo – Preparations on Developer Machine – Preparations on MeeGo Device – Preparations in Qt Creator for Debugging – Design User Interface – Porting Code – Build an Installer – Published After Validation

• Conclusion

Slide 12 of 24

Page 13: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Porting to MeeGo

• Porting the “Energy Costs Calculator” to

Slide 13 of 24

Page 14: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Preparations on Developer Machine

• Download MeeGo SDK from MeeGo webpage

• Download AppUp SDK for MeeGo

• Install AppUp center for testing

http://appdeveloper.intel.com/en-us/meego-sdk-suite

Slide 14 of 24

Page 15: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Preparations on MeeGo Device

• Install mad-developer component: zypper install mad-developer

• Install AppUp SDK Debugger: rpm –i

appup-sdk-debugger-1.1.0-36.i386.rpm

• Start AppUp SDK Debugger: /opt/com.intel.appupsdk/tools/

debugger/bin/iadp_atds

Slide 15 of 24

Page 16: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Preparations in Qt Creator for Debugging

Slide 16 of 24

Page 17: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Design User Interface

Slide 17 of 24

Page 18: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Porting Code

Port your application code:

Slide 18 of 24

Page 19: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Add AppUp SDK Code

Again only few lines of code are needed:

Slide 19 of 24

Page 20: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Build an Installer

• Creating a desktop entry file

• Adding dependencies to project file:

– desktop entry file

– icons files

– AppUp libraries

• Build RPM installer

Slide 20 of 24

Page 21: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Published After Validation

Slide 21 of 24

Page 22: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Overview

• Windows Apps

• MeeGo Apps

• Conclusion

Slide 22 of 24

Page 23: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Conclusion

If you already have Windows apps ready it is very easy to get them into AppUp.

Depending on the complexity of your apps and their programming language

you can easily port them to MeeGo.

Slide 23 of 24

Page 24: Getting Your Windows and MeeGo Apps Into AppUp · –Add AppUp SDK Code –Build an Installer –Digitally Sign the Installer –Published After Validation •MeeGo Apps •Conclusion

Thank You for Your Attention!

Andreas Breitschopp

[email protected] www.ab-softcon.net

+49 89 38898588

Software Consulting and Development

Slide 24 of 24