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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -