Put your problem here if it does not fit any of the other categories.
For example i have 2 classes: Activity.java and Service.java.
In Activity.java I have layout main.xml and from Service.java I want to set in this layout the value of TextView. How to do this?
- Posts: 2
- Joined: Sat Jun 05, 2010 10:54 am
Give the Activity as a parameter to your service, then provide methods to access the appropriate TextView
- Master Developer
- Posts: 369
- Joined: Sun Apr 11, 2010 5:21 am
Return to Other Coding-Problems
Who is online
Users browsing this forum: MSNbot Media and 12 guests