Android笔记本Android开发

软著申请材料准备 笔记

2018-09-27  本文已影响133人  silencefun

现阶段应用上架 越来越严格
大的分发平台 应用宝 360 必要要软著。

其他一些的手机厂商的应用商店有的是承诺函有的是参考其他的平台后台管理界面。

早晚需要的东西,还是办了,办理需要:代理商需要的:

1、身份证明材料
如以个人名义申请:身份证(提供二代身份证正反面扫描件或者拍照)
如公司或者其他组织:
企业-法营业执照副本复印件,(提供扫描件)
事业-事业单位法人登记证书(提供扫描件)可暂时不提供先
政府机关-组织机构代码证(提供扫描件)可暂时不提供先

2、申请表填写
按样表填写。

3、程序代码
①. 源代码提供前三十页,后三十页,每页不少于50行,也就是共计三千行以上就行,所提供代码需拷入word文档,通过网络并发给我们。

4、说明书 15页左右(记得截图到安卓状态栏)。

后续 准备好这些东西后 给代理商 ,代理商审核后 把电子文档发过来 然后 盖章邮寄到北京。

待续 2018年9月28日 19:35:18

1关于 代码总行数,

这个在申请表中需要。参考了别人的方法计算

 import java.io.BufferedReader;
 import java.io.File;
 import java.io.FileNotFoundException;
 import java.io.FileReader;
 import java.io.IOException;

 /**
  * 统计代码行数demo author:lizhi
  */

 public class StatisticCodeLines {
  public static int normalLines = 0; // 有效程序行数
  public static int whiteLines = 0; // 空白行数
  public static int commentLines = 0; // 注释行数

public static void main(String[] args) throws IOException {

    File file = new File("F:\\Android_Projects\\P\\app\\src\\main\\java");
    if (file.exists()) {
        statistic(file);
    }
    System.out.println("总有效代码行数: " + normalLines);
    System.out.println("总空白行数:" + whiteLines);
    System.out.println("总注释行数:" + commentLines);
    System.out.println("总行数:" + (normalLines + whiteLines + commentLines));
}

private static void statistic(File file) throws IOException {

    if (file.isDirectory()) {
        File[] files = file.listFiles();
        for (int i = 0; i < files.length; i++) {
            statistic(files[i]);
        }
    }
    if (file.isFile()) {
        // 统计扩展名为java的文件
        if (file.getName().matches(".*\\.java")) {
            parse(file);
        }
    }

}

public static void parse(File file) {
    BufferedReader br = null;
    // 判断此行是否为注释行
    boolean comment = false;
    int temp_whiteLines = 0;// 空白行数
    int temp_commentLines = 0;// 注释行数
    int temp_normalLines = 0; // 有效程序行数

    try {
        br = new BufferedReader(new FileReader(file));
        String line = "";
        while ((line = br.readLine()) != null) {
            line = line.trim();
            if (line.matches("^[\\s&&[^\\n]]*$")) {
                // 空行
                whiteLines++;
                temp_whiteLines++;
            } else if (line.startsWith("/*") && line.endsWith("*/")) {
                // 判断此行为"/*xxx*/"的注释行
                commentLines++;
                temp_commentLines++;
            } else if (line.startsWith("/*") && !line.endsWith("*/")) {
                // 判断此行为"/*"开头的注释行
                commentLines++;
                temp_commentLines++;
                comment = true;
            } else if (comment == true && !line.endsWith("*/")) {
                // 为多行注释中的一行(不是开头和结尾)
                commentLines++;
                temp_commentLines++;
            } else if (comment == true && line.endsWith("*/")) {
                // 为多行注释的结束行
                commentLines++;
                temp_commentLines++;
                comment = false;
            } else if (line.startsWith("//")) {
                // 单行注释行
                commentLines++;
                temp_commentLines++;
            } else {
                // 正常代码行
                normalLines++;
                temp_normalLines++;
            }
        }

        System.out.println("有效行数" + temp_normalLines + " ,空白行数" + temp_whiteLines + " ,注释行数" + temp_commentLines
                + " ,总行数" + (temp_normalLines + temp_whiteLines + temp_commentLines) + "     " + file.getName());

    } catch (FileNotFoundException e) {
        e.printStackTrace();
    } catch (IOException e) {
        e.printStackTrace();
    } finally {
        if (br != null) {
            try {
                br.close();
                br = null;
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
}

2,关于源代码要求

1.注释中不能有 名称,具体内容不做要求。所以很容易达到,
2.便捷方法,使用word --插入--对象--对象中的文字,选几个十几个基本就够了。


image.png

3.关于 软件使用说明,

按照代理商给的样例,特别简单,一张图配一个说明,不少于15页,不够加一个公司说明凑数(非必须)。

需要注意 截图要有安卓状态栏。

2018年12月12日 14:33:05 更新

跟代理商确认:
提交材料后出证后,代理商会先发电子档,确认邮寄地址,版权局那边会安排邮

上一篇 下一篇

猜你喜欢

热点阅读