Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我开发了一个访问数据库的应用程序,我想知道它是否返回值可以这样做,即;我可以在 Eclipse 的控制台中打印从 db 获得的值吗?
有的话怎么打印。请帮忙,因为我是 android 新手。
尝试使用 Log 类。 http://developer.android.com/reference/android/util/Log.html
例子:
Log.i("TAG", "something to display");