indra83 / divitool

Tool for content creation
2 stars 0 forks source link

New content element - Add App #39

Open indra83 opened 9 years ago

indra83 commented 9 years ago

We support adding apps into content now. (similar to 'Add Video'/'Add Image'...) Following are the fields:

title - String required description - String optional appPackage - String required activityName - String optional (full class name) src - File optional (if file empty, use Google Play) appVersionCode - Integer (required if src not empty)

<app id="vm001" src="Cell_World 1.0.apk" appPackage="com.VIEW.CellWorld" appVersionCode="3">
  <title>Cell World</title>
  <description></description>
</app>
AnanthTeja commented 9 years ago
Cell World Cell World CellWorld

Generated from code.

app package

indra83 commented 9 years ago

Cool ra! It supports the apk file upload also right?

indra83 commented 9 years ago

@AnanthTeja The tool is adding some extra nodes into the xml. Look at the app node below:

<application id="app001" src="Around_the_Sun_Solar_System 1.9.apk" appVersionCode="2" appPackage="br.com.byter.aroundthesun1">
      <title>Solar System t</title>
      <description>Solar explore desc</description>
      <activityName>activityName</activityName>
      <app>Solar System
      Solar explore
      activityName</app>
   </application>
indra83 commented 9 years ago

Also, if its easy enough please make activityName an attribute rather than node.