언어 설정

Menu
Sites
Language
Low-memory, low-battery testing support by Emulator?

Hello folks,

Does anyone know if their is any kind of inherent support to test below conditions on Tizen Emulator?

 

-- Simulate/inject "Low memory" event

-- Simulate/inject "Low battery (CRITICAL)" event

-- Inject/simulate an in-coming phone call

-- Inject/simulate an in-coming SMS

-- Inject a notification (something like Apples' Push Notification?)

If not, how are you guys testing above test scenarios?

Thank you!

~Viren

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 댓글
kavish
you can check Dynamic Analyzer Tools from given link. https://developer.tizen.org/help/topic/org.tizen.native.appprogramming/html/ide_sdk_tools/da_overview.htm
Victor Malov

The question was about "How to generate low battery event" or in other words "How to discharge battery on emulator" for native applications. I couldn't find any information how this can be done by Dynamic Analyzer. It doesn't give it or I'm wrong?

Victor Malov

Ok, I have found how to do that. I will describe how to emulate "Low Battery" event.

There are to possible abilities:

1) By Tizen IDE: Window -> Show View -> Event Injector. Than open "Device" tab. In "Battery" list you can change battery level. But for me this is disabled, I don't know why. Probably this is a bug.

2) By console application:

  • Find <tizen-sdk-path>/tools/emulator/bin/eventinjector application.
  • Set emulator for which you will issue events (to see all emulators run eventinjector -e).
  • Change battery level

For me:

./eventinjector -e
Phone emulator-26101 26103

./eventinjector -c 26103
Start event injector..

>> battery level 10
OK

More information: https://developer.tizen.org/dev-guide/2.2.1/org.tizen.gettingstarted/html/dev_env/using_event_injector.htm