[APP][2.1+] Metal Sniffer - Holo-looking tool

Search This thread

icechen1

Senior Member
May 3, 2012
152
256
Update2: New version 0.5.0 out, should support Android 2.1 and up now, along with a few extra features. More info at: http://xdaforums.com/showpost.php?p=26067435&postcount=78

Update: Featured on Redmondpie!

So I made my first app, an magnetic field sensor (aka metal detector). It's nothing too spectacular, but I thought you guys might find it useful.

But there are already a ton of metal finders on Play, you might say. Most similar apps on Play right now looks like they're made for Android 1.6 or ads-packed, so why not release my own take on it without all the gimmicks.

There are also some great comparable apps out there, but a little competition can't hurt . It also works through walls, so I guess you can use it to detect hidden electrical wires.

You might wonder what you can do with this app, except the obvious metal detecting business.
Features:
-Displays the field strength in microtesla, milligauss or in gamma.
-Export the data to a CSV file, do anything with it
-Vibration alarm
-Free and No Ads
-Option to force screen on to prevent screen from closing
-A historical chart
-Optimized for Ice Cream Sandwich/Holo theme
-Works on Gingerbread and up. (version 0.5.0 : Android 2.1 and up)

The app looks great on ICS, with a native feel to it. It's also free of bloat like Payware or ads, completely free!

For download/screenshots, check it out at Google Play Here!

Happy metal hunting! Would appreciate any constructive comments or crashes that you may have ;) A rating would be awesome as well.
 

Attachments

  • unnamed.jpg
    unnamed.jpg
    29.4 KB · Views: 4,289
Last edited:

motodroidfreak

Senior Member
Jul 13, 2010
248
80
DHS, CA.
Good work but i have a crapy deafult phone back and it hard to read some text... Set the back to (holo deafult dark bg)

<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >

<gradient android:angle="270" android:endColor="#ff272D33" android:startColor="#ff020202" android:type="linear" />

</shape>




Sent from my VS910 4G using xda premium
 

icechen1

Senior Member
May 3, 2012
152
256
Good work but i have a crapy deafult phone back and it hard to read some text... Set the back to (holo deafult dark bg)
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >

<gradient android:angle="270" android:endColor="#ff272D33" android:startColor="#ff020202" android:type="linear" />

</shape>
Sent from my VS910 4G using xda premium
Thanks for the feedback, I'll try to improve it for the next version!

It looks awesome :)
I don't know why, but I'll download it
Awesome!

I agree. Good job, it looks awesome although I don't have space to install it :(
Aw, it's a shame. Thanks for the feedback though!
 
  • Like
Reactions: motodroidfreak

icechen1

Senior Member
May 3, 2012
152
256
New version 0.4.2 released:

Cosmetic changes (better-looking colors, gradient on the chart)
Holo background now default on all devices to avoid problems [credits to motodroidfreak]
CSV now saves to /sdcard/Android/MetalSniffer/ [project clean SD]
 

Dr_Death

Senior Member
Aug 5, 2010
96
4
it gave me Force Close message on my HTC WildFire running CyanogenMod 7.1.0.1, Android version 2.3.7
 

tharaka

Senior Member
Mar 8, 2011
78
8
Colombo
FC on Xperia X8 GingerDX v19 2.3.7

