Showing posts with label environment. Show all posts
Showing posts with label environment. Show all posts

Wednesday, April 20, 2011

Over the air installation for BlackBerry

When you know it -- is simple. But I spent few hours figuring out how to do this.

So you need to do following (Using Eclipse IDE):
  • Go to BlackBerry/Package/All (make sure you are building for device so all binaries will be signed)
  • in your project folder go to deliverables\Web\
  • copy all files to your webserver
  • Important! Add mime type for jad text/vnd.sun.j2me.app-descriptor jad
  • Here is instruction how to do this on godaddy's shared hosting
  • Give your customers link to jad file

I hope this will save you some time

Thursday, March 10, 2011

Converting Android java code to BlackBerry

So far it looks like mission impossible

First we need to downgrade language level from 1.6 to 1.3. In this how-to instruction you need to cry after this :)

I need to convert:
  • UI layer
  • Business Logic
  • SOAP calls
Let's look closer and see what we can do.
We can forget about UI unless I'll be able to find a way to parse Android's layout XMLs and generate something in runtime.

For now I prefer to plan generate sources for BlackBerry, Android and iPhone. So it will be old good Metaprogramming. I like this idea but rough estimation and debugging process is very frightening.




Sunday, March 6, 2011

Development environment. The final.

It was bad. Really bad!

I spend too much time trying to make everything work for me!

First I was going to use IDE from RIM. But it works only with devices. And debugging on devices is too painful.

I found great post form developers with similar issue. I also like to use IntelliJ.

I did all steps from post.

Killing moment for me was to restart simulator each time I have new binaries.

So my current solution is:
  • I do all coding in IntelliJ on mac;
  • folder with sources is shared with virtual windows machine;
  • I run and debug code in Eclipse on Windows inside Virtual machine;
  • It sounds horrible but using Unity mode of VM Ware is better then nothing (in my case using only Eclipse)
  • I even got windows keyboard to not switch my mind in Mac's
So far it looks good until I make a mistake and my application crashes inside simulator....





Thursday, March 3, 2011

Blackberry development environment

OK. I have task. I have Mac Book Pro with 8 Gb of RAM. Nothing will stop me!

Started collecting devices for testing. Was surprised that everybody is happy to give me these devices.

Just found out that blackberry has IDE for Mac OS. Geart! I can use friendly for me environment.

Installed. It is useless. It work only with devices.

On device you can only run in debug mode.

It takes forever to attach debugger.

If your application crashes -- device will restart!

Looking for alternatives.