Android Question NumberFormatException error

Kiran Raotole

Active Member
Licensed User
numberformatexception error in php base64_encode string

my php array :
B4X:
(ArrayList) [{id=1, image=/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUUExQWFhUXGB4aGRgYGR4gHRobIB0dIB8fIBsdICgiGiElHxoaIjEiJikrLi4uIB8zODMuNygtLi0BCgoKDg0OGxAQGy8mHyUtLS0rLS0tLysvLS8tLSstLS8yLS0tLS0tLy0vLS0tLy0tLS0tLS0tLS0tLS0tLS0tLf/AABEIALcBEwMBIgACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAAFBgMEAAIHAf/EAEoQAAIBAgQDBQQHBgMFBgcAAAECEQMhAAQSMQVBUQYTImFxMoGRoRQjQlKxwfAHYnKC0eEzkvEVJEOy0hZTg5Oi4jRUY3Ojs9P/xAAaAQACAwEBAAAAAAAAAAAAAAACAwABBAUG/8QALBEAAgIBBAEDAwQDAQEAAAAAAAECEQMEEiExQRMiUWGB8AVxkaEywdHhI//aAAwDAQACEQMRAD8Aaq1UkXMQP6/jiuAerXucSZWpUfbJ1PRqtO59AzD4YizSVbhctTDb+KtPyCn8cYXFmmzdUG4n1F/n+ueJTlFKwVIjfFJ83nOVHLj/AMVoH+WmfXHj18+QB3OUI/8Av1T7/wDBGJRLLFanTVWiJjY7/PC5kXivVmI00hP8z/1GCfEKOcYBiMmu3svUPlzXfywN4Dw+tUzL0nK6iyyVBgKoJY36A+82waiU2FeGZCpWlaa6tiT9lRykn0PnvbBNeyBBbXmAGP2UplotG5YT8MM+UijFCnTKooEEzBFpJPMmf1GA3F+NPUfuab06NJl1GsxAhQ0NoU+2WtBsALzcYLhESbKi8BAIVaquwvpYaCfKCSNvPCfWyrJZtSuogqymx6X2wV49xMuK1SlW7laGhl1KpR6TVO7JZOckOVYEGFEG5wW4kKtXKd4lZBUp+LUF1BqQ3UgsCY9qZ2BF8S0Ta0JhDH/TE9HVva2/654McFoioNdZgyC+wUT7yZ264ziucoCrTFK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BzOtvLlqBn0xa4HxurVrpRDCHaJO4AF26GFBMf3wXAgiTtHli2ln0AgeJlIFtrmwPvPzwW4PnqNdu6y9ZGIUliJhVG7E7RcDzm2PM72sIfRQJRAYkc/U/aOIszxJ2RgKkF41EKomJi4AP6GM89XijLb5A3BpVp+yMxB80hSf8xaMUM3xBcu5Ws8EXjeRyIjcHrPXpgPlQ4U2D23/ADwbNRny32tdPxC5usgMNxMSGv0PXA4NUssnHr4LTZSHH8q9w1RSD0Ye6/I/njyp2hoaoSoIIm4Jk9NsV6tQwB4tUCNrT6bcufvtjSlUUmWcjpJnp0B8/iPXGqwqLVLjmWJhiCfIPb0hZP66YmHFKFpJ07yKVTbzESbcycTZdU0kgzexJ3/p78eUMysmWbcxcR52ME8t5PpynBZVq8XoAkIamkbQtUD4Y9xafMKDB0T+8yz774zF2igMtV+rX8o/15YbeD8HrDS7v3Q30xLEea7D+a/lj3sVwBqa/SK1arVLD6tahWFH3oCiSeU7b88X+0PFVy6F3k3gACST+XWTiowC5fCJc1TpFdLBmEz7UX/lA64AZ7K5M1Fp949Ko4YrcMDpgHcfvC2oc8DavaqlUZwqlwqlX1CBTNrltiZ+6bbzhd1qWo1X8aLBL+0pvBa1iJuQAZiwJ30xwJq2Ojgk1Ye4lwmpQ8RIdGNnG09D0Pr7icL5paqVS/8AxWjyhR54ZnydTKUalWjUGYoyRXy7NtJuFIEg8yLQZI6YGVeG06VJe5dno1SalNmJLQ0WYm+pYKkHoemEZIbOUKlFo2btPRrUqdLiGsPT0tTzVMSysIuyi5kQDEz0BAbFri75bMZdBSzmXaqh9suVleepSNSsLcibfBX4pkgSfdhc
php -
B4X:
$b["image"]            = base64_encode($row["img"]);
b4a error on line - Log(list.Get("image"))

error log :
An error occurred:
(Line: 95) Log(list.Get("image"))
java.lang.NumberFormatException: For input string: "image"



what is problem?
 
Top