Code:
05-09 13:11:25.677: I/ActivityManager(1923): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.icechen1.metalsniffer/.MetalSnifferActivity } from pid 25414
05-09 13:11:25.737: I/ActivityManager(1923): Start proc com.icechen1.metalsniffer for activity com.icechen1.metalsniffer/.MetalSnifferActivity: pid=25731 uid=10066 gids={1015}
05-09 13:11:26.007: I/dalvikvm(25731): Could not find method com.androidplot.xy.XYPlot.setLayerType, referenced from method com.icechen1.metalsniffer.MetalSnifferActivity.onCreate
05-09 13:11:26.007: W/dalvikvm(25731): VFY: unable to resolve virtual method 6974: Lcom/androidplot/xy/XYPlot;.setLayerType (ILandroid/graphics/Paint;)V
05-09 13:11:26.017: D/dalvikvm(25731): VFY: replacing opcode 0x6e at 0x0026
05-09 13:11:26.037: I/dalvikvm(25731): Could not find method android.widget.TextView.setAlpha, referenced from method com.icechen1.metalsniffer.MetalSnifferActivity.onSensorChanged
05-09 13:11:26.037: W/dalvikvm(25731): VFY: unable to resolve virtual method 3133: Landroid/widget/TextView;.setAlpha (F)V
05-09 13:11:26.037: D/dalvikvm(25731): VFY: replacing opcode 0x6e at 0x0542
05-09 13:11:26.037: D/dalvikvm(25731): VFY: dead code 0x0545-0546 in Lcom/icechen1/metalsniffer/MetalSnifferActivity;.onSensorChanged (Landroid/hardware/SensorEvent;)V
05-09 13:11:26.087: I/dalvikvm(25731): Could not find method com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout.onHoverEvent, referenced from method com.actionbarsherlock.internal.widget.ActionBarContainer.onHoverEvent
05-09 13:11:26.087: W/dalvikvm(25731): VFY: unable to resolve virtual method 4202: Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout;.onHoverEvent (Landroid/view/MotionEvent;)Z
05-09 13:11:26.087: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x0000
05-09 13:11:26.087: D/dalvikvm(25731): VFY: dead code 0x0003-0004 in Lcom/actionbarsherlock/internal/widget/ActionBarContainer;.onHoverEvent (Landroid/view/MotionEvent;)Z
05-09 13:11:26.097: I/dalvikvm(25731): Could not find method android.widget.FrameLayout.getAlpha, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout.getAlpha
05-09 13:11:26.097: W/dalvikvm(25731): VFY: unable to resolve virtual method 2982: Landroid/widget/FrameLayout;.getAlpha ()F
05-09 13:11:26.097: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000b
05-09 13:11:26.097: D/dalvikvm(25731): VFY: dead code 0x000e-000f in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout;.getAlpha ()F
05-09 13:11:26.097: I/dalvikvm(25731): Could not find method android.widget.FrameLayout.getTranslationY, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout.getTranslationY
05-09 13:11:26.097: W/dalvikvm(25731): VFY: unable to resolve virtual method 2983: Landroid/widget/FrameLayout;.getTranslationY ()F
05-09 13:11:26.097: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000b
05-09 13:11:26.097: D/dalvikvm(25731): VFY: dead code 0x000e-000f in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout;.getTranslationY ()F
05-09 13:11:26.097: I/dalvikvm(25731): Could not find method android.widget.FrameLayout.setAlpha, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout.setAlpha
05-09 13:11:26.097: W/dalvikvm(25731): VFY: unable to resolve virtual method 2986: Landroid/widget/FrameLayout;.setAlpha (F)V
05-09 13:11:26.097: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000a
05-09 13:11:26.097: D/dalvikvm(25731): VFY: dead code 0x000d-000d in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout;.setAlpha (F)V
05-09 13:11:26.097: I/dalvikvm(25731): Could not find method android.widget.FrameLayout.setTranslationY, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout.setTranslationY
05-09 13:11:26.097: W/dalvikvm(25731): VFY: unable to resolve virtual method 2994: Landroid/widget/FrameLayout;.setTranslationY (F)V
05-09 13:11:26.097: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000a
05-09 13:11:26.107: D/dalvikvm(25731): VFY: dead code 0x000d-000d in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout;.setTranslationY (F)V
05-09 13:11:26.157: D/dalvikvm(25731): GC_EXTERNAL_ALLOC freed 111K, 48% free 2801K/5379K, external 0K/0K, paused 52ms
05-09 13:11:26.167: I/dalvikvm(25731): Could not find method android.view.ViewGroup.getAlpha, referenced from method com.actionbarsherlock.internal.nineoldandroids.view.NineViewGroup.getAlpha
05-09 13:11:26.167: W/dalvikvm(25731): VFY: unable to resolve virtual method 2761: Landroid/view/ViewGroup;.getAlpha ()F
05-09 13:11:26.167: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000b
05-09 13:11:26.167: D/dalvikvm(25731): VFY: dead code 0x000e-000f in Lcom/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup;.getAlpha ()F
05-09 13:11:26.167: I/dalvikvm(25731): Could not find method android.view.ViewGroup.getTranslationX, referenced from method com.actionbarsherlock.internal.nineoldandroids.view.NineViewGroup.getTranslationX
05-09 13:11:26.167: W/dalvikvm(25731): VFY: unable to resolve virtual method 2767: Landroid/view/ViewGroup;.getTranslationX ()F
05-09 13:11:26.167: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000b
05-09 13:11:26.167: D/dalvikvm(25731): VFY: dead code 0x000e-000f in Lcom/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup;.getTranslationX ()F
05-09 13:11:26.167: I/dalvikvm(25731): Could not find method android.view.ViewGroup.getTranslationY, referenced from method com.actionbarsherlock.internal.nineoldandroids.view.NineViewGroup.getTranslationY
05-09 13:11:26.167: W/dalvikvm(25731): VFY: unable to resolve virtual method 2768: Landroid/view/ViewGroup;.getTranslationY ()F
05-09 13:11:26.167: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000b
05-09 13:11:26.167: D/dalvikvm(25731): VFY: dead code 0x000e-000f in Lcom/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup;.getTranslationY ()F
05-09 13:11:26.167: I/dalvikvm(25731): Could not find method android.view.ViewGroup.setAlpha, referenced from method com.actionbarsherlock.internal.nineoldandroids.view.NineViewGroup.setAlpha
05-09 13:11:26.167: W/dalvikvm(25731): VFY: unable to resolve virtual method 2783: Landroid/view/ViewGroup;.setAlpha (F)V
05-09 13:11:26.167: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000a
05-09 13:11:26.177: D/dalvikvm(25731): VFY: dead code 0x000d-000d in Lcom/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup;.setAlpha (F)V
05-09 13:11:26.177: I/dalvikvm(25731): Could not find method android.view.ViewGroup.setTranslationX, referenced from method com.actionbarsherlock.internal.nineoldandroids.view.NineViewGroup.setTranslationX
05-09 13:11:26.177: W/dalvikvm(25731): VFY: unable to resolve virtual method 2787: Landroid/view/ViewGroup;.setTranslationX (F)V
05-09 13:11:26.177: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000a
05-09 13:11:26.177: D/dalvikvm(25731): VFY: dead code 0x000d-000d in Lcom/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup;.setTranslationX (F)V
05-09 13:11:26.177: I/dalvikvm(25731): Could not find method android.view.ViewGroup.setTranslationY, referenced from method com.actionbarsherlock.internal.nineoldandroids.view.NineViewGroup.setTranslationY
05-09 13:11:26.177: W/dalvikvm(25731): VFY: unable to resolve virtual method 2788: Landroid/view/ViewGroup;.setTranslationY (F)V
05-09 13:11:26.177: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000a
05-09 13:11:26.177: D/dalvikvm(25731): VFY: dead code 0x000d-000d in Lcom/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup;.setTranslationY (F)V
05-09 13:11:26.187: I/dalvikvm(25731): Could not find method com.actionbarsherlock.internal.widget.ActionBarView$HomeView.onHoverEvent, referenced from method com.actionbarsherlock.internal.widget.ActionBarView$HomeView.dispatchHoverEvent
05-09 13:11:26.187: W/dalvikvm(25731): VFY: unable to resolve virtual method 5131: Lcom/actionbarsherlock/internal/widget/ActionBarView$HomeView;.onHoverEvent (Landroid/view/MotionEvent;)Z
05-09 13:11:26.197: D/dalvikvm(25731): VFY: replacing opcode 0x6e at 0x0000
05-09 13:11:26.197: D/dalvikvm(25731): VFY: dead code 0x0003-0004 in Lcom/actionbarsherlock/internal/widget/ActionBarView$HomeView;.dispatchHoverEvent (Landroid/view/MotionEvent;)Z
05-09 13:11:26.197: I/dalvikvm(25731): Could not find method android.widget.FrameLayout.onPopulateAccessibilityEvent, referenced from method com.actionbarsherlock.internal.widget.ActionBarView$HomeView.onPopulateAccessibilityEvent
05-09 13:11:26.197: W/dalvikvm(25731): VFY: unable to resolve virtual method 2985: Landroid/widget/FrameLayout;.onPopulateAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V
05-09 13:11:26.197: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x0006
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 200 ms for AK8975 Compass
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 200 ms for AK8975 Compass Raw
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 200 ms for AK8975 Magnetic Field
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass Raw
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Magnetic Field
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass Raw
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Magnetic Field
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass Raw
05-09 13:11:26.317: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Magnetic Field
05-09 13:11:26.687: I/dalvikvm(25731): Could not find method android.view.View.jumpDrawablesToCurrentState, referenced from method com.actionbarsherlock.internal.view.menu.BaseMenuPresenter.updateMenuView
05-09 13:11:26.687: W/dalvikvm(25731): VFY: unable to resolve virtual method 2693: Landroid/view/View;.jumpDrawablesToCurrentState ()V
05-09 13:11:26.697: D/dalvikvm(25731): VFY: replacing opcode 0x6e at 0x0056
05-09 13:11:26.707: I/dalvikvm(25731): Could not find method android.widget.LinearLayout.<init>, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineLinearLayout.<init>
05-09 13:11:26.707: W/dalvikvm(25731): VFY: unable to resolve direct method 3028: Landroid/widget/LinearLayout;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;I)V
05-09 13:11:26.707: D/dalvikvm(25731): VFY: replacing opcode 0x70 at 0x0000
05-09 13:11:26.707: D/dalvikvm(25731): VFY: dead code 0x0003-000f in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineLinearLayout;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;I)V
05-09 13:11:26.707: I/dalvikvm(25731): Could not find method android.widget.LinearLayout.getAlpha, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineLinearLayout.getAlpha
05-09 13:11:26.707: W/dalvikvm(25731): VFY: unable to resolve virtual method 3032: Landroid/widget/LinearLayout;.getAlpha ()F
05-09 13:11:26.707: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000b
05-09 13:11:26.707: D/dalvikvm(25731): VFY: dead code 0x000e-000f in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineLinearLayout;.getAlpha ()F
05-09 13:11:26.707: I/dalvikvm(25731): Could not find method android.widget.LinearLayout.getTranslationX, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineLinearLayout.getTranslationX
05-09 13:11:26.707: W/dalvikvm(25731): VFY: unable to resolve virtual method 3035: Landroid/widget/LinearLayout;.getTranslationX ()F
05-09 13:11:26.707: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000b
05-09 13:11:26.717: D/dalvikvm(25731): VFY: dead code 0x000e-000f in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineLinearLayout;.getTranslationX ()F
05-09 13:11:26.717: I/dalvikvm(25731): Could not find method android.widget.LinearLayout.setAlpha, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineLinearLayout.setAlpha
05-09 13:11:26.717: W/dalvikvm(25731): VFY: unable to resolve virtual method 3042: Landroid/widget/LinearLayout;.setAlpha (F)V
05-09 13:11:26.717: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000a
05-09 13:11:26.717: D/dalvikvm(25731): VFY: dead code 0x000d-000d in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineLinearLayout;.setAlpha (F)V
05-09 13:11:26.717: I/dalvikvm(25731): Could not find method android.widget.LinearLayout.setTranslationX, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineLinearLayout.setTranslationX
05-09 13:11:26.717: W/dalvikvm(25731): VFY: unable to resolve virtual method 3048: Landroid/widget/LinearLayout;.setTranslationX (F)V
05-09 13:11:26.717: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x000a
05-09 13:11:26.717: D/dalvikvm(25731): VFY: dead code 0x000d-000d in Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineLinearLayout;.setTranslationX (F)V
05-09 13:11:26.747: D/METALSNIFFER(25731): Inflating custom compoundbutton
05-09 13:11:26.747: W/KeyCharacterMap(25731): No keyboard for id -1
05-09 13:11:26.757: W/KeyCharacterMap(25731): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
05-09 13:11:26.767: I/dalvikvm(25731): Could not find method com.actionbarsherlock.internal.view.menu.ActionMenuItemView.onHoverEvent, referenced from method com.actionbarsherlock.internal.view.menu.ActionMenuItemView.dispatchHoverEvent
05-09 13:11:26.767: W/dalvikvm(25731): VFY: unable to resolve virtual method 4362: Lcom/actionbarsherlock/internal/view/menu/ActionMenuItemView;.onHoverEvent (Landroid/view/MotionEvent;)Z
05-09 13:11:26.767: D/dalvikvm(25731): VFY: replacing opcode 0x6e at 0x0006
05-09 13:11:26.767: D/dalvikvm(25731): VFY: dead code 0x0009-0009 in Lcom/actionbarsherlock/internal/view/menu/ActionMenuItemView;.dispatchHoverEvent (Landroid/view/MotionEvent;)Z
05-09 13:11:26.767: I/dalvikvm(25731): Could not find method android.widget.LinearLayout.onPopulateAccessibilityEvent, referenced from method com.actionbarsherlock.internal.view.menu.ActionMenuItemView.onPopulateAccessibilityEvent
05-09 13:11:26.767: W/dalvikvm(25731): VFY: unable to resolve virtual method 3041: Landroid/widget/LinearLayout;.onPopulateAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V
05-09 13:11:26.767: D/dalvikvm(25731): VFY: replacing opcode 0x6f at 0x0006
05-09 13:11:26.797: D/AndroidRuntime(25731): Shutting down VM
05-09 13:11:26.797: W/dalvikvm(25731): threadid=1: thread exiting with uncaught exception (group=0x40018560)
05-09 13:11:26.797: E/AndroidRuntime(25731): FATAL EXCEPTION: main
05-09 13:11:26.797: E/AndroidRuntime(25731): java.lang.NoSuchMethodError: android.widget.TextView.setAlpha
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at com.icechen1.metalsniffer.MetalSnifferActivity.onSensorChanged(MetalSnifferActivity.java:588)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at android.hardware.SensorManager$ListenerDelegate$1.handleMessage(SensorManager.java:529)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at android.os.Handler.dispatchMessage(Handler.java:99)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at android.os.Looper.loop(Looper.java:130)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at android.app.ActivityThread.main(ActivityThread.java:3835)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at java.lang.reflect.Method.invokeNative(Native Method)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at java.lang.reflect.Method.invoke(Method.java:507)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
05-09 13:11:26.797: E/AndroidRuntime(25731): 	at dalvik.system.NativeStart.main(Native Method)
05-09 13:11:26.807: W/ActivityManager(1923):   Force finishing activity com.icechen1.metalsniffer/.MetalSnifferActivity
05-09 13:11:27.317: W/ActivityManager(1923): Activity pause timeout for HistoryRecord{40b0f018 com.icechen1.metalsniffer/.MetalSnifferActivity}
05-09 13:11:27.357: I/ActivityManager(1923): Process com.google.android.apps.maps:LocationFriendService (pid 25702) has died.
05-09 13:11:27.357: I/ActivityManager(1923): Low Memory: No more background processes.
05-09 13:11:28.267: I/Process(25731): Sending signal. PID: 25731 SIG: 9
05-09 13:11:28.277: I/ActivityManager(1923): Process com.icechen1.metalsniffer (pid 25731) has died.
05-09 13:11:28.277: I/ActivityManager(1923): Low Memory: No more background processes.
05-09 13:11:28.277: I/WindowManager(1923): WIN DEATH: Window{405670b0 com.icechen1.metalsniffer/com.icechen1.metalsniffer.MetalSnifferActivity paused=false}
05-09 13:11:28.287: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass
05-09 13:11:28.287: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Compass Raw
05-09 13:11:28.287: I/GASH-ak897x(1923): ak897x_set_delay: 60 ms for AK8975 Magnetic Field


