Can not access the mBuffer of android.graphics.Bitmap -


मैं निम्नलिखित codeï ¼ ??

  बिटमैप myBmp = Bitmap.createBitmap (720, 1280, Config.ARGB_8888); बाइट [] डेटा = myBmp.mBuffer ????   

लेकिन मैंने पाया कि mbuffer तक पहुंचा नहीं जा सकता। और ऐसा कोई संकेत नहीं है कि इसे ग्रहण में नहीं पहुंचा जा सकता है। क्या समस्या है?

यदि आप पिक्सेल तक पहुंच चाहते हैं, तो

  Bitmap.getPixel (int, int)   

और

  बिटमैप .सेटपिक्सेल (int, int)   < P> क्या यह आप करना चाहते हैं?  

संपादित करें: 'समस्या' जावा एनोटेशन @hide है जो सदस्य को कोड से एनोटेट करता है पूर्णता और त्रुटियों को प्रेरित करता है जो संकलन से ग्रहण को रोकते हैं।

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -