Community Questions & Answers
How to use Canvas module
Anyone has experience with the [Canvas module](https://github.com/appcelerator/titanium_modules/blob/master/canvas/mobile/ios/documentation/view.md)? The example is clear: call canvas.begin, do my works and finally call canvas.commit And if I want to edit...
Mobileweb Module Development?
Is there a timeframe for when we can develop modules for Mobileweb? I'm particularly interested in being able to wrap a <canvas> element to use for drawing. I've checked the nightly builds and it appears there is something there, but I'm wondering...
Write autograph with stylus support
I need to know what the best way is to deliver a drawing surface on a Android tablet with Titanium. Our client needs to be able to set autographs with a stylus on a tablet. We need to store that autograph as an image. I've seen a canvas module in the...
Imaging apps
Does Appcelerator support any kind of APIs capable of reading/writing JPG or even better, RAW images? The image would be stored as arrays of rgb pixels. Some implementations of the Canvas object allow bitmaps to be processed pixel by pixel, but saving your...
Simple Canvas Question
Hello everybody, Just a simple question: is it possible to draw a Star using Titanium API for Android platform? because until now, I found that we could draw a circle !!! Thanks
why is radial gradient drawn on web view canvas so distorted?
So we can't do radial gradients natively on Android yet. To get around this, I was trying to use a canvas in a web view to draw a radial gradient on the background of a view. I create a web view with html containing the canvas and the javascript tag that...
Where is TiUICanvasView being used?
This is rather an info question. I see this class has some interesting methods like drawing Bezier curves etc. Where is it being used since I don't see 'canvas' nowhere in...
pinch in/ out canvas in a webview
I think everything is in the title :) I've also seen that there's something about a native canvas in the titanium sdk, any one about it ? Thanks for your help
HTML5 Canvas not working with Toshiba Excite
I have two tablest Samsung Galaxy Tab 2 (4.0.4) and Toshiba Excite (4.0.3) why can I get the exact same html5 canvas drawing and some css webfonts to work on the samsung and not on the toshiba??? anybody have any ideas?
HTML5 Line Graph
Does Appcelerator support RGraphs? If yes, how to include them in the project? if no, what are the other ways to do that?
HTML5 Canvas on webview really slow
After I take a picture on the iphone I have setup a temporary button to convert that picture to a string by passing the file to a html file where I draw it on the canvas and then use toDataURL to convert it to a string. That all works great but it takes...
Webview Canvas.ToDataURL conversion to a valid PNG (and then save to local gallery)
Hi Gurus, my app is currently rendering a few simple polygons using Webview's canvas. I want to save the output of my webview as a png. I am aware of ~~~ var image=webview.toImage(); Ti.Media.saveToPhotoGallery(image); ~~~ which works perfect. However, it...
Any good canvas, image sprite + clock samples or guides? (Android)
After getting all setup and running (it took a bit of sweat and help via twitter). I started writing my first game. It's very simple and I'm just porting code I had already written. I'm trying to find how to use the Titanium API for generating Canvas,...
Is there code assist for Canvas context elements?
Sorry if this question has been asked before; I've tried searching but couldn't find anything definitive. I know there's code assist for the <CANVAS> HTML tag, but is there any way to get code assist for the canvas 2D element in JavaScript (the...
Pass image to canvas HTML5
My question is how to pass image (file , blob) to a webview into a canvas element ? The intention is to pass image to canvas so us to be able to convert the image to a string An example of the Html script is as below function draw()...
WebView: Path to Application Data
Hey guys - Im using a WebView to get access to pixel information via canvas. I'd like to load a photo from the library and save a copy to the app data folder (this works fine), but I then need to load that photo to an image object, in a WebView. Is it...
Webview innerSize
Hi, i have a problem with a html page in webview, some times the innerHeight are 1px and the innerWidth are 10px. But the size of the webview is 500x400px. The html page contains a body (500x400) with a canvas (500x400). Has every one a idea?
html 5
Hi, it is possible to use an html5 canvas without a WebView? Thx
no touch events in HTML5 canvas drawing in WebView
hello, from pieces of code gathered from this board I've managed to get a small html5 canvas drawing working on the ipad emulator. However, it doesn't work on a real device. I'm stuck on what to do, since the code works fine in the emulator. any clues or...
HTML5 canvas drawing in WebView
Hi, I have pulled together a simple html5 canvas drawing implementation, and am trying to get it to work with a webview. (It works fine in Safari on the desktop, for example). However, there seems to be a conflict between the 'mousemove' canvas event and...
Canvas Performance: Titanium vs Google Chrome and Safari
I'm developing a desktop app using canvas and I've noticed that in Titaniun it runs much slower than in-browser (Google Chrome or Safari). Exactly the same code. (Using Mac by the way, although I've seen similar numbers of Windows builds of my app) I...
Native Canvas API
https://appcelerator.lighthouseapp.com/projects/32238/tickets/908-implement-native-canvas-api What is this exactly? Is this HTML5 Canvas or is this a native Canvas that will allow developers to draw things to the screen faster than moving native UI...
Native canvas support
Hello, I created an app a while ago in 0.8 and I am rewriting it in 1.0. It makes heavy use of canvas. In [this post](http://developer.appcelerator.com/question/11/can-we-develop-an-opengl-es-module#551) mr Haynie hints towards a working canvas...
Showing 1-23 of 23