---------- Post added at 09:01 AM ---------- Previous post was at 08:36 AM ----------

The method used in MetalSnifferActivity.java Line 588
setAlpha();
is only for devices above Android version 3.0.x (honeycomb)

This means your app is compatible only with Honeycomb and above for this method.

Check this.
http://developer.android.com/reference/android/view/View.html#setAlpha%28float%29
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 57
    Update2: New version 0.5.0 out, should support Android 2.1 and up now, along with a few extra features. More info at: http://xdaforums.com/showpost.php?p=26067435&postcount=78

    Update: Featured on Redmondpie!

    So I made my first app, an magnetic field sensor (aka metal detector). It's nothing too spectacular, but I thought you guys might find it useful.

    But there are already a ton of metal finders on Play, you might say. Most similar apps on Play right now looks like they're made for Android 1.6 or ads-packed, so why not release my own take on it without all the gimmicks.

    There are also some great comparable apps out there, but a little competition can't hurt . It also works through walls, so I guess you can use it to detect hidden electrical wires.

    You might wonder what you can do with this app, except the obvious metal detecting business.
    Features:
    -Displays the field strength in microtesla, milligauss or in gamma.
    -Export the data to a CSV file, do anything with it
    -Vibration alarm
    -Free and No Ads
    -Option to force screen on to prevent screen from closing
    -A historical chart
    -Optimized for Ice Cream Sandwich/Holo theme
    -Works on Gingerbread and up. (version 0.5.0 : Android 2.1 and up)

    The app looks great on ICS, with a native feel to it. It's also free of bloat like Payware or ads, completely free!

    For download/screenshots, check it out at Google Play Here!

    Happy metal hunting! Would appreciate any constructive comments or crashes that you may have ;) A rating would be awesome as well.
    6
    Apparently something I added in the last bugfix broke the app on Gingerbread, I am pushing an update to fix it on Play in a few minutes. Sorry about that folks, I don't have a GB device to test it on, so let me know if it works. :/

    Edit: Pushed. Attached here as well.
    3
    New version after all this time!
    What's new in 0.7.0:
    -Directional Arrows
    -Performance optimizations
    -Android 4.0+ : A nice tutorial the first time you open the app.
    -Ads...Yeah, I know. They can be disabled in the options, though, no strings attached.

    I have attached the .apk here exclusively for XDA, ahead of the Play Store release.. You might need to uninstall the old version of Metal Sniffer beforehand, though. Let me know if it runs smoothly on your device!

    Screenshot: http://imgur.com/7wKcZ
    2
    Hi, icechen1!
    I have made russian values for your app.
    But for that I changed a little bit mainmenu.xml
    You will find all new files in the attachment
    2
    Hey Icechen1, I've made some corrections to the Dutch translation. I noticed that some things were just wrong and that I forgot to translate a line.

    I'm attaching the new Dutch values, and along with them the English ones also, since there were some corrections to be made, like meAsurements and other things I can't remember.
    Ah: it's microTesla and milliGauss, not microtesla and milligaus, those units get their name from the respective scientists, so you should put them in capital letters :mad:

    I hope you don't mind I've corrected some things. Bye :)
    Ah, it's perfectly alright. Just learned something about unit conventions I guess :p
    Thanks coomb!