I'm not using paint or canvas, I'm using openGL and I need to draw a
bitmap on all touch points (it is not a solid color bitmap but has a
texture in it).
On Oct 17, 4:58 pm, Aks wrote:
> Use drawline() in ACTION_MOVE instead of drawPoint() ...
--
You received this message because you are subscr
Hi
I'm working on a drawing app and using openGL to draw the bitmaps on
all touch points. So far I'm successful in drawing bitmaps on all
touch points I get (including touch points in historical data) and the
speed is good.
But if I move my finger fast on the screen, I do not get all the touch
p
not smooth.
There is bug reported in the android bug base:
http://code.google.com/p/android/issues/detail?id=1740
Could it be because of the same reason?
Is there a better way of doing it? Is it possible to improve
performance using a canvas?
On Sep 19, 11:14 am, "loril...@gmail.com" wrot
Historical data for motion events helped! Thank you Blake!
On Sep 19, 9:05 am, "loril...@gmail.com" wrote:
> Will it not just move the element as I move my finger on the screen. I
> want to draw the element at all positions where my finger has touched
> so that I can see a
motion events have history. You'll need to use it to get a smooth
> > trace
> > -Blake
> > Programming Android, FTW
>
> > On Sep 18, 5:20 am, "loril...@gmail.com" wrote:
> > > I want to let a user smoothly draw elements with his finger and av
I want to let a user smoothly draw elements with his finger and avoid
any lags as follows:
public boolean onTouchEvent(MotionEvent event) {
float x = event.getX();
float y = event.getY();
switch (event.getAction()) {
Hello All,
Can anyone point to good tutorials which describe how I can smoothly
scroll a background on a glSurfaceView?
I need to have a horizontally scrolling background with various
objects that auto-scrolls as your character/player moves just like
various car/motorbikes games.
--
You receive
Hi,
I need to apply mesh warping on an image in android. Method
drawBitmapMesh can be used to define a mesh and apply the bulge warp
effect on an image.
This is the algorithm that can be used:
Remap pixels according to:
For each x, y
x' -> rn*Cos[a] + .5
y' -> rn*Sin[a] + .5
where
a = ArcTan[x
Hi,
I want to apply a bulge effect on my image using a circular brush. I
found a useful method drawBitmapMesh using which I can define a mesh
and apply the warp effect.
But I'm not sure how to define a bulge effect. Can anyone please help?
--
You received this message because you are subscribed
Hi
Is there a way we can parse apple plist xml using any libraries or
otherwise.
Any help is much appreciated.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To uns
Hi,
As a part of my application, I need to display months in a scrollable
view similar to android native calendar app.
I also need to include events to the calendar.
>From the information in the link (http://www.developer.com/ws/
article.php/3850276/Working-with-the-Android-Calendar.htm) I
unders
When I flip the keyboard, the layout changes from portrait to
landscape, activity is recreated but any background thread keeps
running.
How can I prevent orientation change/activity from being recreated
until my background thread finishes.
--~--~-~--~~~---~--~~
You
emulator, the video plays for a fraction of a sec and then there is
only sound.
Could anyone please help me in solving the issue.
On Oct 20, 5:38 pm, "loril...@gmail.com" wrote:
> The MediaPlayer /
> VideoView only support "progressive streamable contents"
>
>
leted with an error or info
PVMFErrNoResources
error (1, -15)
Anyone having an idea please let me know.
On Oct 20, 4:15 pm, "loril...@gmail.com" wrote:
> Hi All
>
> I am trying to play amp4video file from remote url on my device.
> (File size = 5.7 MB)
>
> I
Hi All
I am trying to play a mp4 video file from remote url on my device.
(File size = 5.7 MB)
I am getting following error:
Command PLAYER_INIT completed with an error or info
PVMFErrContentInvalidForProgressivePlayback
Could anyone please let me know how to resolve this error?
--~--~--
I am trying to pass a user defined object to another activity
Bundle bundle = new Bundle();
bund.putSerializable("myData", myData);
intent.putExtra("bundle", bundle);
where myData class implements Serializable interface.
I am getting following error:
java.lang.RuntimeException: Parcelable enco
Hi there,
Can someone please tell how to load byte buffer that is in the RGB565
format into a bitmap?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
Can anyone please let me know where can I get source code for
camcorder?
Also, it would be of much help to me if anyone could post a simple
example for video recording, please.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi All,
I am getting a force close message with following
QualcommCameraHardware log messages when using takePicture method on
G1 camera:
ERROR/MemoryHeapBase: mmap(fd=18, size=8388608) failed (Invalid
argument)
ERROR/QualcommCameraHardware: pmem pool /dev/pmem_camera error: could
not create mas
I get a OutOfMemoryError at BitmapFactory.decodeByteArray when bitmap
size is large; Following is the code snippet:
BitmapFactory.Options options = new BitmapFactory.Options();
options.inSampleSize = 8;
Bitmap bitmap = null;
bitmap = BitmapFactory.decodeByteArray(data, 0,
Hi,
I am trying to capture images using camera. I have set orientation to
landscape. After few images are captured I get MemoryHeapBase error
forcing the application to close:
05-30 10:35:14.283: DEBUG/QualcommCameraHardware(35): initRaw:
clearing old mJpegHeap.
05-30 10:35:14.283: VERBOSE/Qualc
Does anyone know how to decode the camera data from the
PreviewCallback? I need to capture camera preview frames and process
the bitmap obtained by decoding the frames before displaying.
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
D2 formats so it
> will take some knowledge of the collada file format to create a
> parser.
>
> On May 20, 5:00 am, "loril...@gmail.com" wrote:
>
> > Does anyone know how to load .dae(collada) files in android?
--~--~-~--~~~---~--~~
Does anyone know how to load .dae(collada) files in android?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To u
Hi there,
I need to capture an image from camera and display on surfaceview for
my project. I am trying to obtain bitmap from data in onPreviewFrame
method of previewCallback and display on surface using canvas.
Can someone please help me?
Following steps were done:
- created a Preview class e
25 matches
Mail list logo