jpffilho / pedometer

Automatically exported from code.google.com/p/pedometer
0 stars 0 forks source link

doesn't work on Droid #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Install apk using adb 
2. Run pedometer on Droid 
3. Stops unexpectedly

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
1.1

Please provide any additional information below.
From LogCat
03-26 11:38:54.021: ERROR/AndroidRuntime(7256): Uncaught handler: thread
main exiting due to uncaught exception
03-26 11:38:54.029: ERROR/AndroidRuntime(7256): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{name.bagi.levente.pedometer/name.bagi.levente.pedometer.Pedometer}
:
java.lang.RuntimeException: Binary XML file line #11: You must supply a
layout_width attribute.
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2481)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2497)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.ActivityThread.access$2200(ActivityThread.java:119)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1848)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.os.Handler.dispatchMessage(Handler.java:99)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.os.Looper.loop(Looper.java:123)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.ActivityThread.main(ActivityThread.java:4338)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
java.lang.reflect.Method.invokeNative(Native Method)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
java.lang.reflect.Method.invoke(Method.java:521)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
dalvik.system.NativeStart.main(Native Method)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256): Caused by:
java.lang.RuntimeException: Binary XML file line #11: You must supply a
layout_width attribute.
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.content.res.TypedArray.getLayoutDimension(TypedArray.java:438)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3465)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:3545)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1265)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1191)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:45)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.view.LayoutInflater.rInflate(LayoutInflater.java:620)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198
)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.Activity.setContentView(Activity.java:1622)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
name.bagi.levente.pedometer.Pedometer.onCreate(Pedometer.java:73)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2444)
03-26 11:38:54.029: ERROR/AndroidRuntime(7256):     ... 11 more

Original issue reported on code.google.com by mac1...@gmail.com on 26 Mar 2010 at 3:41

GoogleCodeExporter commented 8 years ago
I have app running on Moto Droid 2.1. App seems to work as expected once I 
adjusted my settings to my preferences. I had to adjust sensitivity and step 
length multiple times and test on know distance but was able to reproduce same 
results multiple times over that length. However the app does see to drain 
battery rapidly and my phone builds up excess heat. I carry my phone in a belt 
holster and keep it running in the background. The tracking results seem to be 
appropriate enough for my needs however I am concerned with the battery drain 
and heat.

Original comment by cledbett...@gmail.com on 3 Aug 2010 at 9:35