java - Android E/Trace(627): error opening trace file: No such file or directory (2) -



java - Android E/Trace(627): error opening trace file: No such file or directory (2) -

my logcat appear error...

e/trace(627): error opening trace file: no such file or directory (2)

and can't find solution help me please. ps. i'm trying set avd sd card space 256mb, it's same error

-----------------my logcat-----------------

06-24 02:31:13.450: e / trace(627): error opening trace file: no such file or directory (2) 06-24 02:31:14.290: d / libegl(627): loaded /system/lib/egl/libegl_emulation.so 06-24 02:31:14.300: d / (627): hostconnection::get() new host connection established 0x2a08fd48, tid 627 06-24 02:31:14.310: d / libegl(627): loaded /system/lib/egl/libglesv1_cm_emulation.so 06-24 02:31:14.320: d / libegl(627): loaded /system/lib/egl/libglesv2_emulation.so 06-24 02:31:14.390: w / egl_emulation(627): eglsurfaceattrib not implemented 06-24 02:31:14.400: d / openglrenderer(627): enabling debug mode 0

-----------------my source code-----------------

package com.nathaniel.web_list_20113212_nathaniel; import java.io.bufferedinputstream; import java.io.bufferedreader; import java.io.inputstreamreader; import java.net.httpurlconnection; import java.net.url; import android.app.activity; import android.content.context; import android.database.cursor; import android.database.sqlite.sqlitedatabase; import android.graphics.color; import android.os.bundle; import android.util.log; import android.view.gravity; import android.view.layoutinflater; import android.view.view; import android.view.view.onclicklistener; import android.view.viewgroup.layoutparams; import android.view.viewmanager; import android.widget.button; import android.widget.linearlayout; import android.widget.textview; public class web_list_activity extends activity implements onclicklistener { dbmanager dbmgr; sqlitedatabase sdb; cursor cur; int list_count; linearlayout layout_weblist; button prev_btn; @override protected void oncreate(bundle savedinstancestate) { // todo auto-generated method stub super.oncreate(savedinstancestate); setcontentview(r.layout.web_list); layout_weblist = (linearlayout)findviewbyid(r.id.weblist_area); dbmgr = new dbmanager(this); sdb = dbmgr.getreadabledatabase(); cur = sdb.rawquery("select * websites", null); list_count = cur.getcount(); if(list_count < 1) { textview tv = new textview(this); tv.settext("등록된 웹사이트가 존재하지 않습니다."); tv.setgravity(gravity.center); tv.settextsize(20); layout_weblist.addview(tv); } else if(list_count > 1) { cur.movetonext(); linearlayout layout_webcontent = new linearlayout(this); layout_webcontent.setorientation(linearlayout.horizontal); layout_webcontent.setbackgroundcolor(color.parsecolor("#bbdef8")); /* <column line> * wid integer * wname text * waddress text * remark text * hits integer */ string[] column = {string.valueof(cur.getint(0)), cur.getstring(1), cur.getstring(2), cur.getstring(3), string.valueof(cur.getint(4))}; textview[] tv_content = new textview[5]; for(int = 0; < 5; i++) { tv_content[i].setgravity(gravity.center); tv_content[i].settext(column[i]); layout_webcontent.addview(tv_content[i]); layout_webcontent.setid(i); layout_webcontent.setonclicklistener(this); } layout_weblist.addview(layout_webcontent); } } @suppresswarnings({ "deprecation", "null" }) @override public void onclick(view v) { // todo auto-generated method stub layoutinflater html_layer; view html_view = null; if(v.getid() != list_count) { html_layer = (layoutinflater)getsystemservice(context.layout_inflater_service); html_view = html_layer.inflate(r.layout.web_html, null); this.addcontentview(html_view, new layoutparams(layoutparams.fill_parent, layoutparams.fill_parent)); cur.movetoposition(v.getid()); string waddr = cur.getstring(2); // address textview tv_html = (textview)findviewbyid(r.id.htmlview); url url = null; httpurlconnection urlconnection = null; bufferedinputstream buf = null; seek { url = new url(waddr); urlconnection = (httpurlconnection)url.openconnection(); buf = new bufferedinputstream(urlconnection.getinputstream()); bufferedreader bufreader = new bufferedreader(new inputstreamreader(buf, "utf-8")); string line = null; string page = ""; while((line = bufreader.readline()) != null) { page += line; } tv_html.settext(page); } catch(exception e) { log.i("############", e.getmessage()); } { urlconnection.disconnect(); } } else ((viewmanager)html_view.getparent()).removeview(html_view); } }

the error message comes systrace code. indicates device doesn't back upwards systrace tracing. can ignore it.

source

java android logcat android-logcat

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -