I’ve used it for years, and highly recommend it for any serious developer. Genymotion makes a drop-in replacement that’s blazingly fast. The standard Android emulator can be painfully slow. This doesn't solve it, sorry, but it might point you towards rewriting your script.I wanted to make note of a couple of quick tips for Android development around emulators. each csv) that way, just explaining the data structure as I think I understand it. I haven't used Briefcase in CLI so I'm not sure what script would look like or how to get all the data (i.e. There might be a way to 'flatten' the dataset, but you'd obviously have the 'parent' data repeated multiple times, which might be just as hard to read / analyse. So I usually build a spreadsheet or database with lookups for those keys - you may need to do the same. Forgive me if I'm telling you something you already know, but think of the uuid: as a 'foreign key' in a series of relational tables. If you were to export the data manually using Briefcase, you would see that it creates a number of csv files - one for each 'level' of repeat. In the file, the answers for the repeated questions are like "uuid:0b78d68e-cadd-4abe-a558-32484237700d/function_repeat_hh_mem_details" instead of being the single questions with the respective answer. Do you know if there is a way to combine the forms for the different survey completed? When I am doing field work, I would like to have one csv file for all the answers collected in one day. However, this creates a csv file for each completed survey. Use the adb pull command to transfer the forms to a designated folder in my laptop Plugging in my Android phone to my laptop where adb studio is installed Please note that for pushing as well as for pulling, the phone should not be connected to pc while you're working with a simulator and vice-versa. To pull (download) the odk directory from your phone (or simulator) use:Īdb pull /sdcard/odk/ yourpreferred_location_in_your_pc_ I always do this during the debugging/testing phase instead of using my real phone. The same procedure works if you want to push the form to a simulator if you have created one with Android Studio. copy adb push your-form.xml /sdcard/odk/forms in the command line then click Enter. Shift-right mouse button click to open a command line in this folder.Click on the link to get to this folder where adb.exe is located,.I created a link to this folder on my desktop not to have to remember the place! It will create a "C:\Users\yourusername\AppData\Local\Android\sdk\platform-tools" folder. Install google's Android Studio app in your pc.This will allow your pc to detect your phone and it will install a driver for it (takes a few minutes on my Windows 10 64 bit pc) Do not forget to put USB Debugging on "ON". tap on the "usb driver for android" app's icon's which shall lead you to the setup screen.Connect your phone with a usb cable to your pc.Install usb driver for android from the app store in your smartphone, The "usb driver for android" app icon appears on the phone screen.I have successfully tested the following procedure to push a new form to my Android MashMallow smartphone: Although I have published this as part of an answer to, I think it is useful to repeat it here as all of us have been confronted to these issues, especially when not using the Internet/ODK Aggregate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |