Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.11 KB | None | 0 0
  1. package com.toloee.iman.haminjuri;
  2. import java.util.ArrayList;
  3. import java.util.HashMap;
  4. import java.util.List;
  5. import org.apache.http.NameValuePair;
  6. import org.json.JSONArray;
  7. import org.json.JSONException;
  8. import org.json.JSONObject;
  9. import android.app.ListActivity;
  10. import android.app.ProgressDialog;
  11. import android.content.Intent;
  12. import android.os.AsyncTask;
  13. import android.os.Bundle;
  14. import android.support.v7.app.ActionBarActivity;
  15. import android.util.Log;
  16. import android.view.Menu;
  17. import android.view.MenuItem;
  18. import android.view.View;
  19. import android.widget.AdapterView;
  20. import android.widget.AdapterView.OnItemClickListener;
  21. import android.widget.ArrayAdapter;
  22. import android.widget.ListAdapter;
  23. import android.widget.ListView;
  24. import android.widget.SimpleAdapter;
  25. import android.widget.TextView;
  26.  
  27. public class MainActivity extends ActionBarActivity {
  28. private ListView mListView;
  29. private ProgressDialog pDialog;
  30. JSONParser jParser = new JSONParser();
  31. ArrayList<HashMap<String, String>> productsList;
  32. private static String url_all_products = "http://api.androidhive.info/android_connect/get_all_products.php";
  33. private static final String TAG_SUCCESS = "success";
  34. private static final String TAG_PRODUCTS = "products";
  35. private static final String TAG_PID = "id";
  36. private static final String TAG_NAME = "name";
  37. JSONArray products = null;
  38.  
  39. @Override
  40. protected void onCreate(Bundle savedInstanceState) {
  41. super.onCreate(savedInstanceState);
  42. setContentView(R.layout.activity_main);
  43. // Hashmap for ListView
  44. productsList = new ArrayList<HashMap<String, String>>();
  45. // Loading products in Background Thread
  46. // new LoadAllProducts().execute();
  47. }
  48.  
  49. // Response from Edit Product Activity
  50. @Override
  51. protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  52. super.onActivityResult(requestCode, resultCode, data);
  53. // if result code 100
  54. if (resultCode == 100) {
  55. // if result code 100 is received
  56. // means user edited/deleted product
  57. // reload this screen again
  58. Intent intent = getIntent();
  59. finish();
  60. startActivity(intent);
  61. }
  62.  
  63. }
  64.  
  65. class LoadAllProducts extends AsyncTask<String, String, String> {
  66. /**
  67. * Before starting background thread Show Progress Dialog
  68. * */
  69. @Override
  70. protected void onPreExecute() {
  71. super.onPreExecute();
  72. pDialog = new ProgressDialog(MainActivity.this);
  73. pDialog.setMessage("Loading products. Please wait...");
  74. pDialog.setIndeterminate(false);
  75. pDialog.setCancelable(false);
  76. pDialog.show();
  77. }
  78.  
  79. /**
  80. * getting All products from url
  81. * */
  82. protected String doInBackground(String... args) {
  83. // Building Parameters
  84. List<NameValuePair> params = new ArrayList<NameValuePair>();
  85. // getting JSON string from URL
  86. JSONObject json = jParser.makeHttpRequest(url_all_products, "GET", params);
  87.  
  88. // Check your log cat for JSON reponse
  89. Log.d("All Products: ", json.toString());
  90.  
  91. try {
  92. // Checking for SUCCESS TAG
  93. int success = json.getInt(TAG_SUCCESS);
  94.  
  95. if (success == 1) {
  96. // products found
  97. // Getting Array of Products
  98. products = json.getJSONArray(TAG_PRODUCTS);
  99.  
  100. // looping through All Products
  101. for (int i = 0; i < products.length(); i++) {
  102. JSONObject c = products.getJSONObject(i);
  103.  
  104. // Storing each json item in variable
  105. String id = c.getString(TAG_PID);
  106. String name = c.getString(TAG_NAME);
  107.  
  108. // creating new HashMap
  109. HashMap<String, String> map = new HashMap<String, String>();
  110.  
  111. // adding each child node to HashMap key => value
  112. map.put(TAG_PID, id);
  113. map.put(TAG_NAME, name);
  114.  
  115. // adding HashList to ArrayList
  116. productsList.add(map);
  117. }
  118. } else {
  119. // no products found
  120. // Launch Add New product Activity
  121. Intent i = new Intent(getApplicationContext(),
  122. MainActivity.class);
  123. // Closing all previous activities
  124. i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
  125. startActivity(i);
  126. }
  127. } catch (JSONException e) {
  128. e.printStackTrace();
  129. }
  130.  
  131. return null;
  132. }
  133.  
  134. /**
  135. * After completing background task Dismiss the progress dialog
  136. * **/
  137. protected void onPostExecute(String file_url) {
  138. // dismiss the dialog after getting all products
  139. pDialog.dismiss();
  140. // updating UI from Background Thread
  141. runOnUiThread(new Runnable() {
  142. public void run() {
  143. /**
  144. * Updating parsed JSON data into ListView
  145. * */
  146. mListView = (ListView) findViewById(R.id.listView1);
  147. ListAdapter adapter = new SimpleAdapter(MainActivity.this, productsList, R.layout.pat,
  148. new String[] { "name" },new int[]{R.id.textView1});
  149. mListView.setAdapter(adapter);
  150. }
  151. });
  152. }
  153. }
  154.  
  155. @Override
  156. public boolean onCreateOptionsMenu(Menu menu) {
  157. // Inflate the menu; this adds items to the action bar if it is present.
  158. getMenuInflater().inflate(R.menu.menu_main, menu);
  159. return true;
  160. }
  161.  
  162. @Override
  163. public boolean onOptionsItemSelected(MenuItem item) {
  164. // Handle action bar item clicks here. The action bar will
  165. // automatically handle clicks on the Home/Up button, so long
  166. // as you specify a parent activity in AndroidManifest.xml.
  167. int id = item.getItemId();
  168. //noinspection SimplifiableIfStatement
  169. if (id == R.id.action_settings) {
  170. return true;
  171. }
  172. return super.onOptionsItemSelected(item);
  173. }
  174. }
  175.  
  176. package com.toloee.iman.haminjuri;
  177. import java.io.BufferedReader;
  178. import java.io.IOException;
  179. import java.io.InputStream;
  180. import java.io.InputStreamReader;
  181. import java.io.UnsupportedEncodingException;
  182. import java.util.List;
  183. import org.apache.http.HttpEntity;
  184. import org.apache.http.HttpResponse;
  185. import org.apache.http.NameValuePair;
  186. import org.apache.http.client.ClientProtocolException;
  187. import org.apache.http.client.entity.UrlEncodedFormEntity;
  188. import org.apache.http.client.methods.HttpGet;
  189. import org.apache.http.client.methods.HttpPost;
  190. import org.apache.http.client.utils.URLEncodedUtils;
  191. import org.apache.http.impl.client.DefaultHttpClient;
  192. import org.json.JSONException;
  193. import org.json.JSONObject;
  194. import android.util.Log;
  195.  
  196. public class JSONParser {
  197. static InputStream is = null;
  198. static JSONObject jObj = null;
  199. static String json = "";
  200. // constructor
  201. public JSONParser() {
  202. }
  203. // function get json from url
  204. // by making HTTP POST or GET mehtod
  205. public JSONObject makeHttpRequest(String url, String method,
  206. List<NameValuePair> params) {
  207.  
  208. // Making HTTP request
  209. try {
  210. // check for request method
  211. if(method == "POST"){
  212. // request method is POST
  213. // defaultHttpClient
  214. DefaultHttpClient httpClient = new DefaultHttpClient();
  215. HttpPost httpPost = new HttpPost(url);
  216. httpPost.setEntity(new UrlEncodedFormEntity(params));
  217.  
  218. HttpResponse httpResponse = httpClient.execute(httpPost);
  219. HttpEntity httpEntity = httpResponse.getEntity();
  220. is = httpEntity.getContent();
  221.  
  222. }else if(method == "GET"){
  223. // request method is GET
  224. DefaultHttpClient httpClient = new DefaultHttpClient();
  225. String paramString = URLEncodedUtils.format(params, "utf-8");
  226. url += "?" + paramString;
  227. HttpGet httpGet = new HttpGet(url);
  228.  
  229. HttpResponse httpResponse = httpClient.execute(httpGet);
  230. HttpEntity httpEntity = httpResponse.getEntity();
  231. is = httpEntity.getContent();
  232. }
  233.  
  234. } catch (UnsupportedEncodingException e) {
  235. e.printStackTrace();
  236. } catch (ClientProtocolException e) {
  237. e.printStackTrace();
  238. } catch (IOException e) {
  239. e.printStackTrace();
  240. }
  241.  
  242. try {
  243. BufferedReader reader = new BufferedReader(new InputStreamReader(
  244. is, "iso-8859-1"), 8);
  245. StringBuilder sb = new StringBuilder();
  246. String line = null;
  247. while ((line = reader.readLine()) != null) {
  248. sb.append(line + "n");
  249. }
  250. is.close();
  251. json = sb.toString();
  252. } catch (Exception e) {
  253. Log.e("Buffer Error", "Error converting result " + e.toString());
  254. }
  255.  
  256. // try parse the string to a JSON object
  257. try {
  258. jObj = new JSONObject(json);
  259. } catch (JSONException e) {
  260. Log.e("JSON Parser", "Error parsing data " + e.toString());
  261. }
  262. // return JSON String
  263. return jObj;
  264. }
  265. }
  266.  
  267. <?xml version="1.0" encoding="utf-8"?>
  268. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  269. android:orientation="vertical" android:layout_width="match_parent"
  270. android:layout_height="50dp">
  271. <LinearLayout
  272. android:orientation="horizontal"
  273. android:layout_width="match_parent"
  274. android:layout_height="70dp"
  275. android:layout_gravity="center_horizontal">
  276. <TextView
  277. android:layout_width="match_parent"
  278. android:layout_height="match_parent"
  279. android:textAppearance="?android:attr/textAppearanceLarge"
  280. android:text="Large Text"
  281. android:id="@+id/textView1" />
  282. </LinearLayout>
  283. </LinearLayout>
  284.  
  285. 08-29 14:52:39.285 1236-1236/android.process.acore W/Zygote? Slow operation: 5274 ms in ForkAndSpecializeCommon:Fork and detach
  286. 08-29 14:52:39.381 1236-1236/android.process.acore W/Zygote? Slow operation: 5443 ms in ForkAndSpecializeCommon:child process setup
  287. 08-29 14:52:40.009 1236-1236/android.process.acore W/Zygote? Slow operation: 6071 ms in ForkAndSpecializeCommon:PostForkChildHooks returns
  288. 08-29 14:52:40.013 1236-1236/android.process.acore W/Zygote? Slow operation: 7411ms so far, now at Zygote.nativeForkAndSpecialize
  289. 08-29 14:52:41.694 1236-1236/android.process.acore W/Zygote? Slow operation: 9095ms so far, now at Zygote.postForkCommon
  290. 08-29 14:52:41.756 1236-1236/android.process.acore W/Zygote? Slow operation: 9264ms so far, now at zygoteConnection.runOnce: postForkAndSpecialize
  291. 08-29 14:54:40.299 1236-1247/android.process.acore W/art? Suspending all threads took: 10.659s
  292. 08-29 14:55:54.233 1236-1260/android.process.acore I/art? WaitForGcToComplete blocked for 601.023ms for cause DisableMovingGc
  293. 08-29 14:56:48.346 1236-1260/android.process.acore I/ContactLocale? AddressBook Labels [en-US]: [, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, , ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, , ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, , ا, ب, ت, ث, ج, ح, خ, د, ذ, ر, ز, س, ش, ص, ض, ط, ظ, ع, غ, ف, ق, ك, ل, م, ن, ه, و, ي, , ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, , ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, , ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, #, ]
  294. 08-29 14:56:48.729 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x16c070a0,"Signal Catcher"]: reacting to signal 3
  295. 08-29 14:56:48.729 1236-1239/android.process.acore I/art? [ 08-29 14:56:49.255 948: 966 E/ActivityManager ]
  296. ANR in com.android.phone
  297. PID: 1194
  298. Reason: executing service com.android.phone/.TelephonyDebugService
  299. Load: 9.14 / 6.53 / 4.95
  300. CPU usage from 1ms to 121124ms later with 99% awake:
  301. 41% 55/surfaceflinger: 13% user + 27% kernel
  302. 28% 948/system_server: 16% user + 11% kernel / faults: 6340 minor 1 major
  303. 4.6% 1194/com.android.phone: 2.7% user + 1.9% kernel / faults: 1668 minor
  304. 3.3% 715/zygote: 2.9% user + 0.4% kernel / faults: 1635 minor
  305. 3.1% 1209/com.android.launcher: 2.4% user + 0.6% kernel / faults: 2764 minor 1 major
  306. 2.5% 63/debuggerd: 0.5% user + 1.9% kernel / faults: 2144 minor
  307. 1.5% 1236/android.process.acore: 1.1% user + 0.3% kernel / faults: 906 minor
  308. 1.4% 1164/com.android.inputmethod.latin: 1% user + 0.3% kernel / faults: 923 minor
  309. 1.3% 1284/com.android.systemui: 0.8% user + 0.5% kernel / faults: 1759 minor
  310. 1% 25/mtdblock0: 0% user + 1% kernel
  311. 0.3% 26/mtdblock1: 0% user + 0.3% kernel
  312. 0.2% 714/mediaserver: 0% user + 0.1% kernel
  313. 0.1% 50/logd: 0% user + 0% kernel / faults: 6 minor
  314. 0% 53/servicemanager: 0% user + 0% kernel
  315. 0% 743/installd: 0% user + 0% kernel / faults: 7 minor
  316. 0% 1151/kworker/0:2: 0% user + 0% kernel
  317. 0% 42/jbd2/mtdblock1-: 0% user + 0% kernel
  318. 0% 51/healthd: 0% user + 0% kernel
  319. 0% 5/kworker/u:0: 0% user + 0% kernel
  320. 0% 39/flush-31:1: 0% user + 0% kernel
  321. 0% 61/adbd: 0% user + 0% kernel
  322. +0% 1303/<pre-initialized>: 0% user + 0% kernel
  323. +0% 1318/patchoat: 0% user + 0% kernel
  324. 100% TOTAL: 49% user + 50% kernel + 0% softirq
  325. CPU usage from 118480ms to 120630ms later:
  326. 66% 948/system_server: 38% user + 28% kernel
  327. 11% 966/ActivityManager: 5.6% user + 6.1% kernel
  328. 7% 965/android.bg: 2.8% user + 4.2% kernel
  329. 0.4% 962/Binder_2: 0.4% user + 0% kernel
  330. 0.4% 969/android.ui: 0.4% user + 0% kernel
  331. 15% 715/zygote: 13% user + 1.4% kernel / faults: 44 minor
  332. 15% 715/main: 13% user + 1.4% kernel
  333. 20% 1318/patchoat: 14% user + 6.4% kernel / faults: 187 minor
  334. 19% 1236/android.process.acore: 19% user + 0% kernel / faults: 66 minor
  335. 19% 1260/ContactsProvide: 16% user + 2.5% kernel
  336. 1.1% 26/mtdblock1: 0% user + 1.1% kernel
  337. 0.2% 51/healthd: 0% user + 0.2% kernel
  338. 100% TOTAL: 67% user + 32% kernel
  339. 08-29 14:59:21.434 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x16c070a0,"Signal Catcher"]: reacting to signal 3
  340. 08-29 14:59:21.434 1236-1239/android.process.acore I/art? [ 08-29 14:59:21.532 1379: 1379 W/Zygote ]
  341. Slow operation: 2621ms so far, now at Zygote.nativeForkAndSpecialize
  342. 08-29 14:59:59.940 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  343. 08-29 15:00:16.326 1236-1264/android.process.acore I/art? WaitForGcToComplete blocked for 428.524ms for cause DisableMovingGc
  344. 08-29 15:01:14.959 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  345. 08-29 15:01:14.959 1236-1239/android.process.acore I/art? [ 08-29 15:01:15.066 1236: 1239 W/art ]
  346. Suspending all threads took: 106.226ms
  347. 08-29 15:04:09.112 1236-1249/android.process.acore W/libbacktrace? void ThreadEntry::Wait(int): pthread_cond_timedwait failed: Connection timed out
  348. 08-29 15:04:31.164 1236-1250/android.process.acore W/libbacktrace? void ThreadEntry::Wait(int): pthread_cond_timedwait failed: Connection timed out
  349. 08-29 15:05:51.798 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  350. 08-29 15:05:51.799 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  351. 08-29 15:05:51.800 1236-1239/android.process.acore I/art? [ 08-29 15:06:19.968 948: 950 I/art ]
  352. Wrote stack traces to '/data/anr/traces.txt'
  353. 08-29 15:07:36.915 1236-1250/android.process.acore W/libbacktrace? void ThreadEntry::Wait(int): pthread_cond_timedwait failed: Connection timed out
  354. 08-29 15:08:12.196 1236-1261/android.process.acore W/libbacktrace? void ThreadEntry::Wait(int): pthread_cond_timedwait failed: Connection timed out
  355. 08-29 15:08:54.338 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  356. 08-29 15:08:54.339 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  357. 08-29 15:08:54.340 1236-1239/android.process.acore I/art? [ 08-29 15:09:20.351 1413: 1417 I/art ]
  358. Wrote stack traces to '/data/anr/traces.txt'
  359. 08-29 15:11:45.413 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  360. 08-29 15:11:45.414 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  361. 08-29 15:11:45.446 1236-1239/android.process.acore I/art? [ 08-29 15:11:45.576 1236: 1239 W/art ]
  362. Suspending all threads took: 129.303ms
  363. 08-29 15:12:38.757 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  364. 08-29 15:14:30.159 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  365. 08-29 15:14:30.159 1236-1239/android.process.acore I/art? [ 08-29 15:14:30.359 948: 966 I/Process ]
  366. Sending signal. PID: 1614 SIG: 3
  367. 08-29 15:14:37.787 1236-1239/android.process.acore W/art? Suspending all threads took: 7.626s
  368. 08-29 15:14:48.777 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  369. 08-29 15:15:36.246 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x16c070a0,"Signal Catcher"]: reacting to signal 3
  370. 08-29 15:15:36.246 1236-1239/android.process.acore I/art? [ 08-29 15:15:36.377 948: 948 F/MediaSessionService ]
  371. Error sending default remote volume to sys ui.
  372. android.os.DeadObjectException
  373. at android.os.BinderProxy.transactNative(Native Method)
  374. at android.os.BinderProxy.transact(Binder.java:496)
  375. at android.media.IRemoteVolumeController$Stub$Proxy.updateRemoteController(IRemoteVolumeController.java:109)
  376. at com.android.server.media.MediaSessionService.pushRemoteVolumeUpdateLocked(MediaSessionService.java:492)
  377. at com.android.server.media.MediaSessionService.pushSessionsChanged(MediaSessionService.java:472)
  378. at com.android.server.media.MediaSessionService.access$3200(MediaSessionService.java:74)
  379. at com.android.server.media.MediaSessionService$MessageHandler.handleMessage(MediaSessionService.java:1113)
  380. at android.os.Handler.dispatchMessage(Handler.java:102)
  381. at android.os.Looper.loop(Looper.java:135)
  382. at com.android.server.SystemServer.run(SystemServer.java:269)
  383. at com.android.server.SystemServer.main(SystemServer.java:170)
  384. at java.lang.reflect.Method.invoke(Native Method)
  385. at java.lang.reflect.Method.invoke(Method.java:372)
  386. at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
  387. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
  388. 08-29 15:16:00.831 1236-1239/android.process.acore W/art? Suspending all threads took: 24.584s
  389. 08-29 15:17:06.697 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  390. 08-29 15:18:10.801 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  391. 08-29 15:18:10.801 1236-1239/android.process.acore I/art? [ 08-29 15:18:11.000 948: 966 I/Process ]
  392. Sending signal. PID: 1209 SIG: 3
  393. 08-29 15:19:13.654 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  394. 08-29 15:19:13.673 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  395. 08-29 15:19:13.674 1236-1239/android.process.acore I/art? [ 08-29 15:19:19.456 1236: 1239 I/art ]
  396. Wrote stack traces to '/data/anr/traces.txt'
  397. 08-29 15:26:07.682 1236-1239/android.process.acore I/art? Thread[2,tid=1239,WaitingInMainSignalCatcherLoop,Thread*=0xb4827c00,peer=0x12c070a0,"Signal Catcher"]: reacting to signal 3
  398. 08-29 15:26:07.683 1236-1239/android.process.acore I/art? [ 08-29 15:26:07.870 1236: 1239 W/art ]
  399. Suspending all threads took: 186.047ms
  400. 08-29 15:27:23.310 1236-1239/android.process.acore I/art? Wrote stack traces to '/data/anr/traces.txt'
  401. 08-29 15:27:25.097 1236-1236/android.process.acore I/art? Explicit concurrent mark sweep GC freed 39(13KB) AllocSpace objects, 0(0B) LOS objects, 61% free, 647KB/1671KB, paused 3.812ms total 1.734s
  402. 08-29 15:42:12.571 1236-1241/android.process.acore W/art? Suspending all threads took: 5.197ms
  403. 08-29 15:54:12.363 1236-1241/android.process.acore W/art? Suspending all threads took: 5.162ms
  404. 08-29 15:54:40.611 1236-1241/android.process.acore W/art? Suspending all threads took: 210.660ms
  405. 08-29 15:54:41.768 1236-1241/android.process.acore W/art? Suspending all threads took: 231.506ms
  406. 08-29 15:54:42.649 1236-1241/android.process.acore W/art? Suspending all threads took: 148.303ms
  407. 08-29 15:54:44.440 1236-1250/android.process.acore V/BackupServiceBinder? doBackup() invoked
  408. 08-29 15:54:44.528 1236-1250/android.process.acore E/DictionaryBackupAgent? Couldn't read from the cursor
  409. 08-29 15:55:34.947 1236-1241/android.process.acore W/art? Suspending all threads took: 5.142ms
  410. 08-29 15:55:38.611 1236-1241/android.process.acore W/art? Suspending all threads took: 175.911ms
  411. 08-29 15:55:52.396 1236-1241/android.process.acore W/art? Suspending all threads took: 203.407ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement