Trouble with string encode after decompile APK file

Search This thread

abfxta

New member
Aug 19, 2012
4
0
Hello,

I have a trouble with a string text encode after decompile an APK file.

I used APK Tool decompile.

The code was encoded here:


Code:
public class API
  extends Activity
{
  public static String a = "081b11458016006d513b0290cc7be0b39c28626ea506b9ed291b125114f2a38369a42e77a066a7789e5883ed47113fc3";
  public static String b = "081b11458016006d513b0290cc7be0b36f01584bcfccde8bd9e2bd628ca804e7056b175ad6a1fa1bf3cf31d8a28b94e9";
  public static String c = "081b11458016006d513b0290cc7be0b36f01584bcfccde8bd9e2bd628ca804e7056b175ad6a1fa1bf3cf31d8a28b94e9";
  public static JSONObject d = new JSONObject();
  public static String e = "";
  private static int h = 0;
  private boolean f = false;
  private ProgressDialog g;
  
  private JSONObject a(JSONObject paramJSONObject)
  {
    int i = 0;
    Iterator localIterator = paramJSONObject.keys();
    int[] arrayOfInt = new int[paramJSONObject.length()];
    int j = 0;
    JSONObject localJSONObject1;
    int m;
    if (!localIterator.hasNext())
    {
      Arrays.sort(arrayOfInt);
      localJSONObject1 = new JSONObject();
      m = arrayOfInt.length;
    }
    for (;;)
    {
      if (i >= m)
      {
        return localJSONObject1;
        int k = j + 1;
        arrayOfInt[j] = Integer.parseInt(((String)localIterator.next()).toString());
        j = k;
        break;
      }
      String str1 = Integer.toString(arrayOfInt[i]);
      try
      {
        JSONObject localJSONObject2 = (JSONObject)paramJSONObject.get(str1);
        if (((paramJSONObject.get(str1) instanceof JSONObject)) && (!a(localJSONObject2.get("package").toString())))
        {
          String str2 = localJSONObject2.get("package").toString();
          if (!getApplicationContext().getSharedPreferences("listpacks", 0).getBoolean(str2, false)) {
            if (localJSONObject2.get("type").toString().equals("1"))
            {
              if (!this.f)
              {
                this.f = true;
                d = localJSONObject2;
              }
            }
            else
            {
              e = e + localJSONObject2.get("package").toString() + "|";
              localJSONObject1.put(str1, localJSONObject2);
            }
          }
        }
      }
      catch (JSONException localJSONException)
      {
        localJSONException.printStackTrace();
      }
      i++;
    }
  }
I'm looking for many forum but I'm not find answer.
Anybody can help me decode 3 text string a,b,c please?

Updated: Dear, I have been decode text string by step by step replace char - because I'm not coder.
Result string a:
Code:
081b11458016006d513b0290cc7be0b39c28626ea506b9ed291b125114f2a38369a42e77a066a7789e5883ed47113fc3
is
Code:
http_abc.com/defgh_v2/api_in.php?app_name=9apps&api=19

Update new question, maybe easy: Anybody please tell me what is type encode? ( Again, I'm not a coder but I'm a Google Man hihi)
 
Last edited: