Hey guys,
I hate admitting it, but I'm totally newbie material here... Proficient in other languages, but beginning in this one. So I'm hoping there is a kind Wizard among you that is able to shed some light on my quest so that I may save the world.
I currently run a site which hosts apk files for download. This site is only accessible via an application on the subscribers device. The application is also responsible for downloading and installation when the subscriber chooses a file. Recently, this application has been updated for security reasons, resulting in my site undergoing several ssl modifications as well. The issue is, the downloader application isn't finding the file that is being selected. After decompiling the newest version, I see the download path has been changed to something that's set each time the application is ran.
private TabletStateProvider(Context context) {
this.context = context;
}
public static TabletStateProvider getInstance(Context context) {
TabletStateProvider tabletStateProvider = tabletStateProvider;
if (tabletStateProvider == null) {
tabletStateProvider = new TabletStateProvider(context);
} else {
tabletStateProvider.setContext(context);
}
return tabletStateProvider;
}
public void setContext(Context context) {
this.context = context;
}
Afterwards the download path is set by setting "tabletStatePath"...
public static void initTabletstatePath(Context context) {
tabletStatePath = context.getFilesDir().getAbsolutePath();
}
Where I'm confused is setContext...If i understood this a little bit better, it would help me to understand the directory hierarchy that should match my server... Any help?