Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7506817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:21:30+00:00 2026-05-29T22:21:30+00:00

I know this question has come up in some form, one way or another.

  • 0

I know this question has come up in some form, one way or another. However, a lot of them are outdated, so I figured I’d ask again plus also ask the real reason for this question.

Both Android and BB development can be accomplished via Java, and while Android adds a lot of classes and functionality on top of the Java SDK, Blackberry seems to rely on Java’s J2ME. If I write an application that targets both platforms, especially from a media playback perspective, how much code reuse can I expect between both platforms? For the record, a PhoneGap based app is not possible (esp due to BB’s implementation of Webkit).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:21:30+00:00Added an answer on May 29, 2026 at 10:21 pm

    I work on a large app which shares common code across Android, BlackBerry, MIDP, and J2SE (i.e. Desktop Java). I would say that about 75% of the code on a given platform is common code.

    Pros:

    • One lot of code to develop/test. This is a huge positive!
    • If you ever decide to port to other platforms, you’ve already done most of it.

    Cons:

    • You’re limited to java 1.3 compatibility in the common code (no annotations, collections, etc).
    • UI differences can be a pain, particularly with the different event models. MVC is your friend here – at least you can share the model!
    • You’ll want to write wrapper classes for all the platform-dependent stuff which needs to interact with your common code. This is extra code which you wouldn’t have to write if you weren’t code sharing.

    Whether it’s going to be worth your while depends on a few things… I’d at least think about the following:

    1. How large is the project? (Larger = more of a case for sharing code.)
    2. How much of your core functionality is realistically going to be shareable? You mention media playback – if that’s going to be 80% of your app’s code then it’s probably not worth the effort to set up shared code.
    3. How familiar are you with the different platforms? (More familiar = more idea of the potential pitfalls = more likely to know which code should be shared and how to structure it.)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question has come out of another , which concerns the behaviour of console.dir
I know this questions has come up in various guises before, but this is
I know this question has been asked before, but I ran into a problem.
I know this question has been asked a bit before. But looking around I
I know this question has kind-a started religious wars in past and there might
I know this question has been done but I have a slightly different twist
I know this question has been asked before, and I took a look at
I know this question has been posted before... but I haven't found any answer
I know this specific question has been asked before , but I am not
I don't know if this question has any sense, but this is what my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.