Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception while reading from tomcat

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get following exception while executing code
D/dalvikvm( 947): LinearAlloc 0x0 used 541500 of 4194304 (12%)
I/ActivityManager( 47): Start proc com.datamatics.upload for activity com.data
matics.upload/.GetDataFromTheWeb: pid=954 uid=10027 gids={}
I/jdwp ( 954): received file descriptor 10 from ADB
I/System.out( 954): Successfully opened a connection
E/OSNetworkSystem( 954): unknown socket error -1
I/ActivityManager( 47): Displayed activity com.datamatics.upload/.GetDataFromT
heWeb: 757 ms


Code snippet is :
Filename: error.bmp
Description: Look at the phone window
File size: 245 Kbytes
[Download error.bmp] Download Attachment
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have the uses android.permission.INTERNET set in the android manifest?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!