issue with virtual keyboard scrolling in BB LWUIT - blackberry

I have done a j2me application when I port it to Blackberry using LWUIT framework I have a problem in virtual keyboard as it does not automatically scrolls because of which the user is unable to view what he is typing in the text field .
Can help me solve the issue.
Thanks

This is a common problem in many platforms that feature a VKB. Currently LWUIT doesn't make solving that problem seamless which it should (feel free to file an issue on that, this should be resolved for Android/RIM, in J2ME the input is within the VKB itself).
To resolve it for now you can either change your UI to place the text field in a location that is more easily reachable to the VKB. Alternatively you can try to scroll it up when detecting touch (before invoking super), this obviously requires quite a bit of coding and isn't trivial.

Related

Side drawer/window using electron.js

I came around SideNotes. The main idea is having a side window similar to macOS notification center mainly for note taking.
Can this be done using electron.js or other cross-platform tools? I've been trying to search but found nothing. Thought I may find an answer here.

How can I create hybrid apps on IOS?

I see on Android that apps exist to create android apps. I understand nothing like this exists on IOS because of apple's terms. On IOS however, some apps, pythonista for example, allow the user to create scripts that run similar to apps. Is this functionality currently available for hybrid frameworks, IE phonegap/cordova, react native, etc? Barring this, is there some method whereby I can code and test such apps on my iPhone/iPad?
Bottom line, I want to code apps while commuting, etc, on IOS. I understand I need a computer to compile the final product, that's ok, it's just the coding/testing process I want to do on IOS.
I am up for any hack you can think of to make this work, so long as it is accessible with VoiceOver, apple's screen reader, as I cannot see at all. One example of something I thought of that won't work is using remote desktop software, there is no such software that is accessible as it uses an image of the remote screen, I have no access to this.
I am looking forward to your creativity, so far this has me stumped.
Thanks in advance.
Similar to the playgrounds answer, but if you wanted to use Xamarin you could use Continuous .NET. It’s a C# IDE for iOS. You could then use Working Copy to to keep the version on your computer in line.
The other option is to VNC into your computer at home, but if you’re on the train that might not be a great option.
It's not a solution for your problem, but if you have an iPad, you can write parts of apps in Swift Playgrounds. There you have access to all the UIKit stuff. Unfortunately some of the frameworks you can use in iOS are missing.

Using Print settings with Chromium Embedded Framework 3

I'm using the Chromium Embedded Framework in my Delphi XE7 application through the DCEF3 version.
Loading web pages through the TChromium object works fine. I also managed to get printing to work.
Problem: I don't seem to find how I can set the specific printing settings through the TCefPrintSettings in ceflib. The class is explained here, but I don't seem to be able to find out how to use it.
Anyone here that can point me in the right direction? That would be very much appreciated!
Thanks
CefPrintSettings is relevant in the context of CefPrintHandler which is only used when running on Linux. To my knowledge there is little control over print settings in CEF.
http://magpcss.org/ceforum/apidocs3/projects/%28default%29/CefPrintHandler.html
See a similar question here http://magpcss.org/ceforum/viewtopic.php?f=10&t=13036&p=26102

BB10 - Cascades Application - Console/Terminal Application

I am attempting to create a simple terminal application that runs on a BB10 device/simulator. I have gone through all of the available demo/example applications:
http://developer.blackberry.com/native/
I can't seem to find a way to have an application run as a console/terminal/tty-interface on the BB10 device I'm developing for. I was hoping to port some simple console games (ie: maybe a simple thing like "Hunt the Wumpus", http://en.wikipedia.org/wiki/Hunt_the_Wumpus), and then maybe take a crack at a Rogue or Nethack port as well (hopefully without having to depend on the ncurses library (http://en.wikipedia.org/wiki/Ncurses), but it's OK if I have to rely on ncurses. It just saves me from having to write additional interfacing code).
Can someone please provide a short, simple example of what I would need to write in a basic BB10 application that opens a black-and-white terminal with color support? It can be short, and just something I have to paste into an empty project.
Thank you in advance!
Here you go:
https://github.com/blackberry/NDK-Samples/tree/master/HelloWorldDisplay
It's listed near the bottom.

Get application name on focus in blackberry

I am new in blackberry. I want the name of the application on focus. That is, for a particular application, if it is focused in downloads folder then name of that application should be displayed. Is it possible in Blackberry?
Please share it.
Thank you.
In your project you will find a file called BlackBerry_App_Descriptor.xml
If you open that file in eclipse you will see it allows you to set 2 icons and tick one as rollover (in focus).
You could simply design the rollover icon so that it incorporates your applications name. Or maybe logo/initials as it's not very big.
I'm guessing you mean when your application icon is in focus, if you mean other peoples applications then the answer is no (or more specifically what Richard said).
This would only be possable if the application in question either provided an API for other applications to get this data, through a listener interface for example; or if it issued a global event.

Resources