I have an L6 phone from motorola, a usb cable to connect it to my computer, and the Tools for Phones software so I can do things like upload my own custom ringtones or download pictures from the phone's camera.
I have some ideas for programs I'd like to run on the phone, and it supports java, but I don't see anything in the software that I have for uploading them. Even if they did, I wouldn't know where to get started.
Does anyone have any info on how to get started building apps for this or similar phones?
I've never used Morotolla's SDK but from my limited work in JME the real hook in the 3rd party tools are the emulators. Setting up a JME dev environment quickly is something that Sun got surprisingly right. Just get NetBeans with the JME pack and there is a regular emulator right in the IDE, and then you can hook in other proprietary emulators such as those from Motorolla.
Not sure what kind of apps you are looking to do, but if you're interested in games I thought Beginning Mobile Phone Game Programming was a great starting point:
Perhaps Motorola's own site
link
I have not used the new Motorola development studio, because my experience with Motorola's development tools has not been a joyous one. When working with Motorola devices I tend to stick to the standard emulator (or sometimes the Sony Ericsson emulators as those are the best I have worked with by far).
The problem with Motorola's tools is that I always seemed to spend way too much time trying to figure out how to work around them. I would run into emulator specific issues and bugs, and I honestly don't have time to waste trying to figure out why the application runs on the target device but crashes on the emulator. It should be the opposite.
A good emulator is very important for mobile development though as that is where you will do 90% of your development, testing and tweaking, only periodically trying it out on the phone.
Finally, I agree with bpapa...Netbeans is an excellent IDE for J2ME development and here is a book that I recommend (get the original if possible, not the second edition as the second edition focuses way too much on MIDP 2.0 and assumes you know the basics).
http://www.amazon.com/J2ME-Game-Programming-Development/dp/1592001181/ref=pd_bbs_sr_3?ie=UTF8&s=books&qid=1221692983&sr=1-3
Yeah, the act of asking the question pointed me in the direction of an answer, and I found this:
https://developer.motorola.com/docstools/motodevstudio/
I could still use some pointers from someone of what to expect if anyone has done this before.
Related
I was trying to run an application on my phone, when I got this error:
"This application caused an error and may not function correctly.
java.lang.NoClassDefFound
Error:
com/nokia/mid/ui/lcdui/DisplayStateListener"
Can anyone tell me how can I fix this error?
I am a noob to Java and I have just started learning it at my school. Basically, I am working to make an application compatible with my phone. I will be really grateful to you if you could guide me on how can I proceed.
Here is the link to the file: http://msoft9.com/site_down-java-apps.xhtml?get-file=1648
It looks like the application is using the socalled NokiaUI API.
This is a rather old API developed by Nokia containing User-Interface functionality for various things, such as keeping the screen alive or making the MIDlet use the whole screen (FullScreen). It was developed in the MIDP1.0 days before things like FullScreen became possible in MIDP2.0
I'm guessing that DisplayStateListener is a class in NokiaUI.
Your phone apparently doesn't support NokiaUI. Not all phones does. It is supported by other brands than Nokia though. I know that Sony Ericsson phones support the NokiaUI API.
Even today NokiaUI is still used by JavaME developers, because it is (surprisingly/sadly) still the only way to keep the screen alive. But mostly you won't notice it is used, because developers naturally use a try/catch block to utilize it.
That's obviously not what the developers has done in your case.
But you can probably find another version of the MIDlet that doesn't use NokiaUI.
More about NokiaUI API:
http://developer.nokia.com/community/wiki/Nokia_UI_API
I have three devices, an LG, Sony and one of which being an HTC and I really like the Music Player and the Camera, but now I wish to port the Music Player to my Nexus 5. I know this isn't something that can be done easily, but I'm pretty good at modding and theming and have had experience in app modding. I have searched everywhere on how I can port OEM specific applications to a specific device, and I found one poost but it wasn't really specific. Thread was on xda by Rizal.
My question is how can I port OEM specific apps, if you know of any method to port applications that'll be great, if you have had experience on porting applications please give me a method and some tips.
There is no direct "method". I've ported some apps and it basically involves the following:
Install app on device
It will most likely crash, debug it
Then decompile the classes.dex to smali files and start msking edits
Making these edits requires knowledge of Java to retrace the code.
I am an Indie Game Developer, and I am currently building a game for the Android Platform, using NDK.
My problem is that, this game is now more than 20MB in size and is taking a lot of time to deploy and start up on my Android Device, which is becoming a pain and is slowing me down.
So, I wanted to know
Is any way to hot deploy just the delta changes, that I make to my Android Project, instead of building and installing the whole thing to my Android Device again and again?
Is it even possible? I am looking for some thing like JRebel tool, for the Java VM and Java Containers.
[Update: Any other thoughts on bringing down the build time, please?]
Thanks and Cheers!
[Note: Just wanted to mention that I will not be be able to use the emulator for faster builds, because my game uses OpenGL library heavily, which the emulator cannot handle.]
So, I wanted to know if there is any way to hot deploy just the delta changes, that I make to my Android Project, instead of building and installing the whole thing to my Android Device again and again?
Not for stuff you are packaging inside your APK.
Just wanted to mention that I will not be be able to use the emulator for faster builds, because my game uses OpenGL library heavily, which the emulator cannot handle.
I would hope that the latest emulators (with hardware acceleration) and the x86 emulator images for 2.3.3 and 4.0.3 would run your game acceptably fast.
Actually hotswaping delta changes on Android is possible. You should use some special tools to achieve this behavior. You can try the tool: InstaRelaoder use "inirwetrust" as the password
JRebel is available for Android, and supports NDK projects.
https://zeroturnaround.com/software/jrebel-for-android/
Android Studio 2.0 has now an Instant Run feature.
More info in this link.
//Backstory
i have a LG Rumor Touch phone, and it comes with a couple social media apps that are just awful to use, and restrictive as far as features.
//Question
Ive worked with people before making iphone apps who would write basically like a "wrapper" that would just invoke a browser window inside the app to load a site where the app actually ran, im looking to do something similar but using java, but am wanting some advice as to where to get started.
Take a look at PhoneGap, the Android version looks like a good fit for what you are trying to accomplish, since you mentioned Java in the tag.
I dont know enough about the LG Touch OS development... so I apologize if off track
Here is an Android Quick Start
Every time I look for mobile phone development I see Android, WinMobile, iPhone, RIM, etc...
Are small phone applications dead? I remember having a small collection of games and apps that run on motorola, sony ericsson and any other java-compatible phone. My Question is:
How do I start developing those applications? Is there some kind of market for them? And, last but not least, Are these applications dead with the arrival of complex UIs and devices like iPad, iPhones, Android, etc...?
thanks and hope someone can throw some light on this.
I bought a cheap phone for my mom today that used Brew as its O/S. Those small Java apps would be ideal for such a phone, and it was humbling realizing that still the majority of the world don't really use "smartphones". However, the problem is there's so many different phones, different brands, and no centralized market place, making such an attempt difficult at best. If you want to program Java apps for mobile phones, Android still uses Java.
David i think these simple application have market but not really comparable to new technology.And, In my views the first step must be J2me.