Made on emulator ripple 9860 and real device 9860 user interface is different for blackberry OS 7.0

Hi all

I have developed a hybrid application that works fine on Android for almost all the resolutioh which I have supported.

For blackberry, I am building and pacakging an application using the ant tool. During the installation of file .cod devive 9860 having OS 7.0, landing page UI get distorted. Running on the ripple 9860 device, UI reneders correctly.

Please clarify that ripple is to check the user interface on differnet devive resolution or just for the pacaging and building application.

Thanks in advance

Usually the user interface between ripple and a device will be, although there may be small differences. Remember that the unit is running the BlackBerry WebKit application on an ARM architecture, while the ripple uses the implementation of WebKit in Chrome on an architexture that corresponds to your operating system. While the bot Webkit implementations, there may be differences in the way they make; all the more up-to-date the implementation on OS 7.0, your implementation of desktop browser is likely.

That being said, there is not usually very big differences; specifically, you mentioned the word distorted. Could you provide a comparison of the screenshot of what you're talking about?

In most cases, ripple should provide solid representation, but is always recommended to test on a simulator/device.

Tags: BlackBerry Developers

Similar Questions

  • How to intercept the sockettimeout exception message and display in the user interface of the view?

    Hi my jdev - 11.1.1.7 version

    I ask a socket connection in my AM and I want to catch the exception of the sockettimeout of t and display the error message in the user interface of the view layer.

    I use customException class that extends DCErrorHandlerImpl, but if we use try catch, then exceptions doesnot reach customclass.

    How to catch exceptions and return to view the layer if we use the operation binding. ?

    Because you call the operation via the link layer, which is perfectly fine, you do not get an exception at all. Exceptions thrown in methods called via the link layer are captured by the framework and transferred to the appellant in the operation binding.

    For that, you get the list of errors after the call returns and add them as messages of faces

    execute the method

    Method.Execute ();

    List errors = method.getErrors ();

    If (! errors.isEmpty ()) {}

    handle errors errors here is a list of exceptions!

    We only get the first

    E receive = errors.get (0);

    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, e.getMessage (), "");

    FacesContext.getCurrentInstance () .addMessage (null, msg);

    }

    no error return to normal work

    Timo

  • Is it possible to resize the text and icons in the user interface?

    I'm on a Windows 10, 15.6 screen laptop "4 k. The menu bar along the top is sized very well, most of the time. However, all the icons and the text to actually work on fuse are too small for me to look at and click on without having a fight.

    Are there ways to manipulate the proportions of the UI? Thank you!

    Hi Brandon!  Great question!  Unfortunately for the insight we have not a scalable user interface, but it's certainly something that we will keep in mind for future releases.  Now this is resolution dependent so you need reduce the resolution setting (we've only really tested until about 2 k ~ monitors).  The user interface is pretty basic at the moment, but there are a few changes, you can do it.  Here is a link to the user guide on the user interface customizations for details - but you can change the position of the toolbars by clicking the separation Strip and you can change the width of the canvas/editor fracture by dragging on the edge of the editor Panel.

  • http on real device connection works on wifi but for wap/tcp sometimes give 404 response

    Hi, im a new developer of blackberry, I have no problem when you use the connection using wifi but when I turned off my wifi and try to connect using 3 g sometimes the data is sent, but sometimes it doesn't... what could possibly mistake in this case?

    try {
    
    String _postData =;
                    OutputStream os;
    
                    //the preferred network is already arranged here
                    int[] preferredTransportTypes = {
                            TransportInfo.TRANSPORT_TCP_WIFI,
                            TransportInfo.TRANSPORT_WAP2,
                            TransportInfo.TRANSPORT_TCP_CELLULAR};
                    ConnectionFactory factory = new ConnectionFactory();
                    factory.setPreferredTransportTypes(preferredTransportTypes);
                    factory.setAttemptsLimit(3);
                            factory.setConnectionTimeout(10000);
                            //factory.setTimeLimit(10000);
                    //modify this
           final ConnectionDescriptor connDescriptor = factory.getConnection("http://url here");
                    if(connDescriptor==null){
                        UiApplication.getUiApplication().invokeLater(new Runnable()
                        {
                            public void run()
                            {
                                Dialog.alert("Invalid Network. Please check your network set up.");
                            }
                        });
                    }else{
                        HttpConnection http = (HttpConnection) connDescriptor.getConnection();
                        //https.setRequestMethod(HttpsConnection.POST);
                        //byte[] postDataBytes = _postData.getBytes();
                        http.setRequestMethod(HttpConnection.POST);
                        http.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.0");
                        http.setRequestProperty("Content-Language", "en-US");
                        http.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
                        //https.setRequestProperty("Content-length", Integer.toString(_postData.length()));
                        byte [] postDataBytes = _postData.getBytes("UTF-8");
    
                        os = http.openOutputStream();
                        os.write(postDataBytes);
                        os.flush();
                        os.close();
                        int state = http.getResponseCode();
                        final int state2 = state;
                        if(state==HttpConnection.HTTP_OK || state==HttpConnection.HTTP_BAD_GATEWAY){
                            UiApplication.getUiApplication().invokeLater(new Runnable()
                            {
                                public void run()
                                {   
    
                                    //original
                                    //Dialog.alert("SOS sent. Our customer care personnel will contact you shortly.");
                                    Dialog.alert("SOS sent. This is the response code : " + state2);
                                    //Dialog.inform("SOS sent. Our customer care personnel will contact you shortly.");
                                }
                            });
                        } else {
                            UiApplication.getUiApplication().invokeLater(new Runnable()
                            {
                                public void run()
                                {
                                    //Dialog.alert("Failed to send SOS .");
                                    Dialog.alert("Failed to send SOS. Please try again.This is the response code : " + state2);
                                }
                            });
                        }
                    }
                } catch(IOException e) {Dialog.inform(e.getMessage());}
    

    IM using blackberry 9700 with os 6

    Solved due to problem of carrier to WAP2

    so I put the TransportInfo.TRANSPORT_TCP_CELLULAR to be at the top of WAP and it solved my problem.

    but I need to adjust my apn for the tcp connection

  • How to get the Windows 8 applications and allow the modern user interface

    I was so irritated by Windows 8, I completely removed all apps and disabled 'Metro' as much as possible.

    I now need Microsoft Store to install the Windows 8.1 update.

    How can I do this without a complete reinstall?

    This should be useful for you:

    [Windows 8 recovery & repair | http://aps2.toshiba-tro.de/kb0/TSB2A03ES0000R01.htm]

    Probably the best choice would be the option refresh your PC
    You could update the system without losing your files.

  • Application of background visible on a real device (all well in the Simulator)

    Hello

    I developed a small backgroundapplication, which shows a menu entry in the app phone "call via Asterisk. If I choose this option a defined number is called. Later, I want to add the number as dtmf tones.

    The application uses excactly as expected in the device Simulator 8310-JDE (included in the eclipse plugin) on JDE 4.5. with eclipse.

    But when I deploy the application (signed) to a real 8310 with firmeware v4.5.0.81, it appears an application icon on the desktop (homescreen) of blackberry and the menuentry in the phone app is missing. Why the application is not deployed as a background on the real dev app. ?

    The only difference between the Simulator and real device is the language chosen, but I don't think it's important.

    The application consists of files, as shown below.

    import net.rim.blackberry.api.menuitem.ApplicationMenuItemRepository;import net.rim.device.api.system.Application;
    
    public class Asterisk extends Application {   public static void main(String[] args)    {            // Create a new instance of the application            // and start it's event thread.            new Asterisk().enterEventDispatcher();    }
    
        public Asterisk()    {        //create a new instance of the menuitem       AsteriskMenuItem asterisMenuItem = new AsteriskMenuItem(40);
    
          //get the instance of the standard-menu an ad the new menuitem        ApplicationMenuItemRepository     .getInstance().addMenuItem        (ApplicationMenuItemRepository.MENUITEM_PHONE,asterisMenuItem);
    
        }}
    
    package com.schiffl.mobile.asteris;
    
    import net.rim.blackberry.api.invoke.Invoke;import net.rim.blackberry.api.invoke.PhoneArguments;import net.rim.blackberry.api.mail.Message;import net.rim.blackberry.api.menuitem.ApplicationMenuItem;import net.rim.blackberry.api.phone.Phone;import net.rim.blackberry.api.phone.PhoneCall;import net.rim.blackberry.api.phone.PhoneListener;import net.rim.device.api.system.ControlledAccessException;import net.rim.device.api.ui.Field;import net.rim.device.api.ui.UiApplication;
    
    public class AsteriskMenuItem  extends ApplicationMenuItem{     //number to be dialed via Asterisk        String servicenumber  = "1234567";
    
          //using the default constructors here.        AsteriskMenuItem(int order)       {         super(order);     }
    
           //methods we must implement       //Run is called when the menuItem is invoked      public Object run(Object context)     {             /*             * Normally the dialed number could be found in the context object             * because of a bug in the api which is solved in v.4.7 the context            * object is always null for MENUITEM_PHONE so it is necessary to          * use a workaround, here the number is extracted from the field with focus,           * which contains the dialed number           */            Field myField = UiApplication.getUiApplication().getActiveScreen().getFieldWithFocus();           String phoneNumber = myField.toString();
    
              //TODO Convert phoneNumber to dtmf-tones
    
              try           {             PhoneArguments call = new PhoneArguments(PhoneArguments.ARG_CALL,servicenumber);              Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, call);
    
    //                PhoneCall myCall = Phone.getActiveCall();//               myCall.sendDTMFTones(phoneNumber);            }         /*             * The ControlledAccessException is thrown             * if the system administrator restricts access to the phone application           * using application control.          */           catch (ControlledAccessException e)           {             //TODO some exceptionhandling             }
    
             //normally you can do something with the given context inside of the run-method           //because of a bug in the API the context is always null so, we don't use it...           return context;       }
    
           //toString should return the string we want to        //use as the lable of the menuItem        public String toString(){         return "Call via Asterisk";       }
    
    }
    

    The entry for the RRT signature was missing in my .csl file. I change it manually, I added

    '52525400 = RIM API execution' requested signatures, deployed and it works...

  • to access the QML attached objects in C++ and best practices for the handling of the user interface in classes

    Hello

    I have in fact 2 queries

    (1) how can we access attachedobjects defined in QML in C++?

    (2) I'm loving development on Blackberry 10 C++ is one of my favorites. But I'm a bit lost when it comes to managing the user interface in classes. For example when we create the project through momentics we have a class called ApplicationUI. It manages all the (default) user interface commands, we in C++. as for example creating the document qml and setting as root user interface, etc. I am now working on an app that have NavigationPane as root, and then I continue to push pages (like the screens). But now the code for all pages is inside my ApplicationUI. What is the best practice to keep the UI for each page logic in a separte C++ class?

    I also develop for Android that a separate class for each activity, this code does not mingle for each activity. Please guide me how can I keep logic of user interface of each Page into a separate class of C++?

    regarding your second question:
    I think this is the simplest approach to keep all things in the UI in QML. You can easily put things into separate files.

    If you want to use c ++ to the user interface: can be done, too. just put it in separate classes and include those in your application class.

  • my app works in ripple, but not in real device :(

    I made a request of 'fitness' with webwork development,

    It works very well in ripple and build, with success.

    but BB app world answer me it shows a blank page so it rejected, & I shocked when seen on real device from my friend did not work and the really white page

    I do not know

    how it works well on the training and do not work on the real device!

    Good luck.  If you're stuck on how to do it, here is the complete documentation on how to perform debugging using Web Inspector:

    https://developer.BlackBerry.com/HTML5/documentation/web_inspector_overview_1553586_11.html

  • How to develop and test the application mobile flex without the real device?

    I'm trying to read some information about it, but decided to ask also here.

    I have a project that has a company wants to grow me, it's for iPad. That's ok I am with Flex and the framework for web development, but not for mobile. Why? Because I have no idea how to test my application. I know generation ago it sort of the desktop version of the application with the change of the "back" button on the orientation stuff, but how do I know my application will look and work exactly the same (I mean NOT performance here). I mean you know how every android or iOS device have their native keyboard or native video player for example and I have only in the debug version of the application.

    The question is how to develop this application based on the desktop emulator or anything and then hope that my app looks and works on a device, as it should... Of course I can't afford to buy all the devices it is just to be able to test on it if necessary? So, how do you, how to test how my iPad app works on a device without a? I know I should get a licence from iOS dev to be able to package the app for iOS, but it's $ 99 per year or something like that I can handle, but how to test my application without having to buy the darn device? Are there any emulator for iPad or something like that I know what my customers will see when they get the application? One of my friends told me that the mac os x use the developers a tool - cause some kit of dev who has emulators for all iOS devices and you can build and test there immediately and that you can simulate virtually any combination of key for example, and he said he's working and seems to 1:1 as the real device but he didn't know if can I export an AIR application and try it like this, he only knew for app written in native code.

    If someone can just tell me how should I do this? Should I buy a mac os x computer laptop to test because I am a user of windows 7, or perhaps create a mac os x virtual machine and tests out there or maybe the only option is to actually buy the device... that would be terrible for a freelancer...

    I hope someone can save the day here! Thank you.

    F

    Since the AIR for iOS applications are compiled to ARM code you will not be able to run on iOS emulators running on Mac OSX.

    You can do a very simple test with the "Simulator" built into Flash Builder, but it is not much more than a window to AIR with a window size that matches the resolution of the selected iOS device.  When running in the simulator of the application is not compiled to ARM code so it will take a completely different code path than what will be the final release of iOS.

    Ultimately if you are developing for iOS with AIR nothing but for tests on real iOS devices.

  • Google addresses on real device

    Hi guys,.

    I have an application that uses the API of Google Places which is https connection. It works fine on the emulator when I put specific ssl and https settings in the .rimpublic file:

    [HTTPS HANDLER]
    application.handler.https.allowUntrustedServer = true
    [TLS HANDLER]
    application.handler.tls.allowUntrustedServer = true
    application.handler.tls.logging = true
    

    BUT, when I run on the real device, https fails. What should I do to make it work on my phone? Where should I change these settings? It is up to the carriers and the RIM servers, or I can do in the application?

    Hello

    Here is an article that talks about the HTTPS on BlackBerry connection.  I hope this helps.

    http://supportforums.BlackBerry.com/T5/Java-development/BlackBerry-support-for-HTTPS-connection/Ta-p...

    Thank you

    Naveen M

  • Code works in the emulator, but not on the device?

    I am attemping to connect to the Google Talk XMPP using JXA libraries. If I try to connect with this code on the emulator, everything connects and I can connect fine and send messages. When I try this on the physical device, nothing happens. Someone has an idea?  I try an SSL connection as follows

    final SecureConnection sc = (SecureConnection)Connector.open("ssl://" + this.server + ":" + this.port, Connector.READ_WRITE);
    

    Understand the problem. I had to add

    deviceside=false
    

    At the end of the SSL connection to force the physical device to connect through MDS. Here is the final code

    final SecureConnection sc = (SecureConnection)Connector.open("ssl://" + this.server + ":" + this.port + ";deviceside=false", Connector.READ_WRITE);
    

    See http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is... to explain why it was necessary. Thanks to MSohm for the answer of thread on http://supportforums.blackberry.com/t5/Java-Development/Https-doesnot-work-on-real-device/td-p/44465...

  • Emulator ripple running map NTS

    I am under sample card app on emulator of the ripple. Half of the day, it worked very well for me.

    Suddenly, he starts giving the white screen on emulator z10. I make 200 for everything on command prompt.

    Error display on config validator.acess_location_services(rim permit)

    Here are the logs from the command prompt:

    Starts in mode of production.
    Picard boldly goes on port 9910...
    2013-05-08 09:12:19 GET 200 /Maps/images/favicon.ico
    2013-05-08 09:12:21 GET 200 /Maps/config.xml
    2013-05-08 09:12:21 GET/ripple/200
    2013-05-08 09:12:21 GET 200 /Maps/index.html

    I tested the Maps app on my emulator ripple and it works fine for me. You can ignore the error in the Control Panel, as it is a problem within the ripple. To access GPS on PB and lower devices location, you need to use "read_geolocation"; for devices BB10, permission is now "access_location_services".

    Have you tried to use the web inspector to see if error messages are in the console?

    https://developer.BlackBerry.com/HTML5/documentation/web_inspector_overview_1553586_11.html

  • Error in the application using emulator ripple of packaging

    Hello everyone, I'm on emulator running continuous for the packaging of the app for blackberry help SDK Blackberry Webworks 2.3.1.5 7os.

    When I click the package button I get error as follows:

    Build request failed with the message: error: ENOENT, remove the link "C:\Documents and Settings\AtikJ\RippleSites\HelloWorld\PKG\HelloW.zip".

    So please suggest me some solutions...

    Thanks for your reply...
    My machine is computer 32-bit... Also I use JDK 1.7...

    I solved this problem...
    It must specify the path of our webworks SDK in the option settings of the emulator of the ripple.
    So avoid all space charater in the path of the SDK...
    for example c:/Program Files / Research In Motion /... is not valid.

    c:/ResearchInMotion/BlackberrySDK2.3.1.5... This is correct.

    Another thing I've done is in the bbwp.properties file located in the webworks SDK bin directory... I've provided the correct path of the JDK. Also I put environment variables.

    After completing these steps cod and alx files are generated.

  • Council of softkey is not coming by clicking textfield on Simulator, it will show on real device

    I wore an android application for bb 10 app, here I am facing problems.
    1 key board is not coming by clicking textfield on Simulator, it will show on real device

    2. I want to show 6 pictures long in size on a page to display scrolling but memory is out of range

    Hello

    No. 1: If you started the Q10 Simulator, it is expected for the real device has a physical keyboard. The Simulator startup, select the Z10 and test again to get the virtual keyboard.

    2: this question would better fit for a new topic. In any case, a strategy would be to cut the long cards for the smaller pieces and loading them dynamically, effectively keep in mind a few.

  • Can we use emulator ripple with visual studio?

    Hi friend

    How can we use emulator ripple with visual studio?

    Thanks in advance,

    Faster

    You can use ripple with Visual Studio...

    What I do is to create a directory on my machine that has my application in it, then go into Visual Studio and select: «File-> Open-> Web Site...» »

    Then I browse and select the directory where I created my app.  It will then open this directory as a Web site in Visual Studio.

    When I want to run and debug my application, I press "start without debugging".  This will launch the ASP.NET development for the project server so that I can type in the URL.

    I then open the URL in the ripple.  I can just edit the files in Visual Studio, then press refresh (F5) in waving to refresh the content of my application.

Maybe you are looking for

  • password box. Resolved itself. CAUSE: unknown

    box password is to come and ask for a password and use Manager password to start thunderbird to my gmail account, but I always get my emails from my gmail account

  • small line blurred on the iPhone 6

    Updated version About 2 months ago, I dropped my iPhone 6 and she fell, there is a crack in the root of the hair that crosses the screen. I didn't mind that. When I got home today I went on instagram and noticed about 3 mm from the crack there is a b

  • Replacement of SSD on Portege R600

    I R600-10 X with 128 GB SSD and I wanted to replace it with fast/more larger drive, but on the inside rather than the SATA drive, I found ZIF40 by car. Even as this pic that someone else posted: http://img153.imageshack.us/img153/3953/portegessd.jpg

  • Update Chipset, CPU, graphics card?

    So, I have this laptop HP 8560p. Is it possible to level or chipset, processor (at 3840QM) or the video card to 4000M? I saw 8560w with these configurations, and 8560p is quite similar with the QM67 chipset, I would be interested to update something

  • black ink does not print HP Photosmart all-in-one

    I have new cartridges and after installation black will not print.  All other colors are pring.