I need to know how can I know from where to application apk downloaded from so I can make layout changes according to the download source?
Is there a way knowing it?
I need to know how can I know from where to application apk downloaded from so I can make layout changes according to the download source?
Is there a way knowing it?
No. You cannot get from the android system where the APK is downloaded from.
But you could use different signatures for different sources and do as I explained here:
Supporting Amazon and Android market (Google Play) links inside application
What I explain in the above question is specific to an app for amazon and an app for Android Market, but the same approach applies - as far as checking signatures and things.