Msgbox - force close on rotate

William Hunter

Active Member
Licensed User
I am having a problem with msgbox handling. I get a force close if the device is rotated while the message box is displayed. I am using an AHQuickAction (V1.00) 3D pop-up menu from which the msgbox is activated.

This does not happen if the msgbox is activated only from a button. In this case the msgbox simply closes without the force close.

Also, I can use this same AHQuickAction (V1.00) 3D pop-up menu to open an AHPreferenceScreen and encounter no problem with rotation. The preference screen will display normally with rotate, whereas the msgbox gives the force close.

I am using B4A version 2.02. There may not be a solution to this, but I thought I should report it. If there were a way to prevent the force close, any help would be appreciated.
:sign0085:
 

William Hunter

Active Member
Licensed User
Please check the logs and post the error message.
As requested here is the filtered log:
B4X:
LogCat connected to: emulator-5554
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
java.lang.IllegalArgumentException: View not attached to window manager
   at android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:355)
   at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:200)
   at android.widget.PopupWindow.dismiss(PopupWindow.java:1052)
   at de.amberhome.quickaction.PopupWindows.dismiss(PopupWindows.java:141)
   at de.amberhome.quickaction.QuickAction3D$3.onClick(QuickAction3D.java:197)
   at android.view.View.performClick(View.java:2408)
   at android.view.View$PerformClick.run(View.java:8816)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:123)
   at android.app.ActivityThread.main(ActivityThread.java:4627)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   at dalvik.system.NativeStart.main(Native Method)
I am adding the unfiltered log as it may be more useful.
B4X:
LogCat connected to: emulator-5554
debuggerd: Jun 30 2010 13:59:20


Vold 2.1 (the revenge) firing up


Netd 1.0 starting
entering main loop
Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
Volume sdcard state changing 0 (No-Media) -> 1 (Idle-Unmounted)
No UMS switch available
fdhandler_accept_event: accepting on fd 10
created client 0xe078 listening on fd 8
client_fd_receive: attempting registration for service 'boot-properties'


client_fd_receive:    -> received channel id 1


client_registration: registration succeeded for client 1
connected to 'boot-properties' qemud service.
received: dalvik.vm.heapsize=24m
received: qemu.sf.lcd_density=160
received: qemu.hw.mainkeys=1
received: qemu.sf.fake_camera=back
received: 
invalid format, ignored.
fdhandler_accept_event: accepting on fd 10
created client 0x12f38 listening on fd 11
fdhandler_event: disconnect on fd 11
fdhandler_accept_event: accepting on fd 10
created client 0x12f38 listening on fd 11
client_fd_receive: attempting registration for service 'gsm'
client_fd_receive:    -> received channel id 2
client_registration: registration succeeded for client 2

>>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
CheckJNI is ON
ServiceManager: 0xacd0
setMode(NORMAL)
CameraService started: pid=34
AudioFlinger's thread 0xb3f0 ready to run
--- registering native functions ---
Profiler is disabled.
Preloading classes...
setreuid() failed. errno: 2
GC_EXPLICIT freed 821 objects / 47496 bytes in 16ms
GC_EXPLICIT freed 219 objects / 13600 bytes in 9ms
GC_EXPLICIT freed 253 objects / 14360 bytes in 8ms
GC_EXPLICIT freed 468 objects / 28984 bytes in 9ms
GC_EXPLICIT freed 2088 objects / 108280 bytes in 53ms
could not find media config xml file
GC_EXPLICIT freed 279 objects / 15984 bytes in 18ms
GC_FOR_MALLOC freed 5052 objects / 223992 bytes in 29ms
GC_FOR_MALLOC freed 11253 objects / 381344 bytes in 37ms
GC_FOR_MALLOC freed 9798 objects / 461152 bytes in 43ms
GC_FOR_MALLOC freed 8690 objects / 422872 bytes in 49ms
GC_FOR_MALLOC freed 7835 objects / 458864 bytes in 63ms
GC_FOR_MALLOC freed 7626 objects / 457776 bytes in 55ms
GC_FOR_MALLOC freed 8231 objects / 513296 bytes in 50ms
GC_FOR_MALLOC freed 7558 objects / 487104 bytes in 59ms
GC_EXPLICIT freed 175 objects / 9224 bytes in 43ms
GC_EXPLICIT freed 594 objects / 29024 bytes in 41ms
GC_EXPLICIT freed 449 objects / 25280 bytes in 44ms
GC_EXPLICIT freed 308 objects / 35136 bytes in 58ms
GC_EXPLICIT freed 279 objects / 18896 bytes in 58ms
GC_EXPLICIT freed 341 objects / 18472 bytes in 68ms
GC_EXPLICIT freed 449 objects / 28352 bytes in 62ms
GC_EXPLICIT freed 529 objects / 53224 bytes in 73ms


GC_EXPLICIT freed 623 objects / 34016 bytes in 83ms


