java - Saving Android FaceDetector.Face[] on rotation -
i trying save facedetector.face
array on screen rotation, facial detection not have performed again. app seems take longer normal rotation. however, can't store faces array in onsavedinstancestate
since isn't serializable. tried extending facedetector.face
implementing serializable, doesn't have default constructor. should save object
array 1 on rotation, didn't implement?
i suggest creating static fragment without ui on activity. once that, can use store data. keep in mind facedetector.face, object holds locations on bitmap , not bitmap itself.
Comments
Post a Comment