Did you rebuild your application after you activated Mono for Android?

If you did not, it is still using the runtime that will not work on a 
physical device.

Jonathan


On 7/21/2011 10:30 AM, mcgear wrote:
> Alright...  So now when i open the app on the handset it just sits on a black
> screen with the title bar showing...
>
> This is the log excerpt:
> V/WindowManager( 2222): Dsptch 1 x301.0 y310.0>  Window{47fc8238
> com.sec.android.app.twlauncher/com.sec.android.app.twlauncher.Launcher
> paused=false}
> I/ActivityManager( 2222): Starting activity: Intent {
> act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000
> cmp=ToneRoomDeluxe.ToneRoomDeluxe/toneroomdeluxe.StartActivity }
> I/FeedsAndUpdate( 2313):>>  FeedsAndUpdate<<  BitmapMemoryCacheProcessor
> clear.............
> I/FeedsAndUpdate( 2313):>>  FeedsAndUpdate<<  HttpClientPoolManager
> closeIdleConnections............. : 0
> I/DaysWidget( 2313): onPause
> D/Launcher( 2313): launcher is paused
> I/ActivityManager( 2222): Start proc ToneRoomDeluxe.ToneRoomDeluxe for
> activity ToneRoomDeluxe.ToneRoomDeluxe/toneroomdeluxe.StartActivity:
> pid=2744 uid=10082 gids={3003}
> I/Zygote  ( 2744): Zygote: pid 2744 has INTERNET permission, then set
> capability for CAP_NET_RAW(13)
> I/dalvikvm( 2744): Debugger thread not active, ignoring DDM send
> (t=0x41504e4d l=38)
> W/Resources( 2222): Converting to boolean: TypedValue{t=0x3/d=0xd99
> "res/anim/accelerate_decelerate_interpolator.xml" a=1 r=0x10a0004}
> W/Resources( 2222): Converting to boolean: TypedValue{t=0x3/d=0xd99
> "res/anim/accelerate_decelerate_interpolator.xml" a=1 r=0x10a0004}
> I/dalvikvm( 2744): Debugger thread not active, ignoring DDM send
> (t=0x41504e4d l=62)
> I/ActivityThread( 2744): Publishing provider
> ToneRoomDeluxe.ToneRoomDeluxe.__mono_init__: mono.MonoRuntimeProvider
> D/dalvikvm( 2744): Trying to load lib
> /data/data/ToneRoomDeluxe.ToneRoomDeluxe/lib/libmonodroid.so 0x47ee1d80
> D/dalvikvm( 2744): Added shared lib
> /data/data/ToneRoomDeluxe.ToneRoomDeluxe/lib/libmonodroid.so 0x47ee1d80
> D/dalvikvm( 2744): +++ not scanning '/system/lib/libwebcore.so' for 'init'
> (wrong CL)
> D/dalvikvm( 2744): +++ not scanning '/system/lib/libmedia_jni.so' for 'init'
> (wrong CL)
> D/dalvikvm( 2744): +++ not scanning '/system/lib/libexif.so' for 'init'
> (wrong CL)
> D/dalvikvm( 2744): GC freed 13514 objects / 496560 bytes in 37ms
> D/dalvikvm( 2744): GC freed 11689 objects / 496872 bytes in 44ms
> D/dalvikvm( 2744): GC freed 10981 objects / 472288 bytes in 26ms
> W/PowerManagerService( 2222): Timer 0x3->0x3|0x0
> D/WifiService( 2222): ACTION_BATTERY_CHANGED pluggedType: 1
> I/WifiService( 2222): handleMessage: MESSAGE_ENABLE_WIFI
> I/WifiService( 2222): handleMessage: MESSAGE_START_WIFI
> D/PowerManagerService( 2222): setBacklightBrightness running.
> D/HardwareService( 2222): Brightness NATIVE setBacklightBrightness running.
> light: 0bightness ==>  91  mode:  0
> I/StatusBarPolicy( 2222): BAT. status:2 health:2
> V/DockObserver( 2222): Power Connected: true
> E/Setting ( 2400): Intent Action
> android.intent.action.ACTION_POWER_CONNECTED
> E/Setting ( 2400): Battery charging. plugType = 1
> E/Setting ( 2400): AC charge
> D/WifiService( 2222): ACTION_BATTERY_CHANGED pluggedType: 1
> I/WifiService( 2222): handleMessage: MESSAGE_ENABLE_WIFI
> I/WifiService( 2222): handleMessage: MESSAGE_START_WIFI
> D/PowerManagerService( 2222): setBacklightBrightness running.
> D/HardwareService( 2222): Brightness NATIVE setBacklightBrightness running.
> light: 0bightness ==>  91  mode:  0
> I/StatusBarPolicy( 2222): BAT. status:2 health:2
> V/DockObserver( 2222): Power Connected: true
> E/Setting ( 2400): Intent Action
> android.intent.action.ACTION_POWER_CONNECTED
> E/Setting ( 2400): Battery charging. plugType = 1
> E/Setting ( 2400): AC charge
> I/POWER_OFF_TEST( 2222): mBatteryLevel = 100   mBatteryDecimalPoint = 1
> W/ActivityManager( 2222): Launch timeout has expired, giving up wake lock!
> W/ActivityManager( 2222): Activity idle timeout for HistoryRecord{47ec3278
> ToneRoomDeluxe.ToneRoomDeluxe/toneroomdeluxe.StartActivity}
>
>
> Following is the activity:
>
>      [Activity(Label = "Tone Room Deluxe", MainLauncher = true, Icon =
> "@drawable/icon")]
>      public class StartActivity : Activity
>      {
>          int count = 1;
>
>          protected override void OnCreate(Bundle bundle)
>          {
>              base.OnCreate(bundle);
>
>              // Set our view from the "main" layout resource
>              SetContentView(Resource.Layout.Main);
>
>              // Get our button from the layout resource,
>              // and attach an event to it
>              Button button = FindViewById<Button>(Resource.Id.MyButton);
>
>              button.Click += delegate { button.Text = string.Format("{0}
> clicks!", count++); };
>          }
>      }
>
> Any help is appreciated.
>
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/Problems-starting-App-on-actual-Device-tp4619605p4619610.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to