Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1002655 // Android Boot Program (making a toast)

JavaX source code (Android) [tags: use-pretranspiled] - run with: the app

Libraryless. Click here for Pure Java version (38L/1K/2K).

!752

import android.os.*;
import android.widget.*;
import android.app.*;

public static void main(final Service service) {
  //sayInWebChat("Phone Bot", "Service Boot!! " + now());

  new Handler(Looper.getMainLooper()).post(r {
    Toast.makeText(service, "Yo JavaX!", Toast.LENGTH_SHORT).show();
  });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, nbgitpuheiab, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002655
Snippet name: Android Boot Program (making a toast)
Eternal ID of this version: #1002655/1
Text MD5: ce252c3f4b957b8464f0956672faf1a5
Transpilation MD5: f3c507739e5d59ab8b451ec7077d2a1b
Author: stefan
Category:
Type: JavaX source code (Android)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-09 16:07:31
Source code size: 318 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 743 / 1061
Referenced in: #1002656 - Register the "toast" demo boot program
#1002657 - Boot the boot program
#1004186 - Android Boot Program (try to start awareness)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)