Is there a way to detect Android's dark/night mode? Additionally, is there a way to inherit dark styles?
I see a build hint here android.theme that can be light or dark. Its description also says it might be dark in the future but no further explanation is given
Thanks
No. These are both things that we need to provide a better solution for on iOS and desktop too. I suggest filing an RFE for this.
That build hint is part of a legacy from the Android 2.x days and shouldn't be applicable.
Related
To my knowledge CN1 does not allow to keep patch version in the Version number. Please advise if there is a way I can do it.
Thanks
Codename One only supports decimals because Android and iOS handle versioning very differently. It's really hard to create common code that works everywhere that's still easy to use.
As a workaround you can use the build hint ios.bundleVersion=1.1.1. Notice that this overrides the version value you set in the UI.
A few of months ago I watched this vido Steve Hanna video.
It describes a good way to apply style in a "Codename One application" using .css text files.
Does current version of "Codename One Plugin (3.6)" allow me to do that?
Do I need to install some .cn1lib module to make this feature work?
I would have written this as a comment, but I don't have enough reputation.
I would be very happy if you adopted Steve's cn1-css plugin into Codename One. I use it every day, and vastly prefer it to messing with the GUI theme/resource editor.
I use a lot of "custom" rounded rectangles with background color, and I'd much rather make a quick edit to a text file (.css) than "start over" in a paint application, divide image into pieces, etc. CSS is quicker and a lot less error prone (for me, at least).
Perhaps I am missing an "obvious" solution to this problem of "I want to try out a different bg color, or a different border radius," or maybe cn1-css is this obvious solution?
I am very grateful to Steve for writing this cn1-css plugin!
This is a feature Steve worked on in his spare time and integrated via an extensions which you can install with these instructions. We are looking for feedback on this feature and we are trying to gauge the desire to roll it into Codename One proper.
We know a few people use it but we're still looking for feedback.
when I debug the CefGlue.Demo.WinForms ,Tooltip displayed ,but how it works?
Anybody can help?
thanks.
AFAIK, this method is not called for windowed browsers CEF issue #783, but should be called for windowless browsers.
Also you don't specify version.
PS: StackOverflow is not tracked by valuable part of CEF community, so CEF forum is the best place to ask questions about CEF. Also most questions ends up 'whats version and etc...'. It is not very good fits into QA style.
What are the current possibilities to run silverlight on the iPad please ?
Other than the video streaming MS demo of course.
If there's no official packages or something, I'm interested in hacks too
Thanks
Have a look at this article:
http://www.machackpc.com/featured/flash-silverlight-on-ipadiphone-with-out-installing-any-apps-videos/
Also, perhaps you can give us more of an idea what you are trying to achieve with silverlight for a more detailed answer?
You should also bear in mind that the main issue is the support on the apple devices - a political decisions by Apple. There are ways and means to get the support unofficially, but I can vouch for them being flawed and as good as useless.
NO. There isn't anything available right now...
Try alternative solution.
With ABYTY Browser you can run any Flash and Silverlight apps for business and entertainment like on desktop.
For view Silverlight or Flash on your iPhone (iPad, iPod) you not need of jailbreaking it or installing any applications from the App Store or Cydia. You not need install flash player or silverlight on your iphone. Simply open link ABYTY Browser from iDevice and follow appeared instructions. At this moment it little bit ugly and not have sound, but working in basic on iPhone and iPod too.
The System.Windows.Forms.FontBrowser is a pretty horrible piece of work. I'd like to write a custom one, but before I re-invent banging-two-rocks-together, I figured I'd ask if anyone knows an intuitive, friendly and above all simple Font Picker which has been proven in the cauldron of the real world?
I agree with you about how terrible is Windows default font browser.
Some time ago I started to search for a replacement fontdialog, but could not find any (even after some days searching).
So I started to develop one in VB.NET, but never got time to finish it.
This article can help you (as it helped me) to identify what a good font dialog should have. Hope this helps you somehow. link.
If you manage to make one, please let me know! I`d love to test and use it :)
EDIT1: This link can help too.