GC_EXPLICIT freed 861 objects / 46872 bytes in 91ms
GC_EXPLICIT freed 1747 objects / 85512 bytes in 72ms
GC_EXPLICIT freed 447 objects / 29416 bytes in 83ms
GC_EXPLICIT freed 315 objects / 20184 bytes in 88ms
...preloaded 1265 classes in 13973ms.
setreuid() failed. errno: 17
GC_EXPLICIT freed 104 objects / 14200 bytes in 71ms
Preloading resources...
Preloaded drawable resource #0x1080093 (res/drawable-mdpi/sym_def_app_icon.png) that varies with configuration!!
Preloaded drawable resource #0x1080002 (res/drawable-mdpi/arrow_down_float.png) that varies with configuration!!
Preloaded drawable resource #0x10800b3 (res/drawable/btn_check.xml) that varies with configuration!!
Preloaded drawable resource #0x10800b6 (res/drawable-mdpi/btn_check_label_background.9.png) that varies with configuration!!
Preloaded drawable resource #0x10800b7 (res/drawable-mdpi/btn_check_off.png) that varies with configuration!!
Preloaded drawable resource #0x10800bc (res/drawable-mdpi/btn_check_on.png) that varies with configuration!!


Preloaded drawable resource #0x1080004 (res/drawable/btn_default.xml) that varies with configuration!!
Preloaded drawable resource #0x1080005 (res/drawable/btn_default_small.xml) that varies with configuration!!
Preloaded drawable resource #0x1080006 (res/drawable/btn_dropdown.xml) that varies with configuration!!
Preloaded drawable resource #0x1080008 (res/drawable/btn_plus.xml) that varies with configuration!!
Preloaded drawable resource #0x1080007 (res/drawable/btn_minus.xml) that varies with configuration!!
Preloaded drawable resource #0x1080009 (res/drawable/btn_radio.xml) that varies with configuration!!
Preloaded drawable resource #0x108000a (res/drawable/btn_star.xml) that varies with configuration!!
GC_EXPLICIT freed 421 objects / 25848 bytes in 72ms
Preloaded drawable resource #0x1080131 (res/drawable/btn_toggle.xml) that varies with configuration!!
Preloaded drawable resource #0x1080194 (res/drawable-mdpi/ic_emergency.png) that varies with configuration!!
Preloaded drawable resource #0x1080012 (res/drawable-mdpi/divider_horizontal_bright.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080014 (res/drawable-mdpi/divider_horizontal_dark.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080016 (res/drawable/edit_text.xml) that varies with configuration!!
Preloaded drawable resource #0x108016d (res/drawable/expander_group.xml) that varies with configuration!!
Preloaded drawable resource #0x1080062 (res/drawable/list_selector_background.xml) that varies with configuration!!
Preloaded drawable resource #0x1080227 (res/drawable-mdpi/menu_background.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080228 (res/drawable-mdpi/menu_background_fill_parent_width.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080229 (res/drawable/menu_selector.xml) that varies with configuration!!
Preloaded drawable resource #0x1080234 (res/drawable-mdpi/panel_background.9.png) that varies with configuration!!
Preloaded drawable resource #0x108023b (res/drawable-mdpi/popup_bottom_bright.9.png) that varies with configuration!!
Preloaded drawable resource #0x108023c (res/drawable-mdpi/popup_bottom_dark.9.png) that varies with configuration!!
Preloaded drawable resource #0x108023d (res/drawable-mdpi/popup_bottom_medium.9.png) that varies with configuration!!
Preloaded drawable resource #0x108023e (res/drawable-mdpi/popup_center_bright.9.png) that varies with configuration!!
Preloaded drawable resource #0x108023f (res/drawable-mdpi/popup_center_dark.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080242 (res/drawable-mdpi/popup_full_dark.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080245 (res/drawable-mdpi/popup_top_bright.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080246 (res/drawable-mdpi/popup_top_dark.9.png) that varies with configuration!!
Preloaded drawable resource #0x108006d (res/drawable/progress_indeterminate_horizontal.xml) that varies with configuration!!


