|
@@ -1,6 +1,5 @@
|
|
|
package com.usai.apex.mainframe;
|
|
package com.usai.apex.mainframe;
|
|
|
|
|
|
|
|
-import android.app.Activity;
|
|
|
|
|
import android.content.ComponentName;
|
|
import android.content.ComponentName;
|
|
|
import android.content.Intent;
|
|
import android.content.Intent;
|
|
|
import android.content.Intent.ShortcutIconResource;
|
|
import android.content.Intent.ShortcutIconResource;
|
|
@@ -185,7 +184,7 @@ public class ToolsFragment extends StaticModelistFragment
|
|
|
JSONObject jsonobj=loadjson(R.raw.tools);
|
|
JSONObject jsonobj=loadjson(R.raw.tools);
|
|
|
Log.d("FragmentList", "Item clicked: " + id);
|
|
Log.d("FragmentList", "Item clicked: " + id);
|
|
|
|
|
|
|
|
- String title = (String) getData(jsonobj).get(position).get("title");
|
|
|
|
|
|
|
+ String title = (String) getData(jsonobj).get(position-1).get("title");
|
|
|
// try {
|
|
// try {
|
|
|
//// title = jsonobj.getJSONArray("modelist").getJSONObject(position);
|
|
//// title = jsonobj.getJSONArray("modelist").getJSONObject(position);
|
|
|
////
|
|
////
|