🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #153581

Re: preent screen

#153581
From: TheGuru
Date: Sat, 17 Nov 2012 21:03
21 lines
1596 bytes

//Witajcie,
//jeszcze jeden problem ;-)
//Używam ekranu graficznego opartego o klasę SurfaceView.
//Jak zapisać ten ekran do pliku graficznego

poczytałem i napisałem takie coś

canvas = ourHolder.lockCanvas();
bitmap = Bitmap.createBitmap(szerokoscEkranu, 
wysokoscEkranu,Bitmap.Config.ARGB_8888);
ourHolder.unlockCanvasAndPost(canvas);

plik się tworzy ale pusty tzn jednokolorowy.
myślałem, że nie ten ekran buforowy się zgrywa ale nie.

gdzie może być przyczyna?

pozdrawiam
robert 
Technical Details
Message-ID: <k88u2m$2a4$1@news.icpnet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!news.icpnet.pl!.POSTED!not-for-mail
References: <k0127f$r6k$1@news.icpnet.pl> <k8296l$9if$1@news.icpnet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!news.icpnet.pl!.POSTED!not-for-mail
From: "TheGuru" <theguru@wp.pl>
Newsgroups: pl.comp.lang.java
Subject: Re: preent screen
Date: Sat, 17 Nov 2012 22:03:29 +0100
Organization: ICP News Server
Lines: 22
Message-ID: <k88u2m$2a4$1@news.icpnet.pl>
References: <k0127f$r6k$1@news.icpnet.pl> <k8296l$9if$1@news.icpnet.pl>
NNTP-Posting-Host: c44-57.icpnet.pl
Mime-Version: 1.0
X-Trace: news.icpnet.pl 1353186198 2372 62.21.44.57 (17 Nov 2012 21:03:18 GMT)
X-Complaints-To: abuse@icpnet.pl
NNTP-Posting-Date: Sat, 17 Nov 2012 21:03:18 +0000 (UTC)
In-Reply-To: <k8296l$9if$1@news.icpnet.pl>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 16.4.3505.912
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912
X-Antivirus: avast! (VPS 121117-0, 2012-11-17), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit