/**
   * Generate the dex file
   *
   * @return byte code
   */
  public static byte[] generate() {

    ApplicationWriter aw = new ApplicationWriter();
    aw.visit();
    generateFirstActivity(aw);
    aw.visitEnd();

    return aw.toByteArray();
  }