With http protocol for the response,you could add the version message to http head message. Java has the HttpURLConnection to do this. Your server need to read this message to find out the version in the client.
If you use the basic socket to write it, it's the same that add message and you server get this message and even more freedom for coding. But it's also hard to learn. On Saturday, March 25, 2017 at 7:39:05 AM UTC+8, Darius Radius wrote: > Hello, > we are starting build AOSP and it looks we are successful. But we have > problems with OTA update. > > We are able to make zip file, we are able to change otaupdateurl but we > dont understand how to tell, that is new version of zip file. > > Could you advise good simple tutorial? > > Thank you > Radek > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
