Advertisement
parseint32

Untitled

Oct 13th, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1. Log.i("DEBUG", "The real id is: " + remoteViews.toString());
  2.           Thread thread = new Thread()
  3.             {
  4.               @Override
  5.               public void run() {
  6.                   try {
  7.  
  8.                     // CALL YOUR FUNCTION FROM HERE
  9.                     HttpRequest r = new HttpRequest("http://www.hwlogos.com/test.json");
  10.                     Log.i("DEBUG", "Id is: " + remoteViews.toString());
  11.                     remoteViews.setTextViewText(R.id.ip, r.GetContent());
  12.                    
  13.                   } catch (Exception e) {
  14.                       e.printStackTrace();
  15.                   }
  16.               }
  17.             };
  18.  
  19.         thread.start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement