BlackBerry Non-Compatibility Mode translate touch events - blackberry

I am forcing my app (developed in JRE 4.5) to run in non-compatibility mode for OS versions 4.7 and higher so that the virtual keyboard would not take up half of the screen space.
Now, when I test my app in 4.7 or 5.0 simulator, I see that the touch events are not working. Is there way to handle touch events in code so that I can translate it in to trackball events when running in Non-compatibility mode?

Please refer to the comments on this page for answers

Related

Sidecar, Touch Bar and active Apps

I have a problem with the Sidecar and Touch Bar feature of iPad and MacOS Catalina.
I can connect and see everything on the iPad including the Touchbar.
If I focus an application which is displayed on the iPad the Touchbar shows the corresponding Touchbar correctly.
After focussing an application on one of my other displays (MacBook or external HDMI displays) the Touch Bar does not update and change.
If I put that application on the iPad screen, then the TouchBar changes and shows the corresponding items.
This is really annoying when I am working with programming IDEs with nice TouchBar support. But I really don't want to put that IDE on my smaller iPad screen.
Is anyone else experiencing this and/or has a workaround?
Cheers

Remote Control iPhone device without Jailbreaking the device

I am working on enterprise application which will allow the desktop to control iPhone devices. Basically so far i am able to display the iPhone screen in the desktop screen using private framework. But i am stuck in sending events to the iPhone. I am getting x and y points but fails to simulate touch event in iOS 7. As touch event is possible in iOS 6 and below with using GSEvent private Framework. Also i have used iOHID events in iOS 7.1 but it is not working on device. Does IOHID work on non-jailbreak devices?. Please help me.

UI Issues in converted android Apps to BlackBerry platform

I am on a process of converting an Android app to run in Blackberry platform and to publish it in BlackBerry World (BB Market place).
So I continued to follow the following TUTORIAL and yes it runs well in BlackBerry 10 Device Simulator but with some issues.
In the android App, it has seperate UIs defined for the main screen catogories as follows and works great in all the screen sizes when it is running on android.
layout-small
layout
layout-large
But the converted App to BB, in some cases a part of the UI from the bottom goes beyond the screen limit (In BB 10 device simulator) and does not fit well with the blackberry screen. Basically UI height is too much for BB 10 emulator screen
Also when I check in the converted app while it's running on BB 10 Device simulator it has refered to the UIs defined under layout-small from android APP.
So my questions are
1). What can I do to make the UIs fit well (In converted android App to BB) with all the screen sized BlackBerry devices?
2). How can I ensure that the app will work fine in all the Blackberry screen sizes? (Cause I am using BB 10 device simulator and found no way to get BB Z10 or Q10 device skins)
3). Is it possible to convert the Android app to work fine with pre blackberry 10 OS versioned devices? (As I am not getting the exact point explaining under the "Overview" section of the following LINK)
If someone have experienced the above issues and found solutions would be great to hear and also aprreciate any guidance to get this sortedout. Thanks in advance...!!!
1.) That's a tricky point. If the layout-small is used, I guess you are using the 720x720 simulator, which is Q10 resolution (the Z10 will use layout-large, according to http://supportforums.blackberry.com/t5/Android-Runtime-Development/Android-drawable-folder-layout-folder-for-BB-Z10-and-Q10/m-p/2169275#M3862). Your layout is probably not adapted for a square screen. I'll guess there's no magical answer: you'll have to adapt it. Maybe try it with a Z10 resolution (see point 2) first, to check that it solves your issue.
2.) With the latest simulator, you can choose between a 1280x768 (Z10) or 720x720 (Q10) screen. If the layout is displaying fine on both screen sizes on the emulator, it will display fine on real devices. To change between Z10 and Q10 resolution, you have a number to choose when the emulator is starting (at the very begining).
3.) Android apps runs on two kind of devices: the PlayBook, running BB Tablet OS, and BB10 devices (Q10/Q5/Z10). I guess your question was related to BBOS 7 and before. No, there's no way to run Android apps on them.

Sencha Touch 2 and Blackberry OS 7: TabPanel Buttons Misrendering

The Problem
The Tab Panel buttons in my Sencha Touch 2 app are displaying incorrectly within my Blackberry OS 7 device. This is what they look like:
Environment Details
Blackberry Torch 9810
Blackberry OS 7.0
Sencha Touch 2.0.1
Troubleshooting
I ran the web site in the Blackberry OS 10 Simulator successfully. The tab icons look fine
The buttons look fine in Android and iOS apps.
Solutions
I've upgraded my Blackberry Torch I'm testing the site on from 7.0 to 7.1 and the buttons are rendering correctly now, however, that does not solve my problem for folks still on v7.0. Has anyone gotten this working correctly in 7.0?
Thanks for your help with this!

BlackBerry - 9860 shows app in small window - not using whole screen

One of our clients has come back to us today with a bug that has been found on the Torch 9860 (running OS 7.0).
It seems my app is running in a small box in the centre of the screen, with a big blue border surrounding it. If the soft keyboard is not showing, there is a black box where the keyboard would be.
This issue has not been reported before on other devices, and the app has been "in the wild" for a while. I have not seen it on our test devices - but do not have a Torch 9860 to test with.
I have attached photos of the app running on the device. The blue border is the problem - normally my app would fill the whole screen. I did not create the blue border (to the best of my knowledge).
Apologies for the photos - this is what they sent to us.
Showing the app running in a small box surrounded by the blue border. Note the black space where the keyboard would be if it was required.
Showing the app with the soft keyboard visible.
With some googling, I found 1 possible reference to this issue to do with an instant messaging app not showing correctly on 9860. Feedback was that they were looking into it.
I wonder who else has seen this, or can recommend solutions?
Updates
runs fine on the 9860 emulator
seems to be mentioned in this thread: Blackberry OS 7 Compatibility failed with 9860/9850 device
Thanks, Rafael (left answer in a comment to my question).
Based on the comment I told the client to run the app in compatibility mode (accessed through the system options - application options menu). This seems to have fixed the problem without me having to recompile for SDK 7.0 (also I don't have to start supporting multiple OS's yet).
I already had the blackscreen on bottom when the keyboard should be popped. But it happened rarely and get resolved with an update of the Blackberry
Ask for the OS version/platform of the Blackberry, and propose a update to him, if available.

Resources