network-efficiency

React Native for small size apk with low internet bandwidth

ぐ巨炮叔叔 提交于 2019-12-09 05:28:09
问题 I am planning to develop an app for emerging market with low internet bandwidth. The app heavily requires an internet connection to function. I need this app to have a small apk size (not more than 10mb ) and work on 3G network. Based on my research if I remove x86 JS binary files from React Native the apk size could be as small as 4mb. I suppose the 4mb does not include the JS files and images so client needs to download that first time when he/she opens the app, is that correct? Would it in

Network-efficient difference between two strings in Javascript

China☆狼群 提交于 2019-12-07 13:25:44
问题 I have a web application where a client side editor is editing a really really large text which is known on the server side. The client can make any kind of modifications to this text. What is the most network-efficient way to transmit the result difference in a way that the server understands? Also, since this will happen on client side (Javascript), I would also like it to be 'fast' (or at least not noticeably slow) Some scenarios: User modifies ONE character User modifies several sentences

Network-efficient difference between two strings in Javascript

£可爱£侵袭症+ 提交于 2019-12-06 01:53:55
I have a web application where a client side editor is editing a really really large text which is known on the server side. The client can make any kind of modifications to this text. What is the most network-efficient way to transmit the result difference in a way that the server understands? Also, since this will happen on client side (Javascript), I would also like it to be 'fast' (or at least not noticeably slow) Some scenarios: User modifies ONE character User modifies several sentences in random positions User erases everything and results in a blank text. I cannot use diff-like syntax

Android - Efficient way to load multiple images from remote server

ぐ巨炮叔叔 提交于 2019-12-03 20:33:47
问题 I have an Android application that would retrieve data (images+text) from a php remote server and display them in a GridView. I am doing the operation in the background using Loaders. I have separate connections for images and texts since retrieving images would take longer and I want to display the texts immediately. The texts are encoded with Json on the server after being retrieved from MySQL. On the app, I am parsing the Json Objects and displaying the texts as I need. The problem is with