Involved in uptake of hemolymph trehalose into epithelial cells in the midgut of feeding larvae. alpha,alpha-trehalose + H2O = alpha-D-glucose + beta-D-glucose In midgut and Malpighian tubules. Belongs to the glycosyl hydrolase 37 family.