Android: Getting UI elements and there values currently displayed on the screen, from different Application -


How do I create a GUI component (text view / button / list view) and their values ​​(data that are currently displayed on the screen ) I can get a background service, which is not part of the currently running application.

Any clue how can we archive this?
Can we do it from the application layer or do we need to go deeper into Android sources?

  1. You can access the UI element only on one main thread i, e UI thread. Let's assume that you are starting the background service from IntentService, all necessary values ​​in the bundle before you start the service service, you can use the bundle and start IntentService (background service).
  2. Get value from the bundle and use it

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -