语言

Menu
Sites
Language
Web app hangs at permissions screen on device

Pretty simple question I think.  When I run my app in the emulator, there are no issues.  However, when I run it on the device, it freezes on the Permissions screen (emulator screenshot attached).  I can click Ok, but nothing happens, then after a few times, it shuts down the apps, and clicking the icon doesnt load anything.

SDK and Device are 2.2.

 

编辑者为: Josh Lewis 09 10月, 2013

响应

5 回复
Raghu Kona

Hi Josh,

In the above screenshot, you are using multiple privileges, are you using all the APIs of the listed services?

Regards,

Raghu Kona

Gregory Menvielle

Josh,

Did you ever get a resolution on this problem?  I am getting the same, vexing, error and do not know how to proceed.  When I get this on the emulator it works fine.


Thank you

Gregory

 

Raghavendra Reddy Shiva

Just check if you guys are using below "bluetoothmanager" privileges, as this is not public and you cannot access the "bluetoothmanager" methods without getting the platform privileges. Are you using "setVisible" method in your apllication ? if not, then just simply remove this privilege from Config.xml file, else you might to get the platform privileges to access it.

<tizen:privilege name="http://tizen.org/privilege/bluetoothmanager"/>

Have tried with sample application including all the privileges (ofcourse except the "bluetoothmanager" as above) mentioned in the above snapshot and it worked fine for me.

Gregory Menvielle

Here is what I have in my config in terms of privileges.  Can you see anything that is out of whack or could create a problem?

 

  <feature name="http://tizen.org/feature/screen.size.normal"/>

    <preference name="orientation" value="Default"/>

    <preference name="target-device" value="universal"/>

    <preference name="fullscreen" value="false"/>

    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>

    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>

    <tizen:privilege name="http://tizen.org/privilege/unlimitedstorage"/>

    <tizen:privilege name="http://tizen.org/privilege/package.info"/>

    <tizen:privilege name="http://tizen.org/privilege/system"/>

    <tizen:privilege name="http://tizen.org/privilege/location"/>

    <tizen:setting screen-orientation="auto-rotation" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>

Raghavendra Reddy Shiva

Have used the same replica of the preferences and privileges information and din't find any issues in deploying the application onto device. The app also runs fine.

What's exactly happening in your case ? Share the logging info "sdb dlog" messages.