Access to a Subactivity

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Access to a Subactivity

Postby mrdanger » Fri Jul 04, 2008 12:30 pm

Hello,

i have an activity. It starts a Handler and get messages from a thread. In this activity i start a subactivy. My Goal is, send messages also to the subactivity.

Can you give me any solution or idea to solve this problem?

Edit:
My Solution is to use the Database. Incoming Messages would be insert into the database and a thread in the subactivity read the database and delete the event.
mrdanger
Junior Developer
Junior Developer
 
Posts: 10
Joined: Tue Jun 17, 2008 3:22 pm
Location: Hamburg, Germany

Top

Postby borya » Mon Jul 07, 2008 10:29 pm

also, before you start the subactivity you can use putExtra() to pass information through the intent you use to start the subactivity
borya
Developer
Developer
 
Posts: 27
Joined: Wed Jul 02, 2008 7:50 pm
Location: California, USA

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests