Show pagesourceOld revisionsBacklinksAdd to bookExport to PDFODT exportBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer Reddit TeamsRecent ChangesSend via e-MailPrintPermalink × Book Creator Add this page to your book Book Creator Remove this page from your book Manage book(0 page(s)) Help IpCam Example: Start the IpCam Overview allCams_template.xml <?xml version="1.0" encoding="utf-8"?> <configuration> <templates> <template name="ipcam"> <keyConfiguration> <function> <invocations> <invocation> <intent> <action>android.intent.action.Main</action> <component>de.auerswald.ipcam/.IpCamActivity</component> </intent> </invocation> </invocations> </function> </keyConfiguration> </template> </templates> </configuration> Example: Start a single Camera (requires firmware version 1.8B and up) singleCam_template.xml <?xml version="1.0" encoding="utf-8"?> <configuration> <templates> <template name="Camera" icon="@drawable/no_video"> <keyConfiguration> <lua> <code> function onKeyUp() system.intent{action="android.intent.action.MAIN", component="de.auerswald.ipcam/.IpCamDetailActivity", extras={IpCamName=cam_name}} end </code> <params> <param name="cam_name"/> </params> </lua> </keyConfiguration> <parameters> <parameter name="@string/name" type="text"> <path>//param[@name="cam_name"]/value</path> </parameter> </parameters> </template> </templates> </configuration> en/products/comfortel-d-series/developer/keys/templates/examples/ipcam.txt Last modified: 22.03.2022 13:16by hoehne