开发者

Maximum filename length on Blackberry

开发者 https://www.devze.com 2022-12-28 09:11 出处:网络
Is there a开发者_运维问答 maximum filename length (or equivalent to MAX_PATH) on the BlackBerry operating system?The maximum filename length is not exposed.The best you can do is to catch FileIOExcept

Is there a开发者_运维问答 maximum filename length (or equivalent to MAX_PATH) on the BlackBerry operating system?


The maximum filename length is not exposed. The best you can do is to catch FileIOException and add handling for error code FileIOException.FILE_NAME_TOO_LONG.


On 4.5/4.6/4.7 (found out by experiment):

  • SDCard path can't be longer than 263 chars
  • store path max is 269 chars
0

精彩评论

暂无评论...
验证码 换一张
取 消