언어 설정

Menu
Sites
Language
AppManager::RegisterAppLaunch problem with 'WeeklyTime' condition

Hi there,

I think the AppManager::RegisterAppLaunch has a bug:
according to the API help, it can accept the following condition:

L"WeeklyTime='EEE HH:mm:ss'"
The specified condition is a day of a week with a specific time at which the application is launched on a weekly basis. For multiple descriptions, "," delimiter can be used as shown in the following example: i"Mon 09:00:00, Tue 09:00:00, Wed 09:00:00, Thu 09:00:00, Fri 09:00:00"
To specify the day of the week, it must be in one of the following supported string format:
Mon: Monday Tue: Tuesday Wed: Wednesday Thu: Thursday Fri: Friday Sat: Saturday Sun: Sunday

If I call with:

  • WeeklyTime='Wed 07:00:00'  --> OK
  • WeeklyTime='Wed 07:00:00, Fri 07:00:00'  --> ERROR

    ERROR / Tizen::System ( 2565 : 2565 ) : result _AlarmConditionHandler::Convert(Tizen::Base::String&, tm*, int&)(145) > [E_INVALID_CONDITION] It is not valid date time.
    ERROR / Tizen::System ( 2565 : 2565 ) : virtual result _AlarmConditionHandler::Register(Tizen::App::_AppLaunchCondition&)(228) > [E_INVALID_FORMAT] It is not valid date time format.
    ERROR / Tizen::App ( 2565 : 2565 ) : result Tizen::App::_ConditionHandler::AddCondition(Tizen::App::_AppLaunchCondition&)(160) > [E_INVALID_FORMAT] failed to register
    ERROR / Tizen::App ( 2565 : 2565 ) : result Tizen::App::_ConditionManagerService::RegisterAppLaunch(const Tizen::App::AppId&, const Tizen::Base::String&, const Tizen::Base::Collection::IList*, Tizen::App::AppManager::LaunchOption, const Tizen::Base::String*)(360) > [E_INVALID_FORMAT]
     

  •  

    I tried without space after the comma,  WeeklyTime='Wed 07:00:00,Fri 07:00:00'  --> same ERROR

 

 

So the call cannot handle more than one day, however -according to the API- is should!

This is the 2nd TIZEN bug I noticed in the last 3 days, is there any way to report them?

 

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

Responses

2 댓글
muditha murthy
I have tried the appregisterlaunch with weekly condition as mentioned in below code and it worked fine for me. r = AppManager::GetInstance()->RegisterAppLaunch(L"WeeklyTime='Mon 09:00:00, Tue 09:00:00'" ,pLaunchArgumentList,AppManager::LAUNCH_OPTION_DEFAULT);
Marco Buettner
You can report bugs on JIRA http://bugs.tizen.org