Solid-state Memory on Flexible Silicon for Future Electronic Applications