Preloaded drawable resource #0x108024c (res/drawable/progress_small.xml) that varies with configuration!!
Preloaded drawable resource #0x108024d (res/drawable/progress_small_titlebar.xml) that varies with configuration!!
Preloaded drawable resource #0x1080270 (res/drawable-mdpi/scrollbar_handle_horizontal.9.png) that varies with configuration!!
Preloaded drawable resource #0x1080271 (res/drawable-mdpi/scrollbar_handle_vertical.9.png) that varies with configuration!!
GC_EXPLICIT freed 477 objects / 32608 bytes in 81ms
Preloaded drawable resource #0x1080071 (res/drawable/spinner_dropdown_background.xml) that varies with configuration!!
Preloaded drawable resource #0x1080354 (res/drawable-mdpi/title_bar_shadow.9.png) that varies with configuration!!
Preloaded drawable resource #0x10801d6 (res/drawable-mdpi/indicator_code_lock_drag_direction_green_up.png) that varies with configuration!!
Preloaded drawable resource #0x10801d7 (res/drawable-mdpi/indicator_code_lock_drag_direction_red_up.png) that varies with configuration!!
Preloaded drawable resource #0x10801d8 (res/drawable-mdpi/indicator_code_lock_point_area_default.png) that varies with configuration!!
Preloaded drawable resource #0x10801d9 (res/drawable-mdpi/indicator_code_lock_point_area_green.png) that varies with configuration!!
Preloaded drawable resource #0x10801da (res/drawable-mdpi/indicator_code_lock_point_area_red.png) that varies with configuration!!
Preloaded drawable resource #0x10801e8 (res/drawable-mdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies with configuration!!
Preloaded drawable resource #0x10801ec (res/drawable-mdpi/jog_tab_bar_left_end_normal.9.png) that varies with configuration!!
Preloaded drawable resource #0x10801ed (res/drawable-mdpi/jog_tab_bar_left_end_pressed.9.png) that varies with configuration!!
Preloaded drawable resource #0x10801f1 (res/drawable-mdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies with configuration!!
Preloaded drawable resource #0x10801f5 (res/drawable-mdpi/jog_tab_bar_right_end_normal.9.png) that varies with configuration!!
Preloaded drawable resource #0x10801f6 (res/drawable-mdpi/jog_tab_bar_right_end_pressed.9.png) that varies with configuration!!
Preloaded drawable resource #0x10801fb (res/drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with configuration!!
Preloaded drawable resource #0x1080200 (res/drawable-mdpi/jog_tab_left_normal.png) that varies with configuration!!
Preloaded drawable resource #0x1080201 (res/drawable-mdpi/jog_tab_left_pressed.png) that varies with configuration!!
Preloaded drawable resource #0x1080203 (res/drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with configuration!!
Preloaded drawable resource #0x1080209 (res/drawable-mdpi/jog_tab_right_normal.png) that varies with configuration!!
Preloaded drawable resource #0x108020a (res/drawable-mdpi/jog_tab_right_pressed.png) that varies with configuration!!
Preloaded drawable resource #0x108020d (res/drawable-mdpi/jog_tab_target_gray.png) that varies with configuration!!
...preloaded 61 resources in 1007ms.
...preloaded 15 resources in 39ms.
GC_EXPLICIT freed 503 objects / 37880 bytes in 71ms
GC_EXPLICIT freed 150 objects / 5808 bytes in 85ms
GC_EXPLICIT freed 2 objects / 48 bytes in 76ms
System server process 59 has been created
Accepting command socket connections
usbOnlinePath not found
batteryVoltagePath not found
batteryTemperaturePath not found
Entered system_init()
ServiceManager: 0x11d680
SurfaceFlinger is starting
SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
using (fd=24)
id           = 
xres         = 480 px
yres         = 800 px
xres_virtual = 480 px
yres_virtual = 1600 px
bpp          = 16
r            = 11:5
g            =  5:6
b            =  0:5
width        = 74 mm (164.756760 dpi)
height       = 123 mm (165.203247 dpi)
refresh rate = 60.00 Hz
egl.cfg not found, using default config


loaded /system/lib/egl/libGLES_android.so
EGL informations:
# of configs : 8
vendor    : Android
version   : 1.4 Android META-EGL
extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer 
Client API: OpenGL ES
EGLSurface: 5-6-5-0, config=0x1000000
flags     : 001c0000
OpenGL informations:
vendor    : Android
renderer  : Android PixelFlinger 1.3
version   : OpenGL ES-CM 1.0
extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_OES_compressed_ETC1_RGB8_texture GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap 
GL_MAX_TEXTURE_SIZE = 4096
GL_MAX_VIEWPORT_DIMS = 4096
System server: starting Android runtime.
System server: starting Android services.
Entered the Android system server!
System server: entering thread pool.
Entropy Service
Power Manager
Activity Manager
Memory class: 24
egl.cfg not found, using default config
loaded /system/lib/egl/libGLES_android.so
Unable to open zip '/data/local/bootanimation.zip': No such file or directory
Unable to open zip '/system/media/bootanimation.zip': No such file or directory


Deleting usage file : usage-20120803
generated scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at [0x220f58:0x220ffc] in 9436601 ns
generated scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at [0x1c020:0x1c0ec] in 7439401 ns
Telephony Registry
Package Manager
connecting...
new connection
Libs: android.test.runner:/system/framework/android.test.runner.jar javax.obex:/system/framework/javax.obex.jar
Features: android.hardware.camera android.hardware.camera.autofocus
GC_FOR_MALLOC freed 5130 objects / 228040 bytes in 167ms
Running ENG build: no pre-dexopt!
Scanning app dir /system/framework
Scanning app dir /system/app
GC_FOR_MALLOC freed 7246 objects / 363440 bytes in 148ms
GC_FOR_MALLOC freed 5507 objects / 303040 bytes in 198ms
Scanning app dir /data/app
GC_FOR_MALLOC freed 6461 objects / 339208 bytes in 161ms
No actions in intent filter at /data/app/ApiDemos.apk Binary XML file line #1841
No actions in intent filter at /data/app/ApiDemos.apk Binary XML file line #1847
Package com.example.android.apis desires unavailable shared library com.example.will.never.exist; ignoring!
Scanning app dir /data/app-private
Time to scan packages: 5.622 seconds
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
GC_EXPLICIT freed 4663 objects / 293592 bytes in 164ms
Account Manager
Content Manager
System Content Providers
Publishing provider settings: com.android.providers.settings.SettingsProvider
Battery Service
Lights Service
Vibrator Service
fdhandler_accept_event: accepting on fd 10
created client 0x12f88 listening on fd 12
client_fd_receive: attempting registration for service 'hw-control'
client_fd_receive:    -> received channel id 3
client_registration: registration succeeded for client 3
Alarm Manager
Init Watchdog
Sensor Service
fdhandler_accept_event: accepting on fd 10
created client 0xc038 listening on fd 13
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 4
client_registration: registration succeeded for client 4
fdhandler_event: disconnect on fd 13
Window Manager
New keyboard: device->id=0x10000 devname='qwerty2' propName='hw.keyboards.65536.devname' keylayout='/system/usr/keylayout/qwerty.kl'
New device: path=/dev/input/event0 name=qwerty2 id=0x10000 (of 0x1) index=1 fd=50 classes=0x2f
could not get driver version for /dev/input/mouse0, Not a typewriter
could not get driver version for /dev/input/mice, Not a typewriter


Device added: id=0x0, name=qwerty2, classes=2f


  X: min=0 max=479 flat=0 fuzz=0
  Y: min=0 max=799 flat=0 fuzz=0
  Pressure: unknown values
  Size: unknown values
No virtual keys found
fdhandler_accept_event: accepting on fd 10
created client 0xc038 listening on fd 13
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 5
client_registration: registration succeeded for client 5
fdhandler_event: disconnect on fd 13
fdhandler_accept_event: accepting on fd 10
created client 0xc038 listening on fd 13
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 6
client_registration: registration succeeded for client 6
fdhandler_event: disconnect on fd 13
fdhandler_accept_event: accepting on fd 10
created client 0xc038 listening on fd 13
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 7
client_registration: registration succeeded for client 7


fdhandler_event: disconnect on fd 13
fdhandler_accept_event: accepting on fd 10
created client 0xc038 listening on fd 13
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 8
client_registration: registration succeeded for client 8
fdhandler_event: disconnect on fd 13
Registering null Bluetooth Service (emulator)
Failure starting core service
java.lang.SecurityException
   at android.os.BinderProxy.transact(Native Method)
   at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
   at android.os.ServiceManager.addService(ServiceManager.java:72)
   at com.android.server.ServerThread.run(SystemServer.java:184)
Device Policy
Status Bar
Clipboard Service
Input Method Service
Enabled input methods: com.android.inputmethod.latin/.LatinIME:com.android.inputmethod.pinyin/.PinyinIME:jp.co.omronsoft.openwnn/.OpenWnnJAJP
NetStat Service
NetworkManagement Service
Connectivity Service
ConnectivityService starting up
getMobileDataEnabled returning true
Starting Wifi Service.
WifiService starting up with Wi-Fi disabled
Tethering starting
Registering observer
Throttle Service
Accessibility Manager
Mount Service
Notification Manager
volume list
Updating external media status from unmounted to unmounted
Device Storage Monitor
share status ums
Location Manager
Search Service
DropBox Service
Wallpaper Service
Audio Service
GC_FOR_MALLOC freed 4225 objects / 252080 bytes in 267ms
setMode(NORMAL)
setPhoneState() setting same state 0
error loading /system/media/audio/ui/Effect_Tick.ogg
Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
error loading /system/media/audio/ui/KeypressStandard.ogg
Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
error loading /system/media/audio/ui/KeypressSpacebar.ogg
Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
error loading /system/media/audio/ui/KeypressDelete.ogg
Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
error loading /system/media/audio/ui/KeypressReturn.ogg
Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
Headset Observer
This kernel does not have wired headset support
Dock Observer
This kernel does not have dock station support
UI Mode Manager Service
Backup Service
No ancestral data
Found stale backup journal, scheduling:
    + com.android.inputmethod.latin
    + com.android.browser
    + com.android.providers.userdictionary
    + android
    + com.android.providers.settings
Backup enabled => false
AppWidget Service
Recognition Service
share status ums
Startup with UMS connection false (media state unmounted)
DiskStats Service
SAFE MODE not enabled
failed parsing /data/system/device_policies.xml java.io.FileNotFoundException: /data/system/device_policies.xml (No such file or directory)
Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=35 uiMode=0 seq=1}
system ready!
Sending system update to: ComponentInfo{com.android.providers.contacts/com.android.providers.contacts.ContactsUpgradeReceiver}


