Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7476] Android: Titanium.UI.getCurrentWindow does not exist in Ti 1.8.0.1

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2012-03-11T20:10:35.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterFrancisco Antonio Duran Ramirez
AssigneeMarshall Culpepper
Created2012-01-30T15:46:52.000+0000
Updated2017-03-21T22:39:24.000+0000

Description

Problem:

Titanium.UI.getCurrentWindow does not exist in 1.8.0.1.

Reproducible steps:

1. Run the code below with 1.8.0.1 Titanium SDK. Please see the 1.8.0.1 Titanium SDK-Android API 2.3.3-Bad Behavior.png attached image. Notice that the method getCurrentWindow does not exist.

Expected behavior:

Customer wants to use the method getCurrentWindow.

Tested with the next specs:

Titanium Studio, build: 1.0.9.201201262154 Simulator Android API: Android 2.3.3 Titanium SDK: 1.7.5 & 1.8.0.1 Samsung Fit Android version of the device:2.2.1

More info:

http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.getCurrentWindow-method.html

Log Console:

1.8.0.1 Titanium SDK.
$ I/DEBUG   (   31): debuggerd: Feb  3 2011 14:45:34
D/qemud   (   38): entering main loop
I/Netd    (   30): Netd 1.0 starting
I/Vold    (   29): Vold 2.1 (the revenge) firing up
D/Vold    (   29): USB mass storage support is not enabled in the kernel
D/Vold    (   29): usb_configuration switch is not enabled in the kernel
D/Vold    (   29): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold    (   29): Volume sdcard state changing 0 (No-Media) -> 1 (Idle-Unmounted)
D/qemud   (   38): fdhandler_accept_event: accepting on fd 9
D/qemud   (   38): created client 0xe078 listening on fd 10
D/qemud   (   38): client_fd_receive: attempting registration for service 'boot-properties'
D/qemud   (   38): client_fd_receive:    -> received channel id 1
D/qemud   (   38): client_registration: registration succeeded for client 1
I/qemu-props(   53): connected to 'boot-properties' qemud service.
I/qemu-props(   53): receiving..
I/qemu-props(   53): received: dalvik.vm.heapsize=48m
I/qemu-props(   53): receiving..
I/qemu-props(   53): received: qemu.sf.lcd_density=160
I/qemu-props(   53): receiving..
I/qemu-props(   53): received: qemu.hw.mainkeys=1
I/qemu-props(   53): receiving..
I/qemu-props(   53): received: qemu.sf.fake_camera=back
I/qemu-props(   53): receiving..
D/qemud   (   38): fdhandler_event: disconnect on fd 10
I/qemu-props(   53): exiting (4 properties set).
D/AndroidRuntime(   33): 
D/AndroidRuntime(   33): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime(   33): CheckJNI is ON
D/qemud   (   38): fdhandler_accept_event: accepting on fd 9
D/qemud   (   38): created client 0xe078 listening on fd 10
D/qemud   (   38): fdhandler_event: disconnect on fd 10
D/qemud   (   38): fdhandler_accept_event: accepting on fd 9
D/qemud   (   38): created client 0xe078 listening on fd 10
D/qemud   (   38): client_fd_receive: attempting registration for service 'gsm'
D/qemud   (   38): client_fd_receive:    -> received channel id 2
D/qemud   (   38): client_registration: registration succeeded for client 2
I/        (   34): ServiceManager: 0xad50
D/AudioHardwareInterface(   34): setMode(NORMAL)
I/CameraService(   34): CameraService started (pid=34)
I/AudioFlinger(   34): AudioFlinger's thread 0xc658 ready to run
I/SamplingProfilerIntegration(   33): Profiler is disabled.
I/Zygote  (   33): Preloading classes...
E/Zygote  (   33): setreuid() failed. errno: 2
D/dalvikvm(   33): GC_EXPLICIT freed 47K, 78% free 234K/1024K, external 0K/0K, paused 8ms
D/dalvikvm(   33): GC_EXPLICIT freed 1K, 73% free 284K/1024K, external 0K/0K, paused 4ms
D/dalvikvm(   33): GC_EXPLICIT freed 22K, 69% free 318K/1024K, external 0K/0K, paused 5ms
D/dalvikvm(   33): GC_EXPLICIT freed 17K, 66% free 356K/1024K, external 0K/0K, paused 5ms
D/dalvikvm(   33): GC_EXPLICIT freed 26K, 63% free 385K/1024K, external 0K/0K, paused 6ms
D/dalvikvm(   33): GC_EXPLICIT freed 20K, 57% free 441K/1024K, external 0K/0K, paused 5ms
W/MediaProfiles(   33): could not find media config xml file
D/dalvikvm(   33): GC_EXPLICIT freed 99K, 47% free 547K/1024K, external 0K/0K, paused 8ms
D/dalvikvm(   33): GC_EXPLICIT freed 272K, 28% free 885K/1219K, external 0K/0K, paused 17ms
D/dalvikvm(   33): GC_EXPLICIT freed 21K, 24% free 932K/1219K, external 0K/0K, paused 13ms
D/RenderScript_jni(   33): RenderScript JNI library not found!
D/dalvikvm(   33): GC_EXPLICIT freed 25K, 19% free 999K/1219K, external 0K/0K, paused 17ms
D/dalvikvm(   33): GC_EXPLICIT freed 47K, 5% free 1281K/1347K, external 0K/0K, paused 21ms
D/dalvikvm(   33): GC_EXPLICIT freed 24K, 3% free 1311K/1347K, external 0K/0K, paused 20ms
D/dalvikvm(   33): GC_EXPLICIT freed 28K, 6% free 1336K/1411K, external 0K/0K, paused 22ms
D/dalvikvm(   33): GC_EXPLICIT freed 14K, 3% free 1377K/1411K, external 0K/0K, paused 21ms
D/dalvikvm(   33): GC_EXPLICIT freed 28K, 5% free 1402K/1475K, external 0K/0K, paused 25ms
D/dalvikvm(   33): GC_EXPLICIT freed 28K, 3% free 1439K/1475K, external 0K/0K, paused 22ms
D/dalvikvm(   33): GC_EXPLICIT freed 38K, 6% free 1457K/1539K, external 0K/0K, paused 22ms
D/dalvikvm(   33): GC_EXPLICIT freed 40K, 5% free 1471K/1539K, external 0K/0K, paused 22ms
D/dalvikvm(   33): GC_EXPLICIT freed 55K, 8% free 1485K/1603K, external 0K/0K, paused 24ms
D/dalvikvm(   33): GC_FOR_MALLOC freed 2954K, 58% free 2168K/5123K, external 0K/0K, paused 81ms
D/dalvikvm(   33): GC_EXPLICIT freed 1403K, 55% free 2310K/5123K, external 0K/0K, paused 53ms
D/dalvikvm(   33): GC_EXPLICIT freed 148K, 54% free 2373K/5123K, external 0K/0K, paused 42ms
D/dalvikvm(   33): GC_EXPLICIT freed 73K, 54% free 2398K/5123K, external 0K/0K, paused 41ms
D/dalvikvm(   33): GC_EXPLICIT freed 36K, 53% free 2416K/5123K, external 0K/0K, paused 43ms
D/dalvikvm(   33): GC_EXPLICIT freed 31K, 53% free 2439K/5123K, external 0K/0K, paused 46ms
D/dalvikvm(   33): GC_EXPLICIT freed 38K, 52% free 2462K/5123K, external 0K/0K, paused 44ms
I/Zygote  (   33): ...preloaded 1830 classes in 9837ms.
E/Zygote  (   33): setreuid() failed. errno: 17
D/dalvikvm(   33): GC_EXPLICIT freed 18K, 52% free 2460K/5123K, external 0K/0K, paused 41ms
I/Zygote  (   33): Preloading resources...
D/dalvikvm(   33): GC_EXTERNAL_ALLOC freed <1K, 52% free 2462K/5123K, external 0K/0K, paused 44ms
W/Zygote  (   33): Preloaded drawable resource #0x1080093 (res/drawable-mdpi/sym_def_app_icon.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080002 (res/drawable-mdpi/arrow_down_float.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10800b4 (res/drawable/btn_check.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10800b7 (res/drawable-mdpi/btn_check_label_background.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10800b8 (res/drawable-mdpi/btn_check_off.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10800bd (res/drawable-mdpi/btn_check_on.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080004 (res/drawable/btn_default.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080005 (res/drawable/btn_default_small.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080006 (res/drawable/btn_dropdown.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080008 (res/drawable/btn_plus.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080007 (res/drawable/btn_minus.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080009 (res/drawable/btn_radio.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x108000a (res/drawable/btn_star.xml) that varies with configuration!!
D/dalvikvm(   33): GC_EXPLICIT freed 25K, 52% free 2499K/5123K, external 408K/521K, paused 46ms
W/Zygote  (   33): Preloaded drawable resource #0x1080132 (res/drawable/btn_toggle.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080196 (res/drawable-mdpi/ic_emergency.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080012 (res/drawable-mdpi/divider_horizontal_bright.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080014 (res/drawable-mdpi/divider_horizontal_dark.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080016 (res/drawable/edit_text.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080170 (res/drawable/expander_group.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080062 (res/drawable/list_selector_background.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x108022a (res/drawable-mdpi/menu_background.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x108022b (res/drawable-mdpi/menu_background_fill_parent_width.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x108022c (res/drawable/menu_selector.xml) that varies with configuration!!
D/dalvikvm(   33): GC_EXTERNAL_ALLOC freed 16K, 51% free 2512K/5123K, external 516K/521K, paused 40ms
W/Zygote  (   33): Preloaded drawable resource #0x108023a (res/drawable-mdpi/panel_background.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080242 (res/drawable-mdpi/popup_bottom_bright.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080243 (res/drawable-mdpi/popup_bottom_dark.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080244 (res/drawable-mdpi/popup_bottom_medium.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080245 (res/drawable-mdpi/popup_center_bright.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080246 (res/drawable-mdpi/popup_center_dark.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080249 (res/drawable-mdpi/popup_full_dark.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x108024c (res/drawable-mdpi/popup_top_bright.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x108024d (res/drawable-mdpi/popup_top_dark.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x108006d (res/drawable/progress_indeterminate_horizontal.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080253 (res/drawable/progress_small.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080254 (res/drawable/progress_small_titlebar.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080274 (res/drawable-mdpi/scrollbar_handle_horizontal.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080275 (res/drawable-mdpi/scrollbar_handle_vertical.9.png) that varies with configuration!!
D/dalvikvm(   33): GC_EXPLICIT freed 15K, 51% free 2524K/5123K, external 585K/1038K, paused 42ms
W/Zygote  (   33): Preloaded drawable resource #0x1080071 (res/drawable/spinner_dropdown_background.xml) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080312 (res/drawable-mdpi/text_select_handle_left.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080313 (res/drawable-mdpi/text_select_handle_middle.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080314 (res/drawable-mdpi/text_select_handle_right.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x1080335 (res/drawable-mdpi/title_bar_shadow.9.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10801d8 (res/drawable-mdpi/indicator_code_lock_drag_direction_green_up.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10801d9 (res/drawable-mdpi/indicator_code_lock_drag_direction_red_up.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10801da (res/drawable-mdpi/indicator_code_lock_point_area_default.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10801db (res/drawable-mdpi/indicator_code_lock_point_area_green.png) that varies with configuration!!
W/Zygote  (   33): Preloaded drawable resource #0x10801dc (res/drawable-mdpi/indicator_code_lock_point_area_red.png) that varies with configuration!!
I/Zygote  (   33): ...preloaded 51 resources in 751ms.
I/Zygote  (   33): ...preloaded 15 resources in 17ms.
D/dalvikvm(   33): GC_EXPLICIT freed 23K, 51% free 2533K/5123K, external 716K/1038K, paused 46ms
D/dalvikvm(   33): GC_EXPLICIT freed 6K, 51% free 2526K/5123K, external 716K/1038K, paused 41ms
D/dalvikvm(   33): GC_EXPLICIT freed <1K, 51% free 2526K/5123K, external 716K/1038K, paused 47ms
I/dalvikvm(   33): System server process 64 has been created
I/Zygote  (   33): Accepting command socket connections
E/BatteryService(   64): usbOnlinePath not found
E/BatteryService(   64): batteryVoltagePath not found
E/BatteryService(   64): batteryTemperaturePath not found
I/sysproc (   64): Entered system_init()
I/sysproc (   64): ServiceManager: 0x93138
I/SurfaceFlinger(   64): SurfaceFlinger is starting
I/SurfaceFlinger(   64): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/SurfaceFlinger(   64): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
I/gralloc (   64): using (fd=26)
I/gralloc (   64): id           = 
I/gralloc (   64): xres         = 320 px
I/gralloc (   64): yres         = 480 px
I/gralloc (   64): xres_virtual = 320 px
I/gralloc (   64): yres_virtual = 960 px
I/gralloc (   64): bpp          = 16
I/gralloc (   64): r            = 11:5
I/gralloc (   64): g            =  5:6
I/gralloc (   64): b            =  0:5
I/gralloc (   64): width        = 49 mm (165.877548 dpi)
I/gralloc (   64): height       = 74 mm (164.756760 dpi)
I/gralloc (   64): refresh rate = 60.00 Hz
D/libEGL  (   64): egl.cfg not found, using default config
D/libEGL  (   64): loaded /system/lib/egl/libGLES_android.so
I/SurfaceFlinger(   64): EGL informations:
I/SurfaceFlinger(   64): # of configs : 8
I/SurfaceFlinger(   64): vendor    : Android
I/SurfaceFlinger(   64): version   : 1.4 Android META-EGL
I/SurfaceFlinger(   64): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle 
I/SurfaceFlinger(   64): Client API: OpenGL ES
I/SurfaceFlinger(   64): EGLSurface: 5-6-5-0, config=0x0
I/SurfaceFlinger(   64): OpenGL informations:
I/SurfaceFlinger(   64): vendor    : Android
I/SurfaceFlinger(   64): renderer  : Android PixelFlinger 1.4
I/SurfaceFlinger(   64): version   : OpenGL ES-CM 1.0
I/SurfaceFlinger(   64): 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 
I/SurfaceFlinger(   64): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger(   64): GL_MAX_VIEWPORT_DIMS = 4096
I/SurfaceFlinger(   64): flags = 000c0000
D/SensorService(   64): nuSensorService starting...
E/SensorService(   64): couldn't open device for module sensors (Invalid argument)
I/sysproc (   64): System server: starting Android runtime.
I/sysproc (   64): System server: starting Android services.
I/SystemServer(   64): Entered the Android system server!
I/sysproc (   64): System server: entering thread pool.
I/SystemServer(   64): Entropy Service
I/SystemServer(   64): Power Manager
I/SystemServer(   64): Activity Manager
I/ActivityManager(   64): Memory class: 48
I/BootAnimation(   76): boot animation disabled
W/ProcessStats(   64): Skipping unknown process pid 76
I/SystemServer(   64): Telephony Registry
I/SystemServer(   64): Package Manager
I/Installer(   64): connecting...
I/installd(   35): new connection
D/dalvikvm(   64): GC_CONCURRENT freed 173K, 50% free 2835K/5639K, external 716K/1038K, paused 5ms+5ms
W/PackageManager(   64): Running ENG build: no pre-dexopt!
D/dalvikvm(   64): GC_CONCURRENT freed 236K, 49% free 3040K/5895K, external 716K/1038K, paused 5ms+5ms
D/dalvikvm(   64): GC_CONCURRENT freed 231K, 46% free 3323K/6151K, external 716K/1038K, paused 5ms+13ms
D/PackageManager(   64): No files in app dir /vendor/app
I/PackageManager(   64): Unpacking native libraries for /data/app/com.appcelerator.android-2.apk
I/PackageManager(   64): Unpacking native libraries for /data/app/GestureBuilder.apk
I/PackageManager(   64): Unpacking native libraries for /data/app/SoftKeyboard.apk
I/PackageManager(   64): Unpacking native libraries for /data/app/CubeLiveWallpapers.apk
D/szipinf (   64): Initializing inflate state
W/PackageParser(   64): No actions in intent filter at /data/app/ApiDemos.apk Binary XML file line #1882
W/PackageParser(   64): No actions in intent filter at /data/app/ApiDemos.apk Binary XML file line #1888
W/PackageManager(   64): Package com.example.android.apis desires unavailable shared library com.example.will.never.exist; ignoring!
I/PackageManager(   64): Unpacking native libraries for /data/app/ApiDemos.apk
D/dalvikvm(   64): GC_CONCURRENT freed 263K, 45% free 3596K/6471K, external 716K/1038K, paused 4ms+7ms
I/PackageManager(   64): Time to scan packages: 1.887 seconds
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
W/PackageManager(   64): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager(   64): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x9be45)
W/PackageManager(   64): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
W/PackageManager(   64): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
W/PackageManager(   64): Unknown permission android.permission.READ_OWNER_DATA in package com.android.email
W/PackageManager(   64): Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x8be45)
D/dalvikvm(   64): GC_EXPLICIT freed 245K, 46% free 3599K/6599K, external 716K/1038K, paused 63ms
I/SystemServer(   64): Account Manager
I/SystemServer(   64): Content Manager
I/SystemServer(   64): System Content Providers
I/ActivityThread(   64): Pub settings: com.android.providers.settings.SettingsProvider
I/SystemServer(   64): Battery Service
I/SystemServer(   64): Lights Service
I/SystemServer(   64): Vibrator Service
D/qemud   (   38): fdhandler_accept_event: accepting on fd 9
D/qemud   (   38): created client 0x12f38 listening on fd 11
D/qemud   (   38): client_fd_receive: attempting registration for service 'hw-control'
D/qemud   (   38): client_fd_receive:    -> received channel id 3
D/SettingsProvider(   64): cache for settings table 'secure' rows=27; fullycached=true
D/qemud   (   38): client_registration: registration succeeded for client 3
D/SettingsProvider(   64): cache for settings table 'system' rows=46; fullycached=true
I/SystemServer(   64): Alarm Manager
I/SystemServer(   64): Init Watchdog
I/SystemServer(   64): Window Manager
I/InputManager(   64): Initializing input manager
I/InputManager(   64): Starting input manager
I/SystemServer(   64): Registering null Bluetooth Service (emulator)
E/System  (   64): Failure starting core service
E/System  (   64): java.lang.SecurityException
E/System  (   64): 	at android.os.BinderProxy.transact(Native Method)
E/System  (   64): 	at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
E/System  (   64): 	at android.os.ServiceManager.addService(ServiceManager.java:72)
E/System  (   64): 	at com.android.server.ServerThread.run(SystemServer.java:206)
I/SystemServer(   64): Device Policy
I/SystemServer(   64): Status Bar
I/SystemServer(   64): Clipboard Service
I/SystemServer(   64): Input Method Service
I/EventHub(   64): New keyboard: device->id=0x10000 devname='qwerty2' propName='hw.keyboards.65536.devname' keylayout='/system/usr/keylayout/qwerty.kl'
I/EventHub(   64): New device: path=/dev/input/event0 name=qwerty2 id=0x10000 (of 0x1) index=1 fd=80 classes=0xaf
E/EventHub(   64): could not get driver version for /dev/input/mouse0, Not a typewriter
E/EventHub(   64): could not get driver version for /dev/input/mice, Not a typewriter
I/InputManager-Callbacks(   64): No input device calibration properties found for device qwerty2.
I/InputReader(   64): Device added: id=0x0, name=qwerty2, sources=00011307
I/InputManagerService(   64): Enabled input methods: jp.co.omronsoft.openwnn/.OpenWnnJAJP:com.android.inputmethod.latin/.LatinIME:com.android.inputmethod.pinyin/.PinyinIME:com.example.android.softkeyboard/.SoftKeyboard
I/SystemServer(   64): NetStat Service
I/SystemServer(   64): NetworkManagement Service
I/SystemServer(   64): Connectivity Service
I/WifiService(   64): WifiService starting up with Wi-Fi disabled
D/NetworkManagmentService(   64): Registering observer
I/SystemServer(   64): Throttle Service
I/SystemServer(   64): Accessibility Manager
I/SystemServer(   64): Mount Service
I/SystemServer(   64): Notification Manager
I/SystemServer(   64): Device Storage Monitor
I/SystemServer(   64): Location Manager
I/SystemServer(   64): Search Service
I/SystemServer(   64): DropBox Service
D/VoldCmdListener(   29): volume list
I/PackageManager(   64): Updating external media status from unmounted to unmounted
D/VoldCmdListener(   29): share status ums
I/SystemServer(   64): Wallpaper Service
I/SystemServer(   64): Audio Service
D/dalvikvm(   64): GC_CONCURRENT freed 267K, 44% free 3802K/6727K, external 716K/1038K, paused 5ms+6ms
D/AudioHardwareInterface(   34): setMode(NORMAL)
W/AudioPolicyManagerBase(   34): setPhoneState() setting same state 0
E/SoundPool(   64): error loading /system/media/audio/ui/Effect_Tick.ogg
W/AudioService(   64): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
E/SoundPool(   64): error loading /system/media/audio/ui/KeypressStandard.ogg
W/AudioService(   64): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
E/SoundPool(   64): error loading /system/media/audio/ui/KeypressSpacebar.ogg
W/AudioService(   64): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
E/SoundPool(   64): error loading /system/media/audio/ui/KeypressDelete.ogg
W/AudioService(   64): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
E/SoundPool(   64): error loading /system/media/audio/ui/KeypressReturn.ogg
W/AudioService(   64): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
I/SystemServer(   64): Headset Observer
W/HeadsetObserver(   64): This kernel does not have wired headset support
I/SystemServer(   64): Dock Observer
W/DockObserver(   64): This kernel does not have dock station support
I/SystemServer(   64): USB Observer
W/UsbObserver(   64): This kernel does not have USB configuration switch support
E/UsbObserver(   64): 
E/UsbObserver(   64): java.lang.NullPointerException
E/UsbObserver(   64): 	at com.android.server.UsbObserver.init(UsbObserver.java:131)
E/UsbObserver(   64): 	at com.android.server.UsbObserver.<init>(UsbObserver.java:65)
E/UsbObserver(   64): 	at com.android.server.ServerThread.run(SystemServer.java:402)
I/SystemServer(   64): UI Mode Manager Service
I/SystemServer(   64): Backup Service
I/BackupManagerService(   64): Found stale backup journal, scheduling
I/BackupManagerService(   64):   com.android.inputmethod.latin
I/BackupManagerService(   64):   com.android.browser
I/BackupManagerService(   64):   com.android.providers.userdictionary
I/BackupManagerService(   64):   android
I/BackupManagerService(   64):   com.android.providers.settings
I/BackupManagerService(   64): Backup enabled => true
I/SystemServer(   64): AppWidget Service
I/SystemServer(   64): Recognition Service
I/SystemServer(   64): DiskStats Service
I/WindowManager(   64): SAFE MODE not enabled
D/dalvikvm(   64): JIT started for system_server
D/PowerManagerService(   64): system ready!
I/ActivityManager(   64): System now ready
I/SystemServer(   64): Making services ready
I/StatusBarManagerService(   64): Starting service: ComponentInfo{com.android.systemui/com.android.systemui.statusbar.StatusBarService}
I/Zygote  (   64): Process: zygote socket opened
I/ActivityManager(   64): Start proc com.android.systemui for service com.android.systemui/.statusbar.StatusBarService: pid=113 uid=1000 gids={3002, 3001, 3003}
I/ActivityManager(   64): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=0 keys=0/0/0 nav=0/0 orien=0 layout=0 uiMode=17 seq=2}
I/ActivityManager(   64): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=18 uiMode=17 seq=3}
W/RecognitionManagerService(   64): no available voice recognition services found
I/ActivityManager(   64): Start proc jp.co.omronsoft.openwnn for service jp.co.omronsoft.openwnn/.OpenWnnJAJP: pid=120 uid=10004 gids={}
W/GpsLocationProvider(   64): Could not open GPS configuration file /etc/gps.conf
D/NetworkManagmentService(   64): Registering observer
E/ThrottleService(   64): Could not open GPS configuration file /etc/gps.conf
I/ActivityManager(   64): Start proc com.android.phone for added application com.android.phone: pid=128 uid=1001 gids={3002, 3001, 3003, 1015}
I/ActivityManager(   64): Start proc com.android.systemui for added application com.android.systemui: pid=130 uid=1000 gids={3002, 3001, 3003}
I/ActivityManager(   64): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher } from pid 0
I/ActivityManager(   64): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=143 uid=10013 gids={}
W/ActivityManager(   64): No pending application record for pid 113 (IApplicationThread android.app.ApplicationThreadProxy@4059ebe8); dropping process
I/Process (   64): Sending signal. PID: 113 SIG: 9
I/SystemServer(   64): Enabled StrictMode for system server main thread.
D/dalvikvm(   64): GC_EXTERNAL_ALLOC freed 174K, 42% free 3922K/6727K, external 1035K/1038K, paused 286ms
W/ActivityManager(   64): Unable to start service Intent { act=@0 }: not found
W/ActivityManager(   64): Unable to start service Intent { act=@0 }: not found
E/logwrapper(  162): executing /system/bin/tc failed: No such file or directory
I/logwrapper(   30): /system/bin/tc terminated by exit(1)
E/logwrapper(  163): executing /system/bin/tc failed: No such file or directory
I/logwrapper(   30): /system/bin/tc terminated by exit(1)
E/logwrapper(  164): executing /system/bin/tc failed: No such file or directory
I/logwrapper(   30): /system/bin/tc terminated by exit(1)
D/qemud   (   38): fdhandler_accept_event: accepting on fd 9
D/qemud   (   38): created client 0x12f88 listening on fd 12
D/qemud   (   38): client_fd_receive: attempting registration for service 'gps'
D/qemud   (   38): client_fd_receive:    -> received channel id 4
D/qemud   (   38): client_registration: registration succeeded for client 4
D/dalvikvm(  120): GC_CONCURRENT freed 395K, 54% free 2650K/5639K, external 716K/1038K, paused 5ms+34ms
I/ActivityManager(   64): Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=166 uid=1000 gids={3002, 3001, 3003}
D/dalvikvm(  130): GC_CONCURRENT freed 407K, 54% free 2637K/5639K, external 716K/1038K, paused 8ms+64ms
D/dalvikvm(  128): GC_CONCURRENT freed 403K, 54% free 2641K/5639K, external 716K/1038K, paused 5ms+98ms
D/dalvikvm(  143): GC_CONCURRENT freed 405K, 54% free 2639K/5639K, external 716K/1038K, paused 5ms+78ms
I/ActivityThread(  143): Pub com.android.launcher2.settings: com.android.launcher2.LauncherProvider
I/ActivityThread(  128): Pub mms: com.android.providers.telephony.MmsProvider
D/dalvikvm(  120): No JNI_OnLoad found in /system/lib/libwnndict.so 0x40512cf0, skipping init
D/dalvikvm(  120): GC_CONCURRENT freed 212K, 50% free 2912K/5767K, external 716K/1038K, paused 4ms+24ms
D/dalvikvm(   64): GC_EXTERNAL_ALLOC freed 99K, 41% free 3979K/6727K, external 1552K/1567K, paused 165ms
I/ActivityThread(  128): Pub sms: com.android.providers.telephony.SmsProvider
I/ActivityThread(  128): Pub telephony: com.android.providers.telephony.TelephonyProvider
I/ActivityThread(  128): Pub icc: com.android.phone.IccProvider
D/dalvikvm(   64): GREF has increased to 201
I/ActivityThread(  128): Pub mms-sms: com.android.providers.telephony.MmsSmsProvider
I/StatusBarManagerService(   64): registerStatusBar bar=com.android.internal.statusbar.IStatusBar$Stub$Proxy@40611d00
D/VoldCmdListener(   29): share status ums
D/StorageNotification(  130): Startup with UMS connection false (media state unmounted)
I/StorageNotification(  130): UMS connection changed to false (media state unmounted)
D/dalvikvm(  120): GC_CONCURRENT freed 434K, 50% free 3047K/6087K, external 716K/1038K, paused 4ms+56ms
D/dalvikvm(  166): GC_CONCURRENT freed 405K, 54% free 2640K/5639K, external 716K/1038K, paused 5ms+51ms
D/dalvikvm(   64): GC_EXTERNAL_ALLOC freed 219K, 42% free 4025K/6855K, external 1872K/2044K, paused 199ms
D/CallManager(  128): registerPhone(GSM Handler{4055ebc8})
I/ActivityManager(   64): Start proc android.process.acore for content provider com.android.providers.contacts/.CallLogProvider: pid=190 uid=10006 gids={3003, 1015}
W/ActivityManager(   64): Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found
D/AlarmManagerService(   64): Kernel timezone updated to 360 minutes west of GMT
I/ARMAssembler(   64): generated scanline__00000177:03515104_00001002_00000000 [ 87 ipp] (110 ins) at [0x483aa1e8:0x483aa3a0] in 6426000 ns
D/SystemClock(  128): Setting time of day to sec=1327964385
I/ActivityManager(   64): Start proc com.android.deskclock for broadcast com.android.deskclock/.AlarmInitReceiver: pid=198 uid=10019 gids={}
W/SystemClock(  128): Unable to set rtc to 1327964385: Invalid argument
D/dalvikvm(  143): GC_EXTERNAL_ALLOC freed 51K, 53% free 2701K/5639K, external 1032K/1038K, paused 555ms
I/TelephonyRegistry(   64): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=radioTurnedOff interfaceName=null networkType=0
I/ARMAssembler(   64): generated scanline__00000177:03010104_00000002_00000000 [ 44 ipp] (66 ins) at [0x483aa3a8:0x483aa4b0] in 820001 ns
I/TelephonyRegistry(   64): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=gprsDetached interfaceName=null networkType=0
I/ARMAssembler(   64): generated scanline__00000077:03515104_00001004_00000000 [ 65 ipp] (85 ins) at [0x483aa4b8:0x483aa60c] in 657000 ns
I/ARMAssembler(   64): generated scanline__00000177:03515104_00001001_00000000 [ 91 ipp] (114 ins) at [0x483aa610:0x483aa7d8] in 591000 ns
I/ARMAssembler(   64): generated scanline__00000177:03515104_00000001_00000000 [ 73 ipp] (95 ins) at [0x483aa7e0:0x483aa95c] in 500000 ns
I/TelephonyRegistry(   64): notifyServiceState: 0 home Android Android 310260  UMTS CSS not supported 0 0RoamInd: 0DefRoamInd: 0EmergOnly: false
I/TelephonyRegistry(   64): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=null interfaceName=null networkType=3
D/dalvikvm(  128): GC_CONCURRENT freed 171K, 49% free 2920K/5703K, external 716K/1038K, paused 5ms+66ms
I/ARMAssembler(   64): generated scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at [0x483aa960:0x483aaa04] in 394000 ns
I/ActivityThread(  190): Pub com.android.social: com.android.providers.contacts.SocialProvider
D/dalvikvm(   64): GC_CONCURRENT freed 248K, 42% free 4097K/6983K, external 1865K/3065K, paused 6ms+65ms
I/ActivityThread(  190): Pub applications: com.android.providers.applications.ApplicationsProvider
D/MccTable(  128): updateMccMncConfiguration: mcc=310, mnc=260
D/MccTable(  128): locale set to en_us
D/MccTable(  128): WIFI_NUM_ALLOWED_CHANNELS set to 11
I/WifiService(   64): WifiService trying to setNumAllowed to 11 with persist set to true
I/ActivityManager(   64): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=18 uiMode=17 seq=4}
I/TelephonyRegistry(   64): notifyMessageWaitingChanged: false
I/TelephonyRegistry(   64): notifyCallForwardingChanged: false
D/dalvikvm(  190): GC_CONCURRENT freed 406K, 54% free 2613K/5639K, external 716K/1038K, paused 6ms+54ms
I/ActivityThread(  198): Pub com.android.deskclock: com.android.deskclock.AlarmProvider
D/dalvikvm(  198): GC_CONCURRENT freed 369K, 54% free 2618K/5639K, external 716K/1038K, paused 7ms+50ms
D/TelephonyProvider(  128): Setting numeric '310260' to be the current operator
I/ActivityThread(  190): Pub contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
I/TelephonyRegistry(   64): notifyDataConnection: state=1 isDataConnectivityPossible=true reason=simLoaded interfaceName=null networkType=3
I/TelephonyRegistry(   64): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=simLoaded interfaceName=/dev/omap_csmi_tty1 networkType=3
D/dalvikvm(  143): GC_EXTERNAL_ALLOC freed 55K, 52% free 2759K/5639K, external 1567K/1572K, paused 451ms
I/ActivityManager(   64): Start proc com.android.protips for broadcast com.android.protips/.ProtipWidget: pid=219 uid=10024 gids={}
D/dalvikvm(   33): GC_EXPLICIT freed 10K, 53% free 2538K/5379K, external 716K/1038K, paused 281ms
D/Tethering(   64): MasterInitialState.processMessage what=3
D/dalvikvm(   33): GC_EXPLICIT freed <1K, 53% free 2538K/5379K, external 716K/1038K, paused 295ms
D/dalvikvm(   33): GC_EXPLICIT freed <1K, 53% free 2538K/5379K, external 716K/1038K, paused 247ms
W/ActivityManager(   64): Activity idle timeout for HistoryRecord{40690868 com.android.launcher/com.android.launcher2.Launcher}
D/PowerManagerService(   64): bootCompleted
D/VoldCmdListener(   29): volume mount /mnt/sdcard
I/Vold    (   29): /dev/block/vold/179:0 being considered for volume sdcard
D/Vold    (   29): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/StorageNotification(  130): Media {/mnt/sdcard} state changed from {unmounted} -> {checking}
I/ActivityManager(   64): Start proc com.android.music for broadcast com.android.music/.MediaAppWidgetProvider: pid=231 uid=10005 gids={3003, 1015}
D/dalvikvm(  143): GC_EXTERNAL_ALLOC freed 48K, 51% free 2791K/5639K, external 2079K/2085K, paused 520ms
I/ActivityThread(  190): Pub call_log: com.android.providers.contacts.CallLogProvider
I/ActivityThread(  190): Pub user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
D/dalvikvm(   64): GREF has increased to 301
D/dalvikvm(  143): GC_EXPLICIT freed 26K, 51% free 2806K/5639K, external 2387K/2620K, paused 200ms
I/ActivityManager(   64): Start proc com.android.quicksearchbox for broadcast com.android.quicksearchbox/.SearchWidgetProvider: pid=242 uid=10002 gids={3003}
D/SntpClient(   64): request time failed: java.net.SocketException: Address family not supported by protocol
W/WindowManager(   64): App freeze timeout expired.
W/WindowManager(   64): Force clearing freeze: AppWindowToken{40692610 token=HistoryRecord{40690868 com.android.launcher/com.android.launcher2.Launcher}}
I/ActivityThread(  242): Pub com.android.quicksearchbox.google: com.android.quicksearchbox.google.GoogleSuggestionProvider
I/ActivityThread(  242): Pub com.android.quicksearchbox.shortcuts: com.android.quicksearchbox.ShortcutsProvider
I/ActivityManager(   64): Start proc android.process.media for broadcast com.android.providers.downloads/.DownloadReceiver: pid=252 uid=10000 gids={1015, 1006, 2001, 3003}
I/ActivityThread(  252): Pub media: com.android.providers.media.MediaProvider
I/ActivityThread(  252): Pub downloads: com.android.providers.downloads.DownloadProvider
I/ActivityThread(  252): Pub drm: com.android.providers.drm.DrmProvider
D/OtaStartupReceiver(  128): Not a CDMA phone, no need to process OTA
I/RecoverySystem(   64): No recovery log file
I/ActivityManager(   64): Start proc com.android.mms for broadcast com.android.mms/.transaction.MmsSystemEventReceiver: pid=265 uid=10015 gids={3003, 1015}
I/SearchManagerService(   64): Building list of searchable activities
I/ActivityThread(  265): Pub com.android.mms.SuggestionsProvider: com.android.mms.SuggestionsProvider
D/dalvikvm(   64): GC_EXPLICIT freed 701K, 45% free 4129K/7495K, external 1865K/3065K, paused 150ms
D/dalvikvm(  143): GC_EXTERNAL_ALLOC freed 139K, 49% free 2986K/5767K, external 2618K/2620K, paused 457ms
I/ActivityManager(   64): Start proc com.android.email for broadcast com.android.email/.service.EmailBroadcastReceiver: pid=290 uid=10028 gids={3003, 1015}
I/SurfaceFlinger(   64): Boot is finished (20154 ms)
I/ActivityThread(  290): Pub com.android.email.provider: com.android.email.provider.EmailProvider
I/ActivityThread(  290): Pub com.android.email.attachmentprovider: com.android.email.provider.AttachmentProvider
I/ActivityThread(  290): Pub com.android.exchange.provider: com.android.exchange.provider.ExchangeProvider
D/EAS SyncManager(  290): !!! EAS SyncManager, onCreate
I//system/bin/fsck_msdos(   29): ** /dev/block/vold/179:0
I//system/bin/fsck_msdos(   29): ** Phase 1 - Read and Compare FATs
I//system/bin/fsck_msdos(   29): Attempting to allocate 508 KB for FAT
D/MediaScannerService(  252): start scanning volume internal
D/Eas Debug(  290): Logging: 
D/dalvikvm(  265): GC_CONCURRENT freed 490K, 54% free 2723K/5831K, external 716K/1038K, paused 5ms+5ms
D/dalvikvm(  290): GC_CONCURRENT freed 494K, 53% free 2741K/5831K, external 716K/1038K, paused 4ms+19ms
D/EAS SyncManager(  290): !!! EAS SyncManager, onDestroy
D/Email   (  290): BOOT_COMPLETED
D/EAS SyncManager(  290): !!! EAS SyncManager, onCreate
D/EAS SyncManager(  290): !!! EAS SyncManager, onStartCommand
D/EAS SyncManager(  290): !!! EAS SyncManager, stopping self
D/EAS SyncManager(  290): !!! EAS SyncManager, onDestroy
I//system/bin/fsck_msdos(   29): Attempting to allocate 508 KB for FAT
I//system/bin/fsck_msdos(   29): ** Phase 2 - Check Cluster Chains
I//system/bin/fsck_msdos(   29): ** Phase 3 - Checking Directories
I//system/bin/fsck_msdos(   29): ** Phase 4 - Checking for Lost Files
I//system/bin/fsck_msdos(   29): Next free cluster in FSInfo block (90) not free
I//system/bin/fsck_msdos(   29): FIXED
I//system/bin/fsck_msdos(   29): 14 files, 64495 free (128991 clusters)
I/Vold    (   29): Filesystem check completed OK
I/Vold    (   29): Device /dev/block/vold/179:0, target /mnt/sdcard mounted @ /mnt/secure/staging
D/Vold    (   29): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
I/PackageManager(   64): Updating external media status from unmounted to mounted
I/StorageNotification(  130): Media {/mnt/sdcard} state changed from {checking} -> {mounted}
D/VoldCmdListener(   29): asec list
I/PackageManager(   64): No secure containers on sdcard
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
W/PackageManager(   64): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager(   64): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x9be45)
W/PackageManager(   64): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
W/PackageManager(   64): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
W/PackageManager(   64): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
W/PackageManager(   64): Unknown permission android.permission.READ_OWNER_DATA in package com.android.email
W/PackageManager(   64): Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x8be45)
D/MediaScanner(  252):  prescan time: 502ms
D/dalvikvm(  252): GC_CONCURRENT freed 525K, 55% free 2647K/5831K, external 716K/1038K, paused 5ms+3ms
D/MediaScanner(  252):     scan time: 133ms
D/MediaScanner(  252): postscan time: 0ms
D/MediaScanner(  252):    total time: 635ms
D/MediaScannerService(  252): done scanning volume internal
D/MediaScannerService(  252): start scanning volume external
D/dalvikvm(  190): GC_CONCURRENT freed 241K, 51% free 2796K/5703K, external 716K/1038K, paused 6ms+15ms
D/dalvikvm(  128): GREF has increased to 201
D/MediaScanner(  252):  prescan time: 106ms
D/MediaScanner(  252):     scan time: 9ms
D/MediaScanner(  252): postscan time: 30ms
D/MediaScanner(  252):    total time: 145ms
D/MediaScannerService(  252): done scanning volume external
D/dalvikvm(  143): GC_EXPLICIT freed 208K, 50% free 2965K/5831K, external 3130K/3257K, paused 90ms
D/AndroidRuntime(  319): 
D/AndroidRuntime(  319): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(  319): CheckJNI is ON
D/AndroidRuntime(  319): Calling main entry com.android.commands.pm.Pm
I/ActivityManager(   64): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=327 uid=10003 gids={1015, 2001}
D/dalvikvm(  327): GC_EXPLICIT freed 292K, 54% free 2568K/5511K, external 716K/1038K, paused 55ms
D/dalvikvm(   64): GC_CONCURRENT freed 718K, 45% free 4173K/7559K, external 1865K/3065K, paused 5ms+6ms
W/ActivityManager(   64): No content provider found for: 
W/ActivityManager(   64): No content provider found for: 
D/PackageParser(   64): Scanning package: /data/app/vmdl1739431903.tmp
I/dalvikvm(   64): Jit: resizing JitTable from 512 to 1024
D/dalvikvm(   64): GC_CONCURRENT freed 673K, 45% free 4287K/7687K, external 1865K/3065K, paused 6ms+6ms
I/PackageManager(   64): Removing non-system package:com.appcelerator.android
I/ActivityManager(   64): Force stopping package com.appcelerator.android uid=10034
D/PackageManager(   64): Scanning package com.appcelerator.android
I/PackageManager(   64): Package com.appcelerator.android codePath changed from /data/app/com.appcelerator.android-2.apk to /data/app/com.appcelerator.android-1.apk; Retaining data and using new
I/PackageManager(   64): Unpacking native libraries for /data/app/com.appcelerator.android-1.apk
D/installd(   35): DexInv: --- BEGIN '/data/app/com.appcelerator.android-1.apk' ---
D/dalvikvm(  338): DexOpt: 'Lorg/apache/commons/codec/binary/Base64;' has an earlier definition; blocking out
D/dalvikvm(  338): DexOpt: 'Lorg/apache/commons/codec/binary/Hex;' has an earlier definition; blocking out
D/dalvikvm(  338): DexOpt: 'Lorg/w3c/dom/UserDataHandler;' has an earlier definition; blocking out
D/dalvikvm(  338): DexOpt: not verifying 'Lorg/apache/commons/codec/binary/Base64;': multiple definitions
D/dalvikvm(  338): DexOpt: not verifying 'Lorg/apache/commons/codec/binary/Hex;': multiple definitions
I/dalvikvm(  338): DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Hex;'
I/dalvikvm(  338): DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Base64;'
I/dalvikvm(  338): DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Base64;'
D/dalvikvm(  338): DexOpt: not verifying 'Lorg/w3c/dom/UserDataHandler;': multiple definitions
I/dalvikvm(  338): DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Hex;'
I/dalvikvm(  338): DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Base64;'
D/dalvikvm(  338): DexOpt: load 333ms, verify+opt 2071ms
D/installd(   35): DexInv: --- END '/data/app/com.appcelerator.android-1.apk' (success) ---
W/PackageManager(   64): Code path for pkg : com.appcelerator.android changing from /data/app/com.appcelerator.android-2.apk to /data/app/com.appcelerator.android-1.apk
W/PackageManager(   64): Resource path for pkg : com.appcelerator.android changing from /data/app/com.appcelerator.android-2.apk to /data/app/com.appcelerator.android-1.apk
D/PackageManager(   64):   Services: org.appcelerator.titanium.analytics.TiAnalyticsService
D/PackageManager(   64):   Activities: com.appcelerator.android.AndroidActivity org.appcelerator.titanium.TiActivity org.appcelerator.titanium.TiTranslucentActivity org.appcelerator.titanium.TiModalActivity ti.modules.titanium.ui.TiTabActivity ti.modules.titanium.ui.android.TiPreferencesActivity
I/ActivityManager(   64): Force stopping package com.appcelerator.android uid=10034
I/installd(   35): move /data/dalvik-cache/data@app@com.appcelerator.android-1.apk@classes.dex -> /data/dalvik-cache/data@app@com.appcelerator.android-1.apk@classes.dex
D/PackageManager(   64): New package installed in /data/app/com.appcelerator.android-1.apk
I/ActivityManager(   64): Force stopping package com.appcelerator.android uid=10034
D/dalvikvm(  143): GC_EXPLICIT freed 88K, 51% free 2876K/5831K, external 2052K/2564K, paused 56ms
I/ActivityManager(   64): Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=339 uid=10009 gids={}
W/RecognitionManagerService(   64): no available voice recognition services found
I/InputReader(   64): Device reconfigured: id=0x0, name=qwerty2, display size is now 320x480
I/InputManager-Callbacks(   64): No virtual keys found for device qwerty2.
I/ActivityThread(  339): Pub com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider
D/dalvikvm(   64): GC_EXPLICIT freed 484K, 44% free 4324K/7687K, external 1865K/3065K, paused 113ms
I/ActivityManager(   64): Displayed com.android.launcher/com.android.launcher2.Launcher: +50s61ms
I/installd(   35): unlink /data/dalvik-cache/data@app@com.appcelerator.android-2.apk@classes.dex
D/AndroidRuntime(  319): Shutting down VM
D/dalvikvm(  319): GC_CONCURRENT freed 100K, 72% free 293K/1024K, external 0K/0K, paused 1ms+1ms
D/jdwp    (  319): adbd disconnected
I/dalvikvm(  319): JNI: AttachCurrentThread (from ???.???)
I/AndroidRuntime(  319): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime(  352): 
D/AndroidRuntime(  352): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(  352): CheckJNI is ON
D/AndroidRuntime(  352): Calling main entry com.android.commands.am.Am
I/ActivityManager(   64): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.appcelerator.android/.AndroidActivity } from pid 352
I/ActivityManager(   64): Start proc com.appcelerator.android for activity com.appcelerator.android/.AndroidActivity: pid=360 uid=10034 gids={1015, 3003}
D/AndroidRuntime(  352): Shutting down VM
D/dalvikvm(  352): GC_CONCURRENT freed 101K, 69% free 318K/1024K, external 0K/0K, paused 1ms+1ms
D/jdwp    (  352): adbd disconnected
I/dalvikvm(  352): JNI: AttachCurrentThread (from ???.???)
I/AndroidRuntime(  352): NOTE: attach of thread 'Binder Thread #3' failed
I/TiApplication(  360): (main) [0,0] checkpoint, app created.
I/TiApplication(  360): (main) [180,180] Titanium 1.8.0.1 (2011/12/22 13:09 fbdc96f)
D/TiFastDev(  360): (main) [131,311] Enabling Fastdev on port 54548
D/TiFastDev(  360): (main) [18,329] sent tokens successfully
D/TiFastDev(  360): (main) [1,330] Fastdev session handshake succesful.
I/TiApplication(  360): (main) [10,340] Titanium Javascript runtime: v8
D/dalvikvm(  360): Trying to load lib /data/data/com.appcelerator.android/lib/libstlport_shared.so 0x40514870
D/dalvikvm(  360): Added shared lib /data/data/com.appcelerator.android/lib/libstlport_shared.so 0x40514870
D/dalvikvm(  360): No JNI_OnLoad found in /data/data/com.appcelerator.android/lib/libstlport_shared.so 0x40514870, skipping init
D/dalvikvm(  360): Trying to load lib /data/data/com.appcelerator.android/lib/libkroll-v8.so 0x40514870
W/TiApplication(  360): (main) [56,396] activity stack is emtpy, unable to get current activity
I/TiRootActivity(  360): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
D/dalvikvm(  360): Added shared lib /data/data/com.appcelerator.android/lib/libkroll-v8.so 0x40514870
W/TiApplication(  360): (main) [172,172] activity stack is emtpy, unable to get current activity
W/TiApplication(  360): (main) [0,172] activity stack is emtpy, unable to get current activity
W/TiApplication(  360): (main) [1,173] activity stack is emtpy, unable to get current activity
E/TiApplication(  360): (KrollRuntimeThread) [1388,1561] APP PROXY: ti.modules.titanium.app.AppModule@405a2fd8
D/dalvikvm(  360): GREF has increased to 201
D/dalvikvm(  360): GC_CONCURRENT freed 417K, 53% free 2762K/5831K, external 716K/1038K, paused 4ms+17ms
D/TiAssetHelper(  360): Fetching "app.js" with Fastdev...
I/ActivityManager(   64): Starting: Intent { cmp=com.appcelerator.android/ti.modules.titanium.ui.TiTabActivity (has extras) } from pid 360
D/dalvikvm(  360): GC_EXTERNAL_ALLOC freed 80K, 53% free 2780K/5831K, external 716K/1038K, paused 50ms
I/TiRootActivity(  360): (main) [0,0] checkpoint, on root activity resume. activity = com.appcelerator.android.AndroidActivity@40587880
W/TiTabActivity(  360): (main) [241,241] Notifying TiTabGroup, activity is created
W/TiDrawableReference(  360): (main) [83,324] Could not open stream to get bitmap
W/TiDrawableReference(  360): (main) [74,398] Could not open stream to get bitmap
I/ActivityManager(   64): Displayed com.appcelerator.android/ti.modules.titanium.ui.TiTabActivity: +475ms (total +4s53ms)
W/TiAnalyticsSvc(  360): (Thread-14) [27442,27840] Analytics Service Started
I/TiAnalyticsSvc(  360): (Thread-14) [71,27911] Sending 1 analytics events.
D/dalvikvm(  360): GC_CONCURRENT freed 200K, 49% free 2984K/5831K, external 1330K/1828K, paused 4ms+3ms
D/dalvikvm(  360): GC_CONCURRENT freed 482K, 51% free 3062K/6215K, external 1323K/1828K, paused 5ms+3ms
W/TiAnalyticsSvc(  360): (Thread-14) [1262,29173] Stopping Analytics Service
I/ALERT   (  360): (KrollRuntimeThread) [2706,31879] Ti.UI.currentWindow is null
I/ALERT   (  360): Titanium.UI.currentWindow is null
I/ALERT   (  360): Function Ti.UI.getCurrentWindow() does not exist
I/ALERT   (  360): Function Titanium.UI.getCurrentWindow() does not exist
W/InputManagerService(   64): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40689760

