Tizen Developers

Menu
Sites
Language
Open E-Mail app with attachment

Hello,

I am not able to open system e-mail client with attached file using AppControl.

I tested the following example code:

https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fguide%2Fapp%2Fappcontrol_browser.htm

and I doesnt't work.

The compose view opens, subject and body text fields are filled poprerly, but no attachment.

The file path is correct...

And ideas? I gave up...

 

Thanks in advance

Luke

 

Edited on 18 03, 2014

Responses

3 Replies
john Smith
Hi, first check whether internet is working or not, After that try to execute the application.
Serhii Kolomiiets
Hi, men! Situation is tricky. Official sample at https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fguide%2Fapp%2Fappcontrol_email.htm adds attachement, but it's size is ZERO. This file is from app local folder ( App::GetInstance()->GetAppRootPath() ) When adding from App::GetInstance()->GetMediaPath() all works correctly. So, Tizen BUG is when attaching local app file only!
Serhii Kolomiiets
Thanks for hint, Nour! I feel it must work, but on emulator I still have zero-sized attachement. Also, in IDE > Connection Explorer > ... > my_app_id > shared there is no available "data" folder with my temp file (it means permission denied). There are only "res" and "trusted" folders. Tried them with same zero effect. When run "sdb root on" then file is visible from IDE.... Seems like a Tizen BUG :(