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

7
LINES

< > BotCompany Repo | #1000423 // Example: Update widget with text (Android)

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

Libraryless. Click here for Pure Java version (1483L/10K/36K).

!7

p {
  print("Putting Hello Mama on widget...");
  call(androidContext(), "updateWidgetWithText", "Hello Mama!");
  print("yo");
}

Author comment

Began life as a copy of #1000419

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000423
Snippet name: Example: Update widget with text (Android)
Eternal ID of this version: #1000423/3
Text MD5: 8439731318c6358afe621924581a0396
Transpilation MD5: e0be401d3d7934f8835ce6ecf16bfbce
Author: stefan
Category: javax android
Type: JavaX source code (Android)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-20 23:49:26
Source code size: 139 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 701 / 729
Version history: 2 change(s)
Referenced in: #710 - Example: Update widget with bitmap (Android)
#1000425 - Output of #1000423 (Android widget)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)