一些小知识

    技术2022-05-11  80

    1.在S40的游戏存入游戏(game)文件夹里 ,在jad添加

    Nokia-MIDlet-Category: Game

    //*************************************************************************************

    2.得到手机型号

    System.getProperty("microedition.platform");

    //************************************************************************************

    3.通过程序得到手机当前的语言

    System.getProperty("microedition.locale");//返回字符串

    通过locale.startsWith("")判断

    英语的是en,中文的是zh

    //***************例如

    locale.startsWith(System.getProperty("microedition.locale")) == "zh"


    最新回复(0)