android-logcat

EyeGesture and EyeGestureManager clarity needed

房东的猫 提交于 2019-12-13 04:47:44
问题 Google review team requires glassewares to: Dim the screen if there isn't an expectation that a user is looking at it. This is consistent with the "in the here and now" experience of Glass. Glassware should always dim the screen if there isn't an expectation that a user is looking at it. Ideally it behaves like a timeline and dims after 15s. A user can 'rewake' the screen by looking up . Update to be made: If a user is not looking at the results set in the card scroller, dim the screen. This

GridView example not working

北慕城南 提交于 2019-12-13 04:26:45
问题 I am taking help from this link: Android GridView Layout Tutorial. When I run my app my app stop working. I am getting following errors. I want to create gridview that show thumbnail images in gridview and full size image on click. For this I am saving thumbnail and full image of each image in drawable. How to do this? please help me. ImageAdapter class- public class ImageAdapter extends BaseAdapter { private Context mContext; public Integer[] mThumbIds = { R.drawable.kri1, R.drawable.kri2, R

Android NDK crash log too big to find error

China☆狼群 提交于 2019-12-13 03:44:18
问题 I've got an android application using a shared object in the JNI (that I wrote myself) that is causing a segault. However, I'm having a rough time debugging it, because each time it crashes, my /dev/log/main is flooded with messages that look like this: 06-18 12:50:31.069 2863 2863 I DEBUG : 453b7608 ffffffff 06-18 12:50:31.069 2863 2863 I DEBUG : 453b760c ffffffff 06-18 12:50:31.069 2863 2863 I DEBUG : 453b7610 ffffffff 06-18 12:50:31.069 2863 2863 I DEBUG : 453b7614 ffffffff 06-18 12:50:31

Error in SWT/LogCat? or Android 2.2 AVD

爷,独闯天下 提交于 2019-12-13 03:19:36
问题 Based on a tip, I changed the target of my Android app from 2.3 to 2.2. Out of the frying pan and into the fire! Now my app won't even open (in the 2.2 emulator) and I get this (seems to be an SWT problem, and then an android/LogCat problem): eclipse.buildId=M20110909-1335 java.version=1.7.0_01 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws

Got threadid=1: thread exiting with uncaught exception (group=0x41088930) on listview

南楼画角 提交于 2019-12-12 23:20:00
问题 i'm making an app that shows running apps icon on listview. there are no syntax problem (i think) but when i launch app and try to run activity, the app force closes and i got threadid=1: thread exiting with uncaught exception (group=0x41088930) and more error how can i fix this error? should i use Asynctask to load image to list view? or any solutions? (Logcat) 02-18 14:17:46.700: W/dalvikvm(18370): threadid=1: thread exiting with uncaught exception (group=0x41088930) 02-18 14:17:46.700: E

How Can I Fetch Name and Email using Facebook SDK 4?

情到浓时终转凉″ 提交于 2019-12-12 06:15:25
问题 I am using Facebook SDK 4 ,I had Do this before sdk 2... but for me some syntax has changed so I had faced some problem... I'm not able to fetch username,email This is my XML File <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:facebook="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.facebook.login.widget

How to print the logcat log to cmd prompt

纵饮孤独 提交于 2019-12-12 04:38:34
问题 I'm running scenarios in UIAutomator.My output is displayed in CMD prompt. Whenever there is a failure i'm printing strings (displayed in Cmd prompt). When the scenarios fails, Is it possible to print the log snippet from logcat logs to cmd prompt? 回答1: Late Answer, but better late than never ;-) You can construct a BufferedReader that reads from logcat like this: BufferedReader bufferedReader = new BufferedReader( new InputStreamReader(Runtime.getRuntime().exec("logcat -d").getInputStream())

Reading network activity logs on Android

南笙酒味 提交于 2019-12-12 03:24:32
问题 Can we read the app intra / inter net activity log on Android programmatically without having root access? If yes, can we do so for all apps on the device? 回答1: For your application yes, it is possible, but you need to use some layer in the HTTP requests that handles the requests and logs the information. For example using retrofit: setLogLevel(LogLevel.FULL).setLog(new AndroidLog("YOUR_LOG_TAG")) For all the applications in the device you need root, or install a custom proxy, for example:

Android Studio, My APP not showing in LogCat out put

纵饮孤独 提交于 2019-12-12 01:23:02
问题 I am running my app in debug mode. But it is not showing the Logcat. The logcat is working and prints lots of rubbish. At the top next to the device connected it says. No Debuggable Application. how came ? 回答1: I finally found a solution by: @nick-unuchek - Than you Android Studio doesn't display logs by package name Logs wasn't display because my app doesn't display in process. So finally I got it working, by: Click on enter image description here Checking 'Show all processes' checkbox! BUT

OSGI Bundle using Android API is showing “java.lang.RuntimeException: Stub! at android.util.Log.d”

安稳与你 提交于 2019-12-11 19:34:25
问题 In my eclipse plugin project, I am trying to use the Android API. I am only showing a message on the LogCat. In addition to adding Android.jar to my class path, I prepared Android.jar as a bundle by follwing this link. So I did the following: 1- Writing the MANIFEST.txt which contains the following: Manifest-Version: 1.0 Created-By: myself Bundle-ManifestVersion: 2 Bundle-Name: android Bundle-Description: Package android in an OSGi bundle Bundle-Version: 4.4.0 Bundle-ClassPath: .,android.jar