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

Java Development

Reply
New Developer
Posts: 27
Registered: ‎01-11-2009
My Device: Not Specified
Accepted Solution

[Error openning my application]

Error starting myapplication:

Symbol 'phonecall.getCallPhoneNumber not found.

 

is it security problem or the api not exist on the device

 

Thanks

Wael Nabil

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: [Error openning my application]

When are you getting this message? Compilation time? If so the variable is not defined.. check the spell also.. or the method you are trying is not present in that API version.

Use Search. "Accept Solution" If the problem is resolved.
New Developer
Posts: 27
Registered: ‎01-11-2009
My Device: Not Specified

Re: [Error openning my application]

Dear BBDeveloper, Thanks for your reply.

         i would like to clear that it work fine on the emulator.

        but on the device it give me that message.

my device is 8300 and the os verison is 4.5 

if its not exist on this API how i know the exist API version on any device.

 

Thanks

Wael Nabil

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: [Error openning my application]

what is your JDE version which you compiled and the version of the simulator you compiled.

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 342
Registered: ‎02-04-2009
My Device: BB 8320

Re: [Error openning my application]

Does you emulator version is also 4.5 or 4.5+ (latest such like 4.7) ?

Use Search. "Accept Solution" if the problem gets resolved.
New Developer
Posts: 27
Registered: ‎01-11-2009
My Device: Not Specified

Re: [Error openning my application]

Thanks for the reply

my emulator is latest 4.7

Developer
Posts: 342
Registered: ‎02-04-2009
My Device: BB 8320

Re: [Error openning my application]

You need to update your device os to latest version.

Use Search. "Accept Solution" if the problem gets resolved.
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: [Error openning my application]

You didn't say what JDE you are using - I assume it is also 4.7? If so, this code will not run on your 8300.

 

To target 4.5, you need to compile under 4.5 JDE or lower.

 

 

Highlighted
Developer
Posts: 342
Registered: ‎02-04-2009
My Device: BB 8320

Re: [Error openning my application]

@ RexDoug

 

Yes, getCallPhoneNumber() method in net.rim.blackberry.api.phone.PhoneCall is available from JDE 4.7.0 version only.

 

I think the latest OS for 8300 model is 4.5.0.124. Does it won't support the above mentioned api?

 

Reference: Latest OS for ALL Models

http://www.blackberryforums.com/rim-software/110673-useful-latest-os-all-models.html 


Use Search. "Accept Solution" if the problem gets resolved.
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: [Error openning my application]

Guess not. The closest thing is:

 

public String getDisplayPhoneNumber()

 

available since 4.0, but it will return the contacts name lookup (if the number is in contacts).