import java.io.*; import java.util.*; import com.gc.android.market.api.MarketSession.Callback; import com.gc.android.market.api.MarketSession; import com.gc.android.market.api.model.Market.App; import com.gc.android.market.api.model.Market.AppsResponse; import com.gc.android.market.api.model.Market.AppsRequest; import com.gc.android.market.api.model.Market.CommentsRequest; import com.gc.android.market.api.model.Market.GetImageRequest; import com.gc.android.market.api.model.Market.GetImageResponse; import com.gc.android.market.api.model.Market.ResponseContext; import com.gc.android.market.api.model.Market.GetImageRequest.AppImageUsage; class test { /** * @param args */ public static void main(String[] args) { try { if(args.length < 2) { System.out.println("Parameters :\n" + "email password"); return; } String login = args[0]; String password = args[1]; // Get a list of apps we want to check - i.e. those that // we have metadata files for... File dir = new File("../metadata"); List apps = new ArrayList(); String[] metafiles = dir.list(); for (int i=0; i