http://stackoverflow.com/questions/8812090/android-environment-variable-and-parent-child-activities/8812586#8812586

On Wed, Jan 11, 2012 at 1:30 PM, nir apple <[email protected]> wrote:
> In Android, i am trying to figure out how can one activity see info
> changed by another
>
> to be more precise - the first activity changes the LD_LIBRARY_PATH
> environment variable.
>
> then activates a second activity which in turn reads that environment
> variable value.
>
> the value is not what i expect.
>
> two scenarios:
>
> 1.   The second activity is in the same application as the first
> activity, the environment variable value is blank.
>  2.  The second activity is in a different application from the first
> activity, the environment variable value is the
>      usual (didn't received the change): /system/lib:vendor/lib
>
> i am using:
>
> Intent i = new Intent();
> i.setClassName("Package", "Class name");
> startActivity(i);
>
> to start the second activity.
>
> does anyone know a way that the second activity will see the changes
> made by the first one?
>
> thank for the help
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.3
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to