Process: zygote socket opened
No icon ID for slot ime
Start proc android.process.acore for broadcast com.android.providers.contacts/.ContactsUpgradeReceiver: pid=99 uid=10000 gids={3003, 1015}
Launching preboot mode app: ProcessRecord{44f5d820 99:android.process.acore/10000}
Removing system update proc: ProcessRecord{44f5d820 99:android.process.acore/10000}
Sending signal. PID: 99 SIG: 9
System now ready
Making services ready
Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=35 uiMode=17 seq=2}
no available voice recognition services found
DISABLE_EXPAND: yes
Start proc jp.co.omronsoft.openwnn for service jp.co.omronsoft.openwnn/.OpenWnnJAJP: pid=107 uid=10023 gids={}
using QEMU GPS Hardware emulation
Registering observer
Could not open GPS configuration file /etc/gps.conf
Start proc com.android.phone for added application com.android.phone: pid=113 uid=1001 gids={3002, 3001, 3003, 1015}


Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher }
Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=117 uid=10025 gids={}
fdhandler_accept_event: accepting on fd 10
created client 0xc038 listening on fd 13
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 9
client_registration: registration succeeded for client 9
GC_FOR_MALLOC freed 5640 objects / 329608 bytes in 678ms
Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=122 uid=1000 gids={3002, 3001, 3003}
Could not open GPS configuration file /etc/gps.conf
executing /system/bin/tc failed: No such file or directory
/system/bin/tc terminated by exit(255)
executing /system/bin/tc failed: No such file or directory
/system/bin/tc terminated by exit(255)
executing /system/bin/tc failed: No such file or directory
/system/bin/tc terminated by exit(255)
Unable to start service Intent { act=@0 }: not found
Unable to start service Intent { act=@0 }: not found
Publishing provider com.android.launcher2.settings: com.android.launcher2.LauncherProvider
No JNI_OnLoad found in /system/lib/libwnndict.so 0x44e7e588, skipping init
GC_EXTERNAL_ALLOC freed 968 objects / 72584 bytes in 663ms
Publishing provider icc: com.android.phone.IccProvider
Publishing provider mms-sms: com.android.providers.telephony.MmsSmsProvider
GC_FOR_MALLOC freed 1373 objects / 241160 bytes in 637ms
fdhandler_accept_event: accepting on fd 10
created client 0xc088 listening on fd 14
client_fd_receive: attempting registration for service 'gps'
client_fd_receive:    -> received channel id 10
client_registration: registration succeeded for client 10
GC_EXTERNAL_ALLOC freed 3053 objects / 196624 bytes in 525ms
Publishing provider mms: com.android.providers.telephony.MmsProvider
Publishing provider sms: com.android.providers.telephony.SmsProvider
Publishing provider telephony: com.android.providers.telephony.TelephonyProvider
GC_FOR_MALLOC freed 390 objects / 393648 bytes in 379ms
getMobileDataEnabled returning true
Start proc android.process.acore for content provider com.android.providers.contacts/.CallLogProvider: pid=149 uid=10000 gids={3003, 1015}
onCreate: mProximityWakeLock: null
Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found
Resetting audio state/mode: IDLE
Kernel timezone updated to 0 minutes west of GMT
Setting time of day to sec=1344523120
Start proc com.android.alarmclock for broadcast com.android.alarmclock/.AlarmInitReceiver: pid=155 uid=10009 gids={}
Unable to set rtc to 1344523120: Invalid argument
default Received state= DISCONNECTED, old= DISCONNECTED, reason= gprsDetached, apnTypeList= default
Publishing provider com.android.social: com.android.providers.contacts.SocialProvider
Publishing provider applications: com.android.providers.applications.ApplicationsProvider


Activity idle timeout for HistoryRecord{45039988 com.android.launcher/com.android.launcher2.Launcher}
bootCompleted
GREF has increased to 201
volume mount /mnt/sdcard
/dev/block/vold/179:0 being considered for volume sdcard
Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
Media {/mnt/sdcard} state changed from {unmounted} -> {checking}
GC_FOR_MALLOC freed 3649 objects / 221184 bytes in 936ms
Publishing provider com.android.alarmclock: com.android.alarmclock.AlarmProvider
** /dev/block/vold/179:0
Publishing provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
updateMccMncConfiguration: mcc=310, mnc=260
locale set to en_us
WIFI_NUM_ALLOWED_CHANNELS set to 11
WifiService trying to setNumAllowed to 11 with persist set to true
Building list of searchable activities
** Phase 1 - Read and Compare FATs
Attempting to allocate 127 KB for FAT
Attempting to allocate 127 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=35 uiMode=17 seq=3}
** Phase 4 - Checking for Lost Files
Next free cluster in FSInfo block (8449) not free
FIXED
GC_FOR_MALLOC freed 7638 objects / 351608 bytes in 270ms
default Received state= DISCONNECTED, old= DISCONNECTED, reason= (unspecified), apnTypeList= default
Unexpected resume of com.android.launcher while already resumed in com.android.launcher
5 files, 11890 free (23781 clusters)
Publishing provider call_log: com.android.providers.contacts.CallLogProvider
Publishing provider user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
Setting numeric '310260' to be the current operator
Not a CDMA phone, no need to process OTA
Start proc android.process.media for broadcast com.android.providers.downloads/.DownloadReceiver: pid=176 uid=10002 gids={1015, 1006, 2001, 3003}
No recovery log file
default Received state= CONNECTING, old= DISCONNECTED, reason= simLoaded, apnTypeList= *
setDetailed state, old =IDLE and new state=CONNECTING
ConnectivityChange for mobile: CONNECTING/CONNECTING
replacing old mInterfaceName (null) with /dev/omap_csmi_tty1 for hipri
replacing old mInterfaceName (null) with /dev/omap_csmi_tty1 for supl
replacing old mInterfaceName (null) with /dev/omap_csmi_tty1 for mms
default Received state= CONNECTED, old= CONNECTING, reason= simLoaded, apnTypeList= *
setDetailed state, old =CONNECTING and new state=CONNECTED
ConnectivityChange for mobile: CONNECTED/CONNECTED
Setting TCP values: [4094,87380,110208,4096,16384,110208] which comes from [net.tcp.buffersize.umts]
adding dns 10.0.2.3 for mobile
/system/bin/fsck_msdos terminated by exit(0)
Filesystem check completed OK
Device /dev/block/vold/179:0, target /mnt/sdcard mounted @ /mnt/secure/staging
Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
Updating external media status from unmounted to mounted
Media {/mnt/sdcard} state changed from {checking} -> {mounted}
Tethering got CONNECTIVITY_ACTION
MasterInitialState.processMessage what=3
TetherMaster - unhandledMessage: msg.what=3
asec list
Publishing provider drm: com.android.providers.drm.DrmProvider
asec path mail.purge-1
Publishing provider media: com.android.providers.media.MediaProvider
Attached volume: internal
/mnt/sdcard volume ID: 518533661
Attached volume: external
Publishing provider downloads: com.android.providers.downloads.DownloadProvider
App freeze timeout expired.
Force clearing freeze: AppWindowToken{4503c2c0 token=HistoryRecord{45039988 com.android.launcher/com.android.launcher2.Launcher}}
Boot is finished (37513 ms)
generated scanline__00000177:03515104_00000001_00000000 [ 73 ipp] (95 ins) at [0x324c90:0x324e0c] in 2459121 ns
Start proc com.android.mms for broadcast com.android.mms/.transaction.MmsSystemEventReceiver: pid=187 uid=10015 gids={3003, 1015}
request time failed: java.net.SocketException: Address family not supported by protocol


