Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MainActivity extends AppCompatActivity{
- public static int randomCode;
- }
- public class MyService extends Service {
- ...
- int serviceRandomCode; // Variable de control aleatorio del servicio
- MainActivity.randomCode = serviceRandomCode;
- ...
- }
Add Comment
Please, Sign In to add comment