Hello everyone, When i try to make a Toast notification from onCreate() method of a Service, it works fine, but if i copy and paste the same call to a method created by me, it seems to ignore the Toast and it isn't showed. This is part of the code that isn't working.
public class TestService extends Service { private Timer timer = new Timer(); private Timer timerTemp = new Timer(); private boolean UI = false; Servicio[] servs; public Servicio[] initServicios(SharedPreferences prefs, Servicio [] servs) { Log.v("Debug", "Mostrando Toast..."); Toast toast = Toast.makeText(this, "No has especificado una direccion para el servicio . El servicio no se comprobará!", Toast.LENGTH_LONG).show(); . . . . . . . . . . . . Thanks, and excuse my bad english ;-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---