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
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
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:Smiley FrustratedensorMarshall(),  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

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: Fun with Sensors sample not running

On which device you've tried to run ? Dev Alpha or PlayBook ?
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Fun with Sensors sample not running

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

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: Fun with Sensors sample not running

or simulator...
Highlighted
Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
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.

Retired
Posts: 15
Registered: ‎10-11-2012
My Device: BlackBerry Z10
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.