GC_EXPLICIT freed 268 objects / 10144 bytes in 484ms
start scanning volume internal
GC_EXPLICIT freed 40 objects / 1768 bytes in 197ms
GC_EXPLICIT freed 2 objects / 48 bytes in 253ms
GC_EXPLICIT freed 6209 objects / 363488 bytes in 291ms
Publishing provider com.android.mms.SuggestionsProvider: com.android.mms.SuggestionsProvider
Start proc com.android.email for broadcast com.android.email/com.android.exchange.BootReceiver: pid=202 uid=10030 gids={3003, 1015}
Publishing provider com.android.email.provider: com.android.email.provider.EmailProvider
Publishing provider com.android.exchange.provider: com.android.exchange.provider.ExchangeProvider
Publishing provider com.android.email.attachmentprovider: com.android.email.provider.AttachmentProvider
BootReceiver onReceive
Start proc com.android.protips for broadcast com.android.protips/.ProtipWidget: pid=210 uid=10007 gids={}
!!! EAS SyncManager, onCreate


!!! EAS SyncManager, onStartCommand
!!! EAS SyncManager, stopping self
asec mount mail.purge-1 {} 1000
Logging: 
!!! EAS SyncManager, onDestroy
asec path mail.purge-1
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
 prescan time: 1035ms
    scan time: 48ms
postscan time: 0ms
   total time: 1083ms
Start proc com.android.quicksearchbox for broadcast com.android.quicksearchbox/.SearchWidgetProvider: pid=227 uid=10012 gids={3003}
done scanning volume internal
Publishing provider com.android.quicksearchbox.google: com.android.quicksearchbox.google.GoogleSuggestionProvider
Start proc com.android.music for broadcast com.android.music/.MediaAppWidgetProvider: pid=234 uid=10022 gids={3003, 1015}
GC_EXPLICIT freed 5878 objects / 293280 bytes in 250ms
no available voice recognition services found
start scanning volume external
pruneDeadThumbnailFiles... android.database.sqlite.SQLiteCursor@44ec6ac8
/pruneDeadThumbnailFiles... android.database.sqlite.SQLiteCursor@44ec6ac8
 prescan time: 227ms
    scan time: 3ms
postscan time: 50ms
   total time: 280ms
done scanning volume external
not binding apps: no Launcher activity
GC_EXPLICIT freed 4482 objects / 249032 bytes in 258ms
GC_FOR_MALLOC freed 3747 objects / 229312 bytes in 293ms
GC_EXPLICIT freed 11151 objects / 547312 bytes in 145ms
request time failed: java.net.SocketException: Address family not supported by protocol
pokeWakelock(5000)
pokeWakelock(5000)
Displayed activity com.android.launcher/com.android.launcher2.Launcher: 428622 ms (total 428622 ms)

>>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
CheckJNI is ON
--- registering native functions ---
Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=253 uid=10010 gids={1015, 2001}


GC_EXPLICIT freed 674 objects / 51880 bytes in 130ms
asec list
Size of container 2 MB 261717 bytes
asec create smdl2tmp1 2 fat {} 10010
/system/bin/newfs_msdos: warning, /dev/block/dm-1 is not a character device
/system/bin/newfs_msdos: Skipping mount checks
Bogus heads from kernel - setting sane value
Bogus sectors from kernel - setting sane value
/dev/block/dm-1: 4176 sectors in 522 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 sec=4221 mid=0xf0 spt=63 hds=64 hid=0 bspf=5 rdcl=2 infs=1 bkbs=2
/system/bin/newfs_msdos terminated by exit(0)
Filesystem formatted OK
asec path smdl2tmp1
Created secure container smdl2tmp1 at /mnt/asec/smdl2tmp1
Created container for smdl2tmp1 at path : /mnt/asec/smdl2tmp1
Copied /data/local/tmp/MailPurge.apk to /mnt/asec/smdl2tmp1/pkg.apk
asec finalize smdl2tmp1
Finalized container smdl2tmp1
Unmounting smdl2tmp1 at path /mnt/asec/smdl2tmp1
GC_EXPLICIT freed 347 objects / 21024 bytes in 94ms
asec unmount smdl2tmp1 force
asec mount smdl2tmp1 {} 1000
asec path smdl2tmp1
Scanning package: /mnt/asec/smdl2tmp1/pkg.apk
asec unmount smdl2tmp1 force
asec rename smdl2tmp1 mail.purge-2
Mounting container mail.purge-2
asec mount mail.purge-2 {} 1000
GC_FOR_MALLOC freed 14246 objects / 719392 bytes in 230ms
asec path mail.purge-2
Succesfully renamed smdl2tmp1 at path: /mnt/asec/smdl2tmp1 to mail.purge-2 at new path: /mnt/asec/mail.purge-2
Removing non-system package:mail.purge
Force stopping package mail.purge uid=10036
Scanning package mail.purge
Package mail.purge codePath changed from /mnt/asec/mail.purge-1/pkg.apk to /mnt/asec/mail.purge-2/pkg.apk; Retaining data and using new
/mnt/asec/mail.purge-2/pkg.apk changed; unpacking
DexInv: --- BEGIN '/mnt/asec/mail.purge-2/pkg.apk' ---
DexOpt: load 387ms, verify 2222ms, opt 60ms
DexInv: --- END '/mnt/asec/mail.purge-2/pkg.apk' (success) ---
Code path for pkg : mail.purge changing from /mnt/asec/mail.purge-1/pkg.apk to /mnt/asec/mail.purge-2/pkg.apk
Resource path for pkg : mail.purge changing from /mnt/asec/mail.purge-1/pkg.apk to /mnt/asec/mail.purge-2/pkg.apk
  Activities: anywheresoftware.b4a.objects.preferenceactivity mail.purge.main
Force stopping package mail.purge uid=10036
move /data/dalvik-cache/mnt@asec@mail.purge-2@pkg.apk@classes.dex -> /data/dalvik-cache/mnt@asec@mail.purge-2@pkg.apk@classes.dex
New package installed in /mnt/asec/mail.purge-2/pkg.apk
Force stopping package mail.purge uid=10036
GC_EXPLICIT freed 192 objects / 8288 bytes in 195ms
Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=275 uid=10028 gids={}
GC_EXPLICIT freed 8396 objects / 493208 bytes in 479ms
asec unmount mail.purge-1 force
ASEC mail.purge-1 unmount attempt 1 failed (Device or resource busy)
no available voice recognition services found
Process android.process.acore (149) has open file /mnt/asec/mail.purge-1/pkg.apk
ASEC mail.purge-1 unmount attempt 2 failed (Device or resource busy)
Process android.process.acore (149) has open file /mnt/asec/mail.purge-1/pkg.apk
ASEC mail.purge-1 unmount attempt 3 failed (Device or resource busy)
Process android.process.acore (149) has open file /mnt/asec/mail.purge-1/pkg.apk
Sending SIGHUP to process 149
Process 149 terminated by signal (15)
unlink /data/dalvik-cache/mnt@asec@mail.purge-1@pkg.apk@classes.dex
Forcibly destroying container mail.purge-1
asec destroy mail.purge-1 force
Process android.process.acore (pid 149) has died.
Shutting down VM
adbd disconnected
NOTE: attach of thread 'Binder Thread #3' failed
Publishing provider com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider

>>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
CheckJNI is ON
--- registering native functions ---
Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=mail.purge/.main }
Shutting down VM


adbd disconnected
Start proc mail.purge for activity mail.purge/.main: pid=292 uid=10036 gids={3003}
NOTE: attach of thread 'Binder Thread #3' failed
** Activity (main) Create, isFirst = true **
GC_FOR_MALLOC freed 7041 objects / 302208 bytes in 183ms
** Activity (main) Resume **
fdhandler_accept_event: accepting on fd 10
created client 0x17fe8 listening on fd 15
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 11
client_registration: registration succeeded for client 11
fdhandler_event: disconnect on fd 15
fdhandler_accept_event: accepting on fd 10
created client 0x17fe8 listening on fd 15
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 12
client_registration: registration succeeded for client 12
fdhandler_event: disconnect on fd 15
fdhandler_accept_event: accepting on fd 10
created client 0x17fe8 listening on fd 15
client_fd_receive: attempting registration for service 'sensors'


