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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Contributor
xhotkey
Posts: 44
Registered: ‎09-19-2012
My Carrier: China mobile

Fun with Sensors sample not running

I imported the sample, compile and run. But only blank windows appears . Below is the output info:

NavigatorPrivate::NavigatorPrivate - width=768
NavigatorPrivate::NavigatorPrivate - height=1280
NavigatorPrivate::NavigatorPrivate - angle=0

### TIMESTAMP pid=14389458 at 1781260 ms -> "server thread started"
### Server Thread: STARTED
startScreenEventThread(SUCCESS)
### PPS Thread: STARTED (10)
ERROR:: QNXPpsSubscriptionServer: QNXPpsSubscriptionServer::createObject: (13) Failed to create dir /pps/services/automation/framework

ERROR:: QNXPpsSubscriptionServer: QNXPpsSubscriptionServer::subscribe: Failed to open /pps/services/automation/framework/control?delta,notify=42d:00000001


### TIMESTAMP pid=14389458 at 1781539 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=14389458 at 1781542 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=14389458 at 1781542 ms -> "waiting for events begin"

### TIMESTAMP pid=14389458 at 1781545 ms -> "waiting for events end"

### TIMESTAMP pid=14389458 at 1781545 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=14389458 at 1781555 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=14389458 at 1781555 ms -> "waiting for events begin"

### TIMESTAMP pid=14389458 at 1781996 ms -> "waiting for events end"

### TIMESTAMP pid=14389458 at 1781996 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=14389458 at 1781996 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=14389458 at 1781996 ms -> "waiting for events begin"

### TIMESTAMP pid=14389458 at 1782000 ms -> "waiting for events end"

### TIMESTAMP pid=14389458 at 1782000 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=14389458 at 1782004 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=14389458 at 1782004 ms -> "waiting for events begin"

### TIMESTAMP pid=14389458 at 1782025 ms -> "waiting for events end"

### TIMESTAMP pid=14389458 at 1782025 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=14389458 at 1782025 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=14389458 at 1782025 ms -> "waiting for events begin"

### TIMESTAMP pid=14389458 at 1782028 ms -> "waiting for events end"

### TIMESTAMP pid=14389458 at 1782028 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=14389458 at 1782028 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=14389458 at 1782029 ms -> "waiting for events begin"

### TIMESTAMP pid=14389458 at 1782034 ms -> "waiting for events end"

### TIMESTAMP pid=14389458 at 1782034 ms -> "handle incoming events begin (1)"

### TIMESTAMP pid=14389458 at 1782034 ms -> "handle incoming events end (1)"

### TIMESTAMP pid=14389458 at 1782034 ms -> "waiting for events begin"

### TIMESTAMP pidSensorsThread run() started
SensorMarshall::smileyfrustrated:ensorMarshall(),  5  sensor not supported.

Process 14389458 (FunWithSensors) terminated SIGSEGV code=1 fltno=11 ip=78b6803c(/base/usr/lib/qt4/lib/libQtScript.so.4.8.0@+0x4b4c8) mapaddr=0006803c. ref=00000018

Please use plain text.
Developer
borceg
Posts: 667
Registered: ‎03-21-2012
My Carrier: Vip

Re: Fun with Sensors sample not running

On which device you've tried to run ? Dev Alpha or PlayBook ?
Please use plain text.
Developer
BGmot
Posts: 966
Registered: ‎11-24-2011
My Carrier: x

Re: Fun with Sensors sample not running

According to screen resolution in provided logs it's devalpha -)

Please use plain text.
Developer
borceg
Posts: 667
Registered: ‎03-21-2012
My Carrier: Vip

Re: Fun with Sensors sample not running

or simulator...
Please use plain text.
Contributor
xhotkey
Posts: 44
Registered: ‎09-19-2012
My Carrier: China mobile

Re: Fun with Sensors sample not running

It's dev Alpha

There's no configuration for simulator and I don't know how to create one.

Please use plain text.
BlackBerry Development Advisor
aparco
Posts: 14
Registered: ‎10-11-2012
My Carrier: Rogers

Re: Fun with Sensors sample not running

That example was a little out dated.  RIM now supports the Qt sensor API.  There is a lot of great documentation on the Cascades website.  As well there is full code examples along with user documentation.

Please use plain text.