i have implemented spoon , far looks great. avd's show in output "unknown android sdk built x86" instead of avd name. real device shows properly.
is there setting available either in spoon or when creating avd's show real avd names instead of "unknown android sdk built x86"
the first picture shows avds called in avd manager
second picture shows avds called in spoon output. note top device listed physical device , not avd.
you customize filename include more specific details device testing/grabbing screenshots
typically 1 calls
spoon.screenshot(context,filename)
in order take screenshots
you customize filename constructed in fashion
string manufacturer = build.manufacturer; string brand = build.brand; string product = build.product; string model = build.model; string osversion = build.version; stringbuilder filenamebuilder = new stringbuilder(); filenamebuilder.append(manufacturer ); filenamebuilder.append("-"); filenamebuilder.append(brand ); filenamebuilder.append("-"); filenamebuilder.append(product); filenamebuilder.append("-"); filenamebuilder.append(model); filenamebuilder.append("-"); filenamebuilder.append(osversion); filenamebuilder.append("-"); filenamebuilder.append(string.valueof(calendar.getinstance().gettimeinmillis())); string filename = filenamebuilder.tostring().replaceall("\\s","").replaceall(".","_");//filename hates spaces , dots
you https://github.com/jaredrummler/androiddevicenames more human friendly names
Comments
Post a Comment