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
Visitor
jatindhawan
Posts: 1
Registered: ‎09-30-2013
My Device: Z10

need help with few issues with retrieving line address, running as headless app, auto start app on device restart - on 10.2

Hi there

 

1. I am trying to retrieve phone number from incoming call by using line api

http://developer.blackberry.com/native/reference/cascades/bb__system__phone__line.html

 

But the line address which is the phone number is empty. Is there a way to retrieve this?

 

2. I am setting the app to autostart, does this feature need the app to be registered and approved for headless app first?

 

3. Is it possible to monitor data in real time?

 

 

Retired
mwoolley
Posts: 571
Registered: ‎06-25-2010
My Device: Z10

Re: need help with few issues with retrieving line address, running as headless app, auto start app on device restart - on 10.2

[ Edited ]

On point (1), no this is not currently supported. It's been requested as a new API feature and is in investigation:

 

https://www.blackberry.com/jira/browse/BBTEN-1287

 

On point (2), not if you mean a short-running background app that is launched by a trigger. Yes if you mean a long running app. See http://devblog.blackberry.com/2013/09/headless-apps-explained/

 

I'm not sure what you mean on point (3).

--------------------------------------------------------------------------------------------
Feel free to press the like button on the right side if you liked my attempts to help :-)
And please mark posts as solved if you think I found the solution or set you on its path. Thanks!
Follow me on Twitter: @mdwrim
New Member
jatindhawan2
Posts: 1
Registered: ‎10-01-2013
My Device: z10

Re: need help with few issues with retrieving line address, running as headless app, auto start app on device restart - on 10.2

1. the url you have provided is on a redirect loop so it doesn't open after logging in, can you send me another url please?

https://www.blackberry.com/jira/browse/BBTEN-1287

 

2. I mean long running app -should they work during development / testing on simulators or devices or do I have to go through the approval process first and then develop on it.

 

3. I know I can data (internet) usage from the logs but is there a way to monitor data usage on the device in real time?

Is there an api for it

 

thanks