Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE
My Carrier: Telcel

Redial phone when my app is minimized

Hi guys

 

I'm making an app to manage the call time from our smartphone.

 

My issue is when my app end the call and make a re-dial (call automatically), If my app is running , works fine, but when my app is minimized ( Running phone app ) It can't call automatically again.

 

How can I solve it?

 

Thanks!

 

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Redial phone when my app is minimized

Have you enabled the run_when_backgrounded permission?


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE
My Carrier: Telcel

Re: Redial phone when my app is minimized

Yes. I've it enabled
Developer
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE
My Carrier: Telcel

Re: Redial phone when my app is minimized

Smiley Sad nobody can help me?
Developer
Posts: 1,178
Registered: ‎03-20-2013
My Device: Red LE Developer Z10
My Carrier: Fido

Re: Redial phone when my app is minimized

I'm pretty certain the answer will be yes, but along with requesting the run-while-backgrounded permission, did you grant it the next time you ran your app on the device or simulator?

 

I suggest you go into app permissions in BB10 Settings and make sure the permission is enabled for  your  app.



Developer of Built for BlackBerry certified multiFEED RSS/Atom feed reader and aggregator.  multiFEED Icon

Play nice: Clicking Like Button on posts that helped you not only encourages others to continue sharing their experience, but also improves your own rating on this board. Also, don't forget to accept a post if it solves your problem or answers your question.
Developer
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE
My Carrier: Telcel

Re: Redial phone when my app is minimized

I've it enabled but the permission doesnot appears in permissions settings (Settings > application permissions)

 

I have the same issue like the following topic:

 

http://supportforums.blackberry.com/t5/Native-Development/Handling-ungranted-permissions/td-p/273272...

 

Smiley Sad Really I need make calls when the app is minimized 

 

Thanks

Developer
Posts: 1,178
Registered: ‎03-20-2013
My Device: Red LE Developer Z10
My Carrier: Fido

Re: Redial phone when my app is minimized

Actually I see now that background execution is one of those permissions that BlackBerry 10 doesn't allow you to control from the application permissions page. There are a few like that, such as Internet Access. Strangely, while native apps don't show all the permissions they are granted on that page, Android ports do show EVERY permission they have, but you can't change any of them.

 

This is something BlackBerry needs to fix. If an app requests a permission, and the user grants it on installation, the user should also be able to turn ANY granted permissions off again later, not just the ones that BlackBerry decides to show on the permissions page.



Developer of Built for BlackBerry certified multiFEED RSS/Atom feed reader and aggregator.  multiFEED Icon

Play nice: Clicking Like Button on posts that helped you not only encourages others to continue sharing their experience, but also improves your own rating on this board. Also, don't forget to accept a post if it solves your problem or answers your question.
Developer
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE
My Carrier: Telcel

Re: Redial phone when my app is minimized

Of course, but I'm sure of I've enabled all permissions, so could I find some way to work with phone in background?

 

Regards!

Developer
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE
My Carrier: Telcel

Re: Redial phone when my app is minimized

[ Edited ]

Still I can't find a way to make calls when my app is minimized :/

 

Someone can help me?