Comments (2)
you should not load many images, instead you should stream them in and only
handle 2 images.
Original comment by [email protected]
on 7 Jun 2012 at 10:11
from android-page-curl.
// Create pages
mPages = new ArrayList<Bitmap>();
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.splash));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a1));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a2));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a3));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a4));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a5));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a6));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a7));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a8));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a9));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a10));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a11));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a12));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a13));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a14));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a15));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a16));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a17));
mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a18));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a19));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a20));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a21));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a22));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a23));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a24));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a25));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.a26));
// mPages.add(BitmapFactory.decodeResource(getResources(), R.drawable.end));
i hav also same problem, isn't run. if used only 18 images its run properly bt
more than it's not work
Original comment by [email protected]
on 26 Dec 2013 at 1:42
from android-page-curl.
Related Issues (16)
- this project only used two image HOT 5
- Flip Restrict
- Page Curl on Button Click
- how to use pdf pages instead of .jpg images? HOT 1
- How to apply a listener to the curl view?
- this project only used two image or more image, but how can i use this code with big text, like FBreader,MoonReader
- What about for Dynamic Web services data
- Suggestions HOT 6
- Commentary HOT 2
- Errors on last version HOT 16
- Some resource files are missing from subversion HOT 4
- onTouchEvent blocks as page is flipping, however when it wakes it is possible to skip critical touch events HOT 1
- Suggestion: make it be able to flip vertically HOT 1
- Curl Animation between Activities HOT 3
- unfortunately , android page curl has stopped
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-page-curl.