Android :: Sprite Equivalent API Of J2ME?
Jan 30, 2009Does Android has any equivalent Sprint API of J2ME. Drawable does not seem to support clipping regions...
View 9 RepliesDoes Android has any equivalent Sprint API of J2ME. Drawable does not seem to support clipping regions...
View 9 RepliesFor my useless project of the month I'm working on a 'emulator' to run J2ME programs on Android. But now I'm stuck with the J2ME Sprite implementation. Specifically the transformations used in it.
In my Sprite I have a bitmap with three character images. I would like to paint the second frame mirrored or rotated 90 degrees. What would be the best way for it?
I have following code that paints the given frame without any transformations.
frameX, frameY are frame position coordinates on give sprite bitmap.
Rect src = new Rect(frameX, frameY, frameX + spriteWidth, frameY + spriteHeight);
Rect dst = new Rect(paintX, paintY, paintX + spriteWidth, paintY + spriteHeight);
canvas.drawBitmap(image, src, dst, null);
As I understand I need to make some matrix magic on the canvas, but I have not been able to figure this out.
Not sure which one to go for so thought I would set up this poll and see which is the most popular.
View 3 Replies View RelatedCan someone confirm for me that point sprites are not currently supported in Android? Calling gl.glEnable(GL11.GL_POINT_SPRITE_OES) is triggering a GL_INVALID_ENUM error, so I assume this is the case, but I'd appreciate a confirmation before I proceed with an alternate design.
View 4 Replies View RelatedI want use point sprite (OpenGLES Extension) API in Android NDK(r4).
right here
int att[] = {0,0,1};
glPointParameterxv( GL_POINT_DISTANCE_ATTENUATION, att );
But, doesn't work it.
I am working on a 2d library for creating a game including sprite collisions, sorting and animation converting (.spr to Java classes/ bmp's).
At first I used png's with the background color being transparant (24 bits png image) but I want to use 256 color bitmaps with the background color being transparant.
Is this possible to do color keying in android? I looked at several other threads about this topic but the all ended without a solution.
Also I am now using the canvas.drawBitmap to render my sprites, but will using opengl be faster?
I knocked a cup of Sprite onto the floor and it dumped out right over the micro-USB end of my charger (as in all of it was emerged in Sprite). So it's been a few days and I know it's completely dry, but I was wondering or not if it would be okay to still use it? I didn't know if that somehow messed the cable connector up. Luckily I still have the charger for my old BlackBerry Storm.
View 1 Replies View Relatedi want to create a basic animation with a sprite sheet. there is only one row with about 2 pics (that's the first animation).
View 3 Replies View RelatedAfter following Matlock's post about upgrading to 2.1 I tried to restore all of my files using Sprite Mechanic. (Going back and re-reading his post he says that it doesn't work in 2.1-DOH). After installing Astro I tried re-installing Sprite Mechanic from the backup folder that I made with Sprite Mechanic thinking that was the way to get all of the back-up apps out of the back-up folder and onto the phone. I started Sprite Mechanic and proceeded to push the "Restore" tab and it brought up a list of all backed-up apps. I scrolled through them, deciding which ones I really wanted back and which ones I could do without, and then pushed the "Restore" button. Well, my phone froze up and would only display the status bar across the top. I tried pushing different buttons, but to no avail....
View 6 Replies View RelatedI'm using App Inventor to develop a small game as Mole Bash.
The tutorial I'm following shows me how to make an Image Sprite appear on random locations given a certain amount of time.
I'd like to give the Image Sprite a list of 9 coordinates where he should position the image after the given amount of time in a random way.
So, I believe it should go something like this:
Procedure - Moveto - x1 OR x2 OR x3 AND y1 OR y2 OR y3
I can't seem to get the logic command OR on this procedure, since it will only let me give a min and max number for both x and y.
I know android is better than J2ME, but i need to know what can i do with android but j2me cant? (just about UI), some examples could be...
View 2 Replies View Relatedis it possible to run java SE or Java ME app on android ?
View 3 Replies View RelatedAre there any fast tracks to porting Android to J2ME?
View 4 Replies View RelatedDoes anyone know the equivalent of these imports from J2ME to Android?
import javax.microedition.io.Connector; import javax.microedition.io.HttpConnection; import javax.microedition.io.SocketConnection; import javax.microedition.io.StreamConnection;
Also, I needed to import midpapi20.jar but I don't want to use packages outside Android into my app -- would I be able to find most of the related packages in Android libs?
As for as i know that android application can be developed in core java only.But is it possible to code android with J2ME.Please give some example codes.
View 3 Replies View RelatedI would like to remake a program i made for android in android it looks pretty nice and is very touch friendly
now i need to make it for symbian. what would be the best approach to achieve similar graphics and functionality
i tried searching in j2me
but the graphics look so very outdated :
Here are some screens of the android interface
http://i77.photobucket.com/albums/j74/bertyhell/krist/datacheck.png
[url]
I just need to make sure the buttons are big enough and that scrolling can be done with hand gestures.
Does anyone have j2me project.
View 4 Replies View RelatedHaving some problems trying to get a 3rd party J2ME app running.I have tried these instructions: MicroEmu: Converting JavaME applications to the Android platform (revisited)...And got something to compile, but the thing just crashes when launched. I also tried URL.... But it's dead. (any other services?)
Trying to get a Formula1 live timings app working on android (it seems to support a very long list of phones, but not Android :
Is there any way to convert J2ME applications into Android applications? The only way I have come across is using microemulator which if I used to convert J2ME app that uses Camera or Bluetooth APIs doesn't work.
View 6 Replies View RelatedI have an Android G2 and would like to run the same applications that are running J2ME on my other cell E62.
View 2 Replies View RelatedI m currently evaluating the pros and cons of devleoping the application for Android devices using J2ME polish, please send me accross your views on this. What are the technical issues, legal issues etc....
View 2 Replies View RelatedI want to know if exists a converter for a j2me source-code to android. Listen, itīs not a runner, like a midp runner for android, it īs a converter for a source code. A tool for translate a source code for a new plataform, from j2me to android.
View 6 Replies View RelatedIs it possible to install J2ME applications on andriod device? I read somewhere that its not possible. are there any alternate ways (such as third party support) to run J2ME apps on android device.
View 2 Replies View RelatedDoes anybody have j2me restaurant application. I am looking for source code.
View 2 Replies View RelatedI developed j2me based application with LWUIT framework. Is it possible to change the this application to android based application? Or can i need to create new project?
View 3 Replies View RelatedI want to learn mobile programming, specifically Android or iPhone programming, but not sure if it is necessary to learn J2ME before working with Android or iPhone. I know only core Java (and OOP concepts very well).
View 7 Replies View RelatedJ2ME Polish claims to support porting of existing J2ME applications to Android. Has anyone tested the quality of such a port.
View 1 Replies View RelatedI have been tasked with updating my teams dev. environment. This environment will be used to develop and test J2ME and Android mobile applications. I am looking at NetBeans 6.8 and Eclipse 3.6. Do you have any recommendations for why either of these would be good or bad for this? (aka mobile plugin problems, compatibility issues, ease of setup/maintenance for team members, high quality mobile dev. support, etc.)
View 7 Replies View RelatedCan we use j2me packages in android development? I just mean to say like for eg: sax parser is supported in both the platforms. So can we code the business logic in j2me platform and use that class in android platforms and vice-versa?
View 1 Replies View RelatedHas Android really replaced J2ME and WML?
If Android has replaced them then please tell what is the reason for that?
How has Android replaced the other two mentioned above and what is the reason that J2ME and WML cannot withstand against Android in market?