title: modify an apk without decompile it
body: <p>I understand that this is an odd question, but I have this situation:</p>
  
  <p>I serve an apk directly from a site, this apk has a <code>WebView</code> inside of it which will open a "secure" part of a website.</p>
  
  <p>I would like to track down those who download it, and those who then open it, so I have thought of this:</p>
  
  <p>I compile the apk with the URL written in this way (or in a similar one) :</p>
  
  <p>www.myserver.com/secretplace/landing.php?token=##########</p>
  
  <p>then, just before a user downloads it, I change those ########## characters with a token created on the fly and store in the database, when the user opens the apk, I can check the token and recognize that that was the user that downloaded the apk at that specific moment. I want to change it as if I load the apk in notepad and change it manually...</p>
  
  <p>I really understand that this is odd, but...do you think it will work?</p>
  
  <p>Does someone have some other idea on how to track users who download an apk for those who open it?</p>
  
  <p>the question is: it is possible to modify an apk without decompile it? is there a problem? are there some limitations? such as, "yes you can modify it, but you must use the same number of characters" which could be acceptable.</p>
  
  <p>NOTES: 
  tha apk download and the fact the users MUST use APK to access the site is mandatory.</p>