08-06-2012 11:41 AM
HI
Have NDK 2.1 installed and the lastest PB OS.
downloaded the native camera example from the Cascade samples (the native sample) and it compiled ok but when I tried to install it on the PB device it got this error:
Deployment Failed: Info: Sending request: Install and Launch
Info: Action: Install and Launch
Info: Debug native: on
Info: File size: 38405
Info: Installing com.example.NativeCamera.testDev_ativeCamerad5e722
Info: Processing 38405 bytes
I also have the same problem with the GoodCitizen sample app.
Does anyone know why?
08-06-2012 01:36 PM
Im having similar debugging problems.
:/
08-06-2012 02:04 PM
My problem is trying to install the sample apps to the real device.
I have both the signing and debug token keys in place.
could it be something wrong with the xml and signing keys?
I remembered with Air/Flash apps if I have the author wrong in the xml it will not sign.
There wasn't any error msgs when i did the export in the IDE. It tried to load and run and then it craps out.
This is very frustrating and i can't even get the samples to run.
08-06-2012 02:08 PM
I too am trying to debug to a real playbook device but having problems.
Do you get an error message on the playbook when it runs?
I get error 12 on the playbook and Unable to determine returned PID from QNX
smiley wrote:
My problem is trying to install the sample apps to the real device.
I have both the signing and debug token keys in place.
could it be something wrong with the xml and signing keys?
I remembered with Air/Flash apps if I have the author wrong in the xml it will not sign.
There wasn't any error msgs when i did the export in the IDE. It tried to load and run and then it craps out.
This is very frustrating and i can't even get the samples to run.
08-09-2012 12:09 PM
usr/include/errno.h error 12 is ENOMEM.
Is http://supportforums.blackberry.com/t5/Native-Deve
Stuart
08-09-2012 12:15 PM
Yes, and its still a problem. every couple of debugs I have to:
-Move all my assets folders outside the project folder(and workspace) and remove them from the bar desc
-Clean and recompile whole project
-Move my assets folders back in to the project and add them to the bar desc
-Compile project
-Debug.
Only after these steps does it start working again.
I've tried deleting the whole workspace folder and starting the IDE from scratch then moving back my source&headers&assets but problem still persists.
May be a problem with my installation of the IDE so will try reinstall when I get back from hols.
08-09-2012 01:35 PM
smily, do you have anything like
<platformVersion>2.0.0.7109</platformVersion>
in your bar-descriptro.xml file? probably version mismatch...
08-09-2012 04:14 PM
I upgraded to the 2.1 beta and it solved the problems. I think the sample apps some requires 2.1 sdk.
08-09-2012 09:42 PM
Native Camera sample definitely needs 2.1 or BB10. There is no camera API on 2.0.