Can someone pls explain this: int[] m = new int [5* 5]
I know m is a one dimensional array, the * inside new int[], what actually is the meaning?
Type: Posts; User: fecxelmin; Keyword(s):
Can someone pls explain this: int[] m = new int [5* 5]
I know m is a one dimensional array, the * inside new int[], what actually is the meaning?
no, i never tried jappit's lib. can you give the link the examples you mention on wiki?
i used your method to slide the image. The image can slide from one end to another. However, sometimes, the image will jump to the next image without sliding. I would say that it slide too fast that...
When we perform createImage(), the return will be Image
Image imageCreated = createImage();
imageCreated is of type Image. I want to know how imageCreated is represented. Is imageCreated a...
I tried to use getSnapshot(). The code is as below:
playerVideo = Manager.createPlayer(PATH);
playerVideo.realize();
control = (VideoControl)playerVideo.getControl("VideoControl");...
I am saving the video from camera, using the code below:
player = Manager.createPlayer("capture://devcam1");
player.realize();
control = (VideoControl)player.getControl("VideoControl");...
how do i createImage according to device screen width and height?
Below are the createImage from API:
createImage(byte[] imageData, int imageOffset, int imageLength)
createImage(Image source) ...
Can you teach me in details on the file connection API? Coding from you will be most helpful.
thanks im2amit,
but i dont want to use snapshot(). anyone can suggest any other way?
i want to get the frames of the video file. file type is .avi. how to do it?
I want to createImage() for all image file inside a folder. How do i know how many images are there in a folder?
How do i display the full image that is larger in size than the device display's size?
I want to create image array. How do i do it?
Image[] imageArray = new Image[numberOfElement];
is this how to initialize?
Image image = createImage("/i.png");
imageArray[1] = image;
is this...
i want to have something like photo browing. there are several images. when an input is inputed, current image will slide out of display and new image will slide in to display.
can anyone tell me...
thanks guys.
the problem is solved. i didnt put the classes in the same package. everything works fine once i put them in the same package.
thanks a lot.
hi jitu_goldie,
startApp()
{
displayObject.setCurrent(myCanvasObject);
}
from your code, you are setting the current display as myCanvasObject. However, my problem now is not setting the...
i have this class that extends canvas and implement runnable. i want to create object for this class inside a midlet class. how do i do it?
the mentioned class is as below:
when i crete...
i checked N97 SDK library. com.nokia.mid.ui lib does not even in the lib. can someone confirm with me whether com.nokia.mid.ui exists or not?
anyone ever encounter this problem? how do i solve this?
help!
is there other way other than using getSnapshot()? i tried getSnapshot. when i run getSnapshot repeatedly, i can get only one frame per second. i want to get more frame in one second.
runnning on N97 SDK v 1.0.
according to the link u given me, i need to:
1 - copying /lib/classes.zip from the nokia SDK and placing in the WTK lib directory and
2 - adding a line to...
after insert, error says package com.nokia.mid.ui does not exists
player = Manager.createPlayer("capture://devcam1");
player.realize();
videoControl = (VideoControl)player.getControl("VideoControl");
is there anyway that i can get the frames from player or...
i want to get the screen shot using getPixels method of DirectGraphics class. I dont know how to get the DirectGraphics object to call DirectGraphics method.
Can anyone please code an example for...
image2.getRGB(refBlk, , , , , , );
for (int i=0;i<bs;i++){
for (int j=0;j<bs;j++){
ind= j*bs+i;
Rc=(currBlk[ind]...