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
santito95
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE

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!

 

Please use plain text.
Developer
BBSJdev
Posts: 6,116
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

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. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
santito95
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE

Re: Redial phone when my app is minimized

Yes. I've it enabled
Please use plain text.
Developer
santito95
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE

Re: Redial phone when my app is minimized

:smileysad: nobody can help me?
Please use plain text.
Developer
greenmr
Posts: 882
Registered: ‎03-20-2013
My Device: Red LE Developer Z10

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.
Please use plain text.
Developer
santito95
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE

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...

 

:smileysad: Really I need make calls when the app is minimized 

 

Thanks

Please use plain text.
Developer
greenmr
Posts: 882
Registered: ‎03-20-2013
My Device: Red LE Developer Z10

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.
Please use plain text.
Developer
santito95
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE

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!

Please use plain text.
Developer
santito95
Posts: 134
Registered: ‎02-24-2013
My Device: BlackBerry Z10 LE

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?

Please use plain text.