So I\'m creating an Android app that uses Unity ... I am getting some assetbundle from Unity but I do not know the url before Unity starts. Thus Unity needs to call a funct
You could likely send the 'dynamic' url in your call to getURL. Do something like:
return plugin.Call("getURL", new object[] {"http://thisIsMyUrl.com"});
and then your java looking like this:
public String getURL(Object newUrl) { return newUrl.ToString(); }