Logging SQL queries in android

后端 未结 9 2290
野趣味
野趣味 2020-12-04 17:45

I am using the query functions in order to build the SQL queries for my tables. Is there a way to see the actual query that is run? For instance log it somewher

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 18:23

    Personnally I log text using java.util.Log and the Log.w("MYAPPNAME", "My text...") function. It shows up in the Log view of Eclipse and it can be filtered to output only the logs for "MYAPPNAME".

提交回复
热议问题