Blackberry textOutputField中的换行符
这是我的密码。我从web获取数据,并将其存储在bufval和print textoutputfield中,但如果我们在php页面中使用换行符,则需要在textoutput字段中的特定位置换行符。在php页面中,我们获取的数据输出为show msg,并附加此(Blackberry textOutputField中的换行符,blackberry,blackberry-eclipse-plugin,Blackberry,Blackberry Eclipse Plugin,这是我的密码。我从web获取数据,并将其存储在bufval和print textoutputfield中,但如果我们在php页面中使用换行符,则需要在textoutput字段中的特定位置换行符。在php页面中,我们获取的数据输出为show msg,并附加此() 字符串strResult=新字符串(bufVal); 已同步(UiApplication.getEventLock()) { textOutputField.setText(strResult); }为什么不尝试在希望换行的位置添加“\n
) 字符串strResult=新字符串(bufVal); 已同步(UiApplication.getEventLock()) { textOutputField.setText(strResult); }为什么不尝试在希望换行的位置添加“\n”字符呢