Wednesday, February 4, 2009

Samsung Blackjack 2 windows update

Few days back I got my samsung blackjack 2; first thing I tried is to update OS on mobile from Windows mobile 6.0 to Windows Mobile 6.1;

Samsung create a nice doc on how to upgrade, with very detail instructions. Its very nice and clear;

http://ars.samsung.com/customer/usa/jsp/faqs/faqs_view.jsp?SITE_ID=22&PG_ID=557&PROD_SUB_ID=558&PROD_ID=957&AT_ID=132705

Once you update you will find new features in your mobile.

WebSphere Integration Developer BOXMLSerializer writewithOptions

Hi;

The default BOXMLSerializer writes XML with spaces and tabs; to remove tabs/spaces you can use below code.

BOXMLSerializer bos = (BOXMLSerializer) ServiceManager.INSTANCE.locateService
("com/ibm/websphere/bo/BOXMLSerializer");

Map options = new HashMap(); options.put
(XMLResource.OPTION_FORMATTED, Boolean.FALSE);

bos.writeDataObjectWithOptions(dataObject, targetNamespace, element, options);