Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

other app make the whole service process fail #6

Open
vincentnock opened this issue Jan 16, 2015 · 0 comments
Open

other app make the whole service process fail #6

vincentnock opened this issue Jan 16, 2015 · 0 comments

Comments

@vincentnock
Copy link

Some apps that are trying to use OpenUDID_manager implented it in a wrong way.

For instance, the application packaged as net.p4p.chestthrows a java.lang.ClassNotFoundException: Didn't find class "org.OpenUDID.OpenUDID_service"

This cause the following code in startService() to fail, unable to continue with other available services, and to get a valid UDID:

try { // try added by Lionscribe
    mContext.bindService(i, this, Context.BIND_AUTO_CREATE);
} catch (SecurityException e) {
     startService(); // ignore this one, and start next one
}

I tried to add Exception and Error catch, with no success.
Any clue on how to avoid such cases ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant