It's too bad the android team can't remove some methods like exit() to avoid
these potential pitfalls that aren't documented very well (at least in most
books). For guich, looks like you would need to implement some way of
detecting that the library is already loaded, so as not to load it again.



On Thu, Jan 21, 2010 at 5:56 PM, Dianne Hackborn <[email protected]>wrote:

> You really should be able to just continue using the library.  It is not
> unloaded, so you don't need to reload it, and can use it again.
>
> To be clear: using System.exit() is strongly recommended against, and can
> cause some poor interactions with the system.  Please don't design your app
> to need it.
>
>
> On Thu, Jan 21, 2010 at 5:24 PM, [email protected] <[email protected]>wrote:
>
>> I just found a side-effect of using finish: my lib.so library is NOT
>> unloaded, and the application will not work if it is called again.
>>
>> guich
>>
>> --
>> 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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