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
New Developer
maiakhoa
Posts: 10
Registered: ‎08-08-2013
My Device: Z10

Can not open Picture editor on 10.1.0.1020

Hi all,

 

Please help me with the problem related to Picture editor, I can not open it on 10.1.0.1020 but working normally on 10.1.1.1483 and above. Below is source code

 

QVariantMap entry = QVariantMap();
QString size = "250x250";
entry["size"] = size;
QString upScale= "false";
entry["upScale"] = upScale;

QByteArray encData = bb::PpsObject::encode(entry);
iRequest.setData(encData);
iRequest.setAction("bb.action.EDIT");

QString mimeT = QString("image/ipg");
iRequest.setMimeType(mimeT);
iRequest.setUri("file/accounts/1000/shared/camera/IMG_00000001.jpg");
iRequest.setTarget("sys.pictureeditor.cardeditor");
	
InvokeTargetReply *reply = iManager->invoke(iRequest);
iManager->setParent(this);

 

Please use plain text.
BlackBerry Development Advisor
sabdelsayed
Posts: 249
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10

Re: Can not open Picture editor on 10.1.0.1020

Hi maiakhoa, if it works on a later SDK, then it could have been a bug that got fixed on the 10.1.1.1483 build. Please use the later SDK.

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
maiakhoa
Posts: 10
Registered: ‎08-08-2013
My Device: Z10

Re: Can not open Picture editor on 10.1.0.1020

Thanks for your feedback. I used the new SDK but I concern about the app when user using that build.

 

Regards,

Khoa.Mai

Please use plain text.
Developer
kylefowler
Posts: 526
Registered: ‎05-17-2009
My Device: 9900

Re: Can not open Picture editor on 10.1.0.1020

Is that OS build even out in the wild for consumers or is that just a development OS?

Like all of my posts
Please use plain text.
New Developer
maiakhoa
Posts: 10
Registered: ‎08-08-2013
My Device: Z10

Re: Can not open Picture editor on 10.1.0.1020

Hi kylefowler,

 

That is just a development OS. It could be fixed with the newer OS version.

 

Khoa.Mai

Please use plain text.