JAVA ANDROID
Screen Frame V1.0

1.add a frame into your android screen,you can set then color and someting, your screen will show very beautyfull.

you can get it From AMAZON or here:   SCREEN FRAMEimage

image

Find Your Word V1.0

Get it From Amazon App Store:FIND YOUR WORD
The left is a set of characters.

The right set of characters the same as the left, but in a different order .

Select the left one character .

On the right to find the same character .

Of all characters, select the correct .

Off by . look at the average time you .
Pursuit of high efficiency to matchimage

SCREEN POWER SIMULATOR

Get it From : SCREEN POWER SIMULATOR

Application of main function:

       1 in the screen add two buttons, one is off screen button is a button in HOME,.

      2 double-click screen button can close the screen, the HOME button can reach the HOME interface.

     3 drag two button interface, the button can be dragged to the screen at any position.

     4 when the configuration interface is configured in the use of distance sensing boot option, when the screen when closed, can the fingers off handset location distance sensing, waiting for 2-4 ( s) ( can be customized, waiting time between 2-4 ) to light up the screen.

    5 if you enabled ” pocket out ” function, and set a time of 60 seconds, when you speak into his pocket and a mobile phone for more than 60 seconds out, the screen automatically variable.

    6 can also use the power swing mobile phone boot, but the function of large power consumption, does not recommend the use of.

THis is my android game,you can play it later ,  get it from amazon app store by key: Physics Game iphone and so on !

2012-03-29:NOW you can download it from here:http://www.amazon.com/MINE-Physics-of-Forum-Game/dp/B007P4X510/ref=sr_1_6?s=mobile-apps&ie=UTF8&qid=1332984375&sr=1-6

This is android game ,The hardest game than hardest!
Android libgdx tiled自定义优化,简化操作

package com.badlogic.gdx.graphics.g2d.tiled;

文件TileAtlas:  

         当 libgdx使用tiled Map时,由于原方法获取图块是通过配置的图片packfile来获取的,用于我找不到生成图片packfile的工具,所以打算修改这个方法,直接不需 要packfile就可以操作(一个方法优化可以少生成一个packfile文件(空间省了(读取packfile文件耗时<=> 通过tileSet生成图片块TextureAtlas 耗时????))),以下是原始方法:

  public TileAtlas (TiledMap map, FileHandle inputDir) {
        // TODO: Create a constructor that doesn’t take a tmx map,
        for (TileSet set : map.tileSets) {
            FileHandle packfile = getRelativeFileHandle(inputDir, removeExtension(set.imageName) + ” packfile”);
            TextureAtlas textureAtlas = new TextureAtlas(packfile, packfile.parent(), false);
            List<AtlasRegion> atlasRegions = textureAtlas.findRegions(removeExtension(removePath(set.imageName)));

            for (AtlasRegion reg : atlasRegions) {
                regionsMap.put(reg.index + set.firstgid, reg);
                if (!textures.contains(reg.getTexture())) {
                    textures.add(reg.getTexture());
                }
            }
        }
    }

修改为:通过算数来算出值,而不是通过packfile文件读取,至于如何取舍主要看你如何选择,如果你有美工提供给你packfile 则可以使用文件获取

public TileAtlas (TiledMap map, FileHandle inputDir) {
        for (TileSet set : map.tileSets) {  
            if(set.imageName==null){
                continue;
            }
            FileHandle imageFile = getRelativeFileHandle(inputDir, (set.imageName) );
            List<AtlasRegion> atlasRegions=new ArrayList<AtlasRegion>();
            Texture texture = new Texture(imageFile);
            for(int j=0;j<texture.getHeight()/set.tileHeight;j++){
                int wn=texture.getWidth()/set.tileWidth;
                for(int i=0;i<wn;i++){
                    AtlasRegion atlasRegion= new AtlasRegion(texture,i*set.tileWidth,j*set.tileHeight,set.tileWidth,set.tileHeight);
                    atlasRegion.index=j*wn+i;
                    atlasRegions.add(atlasRegion);
                }
            }
            for (AtlasRegion reg : atlasRegions) {
                regionsMap.put(reg.index + set.firstgid, reg);
                if (!textures.contains(reg.getTexture())) {
                    textures.add(reg.getTexture());
                }
            }
        }
    }

以上是针对简单的 ,没有过多其他参数的图片,如果需要配置其他参数,则不能修改!

SOME QUESTION WILL BE ANSWERED

IF YOU HAVE SOME QUESTIONS ABOUNT JAVA AND ANDROID ,YOU CAN ASK TO ME,I WILL GIVE YOUR MY ANSWER!