Git Product home page Git Product logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Download it via HttpClient and HttpResponse.
Create a Bitmap out of the Bytestream
Byte[] bytes = EntityUtils.toByteArray(entity);
Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 0,
                    bytes.length);
and draw it in your canvas via canvas.drawBitmap

If you use Drawable download it save it to an Inputstream and open it via 
Drawable.createfromStream(my stream)

Original comment by [email protected] on 30 Aug 2013 at 7:12

from android-multitouch-controller.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hi,
I am also having the same problem.
I am trying to use this library on images that are randomly picked from phone 
gallery.
I am having the path of the images , but not getting that how to use the 
library on those images.
Please provide any solution. I have tried a lot and stacked here for 3 days.

Original comment by [email protected] on 27 May 2014 at 7:09

from android-multitouch-controller.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Hi, the multitouch demo app was never intended to be a full photo viewer -- for 
starters, it is not OpenGL-accelerated, so it is slow and power-hungry. Also, 
images are loaded from resources just because it was the simplest possible way 
to load them. There are many Android tutorials on how to load images from other 
locations, for example by means of an Intent, or from a file on the SD card. A 
Google search for "Android load image" returns the following as the top hit, 
but there are many other relevant links too:

http://developer.android.com/training/displaying-bitmaps/load-bitmap.html

I'm closing this issue since it is not a bug with the actual multitouch 
library, but Stack Overflow is a great place to ask general Android programming 
questions if your code still isn't working after following the information at 
the above link. I hope this helps!

Original comment by luke.hutch on 28 May 2014 at 10:51

  • Changed state: Invalid

from android-multitouch-controller.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.