client_fd_receive:    -> received channel id 13
client_registration: registration succeeded for client 13
fdhandler_event: disconnect on fd 15
fdhandler_accept_event: accepting on fd 10
created client 0x17fe8 listening on fd 15
client_fd_receive: attempting registration for service 'sensors'
client_fd_receive:    -> received channel id 14
client_registration: registration succeeded for client 14
fdhandler_event: disconnect on fd 15
GC_EXTERNAL_ALLOC freed 7479 objects / 394832 bytes in 108ms
Displayed activity mail.purge/.main: 4723 ms (total 4723 ms)
generated scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at [0x33b198:0x33b2a4] in 1061440 ns
generated scanline__00000177:03515104_00001001_00000000 [ 91 ipp] (114 ins) at [0x33b2a8:0x33b470] in 1348760 ns
generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x33b478:0x33b534] in 708600 ns
GC_EXPLICIT freed 695 objects / 39400 bytes in 2716ms
Setting rotation to 1, animFlags=1
Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/1 nav=3/1 orien=2 layout=35 uiMode=17 seq=4}
** Activity (main) Pause, UserClosed = false **
Unexpected resume of mail.purge while already resumed in mail.purge
Activity mail.purge.main has leaked window android.widget.PopupWindow$PopupViewContainer@44ee6b28 that was originally added here
android.view.WindowLeaked: Activity mail.purge.main has leaked window android.widget.PopupWindow$PopupViewContainer@44ee6b28 that was originally added here
   at android.view.ViewRoot.<init>(ViewRoot.java:247)
   at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
   at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
   at android.widget.PopupWindow.invokePopup(PopupWindow.java:828)
   at android.widget.PopupWindow.showAtLocation(PopupWindow.java:688)
   at de.amberhome.quickaction.QuickAction3D.show(QuickAction3D.java:299)
   at mail.purge.main._menubutton3_click(main.java:1631)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
   at anywheresoftware.b4a.BA.raiseEvent2(BA.java:158)
   at anywheresoftware.b4a.BA.raiseEvent(BA.java:154)
   at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:54)
   at android.view.View.performClick(View.java:2408)
   at android.view.View$PerformClick.run(View.java:8816)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:123)
   at android.app.ActivityThread.main(ActivityThread.java:4627)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   at dalvik.system.NativeStart.main(Native Method)
catching B4AUncaughtException
Shutting down VM
threadid=1: thread exiting with uncaught exception (group=0x4001d800)
java.lang.IllegalArgumentException: View not attached to window manager
   at android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:355)
   at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:200)
   at android.widget.PopupWindow.dismiss(PopupWindow.java:1052)
   at de.amberhome.quickaction.PopupWindows.dismiss(PopupWindows.java:141)
   at de.amberhome.quickaction.QuickAction3D$3.onClick(QuickAction3D.java:197)
   at android.view.View.performClick(View.java:2408)
   at android.view.View$PerformClick.run(View.java:8816)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:123)
   at android.app.ActivityThread.main(ActivityThread.java:4627)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)


   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   at dalvik.system.NativeStart.main(Native Method)
FATAL EXCEPTION: main
java.lang.IllegalArgumentException: View not attached to window manager
   at android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:355)
   at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:200)
   at android.widget.PopupWindow.dismiss(PopupWindow.java:1052)
   at de.amberhome.quickaction.PopupWindows.dismiss(PopupWindows.java:141)
   at de.amberhome.quickaction.QuickAction3D$3.onClick(QuickAction3D.java:197)
   at android.view.View.performClick(View.java:2408)
   at android.view.View$PerformClick.run(View.java:8816)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:123)
   at android.app.ActivityThread.main(ActivityThread.java:4627)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   at dalvik.system.NativeStart.main(Native Method)
  Force finishing activity mail.purge/.main
Activity pause timeout for HistoryRecord{44ecee88 mail.purge/.main}
GC_EXPLICIT freed 4779 objects / 274488 bytes in 221ms
Rebuild removed 3 windows but added 2
GC_EXPLICIT freed 2478 objects / 123072 bytes in 437ms
Sending signal. PID: 292 SIG: 9
Process mail.purge (pid 292) has died.
WIN DEATH: Window{44ef4b40 PopupWindow:44f04110 paused=false}
WIN DEATH: Window{450873e8 mail.purge/mail.purge.main paused=false}
Got RemoteException sending setActive(false) notification to pid 292 uid 10036
Activity destroy timeout for HistoryRecord{44ecee88 mail.purge/.main}
Setting rotation to 0, animFlags=1
Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=35 uiMode=17 seq=5}
Unexpected resume of com.android.launcher while already resumed in com.android.launcher
GC_EXPLICIT freed 2727 objects / 134728 bytes in 341ms
GC_EXPLICIT freed 1735 objects / 88496 bytes in 211ms
request time failed: java.net.SocketException: Address family not supported by protocol
request time failed: java.net.SocketException: Address family not supported by protocol
request time failed: java.net.SocketException: Address family not supported by protocol
request time failed: java.net.SocketException: Address family not supported by protocol
 
Last edited:
Upvote 0

William Hunter

Active Member
Licensed User
I'm not familiar with the implementation of AHQuickAction. You can use CallSubDelayed to call a sub that will show the msgbox (and do whatever you need). It will probably solve this issue.

Thank you Erel. I tried CallSubDelayed to access a MsgBox Sub in Activity2, as you have suggested, and this eliminated the force close. Ufortunately, I now find myself looking at a blank screen, on rotate or MsgBox close, until I press the back button. Then all is restored to normal. Is there a way to simulate a press of the back key programatically?

Regards
 
Upvote 0

William Hunter

Active Member
Licensed User
You can use CallSubDelayed(Me, ...) to call a sub in the current activity.
Thank you Erel. The use of use CallSubDelayed(Me, ...) to call a sub in the current activity resolved the issue completely. I had tried CallSubDelayed(Main, ...) and when that was not recognized I assumed CallSubDelayed only worked between activities. Wrong assumption.

Basic4Android provides a great development environment. Except for the odd little wrinkle along the way, I have started to feel quite at home. This is a great product with a great forum.

Best regards :)
 
Upvote 0
Top