how to print the result "to phone's screen"??

  • Replies:1
Kirubakaran Govindhan
  • Forum posts: 1

Feb 14, 2014, 4:14:17 PM via Website

i am having a complete java program for the android app which i am going to create.This java program have user defined library which is imported to this by "import" keyword.I wanna print the result to mobiles screen.How should i do that???Does System.out.print() works???

Reply
Pascal P.
  • Admin
  • Forum posts: 11,286

Feb 19, 2014, 5:28:01 PM via Website

The result of System.out.print() you can only see in eclipse or netBeans. For showing a message on the device Display you can use a Toast Message.
For creating a tost message look here: http://stackoverflow.com/questions/3500197/how-to-display-toast-in-android

LG Pascal //It's not a bug, it's a feature. :) ;)

Reply