Code:

{Code} var check = function() { var str = ""; // http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.currentWindow-property.html str += "Ti.UI.currentWindow " + (Ti.UI.currentWindow == null ? "is null" : "is not null") + "\n"; str += "Titanium.UI.currentWindow " + (Titanium.UI.currentWindow == null ? "is null" : "is not null") + "\n"; // http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.getCurrentWindow-method.html if (Ti.UI.getCurrentWindow != null) { str += "Ti.UI.getCurrentWindow() " + (Ti.UI.getCurrentWindow() == null ? "is null" : "is not null") + "\n"; } else { str += "Function Ti.UI.getCurrentWindow() does not exist\n"; } // Check Titanium.UI.getCurrentWindow if (Titanium.UI.getCurrentWindow != null) { str += "Titanium.UI.getCurrentWindow() " + (Titanium.UI.getCurrentWindow() == null ? "is null" : "is not null") + "\n"; } else { str += "Function Titanium.UI.getCurrentWindow() does not exist\n"; } alert(str); } var tabGroup = Titanium.UI.createTabGroup(); var win1 = Ti.UI.createWindow( { backgroundColor:"green", navBarHidden:true }); var tab1 = Titanium.UI.createTab( { title: "Tab 1", window: win1 }); var win2 = Ti.UI.createWindow( { backgroundColor:"yellow", navBarHidden:true }); var but = Ti.UI.createButton( { width: '100', height: '50', title: "Check" }); but.addEventListener('click', function() { check(); }); win2.add(but); var tab2 = Titanium.UI.createTab( { title: "Tab 2", window: win2 }); tabGroup.addTab(tab1); tabGroup.addTab(tab2); tabGroup.open(); tabGroup.addEventListener('focus', function(e) { check(); }); {Code}

Helpdesk:

APP-447778

Attachments

FileDateSize
1.8.0.1 Titanium SDK-Android API 2.3.3-Bad Behavior.png2012-01-30T15:46:52.000+0000151882

Comments

  1. Neeraj Gupta 2012-03-11

    Duplicate of TIMOB-7475.
  2. Lee Morris 2017-03-21

    Closing ticket as duplicate.

JSON Source