Abondonment of BlackBerry specific APIs?

Howfar can I abandon the use of the API specific BlackBerry without losing the ability to write sophisticated applications?

The idea is to reduce the use of BlackBerry specifig API to be able to port the application to other devices JavaME, I know that it is possible to implement MIDlets for BlackBerry, also. But what keyfeature what I lose if I give up the BlackBerry API?

I had a look at the overview of the BlackBerry API. But I don't know if it should be used.

For example the digital rights management:

Instead of using net.rim.device.api.drm, I can use JSR 117 SATSA.

If I do not pay much attention to achieve a BlackBerry like look & feel of the application, I can make functionailites Wifi, USB, Bluetooth connections, works with the file system and so we without BlackBerry specific APIs?

NOTE: My application only works in a local network without using Internet and BlackBerry Enterprise Server and suchs things.

Thank you
EnochRoot

I understand your point of view, but what do you consider "other J2ME devices?

For example, a function is listed in a JSR doesn't mean that Blackberry or Android supports this feature without a need for porting. Especially when any form of networking is used, and certainly when it comes to the GUI.

Ideally, you can simply paste using Midlets, but don't ignore the importance of a good UI appearance. If the majority of people do not keep important quality of graphical interfaces, Linux would be the dominant operating system and iPhones would be not nearly as popular as now.

My preference is to develop a generic code base and then build the platform specific GUI and functions on top. It is best to take advantage of the features of the native platform.

Tags: BlackBerry Developers

