Android :: Imports From J2ME
Aug 26, 2010
Does 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?
View 20 Replies
Jun 23, 2010
First off; I know the implementation of this should be discussed on the framework list, but I'm putting this idea out on here to see if there is a need for it. I've recently worked on a project where the designer wanted a 2 x 3 grid of icons as the apps "home" page. This threw up an interesting situation because to do this using the best resolution possible it seems we would either need to copy the actual icons into multiple directories, or create a resource alias file for each icon, neither of which is ideal (think 30+ icons across the app which needed duplicating). What I'm wondering is if there is a need for a single file which contains all of the resources to use within another resource directory. To give you an idea of the problem I'll scale it down to 3 icons which have mdpi and hdpi variants;
drawables/icon1.png drawables/icon2.png drawables/icon3.png drawables-hdpi/icon1.png drawables-hdpi/icon2.png drawables-hdpi/icon3.png
As the Dell Streak is a WVGA device that identifies itself as a large- mdpi device we wanted to use the -hdpi icons for it, but this would result in three new files containing resource aliases; drawables-large-mdpi/icon1.xml drawables-large-mdpi/icon2.xml drawables-large-mdpi/icon3.xml What I'm wondering is should this be a single file which contains a list of all the imports. For example;
drawables-large-mdpi/imports.xml which contains;.......
View 7 Replies
View Related
Feb 4, 2009
Does android resource files for values and layouts have any way to import other xml files. This is a good approach for products, where there is a core module and many sub modules. The Submodule may also use some of the core defined key value pairs etc. Also, in case with a module, if the view is very complex.. better to manage them as different xml's. Are there any other approach to handle this.. by way R inheritance etc.. I suppose only one R supported per application.
View 2 Replies
View Related
Nov 12, 2010
I have to make other developers to be able to connect to my service, but my AIDL imports my classes. I don't want to give them the source code of the service, just the APK and some kind of a stub file (java, jar?). How can I give them something - "the glue" - which makes them to use the classes in my AIDL and using the service akp without getting the sources of the service?
View 1 Replies
View Related
Aug 19, 2010
I'm working on nifty enhancements to an Android app and I've cloned its source from android.git.kernel.org. How does one deal with imports not found, for example:
import android.content.entity*
import android.os.ServiceManager
import com.google.android.collect.*
import com.android.internal.*
etc. This is with a checkout of tag Android-2.1_r1 Android2.1-update1 with ADK 0.9.7.v20100514. I'm not seeing them in the platform source - maybe I'm looking the wrong way? I spose the answer is a library or something, but it's my first time in.
View 1 Replies
View Related
Aug 9, 2010
Since I got my Droid X a few days ago I have been plagued by contact syncing issues and most notably how they relate to the facebook apps, both the Motorola Facebook and the Android market facebook. My suspicion is that these bugs are behind the comic sluggishness of my brand new phone. Here are the bugs I've discovered in the hopes that someone has a solution for me, or that the developers will catch on.
Motorola Facebook Issues:
This app imports ALL of your facebook friends to your contacts. There is no way to turn this off. I have over 1,000 facebook friends, most of whom I will never contact on the phone. This is exceedingly annoying. In reality I have about 300 contacts that I actually want in my phone which I imported easily from google. The Motorola facebook app did seem to sync up with these contacts just fine adding pictures, emails etc. Only problem was it brought everyone else along with it.
Market Facebook Issues:
- Despite setting my sync preferences to only syncing data to existing contacts, Facebook will still add anybody with a phone number attached to their facebook account to "Phone Contacts." "Phone Contacts" are different from "All Contacts" (bizarre), so it's not quite as bad as the Motorola FB importing everyone of my fb friends (phone # or not) to "All contacts", but it's still very, very annoying.
- The app will not sync pictures to contacts.
- The app creates dozens and dozens (in my case 43) "linked profiles" to each of my contacts. I am guessing this is what is causing the ridiculous sluggishness of my phone.
Conclusions:
- I am going to fully delete the Market FB app from my phone along with the data it added to my contacts.
- Since I really love having pics/fb info attached to my contacts, I am going to try using the Moto FB app by itself and just live with the 1000 or so contacts. This will be the first time I am trying the moto app w/o the market app. I am hoping this solves the sluggishness which I suspect has to do with the "linked profiles" created by the Market FB app.
Currently my phone is in the process of deleting the market FB app which is taking FOREVER. I will keep you all posted. And I'd love to hear if anyone else is having similar problems.
View 14 Replies
View Related
Feb 9, 2010
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 Related
Jun 28, 2010
is it possible to run java SE or Java ME app on android ?
View 3 Replies
View Related
Aug 26, 2009
Are there any fast tracks to porting Android to J2ME?
View 4 Replies
View Related
Aug 11, 2009
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 Related
Sep 25, 2009
For 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.
View 3 Replies
View Related
Aug 26, 2010
I 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.
View 3 Replies
View Related
Jul 5, 2010
Does anyone have j2me project.
View 4 Replies
View Related
Mar 12, 2010
Having 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 :
View 5 Replies
View Related
Jan 30, 2009
Does Android has any equivalent Sprint API of J2ME. Drawable does not seem to support clipping regions...
View 9 Replies
View Related
Jul 23, 2010
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 Related
Sep 29, 2009
I 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 Related
Dec 21, 2009
I 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 Related
Apr 25, 2010
I 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 Related
Sep 18, 2009
Is 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 Related
Oct 24, 2010
Does anybody have j2me restaurant application. I am looking for source code.
View 2 Replies
View Related
Nov 1, 2010
I 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 Related
Oct 7, 2009
I 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 Related
Oct 20, 2009
J2ME Polish claims to support porting of existing J2ME applications to Android. Has anyone tested the quality of such a port.
View 1 Replies
View Related
Jul 7, 2010
I 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 Related
Sep 15, 2010
Can 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 Related
Nov 24, 2010
Has 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?
View 3 Replies
View Related
May 28, 2012
Was trying to run a jar file(non j2me/ real time os on its own) but java code with a main.... As android is a java machine, how can i run a received jar file build on windows?
View 1 Replies
View Related
Sep 12, 2009
I have very little idea about mobile platform, though I am interested to program for mobile platform. Would you please compare between J2ME VS Android VS iPhone VS Symbian VS Windows CE. I would like to know which one is better, and if there is any VM technology to test the programs. Which one should I choose and why? Is there any IDE, debugging facilities?
View 11 Replies
View Related
May 28, 2010
When my server gaves apk file to user, I need to put some values In this file, for j2me platform I use JAD file, and put my values there: MY_KEY: SomeKeyValue MY_KEY2: SomeKeyValue2 When j2me application starts on device, I can access this values through System.getProperty. How can I do the same on android platform?
View 1 Replies
View Related