Similar Questions

  • Help needed on the BlackBerry PUSH API

    Hi ALL, I've learned that by using the BlackBerry PUSH API, we can send data to any user of blackberry (beyond the company) (reference: BlackBerry_Push_APIs_Whitepaper.pdf).

    (1) is it necessary to configure BlackBerry Enterprise Server to use the BlackBerry PUSH API.

    (2) using the PUSH API, can we send data or store data or add data to a file in persistent memory on the BlackBerry smartphone.

    Thanks in advance.

    you need a bes

    You can do whatever you want with the received data, which includes adding them to the other persistent memory stuff.

  • Z10 blackBerry blackberry specific 10 backup and restore!

    Hello
    How can I save a specific application or data without backup in my whole phone?
    My phone has problems and I want to restart to factory settings. The problem is I can not save password blackberry guardian without saving the settings, and I have a checkbook app I cant backup without saving applications!

    Help, please.

    Thank you

    Hey blakhaddad,

    Welcome to the community of BlackBerry Support Forums.

    Thanks for the question.

    You can do a selective restore by going to BlackBerry link and click settings.  Click on restore data from device and choose from a backup file and you can choose the settings Application data, media,

    However, you cannot restore unique requests.

    Let me know if you have any other questions.

    See you soon.

  • BlackBerry specific Q10 of his behavior in his pocket

    Hi all

    I am the proud owner of a Q10 (since only a few days) and I'm looking for the function that I have with my 'old' Bold 9900; It is the ability to put a specific 'his behaviour' (within a profile) when the phone is placed in the Pocket (BB Moose). For example, only vibrate in my pocket.

    This possibility has disappeared from OS 10 or am I missing something here?

    Thank you very much in advance for your help

    Hello Messagepads,

    Thank you for your question.

    In and out of the Holster profile settings are not present on the BlackBerry 10 smartphones. Let us know if you have any other questions.

  • Injection of strike to new Blackberry 10 API

    JYL

    Please can someone confirm that the Injection of strike is not possible on the new APIs, as if it were on the development in Java for the Blackberry OS 7?

    Best regards

    André Maricato.

    Not yet, but it's on the roadmap of native SDK, see "screen Services.

  • BlackBerry twitter api

    Hello world. First of all thanks to you all. I had the overwhelming support of this platform. I have to build a BB app where I need to show the update to twitter from a specific twitter account. Is there anyway to achieve this. Do I need to know the password of this account to implement this twitter

    Sorry only answer because no one else has.

    Brief and I have never done, is that you know a secret of Twitter and a key to twitter that I believe that you get when you register as a developer on twitter.  I never did, but I used the secret is of others, and to keys when coding twitter integration for them.

    About the API to use, the best one of my comments is Twitter API Me 1.4, although I've never used that code, I have something that I developed myself than just Tweets.  Don't forget it is a license associated with this code.

  • BlackBerry Secure API error without reason

    Hi, I can't load my application on the phone.  According to this http://na.blackberry.com/developers/resources/A60_How_And_When_To_Sign_V2.pdf I should not sign my application.

    There are all imports API in my application so far, none of which is course, according to the document above:

    Nevermind, found. It is net.rim.device.api.system.Display to import;

  • Synchronization to Smartphones blackBerry - specific connector error problem

    Suddenly, I get the following message when I try to sync my curve for my Windows 7 PC.  "Connector specific error.

    It means maybe the son died, but, if so, how it would link?

    Hello Superwall,

    The following article will provide you with more information on this error message:

    "Connector specific error" when syncing with a BlackBerry smartphone running BlackBerry 6 or 7 BlackBerry - http://www.BlackBerry.com/BTSC/KB26181

    We hope this helps.

    Thank you.

  • OPM quality specification API and API rules of validity

    Hello

    I wanted to create a specification of quality and its rules of validity to the underside of the API Help, did someone could provide examples of scripts for the same, I would really appreciate your help on this?

    gmd_spec_pub. CREATE_SPEC

    gmd_spec_vrs_pub. CREATE_WIP_SPEC_VRS

    gmd_spec_vrs_pub. CREATE_INVENTORY_SPEC_VRS

    gmd_spec_vrs_pub. CREATE_CUSTOMER_SPEC_VRS

    gmd_spec_vrs_pub. CREATE_SUPPLIER_SPEC_VRS

    Thank you

    RAM

    l_gmd_spec_tbl: = NULL;

    l_gmd_spec_tbl.spec_id: = NULL;

    l_gmd_spec_tbl.spec_name: = spec_rec.spec_name;

    l_gmd_spec_tbl.spec_vers: = spec_rec.spec_vers;

    l_gmd_spec_tbl.spec_desc: = spec_rec.spec_desc;

    l_gmd_spec_tbl.inventory_item_id: = spec_rec.inventory_item_id;

    l_gmd_spec_tbl. Review: = NULL;

    l_gmd_spec_tbl.grade_code: = NULL;

    l_gmd_spec_tbl.spec_status: = gn_status;

    l_gmd_spec_tbl.owner_organization_id: = spec_rec.organization_id;

    l_gmd_spec_tbl.owner_id: = l_user_id;

    l_gmd_spec_tbl.sample_inv_trans_ind: = NULL;

    l_gmd_spec_tbl.delete_mark: = 0;

    l_gmd_spec_tbl.text_code: = NULL;

    l_gmd_spec_tbl. CREATION_DATE: = gd_sysdate;

    l_gmd_spec_tbl.created_by: = l_user_id;

    l_gmd_spec_tbl.last_updated_by: = l_user_id;

    l_gmd_spec_tbl.last_update_date: = gd_sysdate;

    l_gmd_spec_tbl.last_update_login: = l_user_id;

    l_gmd_spec_tbl.spec_type: = 'I ';                     -lc_spec_type;

    l_gmd_spec_tbl.overlay_ind: = NULL;

    l_gmd_spec_tbl.base_spec_id: = NULL;

    l_spec_tests_tbl: = NULL;

    l_count: = 1;

    l_spec_tests_tbl (ln_count) .spec_id: = NULL;

    l_spec_tests_tbl (ln_count) .test_id: = l_test_id;

    l_spec_tests_tbl (ln_count) .test_method_id: = l_test_method_id;

    l_spec_tests_tbl (ln_count) .seq: = l_seq;

    l_spec_tests_tbl (ln_count) .test_qty: = l_qty;

    l_spec_tests_tbl (ln_count) .test_qty_uom: = l_uom;

    l_spec_tests_tbl (ln_count) .min_value_num: = l_min_value_num;

    l_spec_tests_tbl (ln_count) .target_value_num: = l_target;

    l_spec_tests_tbl (ln_count) .max_value_num: = l_max_value_num;

    l_spec_tests_tbl (ln_count) .min_value_char: = null;

    l_spec_tests_tbl (ln_count) .target_value_char: = null;

    l_spec_tests_tbl (ln_count) .max_value_char: = null;

    l_spec_tests_tbl (ln_count) .test_replicate: = 1;

    l_spec_tests_tbl (ln_count) .check_result_interval: = 1;

    l_spec_tests_tbl (ln_count) .display_precision: = l_display_precision;

    l_spec_tests_tbl (ln_count) .report_precision: = l_report_precision;

    l_spec_tests_tbl (ln_count) .test_priority: = NULL;

    l_spec_tests_tbl (ln_count) .optional_ind: = Upper (substr (spec_test_rec.optional_ind, 1, 1));

    l_spec_tests_tbl (ln_count) .retest_lot_expiry_ind: = Upper (substr (spec_test_rec.retest_lot_expiry_ind, 1, 1));

    l_spec_tests_tbl (ln_count) .test_display: = spec_test_rec.target_desc;

    l_spec_tests_tbl (ln_count) .viability_duration: = 0;

    l_spec_tests_tbl (ln_count) .creation_date: = gd_sysdate;

    l_spec_tests_tbl (ln_count) .created_by: = l_user_id;

    l_spec_tests_tbl (ln_count) .last_updated_by: = l_user_id;

    l_spec_tests_tbl (ln_count) .last_update_date: = gd_sysdate;

    l_spec_tests_tbl (ln_count) .last_update_login: = l_user_id;

    BEGIN

    Apps.gmd_spec_pub.create_spec

    (p_api_version-online 2.0

    p_init_msg_list-online apps.fnd_api.g_true

    p_commit-online apps.fnd_api.g_false

    p_validation_level-online apps.fnd_api.g_valid_level_full

    p_spec-online l_gmd_spec_tbl

    p_spec_tests_tbl-online l_spec_tests_tbl

    p_user_name-online l_user_name

    x_spec-online x_gmd_spec_tbl

    x_spec_tests_tbl-online x_spec_tests_tbl

    x_return_status-online l_return_status

    x_msg_count-online l_msg_count

    x_msg_data-online l_msg_data

    );

    ' IF l_return_status <> s ' THEN

    l_msg: = ";

    BECAUSE me in 1... l_msg_count LOOP

    l_msg: = SUBSTR(l_msg ||) ' | ' || SUBSTR (apps.fnd_msg_pub.get (l_msg_count - i + 1, 'F'), 0, 200), 1, 2000);

    END LOOP;

    l_msg_data: = l_msg;

    Apps.fnd_file.put_line (apps.fnd_file. JOURNAL,'TRACK 13.4 data :'|| l_msg_data);

    END IF;

    EXCEPTION

    WHILE OTHERS

    THEN

    Apps.fnd_file.put_line (apps.fnd_file. JOURNAL,'API HAS RAISED THE ERROR: ' | SQLCODE. '-'|| SQLERRM);

    Apps.fnd_file.put_line (apps.fnd_file. NEWSPAPER, "FOLLOW 13.6" | "» l_return_status);

    END;

    l_count: = 1;

    l_inventory_spec_vrs_tbl (l_count) .spec_vr_id: = NULL;

    l_inventory_spec_vrs_tbl (l_count) .spec_id: = ln_spec_id;

    l_inventory_spec_vrs_tbl (l_count) .orgn_code: = 'PR1 ';

    l_inventory_spec_vrs_tbl (l_count) .spec_vr_status: = 100;

    l_inventory_spec_vrs_tbl (l_count) .start_date: = gd_sysdate;

    "l_inventory_spec_vrs_tbl (l_count) .end_date: = December 31, 2014;

    l_inventory_spec_vrs_tbl (l_count) .creation_date: = gd_sysdate;

    l_inventory_spec_vrs_tbl (l_count) .created_by: = l_user_id;

    l_inventory_spec_vrs_tbl (l_count) .last_updated_by: = l_user_id;

    l_inventory_spec_vrs_tbl (l_count) .last_update_date: = gd_sysdate;

    l_inventory_spec_vrs_tbl (l_count) .last_update_login: = l_user_id;

    l_inventory_spec_vrs_tbl (l_count) .organization_id: = ln_organization_id;

    BEGIN

    Apps.gmd_spec_vrs_pub.create_inventory_spec_vrs

    (p_api_version => ' 1.0' ")

    , p_init_msg_list-online 'F'

    , p_commit-online 'F'

    p_validation_level-online apps.fnd_api.g_valid_level_full

    p_inventory_spec_vrs_tbl-online l_inventory_spec_vrs_tbl

    p_user_name-online l_user_name

    x_inventory_spec_vrs_tbl-online l_inventory_spec_vrs_out_tbl

    x_return_status-online l_return_status

    x_msg_count-online l_msg_count

    x_msg_data-online l_msg_data

    );

    ' IF l_return_status <> s ' THEN

    BECAUSE me in 1... l_msg_count LOOP

    Apps.fnd_msg_pub.get (p_msg_index-online i

    , p_encoded-online 'F'

    p_data-online l_msg_data

    p_msg_index_out-online l_msg_ind

    );

    END LOOP;

    END IF;

    EXCEPTION

    WHILE OTHERS

    THEN

    Apps.fnd_file.put_line (apps.fnd_file. JOURNAL,'API HAS RAISED THE ERROR: ' | SQLCODE. '-'|| SQLERRM);

    END;

  • Is there a way to query users for specific api access on app download?

    For example, we need access to net_rim_bbapi_phone in a part of our application.  Currently, the application prompts the user for access... unless the user has enough foresight to check "Set application permissions" before downloading and then comes to allow access to bbapi_phone by default.

    Would be nice if we could draw the attention of the specifcially from the user to the fact that we need access to net_rim_bbapi_phone to download.

    You can use the ApplicationPermissions and ApplicationPermissionsManager classes to allow your application to request the settings as needed.  For an example, take a look at the applicationspermissionsdemo provided with the BlackBerry JDE.

  • Build an html5 app, I only .html, .js, images, css file folder files / files. How to build a web app/html5 app in that if I did not file config.xml?

    Build an html5 app, I only .html, .js, images, css file folder files / files. How to build a web app/html5 app in that if I did not file config.xml?

    I downloaded the game codes and try to build games using these codes, but I had only

    data folder

    image folder

    js file with .js files

    file .html

    main.js file

    In this case, how build/package web app /html5 app if no config .xml given?

    You will need create your own file config.xml. There are samples and documentation on each of the items on our microsite here:
    https://developer.BlackBerry.com/HTML5/documentation/gold/working_with_config_xml_file_1866970_11.ht...

    Note that all the elements in the samples are not necessary. For each piece, make sure that you actually need in the config.xml file. For example, most web game conversions will not need elements (using the old SDK) since they make use of BlackBerry-specific APIs.

  • J2ME GPS

    Hello

    I'm looking for a simple source J2ME GPS code to test in my blackberry JDE and Simulator.

    Before I learn J2ME GPS, I want first of all to download a source code example, compile and test the application.

    I googled some of them, but many of them look at commercial or don't provide source to download codes.

    Please let me know the link if you know of a relevant web site of GPS.

    Thanks in advance.

    BlackBerry devices support JSR 179, which is the standard J2ME API set used to access GPS.  There isn't an API specific BlackBerry.

    However, if you want to integrate with BlackBerry Maps, you will need to use BlackBerry specific APIs.

  • Api 5.0 blackBerry Push service works for any server?

    Hi BlackBerrians,

    I want to use BlackBerry push api available in os 5.0 with our server. Is it possible use the push api for application entrepreneur?

    Hello

    Yes it is possible, that it is supported for 5.0.

    https://developer.BlackBerry.com/services/push/

    For a good start, you can see-

    http://supportforums.BlackBerry.com/T5/BlackBerry-push-development/push-SDK-using-low-level-APIs/TD-...

  • WebWorks for Playbook and using photo APIs

    Hello

    The API documentation, I found that the camera what API can be used to call the camera from an application. Thus, it can be used to capture an image that will then save the image in a folder of the playbook? If Yes, how can I know the name of the file that is the last one added to the camera file in the shared location? Please help me with this.

    Thanking you in advance,

    Praveen

    garciaf wrote:

    Is there a way to get the photo you take with the camera.

    You must use the Phonegap Framework http://www.phonegap.com/

    They provide a specific function that represent you to get the URI of the file or data directly.

    (But if you get the data directly there is a problem of memory)

    Another way is to encode your own API in Java and add in the web works. (If you choose this solution and the success you, I would be very interested in the result)

    Concerning

    Hi garciaf,

    You are right that PhoneGap has this API for smartphones, but they have not yet supported for Tablet OS.  And on Tablet OS, you can't create an extension using Java, because it is not a Java virtual machine.  You must create an extension with ActionScript

    The takePicture() API becomes even closer now to PlayBook and smartphone.  You can see what the API signature will look like in the jsdocs found here:

    https://github.com/BlackBerry/WebWorks-API-docs/BLOB/Delta/API/blackberry_media_camera.js

    It will be the signature of the API used for both BONES of tablet in the 'Delta' version and the Smartphone 'Epsilon' version:

    https://github.com/BlackBerry/WebWorks/Wiki/Roadmap

  • Use just JavaME or BlackBerry JDE

    Hi all, I have this simple doubt, im begins with the programming of blackberry, I already checked the docs of blackberry and examples, got the eclipse plugin and I like the API and everything,
    but I wonder how you can do just with javeME, maybe in this way he would be transferred to other devices.

    So my question is how much can be done for blackberry comes with javaME?
    You can access the network? bluetoth, mail, etc. and portable with other devices.

    Thanks, Eduardo.

    Most JavaME/J2ME phone are Bluetooth, network connections, audio, etc.

    There are many classes that are specific to the BlackBerry that you simply cannot do with just J2ME/JavaME without recreating the code yourself or find libraries do.

    If you want to develop for multiple platforms, I would say you should find as J2ME classes, that you can use and if and only if you need a BlackBerry specific class, then you should use it.

    This should get you most portability.

    * Note: In some cases, you can not mix and match the two a bit of elbow grease. **

Maybe you are looking for

  • How big can a video on an iPhone 6s be projected?

    How big can a video on an iPhone 6s be projected? We would like to use for a school presentation in an auditorium.

  • How to spend my credit

    Hello I want to change my country of apple ID. But in my account I just $ 0.16 and I do not know how to spend it. Please help me!

  • LENOVO Y510P BATTERY PROBLEM

    I bought this laptop about 2 or 3 months ago and everything went on pretty well until this battery problem has occurred. First, he got stuck on 33%. It did not matter how long I charge. It has always been 33%. Then he began to fall little by little.

  • Why does take so long access and loading of websites?

    It takes much longer time to access and loading websites, like from IE and navigation, since I changed my router wireless to a Linksys 54 g of Asus RT56U and added a D-Link DWA 131 wireless adapter to my Dell laptop running under Windwos XP.  My cont

  • How can away from the automatic updates?

    I use windows 7 for the last 4 years. But I am facing problem for automatic update when I yell to the bottom of my computer. How can I turn off the auto update option?