[codenameone-discussions] Re: Rotate image in placeholder

2021-03-15 Thread Shai Almog
Hi, Animating a placeholder isn't supported and won't work since the image is statically added. We use the animation functionality to replace the placeholder later on so if you add an animation it might not work. rotation will just rotate an image once which isn't what you want. You can use

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-15 Thread Shai Almog
r(); > sb.setLength(0); > for (int i = 0; i < buffer.length; i++) { > sb.append((char) (HEX_CHAR[(buffer[i] & 0x00F0) >> 4])) > .append((char) (HEX_CHAR[buffer[i] & 0x000F])); > } > return sb.toString(); > } > > BTW What time zone are you in? > >

[codenameone-discussions] Re: Skin editor?

2021-03-15 Thread Shai Almog
, 2021 at 7:09:54 PM UTC-7 Shai Almog wrote: > >> The numbers translate to the second image. Notice you have a "weird" >> image. It is colored in a way that represents the locations of the screen, >> buttons etc. >> >> On Monday, March 15, 2021 at 1:23:57

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-15 Thread Shai Almog
. On Monday, March 15, 2021 at 8:36:17 AM UTC+2 daved...@gmail.com wrote: > Thanks, I’ll be watching. Are there any changes in the availability of > desktop and JavaScript builds? > > On Sunday, March 14, 2021 at 7:11:33 PM UTC-7 Shai Almog wrote: > >> I specifically wrote th

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-14 Thread Shai Almog
ld" option. > > Of course, I'm disappointed that codename1 isn't arranged specifically for > my benefit, but I understand > your need to have a viable business. > > On Saturday, March 13, 2021 at 7:05:21 PM UTC-8 Shai Almog wrote: > >> Did you read what I said? >>

[codenameone-discussions] Re: Skin editor?

2021-03-14 Thread Shai Almog
@gmail.com wrote: >> >>> it runs, but the files it produces don't seem to be compatible; >>> parameters are all wonky. >>> >>> On Friday, March 12, 2021 at 8:41:11 PM UTC-8 Shai Almog wrote: >>> >>>> I think the old JS build is still here: >&g

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-14 Thread Shai Almog
:12:37 AM UTC-4 Dennis Rogers wrote: > >> Sure, You can use "te...@x.com" for the email (user id) and "pw2" as the >> password. > > >> >> On Saturday, March 13, 2021 at 10:03:59 PM UTC-5 Shai Almog wrote: >> >>> Thanks,

[codenameone-discussions] Re: HTML text has bigger font-size in BrowserComponent in landscape mode

2021-03-13 Thread Shai Almog
Wrong link: https://www.codenameone.com/blog/samsung-lowers-resolution-randomly.html On Sunday, March 14, 2021 at 5:12:59 AM UTC+2 Shai Almog wrote: > This seems to be a "Samsung thing" but I wasn't able to find hints of it. > They're pretty awful with such "features&

[codenameone-discussions] Re: HTML text has bigger font-size in BrowserComponent in landscape mode

2021-03-13 Thread Shai Almog
This seems to be a "Samsung thing" but I wasn't able to find hints of it. They're pretty awful with such "features". See this https://wwwcodenameone.com/samsung-lowers-resolution-randomly.html On Saturday, March 13, 2021 at 7:15:57 PM UTC+2 P5music wrote: > I would like to ask if anyone has

[codenameone-discussions] Re: Blue line on top of transparent AlertDialog with 0,0,0,0 show parameters

2021-03-13 Thread Shai Almog
It's probably related to the title UIID of the dialog. This is what the Component Inspector is for. Start changing styles in the hierarchy until you find the style that triggers that. On Saturday, March 13, 2021 at 12:41:10 PM UTC+2 P5music wrote: > My CodenameApp features a subclassed

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-13 Thread Shai Almog
e's no decent interface to do so, and > there's no script to go from > producing the sources to a finished apk. Your build servers are very > convenient, but you don't > make that functionality available standalone. > > On Friday, March 12, 2021 at 8:44:48 PM UTC-8 Shai Almog wrote: &

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-13 Thread Shai Almog
x.html and the server php is / > symdesigns.com/php/export.php . > > On Friday, March 12, 2021 at 11:45:51 PM UTC-5 Shai Almog wrote: > >> Interesting, can you expose the server URL so we can run this test case >> and see? >> >> On Friday, March 12, 2021 at 10:57:24

[codenameone-discussions] Re: Upcoming bug in Android WebView (currently found in Beta) that afectes CN1 apps hosting a BrowserComponent

2021-03-13 Thread Shai Almog
Can you file an issue with this information and include a link to install the beta so we can test that? Thanks! On Saturday, March 13, 2021 at 6:53:05 PM UTC+2 javier...@gmail.com wrote: > Last msg about this promise :) > > So revalidating the contentpane reduces the number of times that the

[codenameone-discussions] Re: Skin editor?

2021-03-13 Thread Shai Almog
re all wonky. > > On Friday, March 12, 2021 at 8:41:11 PM UTC-8 Shai Almog wrote: > >> I think the old JS build is still here: >> https://www.codenameone.com/demos/SkinDesigner/ >> Didn't test if it still works though. >> >> On Friday, March 12, 2021

[codenameone-discussions] Re: Fix SSL handshake failed in BrowserComponent

2021-03-12 Thread Shai Almog
That often means your server has a bad certificate or communication problem. On Saturday, March 13, 2021 at 12:02:20 AM UTC+2 miss...@gmail.com wrote: > Hy, > Did you resolve the error, i have the same > > On Monday, July 13, 2020 at 10:36:38 AM UTC+2, Fuad Nassar wrote: >> >> My

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-12 Thread Shai Almog
d on also on a real Android > device. > > On Wednesday, March 10, 2021 at 10:28:42 PM UTC-5 Shai Almog wrote: > >> Try using String ans = Util.readToString(); which might be better. >> Is the code still working on the simulator after the changes? >> Is it working on Andr

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-12 Thread Shai Almog
, March 10, 2021 at 7:30:03 PM UTC-8 Shai Almog wrote: > >> Do you mean the Xamarin one? >> That's not an emulator/simulator. Anyway, we don't have plans for that >> flow and don't have the resources to pick it up. >> >> On Wednesday, March 10, 2021 at 11:17:20 AM

[codenameone-discussions] Re: Skin editor?

2021-03-12 Thread Shai Almog
hich I can't build. > > On Thursday, March 11, 2021 at 8:25:54 PM UTC-8 Shai Almog wrote: > >> Sorry I think there was but I don't recall. We ended up just using the >> bash script in the skins project which is much simpler to use overall. >> >> On Thursday, Ma

Re: [codenameone-discussions] Re: Android Notches/Safe Areas

2021-03-11 Thread Shai Almog
Android reserves the space on top implicitly unlike iOS so you shouldn't need anything. The safe area API should work for the noches there too. Including information about round corners of the device etc. We probably need more representative skins to cover various edge cases here... On

Re: [codenameone-discussions] Re: About the "Send build to iOS Simulator" choice

2021-03-11 Thread Shai Almog
oth on their Macs, so it is not difficult for >>>> you to provide that possibility, maybe changing just a line of a script. >>>> >>>> Builds have different costs in terms of "credits" in your system, so >>>> each iOS simulator bui

[codenameone-discussions] Re: Update push notification message in in the notification drawer

2021-03-11 Thread Shai Almog
0 notifications from the same app > in their notification drawer, especially if the messages are the same. > > On Wednesday, March 10, 2021 at 10:25:26 PM UTC-5 Shai Almog wrote: > >> Hi, >> at the moment we don't have that capability since it's platform specific. >>

[codenameone-discussions] Re: Skin editor?

2021-03-11 Thread Shai Almog
Sorry I think there was but I don't recall. We ended up just using the bash script in the skins project which is much simpler to use overall. On Thursday, March 11, 2021 at 11:25:19 PM UTC+2 daved...@gmail.com wrote: > Is there a binary of the skin editor available somewhere? > -- You

[codenameone-discussions] Re: Advice from a developer

2021-03-10 Thread Shai Almog
t common sense. > > I hope this does not upset you tonight, but it is important because you > can improve. > Regards > > > Il giorno mercoledì 10 marzo 2021 alle 04:35:14 UTC+1 Shai Almog ha > scritto: > >> I think you have unreasonable expectations. I spend a lot

[codenameone-discussions] Re: About the "Send build to iOS Simulator" choice

2021-03-10 Thread Shai Almog
You can test remotely on physical devices. There's several companies that offer that service. Why would you want a simulator? On Wednesday, March 10, 2021 at 11:16:53 AM UTC+2 P5music wrote: > This is also about a related thread: > About iOS Emulators (not Simulators) (google.com) >

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-10 Thread Shai Almog
learly said that a Microsoft >> iOS simulator is available >> where I think it is possible to load and run the .app file as it is on >> the Mac and the iOS simulator. >> >> Regards >> >> Il giorno mercoledì 10 marzo 2021 alle 04:25:50 UTC+1 Shai Almog ha >

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-10 Thread Shai Almog
++; > b[i] = (byte) stream.read(); > } > b[i] = 0; >return new String(b,0,i); > } catch(IOException e) { > Log.e(e); > return null: > } > } > On Tuesday, March 9, 2021 at 10:23:18 PM UTC-5 Shai Almog w

[codenameone-discussions] Re: Update push notification message in in the notification drawer

2021-03-10 Thread Shai Almog
Hi, at the moment we don't have that capability since it's platform specific. On Thursday, March 11, 2021 at 12:02:12 AM UTC+2 hana@gmail.com wrote: > Hi, > > Is there a way to update a push notification message in cn1? (See the > reference - >

Re: [codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-09 Thread Shai Almog
ue about. >>>>> And the two are together, it seems. >>>>> (They are not seen in the simulator) >>>>> >>>>> Regards >>>>> >>>>> public void start() { >>>>> if(current != null){ >>>

[codenameone-discussions] Re: Advice from a developer

2021-03-09 Thread Shai Almog
I think you have unreasonable expectations. I spend a lot of time supporting and trying to help regardless of your subscription status. We do resolve a lot of issues for all subscription levels but our general rule of thumb is about blockers and big issues. This is a big issue for you but it

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-09 Thread Shai Almog
uct that is compatible with the iOS simulators. > Regards > > Il giorno martedì 9 marzo 2021 alle 03:49:33 UTC+1 Shai Almog ha scritto: > >> iOS simulator is a completely different target and an x86 platform. I >> don't understand what you're trying to do. >> >> O

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-09 Thread Shai Almog
y from the server without the BufferedInputStream > with no luck. > > The certificate I used was one I bought from bluehost.com who hosts my > server. > > On Monday, March 8, 2021 at 9:51:04 PM UTC-5 Shai Almog wrote: > >> With valid (not self signed) certificate? >>

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-08 Thread Shai Almog
prefix. > > --Dennis > On Sunday, March 7, 2021 at 9:42:05 PM UTC-5 Shai Almog wrote: > >> I meant the Rest class. >> >> Sorry I neglected to ask something basic. Is the URL HTTPS? >> If not iOS will fail by default. You can use this as a workaround: >> htt

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-08 Thread Shai Almog
le that can be loaded into an iOS simulator. > Instead of running on a physical device or an emulator. > > Regards > Il giorno lunedì 8 marzo 2021 alle 03:37:04 UTC+1 Shai Almog ha scritto: > >> The ipa is a zip of an app >> >> On Sunday, March 7, 2021 at 10:41:20 AM UT

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-08 Thread Shai Almog
app, so it is different from other > non-blocking issues. > It's just a matter of time that an enterprise customer stumbles upon it. > Better it does not happen and they find the component correctly working in > the first place. > > Regards > > Il giorno lunedì 8 marz

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-07 Thread Shai Almog
the server. BTW >> this is all being done on a separate thread. >> >> I'm learning about the REST protocol but think this should work. >> >> -Dennis >> On Saturday, March 6, 2021 at 9:32:02 PM UTC-5 Shai Almog wrote: >> >>> Are you using c

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-07 Thread Shai Almog
e builds too? > If not, could it be in the immediate future? > Regards > Il giorno domenica 7 marzo 2021 alle 03:17:01 UTC+1 Shai Almog ha scritto: > >> I don't know if appetize uses an emulator or is like >> https://www.perfecto.io/ it doesn't really matter both are semantic

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-07 Thread Shai Almog
manage the non-wanted mouse events from long-pressing the iFrames > but > the interface for text-selection has not to appear. > Regards > > Il giorno domenica 7 marzo 2021 alle 03:20:06 UTC+1 Shai Almog ha scritto: > >> A long press is triggered in the Codename One layer not

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-06 Thread Shai Almog
Are you using com.codenameone.io.URL ? I would recommend avoiding BufferedOutputStream in Codename One as all streams are buffered by default in Codename One. You also need to fetch the result for the request to finish. It won't happen until you try to get a response from the server. I would

[codenameone-discussions] Re: ImageViewer panning out of boundaries when zooming

2021-03-06 Thread Shai Almog
I don't know. I'll check. On Saturday, March 6, 2021 at 1:38:52 PM UTC+2 cver...@gmail.com wrote: > Has this problem been addressed? I still see the same issue. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-06 Thread Shai Almog
gards > Il giorno sabato 6 marzo 2021 alle 05:50:55 UTC+1 Shai Almog ha scritto: > >> That's an array for the multi-touch behavior not a buffer of touches. >> That means that if you have 2, 3+ fingers on the screen we'll get the >> events for all of them. >> &g

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-06 Thread Shai Almog
Regards > > Il giorno sabato 6 marzo 2021 alle 05:48:42 UTC+1 Shai Almog ha scritto: > >> That link is a SEO spam article that just writes nonsense to get clicks >> for specific keywords. I'm unfamiliar with most of those things but those >> I'm familiar with aren

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-05 Thread Shai Almog
that also the text-selection interface that pops up on Android > could lead to a cancellation of events if this code is also in Android: > if(touchesArray != nil) { > [touchesArray removeAllObjects]; > } > in > (void)updateCanvas:(BOOL)animated > > Regards

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-05 Thread Shai Almog
Regards > Il giorno venerdì 5 marzo 2021 alle 05:11:00 UTC+1 Shai Almog ha scritto: > >> I'm not aware of any iOS emulators but things might have changed. If you >> have something in English that might be interesting but only as general >> knowledge. >> Emulators are use

[codenameone-discussions] Re: About iOS Emulators (not Simulators)

2021-03-04 Thread Shai Almog
I'm not aware of any iOS emulators but things might have changed. If you have something in English that might be interesting but only as general knowledge. Emulators are useless for day-day development. A device is a must have expense for these things. That's true for Android too which does

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-04 Thread Shai Almog
out the > issue I filed? > It's about CEF so it boils down to some interface for mouse events. > Thanks > > > Il giorno giovedì 4 marzo 2021 alle 03:09:12 UTC+1 Shai Almog ha scritto: > >> I don't know, it's hard to tell from a review of the code. >> >> On Wed

Re: [codenameone-discussions] Re: Swift

2021-03-04 Thread Shai Almog
ate about this > > On Tuesday, July 11, 2017 at 5:50:41 AM UTC+1 Shai Almog wrote: > >> No > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-03-03 Thread Shai Almog
sic ha scritto: > >> CEF BrowserComponent: mouse events handled differently in Android device >> than simulator · Issue #3378 · codenameone/CodenameOne (github.com) >> <https://github.com/codenameone/CodenameOne/issues/3378> >> >> Il giorno venerdì 26 febbrai

[codenameone-discussions] Re: Storage class persistance

2021-03-03 Thread Shai Almog
This isn't erased. I'm guessing you have an exception or rely on things such as getClass().getName() which would be flaky. You can see that storage is written into your .cn1 directory and should be accessible from there in the simulator. On Wednesday, March 3, 2021 at 7:48:23 PM UTC+2

[codenameone-discussions] Re: Codename One file does not appear in Eclipse

2021-03-02 Thread Shai Almog
Hi, I see you managed: https://stackoverflow.com/questions/66432189/unable-to-open-codename-one-file-in-eclipse On Tuesday, March 2, 2021 at 3:57:50 AM UTC+2 salmamo...@gmail.com wrote: > Hello, > > I am new to codename one and I want to use it with Eclipse. I downloaded > codename one from

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-02-23 Thread Shai Almog
> > It seems that the WebView has a timer itself and decides whether to fire > the first event according to the timing of the second. > > Regards > > Il giorno martedì 23 febbraio 2021 alle 04:04:20 UTC+1 Shai Almog ha > scritto: > >> That sounds like a bug in the simulato

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-02-22 Thread Shai Almog
egards > > Il giorno lunedì 22 febbraio 2021 alle 03:29:37 UTC+1 Shai Almog ha > scritto: > >> Are you long clicking on the browser component or somewhere else? It's >> unclear from the question. Do you have a screenshot of the place you're >> clicking on?

Re: [codenameone-discussions] MacInCloud / Amazon EC2 Mac Instances

2021-02-22 Thread Shai Almog
1, 2021 at 6:31:17 PM UTC-8 Shai Almog wrote: > >> iOS apps are signed by our build servers using your certificates. As such >> if someone would change them they would become invalid. Since you don't >> provide them with a certificate Apple won't accept the broken apps. >&g

[codenameone-discussions] Re: Adding cn1 library to project in IntelliJ doesn't add it to classpath

2021-02-22 Thread Shai Almog
s"). No other folders seem to be > write-protected and any other actions using IntelliJ work without issue > (building, creating/deleting files etc). I was only able to reproduce the > issue with the unwritable folder using "Refresh cn1lib" from the > CodenameOne-Menu. > >

Re: [codenameone-discussions] MacInCloud / Amazon EC2 Mac Instances

2021-02-21 Thread Shai Almog
;> Here is the app upload service that i use and it works very well: >>> https://www.wenz.io/ApplicationLoader >>> >>> Regards >>> >>> >>> Le samedi 20 février 2021, Shai Almog a écrit : >>> >>>> Someone wrote here in

[codenameone-discussions] Re: BrowserComponent: mouse events handled differently in Android device than simulator

2021-02-21 Thread Shai Almog
Are you long clicking on the browser component or somewhere else? It's unclear from the question. Do you have a screenshot of the place you're clicking on? On Sunday, February 21, 2021 at 1:17:56 PM UTC+2 P5music wrote: > P5music > 12:16 (ora) > a CodenameOne Discussions > I am testing my

[codenameone-discussions] Re: Disable toolbar title slide animation

2021-02-20 Thread Shai Almog
nsition still happens. > Regards > > Il giorno sabato 20 febbraio 2021 alle 07:30:54 UTC+1 Shai Almog ha > scritto: > >> Are you using the theme designer or CSS. If the former just go to the >> constants tab in the theme and add a constant: >> formTransitionOut

[codenameone-discussions] Re: MacInCloud / Amazon EC2 Mac Instances

2021-02-19 Thread Shai Almog
use it would not be useful to test the iOS > build. > What are those app-upload services? Do you mean OSX similar cloud > services? or another kind of service, just to upload the iOS package? > > > Il giorno venerdì 19 febbraio 2021 alle 05:51:35 UTC+1 Shai Almog ha > scri

[codenameone-discussions] Re: Disable toolbar title slide animation

2021-02-19 Thread Shai Almog
me > constant. > I tried to change the form theme, as I did with the side command, but > there is not any title animation value to change. > Regards > > Il giorno venerdì 19 febbraio 2021 alle 05:49:11 UTC+1 Shai Almog ha > scritto: > >> There are theme constants t

[codenameone-discussions] Re: MacInCloud / Amazon EC2 Mac Instances

2021-02-18 Thread Shai Almog
I haven't used that service in years so I can't tell if it's good/bad or anything. As far as I know there are plenty of similar services for app uploads. You can't install a ready made IPA on the iOS simulator since it isn't an emulator. You would need to rebuild the project on xcode in a mac

[codenameone-discussions] Re: Disable toolbar title slide animation

2021-02-18 Thread Shai Almog
There are theme constants that define the default form slide animations: https://www.codenameone.com/developer-guide.html#theme-constants-section Specifically: formTransitionOut On Thursday, February 18, 2021 at 7:47:03 PM UTC+2 P5music wrote: > > I set the app name as toolbar title in every

Re: [codenameone-discussions] Re: Localizasion is not implemented.

2021-02-18 Thread Shai Almog
gt; > UIManager.getInstance().setBundle(theme.getL10N("Localization > (L10N)",lang));)) > > > Thanks for your help > > Regards > > Henrik > Den 16/02/2021 kl. 03.50 skrev Shai Almog: > > If you changed the name to "Localization (L10N)" then thi

[codenameone-discussions] Re: Adding cn1 library to project in IntelliJ doesn't add it to classpath

2021-02-17 Thread Shai Almog
nk you very much! Kind regards > Philip > > > On Wednesday, February 17, 2021 at 3:33:06 AM UTC+1, Shai Almog wrote: >> >> Hi, >> this should work but there might be a regression in project creation in >> one of our recent plugin releases (the latest should be fine).

[codenameone-discussions] Re: Adding cn1 library to project in IntelliJ doesn't add it to classpath

2021-02-16 Thread Shai Almog
Hi, this should work but there might be a regression in project creation in one of our recent plugin releases (the latest should be fine). After doing a Refresh cn1libs open the "Messages" section. Toggle off the Tree mode on the left hand side to see the actual printouts. There might be

Re: [codenameone-discussions] Re: Localizasion is not implemented.

2021-02-15 Thread Shai Almog
, 2021 at 4:02:16 PM UTC+2 hen...@glensbo.dk wrote: > At Shai Almog > > Tried the following: > > You need to fix the classpath problem in Netbeans: > https://stackoverflow.com/questions/23532966/the-libs-copylibs-classpath-property-is-not-set-up/66079126#66079126 > > Fresh impor

Re: [codenameone-discussions] Re: Localizasion is not implemented.

2021-02-13 Thread Shai Almog
Do you mean it stopped working when you added the -Duser.language=dk ? Where did you add this to the project? On Saturday, February 13, 2021 at 5:18:06 PM UTC+2 hen...@glensbo.dk wrote: > At Shai Almog > Thanks for your reply and your help > > As you say "ignore" in the v

Re: [codenameone-discussions] Re: Localizasion is not implemented.

2021-02-12 Thread Shai Almog
line and you should be able to find all the objects within it. This will let you verify that the content is stored within the theme and at what hierarchy. On Friday, February 12, 2021 at 2:06:57 PM UTC+2 hen...@glensbo.dk wrote: > At Shai Almog > > I have changed the name of the bundle to Lo

[codenameone-discussions] Re: Styling the side menu (iOS)

2021-02-11 Thread Shai Almog
ked it yet. > So I need either some xml, css whatever to put somewhere, or an assurance > about the iOS appearance of the side menu (I will check very soon however). > Regards. > > Il giorno giovedì 11 febbraio 2021 alle 03:56:30 UTC+1 Shai Almog ha > scritto: > >> Ar

[codenameone-discussions] Re: getInstance().sendMessage - Email message does not include attachment - wrong path

2021-02-11 Thread Shai Almog
; directory which is a special case on Android" > are you saying that, as a matter of fact, Storage does not work on Android? > > Il giorno giovedì 11 febbraio 2021 alle 03:59:33 UTC+1 Shai Almog ha > scritto: > >> I suggest you use FileSystemStorage and save the files to

[codenameone-discussions] Re: AppArg url path wrong - Android device

2021-02-11 Thread Shai Almog
: > https://github.com/codenameone/CodenameOne/issues/3364 > > Please take into account that the issue is truly blocking. > Thanks > regards > > Il giorno giovedì 11 febbraio 2021 alle 03:48:49 UTC+1 Shai Almog ha > scritto: > >> We don't need the APK. Just t

[codenameone-discussions] Re: Apple Push Notification service server certificate update

2021-02-11 Thread Shai Almog
Hi, we still use APNS and haven't yet migrated to the HTTPS method. We'll migrate to that in the future and this should be seamless to your code as far as we currently understand this. On Thursday, February 11, 2021 at 10:35:38 AM UTC+2 cver...@gmail.com wrote: > Hi > > I just recieved this

[codenameone-discussions] Re: Localizasion is not implemented.

2021-02-11 Thread Shai Almog
n Thursday, February 11, 2021 at 4:53:39 AM UTC+2 Shai Almog wrote: > Did you imported the CSV data into the designer tool? > Does the CSV appear correctly in the designer itself? > How does the localization look in the designer UI, can you include a > screenshot of that? > > On

[codenameone-discussions] Re: getInstance().sendMessage - Email message does not include attachment - wrong path

2021-02-10 Thread Shai Almog
I suggest you use FileSystemStorage and save the files to the app home directory which is a special case on Android. Things like attachments etc. Work better when they're stored in the app home folder. On Wednesday, February 10, 2021 at 7:24:01 PM UTC+2 P5music wrote: > My CodenameApp can

[codenameone-discussions] Re: Styling the side menu (iOS)

2021-02-10 Thread Shai Almog
Are you using CSS or the designer to style your application? If you're using the designer then just define the styles as explained in the video and it will change the colors/font as you expect. If you're using CSS just use the same names of styles and apply them. You can run in the simulator

[codenameone-discussions] Re: Localizasion is not implemented.

2021-02-10 Thread Shai Almog
Did you imported the CSV data into the designer tool? Does the CSV appear correctly in the designer itself? How does the localization look in the designer UI, can you include a screenshot of that? On Wednesday, February 10, 2021 at 5:35:15 PM UTC+2 hen...@glensbo.dk wrote: > If you are

[codenameone-discussions] Re: Account support chats do not persist across devices/sessions

2021-02-10 Thread Shai Almog
It uses your logged in state but it doesn't carry over always. That's just the way most of those chat/support tools work. It's also pretty darn hard to search through history there... On Wednesday, February 10, 2021 at 4:04:04 PM UTC+2 P5music wrote: > It seems that when using the chat support

[codenameone-discussions] Re: AppArg url path wrong - Android device

2021-02-10 Thread Shai Almog
gt; System.out.println("arg="+arg); > if(current != null){ > current.show(); > return; > } > > ... > > ... > > I sent the Android build, I do not think it is safe to attach the apk > here. You can easily do the same. > > Then put a file

[codenameone-discussions] Re: Launching in the simulator: errors about jcef_helper and GPU

2021-02-10 Thread Shai Almog
Based on the discussion here: https://github.com/codenameone/CodenameOne/issues/3360 3d acceleration should be enabled for this to work. On Wednesday, February 10, 2021 at 12:45:09 PM UTC+2 P5music wrote: > IntelliJ IDEA 2020.3.2 (Community Edition) > > Build #IC-203.7148.57, built on January

[codenameone-discussions] Re: AppArg url path wrong - Android device

2021-02-09 Thread Shai Almog
.getProperty("AppArg",null); > > gives the exception, then yields null. > > Regards > > > > Il giorno lunedì 8 febbraio 2021 alle 03:29:25 UTC+1 Shai Almog ha scritto: > >> And the URL is just the unmodified apparg value or do you cache the value?

[codenameone-discussions] Re: AppArg url path wrong - Android device

2021-02-07 Thread Shai Almog
r.close(); > > return new String(b); > > } catch(IOException err) { > > String error=err.getMessage(); > > System.out.println("write exc "+error); > > } > > return null; > > } > > Il giorno domenica 7 febbraio 2021 alle 03:14:46 UTC+1 Shai Almog ha

[codenameone-discussions] Re: AppArg url path wrong - Android device

2021-02-06 Thread Shai Almog
Share intent on Android doesn't provide download folder access. It gives you a local URL to give you access to the file on your app without giving you access to all the downloaded files within the folder. So the URL should be fine. Not sure why it won't open though, How did you open that file?

[codenameone-discussions] Re: "PASTE" option appears when closing menu and touching editable text in CEF BrowserComponent / focus gained just after menu is opened

2021-02-05 Thread Shai Almog
This is one of the nuances of the z-ordering with components. Please file an issue with a test case, we'll try to resolve it. It might be a bit difficult as it might require a special case for this. I would suggest disabling the swipe gesture of the menu when using native widgets. On Friday,

[codenameone-discussions] Re: Error: "Could not find or load main class" in my project

2021-02-05 Thread Shai Almog
odename1.impl.javase.Simulator com.myapp.app.MyApp > > > I can also run the line without that "" and it works without having to > edit the settings file. > Regards > Il giorno venerdì 5 febbraio 2021 alle 07:03:09 UTC+1 Shai Almog ha > scritto: > >> I have

[codenameone-discussions] Re: Error: "Could not find or load main class" in my project

2021-02-04 Thread Shai Almog
s > > Il giorno giovedì 4 febbraio 2021 alle 03:48:36 UTC+1 Shai Almog ha > scritto: > >> I have never heard of the main getting lost in that file. I have no idea >> how that can happen. >> >> On Wednesday, February 3, 2021 at 5:01:36 PM UTC+2 P5music wrote: >> &

[codenameone-discussions] Re: CEF BrowserComponent - 'onload' event called twice on Android devices

2021-02-04 Thread Shai Almog
two events, so what > method are you using? It could be that the same method is being called > twice, as I said. > > Regards > > Il giorno giovedì 4 febbraio 2021 alle 03:50:06 UTC+1 Shai Almog ha > scritto: > >> The iOS API is generally better/more consistent than the

[codenameone-discussions] Re: CEF BrowserComponent - 'onload' event called twice on Android devices

2021-02-03 Thread Shai Almog
The iOS API is generally better/more consistent than the Android API and doesn't have as many quirks. If you can provide a reference to the recommended Android workaround we can incorporate it. On Wednesday, February 3, 2021 at 5:26:30 PM UTC+2 P5music wrote: > I have development experience on

[codenameone-discussions] Re: Error: "Could not find or load main class" in my project

2021-02-03 Thread Shai Almog
y every time the > main class is lost (why is it lost?). > Regards > > Il giorno mercoledì 3 febbraio 2021 alle 03:50:07 UTC+1 Shai Almog ha > scritto: > >> In the settings you have:: >> codename1.mainName=MyApp >> codename1.packageName=com.myapp.app >> >>

[codenameone-discussions] Re: Backup of build hints of project

2021-02-02 Thread Shai Almog
They are all in codenameone_settings.properties with a prefix of "codename1.arg." On Tuesday, February 2, 2021 at 1:24:17 PM UTC+2 P5music wrote: > I would like to retrieve the build hints settings that were in my project > before recreating it. > > I do not know if they are in Codename plugin

[codenameone-discussions] Re: Error: "Could not find or load main class" in my project

2021-02-02 Thread Shai Almog
In the settings you have:: codename1.mainName=MyApp codename1.packageName=com.myapp.app But intellij is running Simulator com.myapp.app.myapp Notice the case difference. It should be either MyApp or myapp but that should be consistent everywhere. On Tuesday, February 2, 2021 at 1:19:57 PM

[codenameone-discussions] Re: CodenameOne button greyed out in IntelliJ-IDEA

2021-02-02 Thread Shai Almog
s > > Il giorno lunedì 1 febbraio 2021 alle 04:03:48 UTC+1 Shai Almog ha scritto: > >> This generally means the project wasn't detected as a Codename One >> project. Did you copy over all the jar files and project files? >> codenameone_settings.properties? >> CodeName

[codenameone-discussions] Re: CodenameOne button greyed out in IntelliJ-IDEA

2021-01-31 Thread Shai Almog
This generally means the project wasn't detected as a Codename One project. Did you copy over all the jar files and project files? codenameone_settings.properties? CodeNameOneBuildClient.jar etc.? On Sunday, January 31, 2021 at 2:28:20 PM UTC+2 P5music wrote: > My old project that was messed up

[codenameone-discussions] Re: Textfield NextFocus Not working in the code and in the GUI ?

2021-01-29 Thread Shai Almog
Hi, This functionality is deprecated in favor of tab order. You're using the old GUI builder which is no longer supported or maintained so this will never be fixed. On Thursday, January 28, 2021 at 1:12:34 PM UTC+2 miss...@gmail.com wrote: > Hi, > My problem is that when i try to set in the

[codenameone-discussions] Re: MapContainer usage error

2021-01-27 Thread Shai Almog
Hi, the exception seems like a bug. We'll have to look into that (please file an issue). Isn't the camera movement due to the call setCameraPosition, in your code? On Wednesday, January 27, 2021 at 10:02:21 PM UTC+2 rdvg...@gmail.com wrote: > Hi, > > In my app I show on a map the current

[codenameone-discussions] Re: Android build - NumberFormatException in build.xml - parameters in red

2021-01-25 Thread Shai Almog
Version is a decimal preferably with up to 2 places after the dot e.g. 1.01 There's a long historic discussion of that you can search through here. On Monday, January 25, 2021 at 11:01:45 AM UTC+2 P5music wrote: > I am trying to send the Android build of my app, after having purged my > sources

[codenameone-discussions] Re: Compiler complaining about L10NManager.format - possible issue

2021-01-24 Thread Shai Almog
It's L10NManager.getInstance().format(...) On Sunday, January 24, 2021 at 1:10:43 PM UTC+2 P5music wrote: > Of course > I meant that L10NManager.format is the replacement for the String.format > method that CodenameOne does not have. > > > Il giorno domenica 24 gennaio 2021 alle 12:09:15 UTC+1

[codenameone-discussions] Re: Http 500 error and offline processing

2021-01-24 Thread Shai Almog
Hi, in your main class there's generic code that handles networking errors and shows an error dialog. Just comment out the portion that shows the dialog. Specifically: addNetworkErrorListener(err -> { // prevent the event from propagating err.consume(); if(err.getError() != null) {

Re: [codenameone-discussions] Re: Online Android build NoClassDefFoundError for build.xml

2021-01-22 Thread Shai Almog
t;> >>>>> or >>>>> latch=new CountDownLatch(1); >>>>> ^ >>>>> >>>>> or also >>>>> error: type WeakReference does not take parameters >>>>> or >>>>> error: i

[codenameone-discussions] Re: ImageViewer panning out of boundaries when zooming

2021-01-22 Thread Shai Almog
Thanks, we'll look into it. On Friday, January 22, 2021 at 1:32:00 PM UTC+2 cver...@gmail.com wrote: > Yes, it works as expected reverting the fix. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group

[codenameone-discussions] Re: Dialog component does not stop

2021-01-22 Thread Shai Almog
Hi, Use dialog.setAutoDispose(false); Dialogs automatically dispose when a command is selected within them. This is the common use case for dialogs e.g. Yes/No, OK/Cancel etc. On Friday, January 22, 2021 at 11:30:45 AM UTC+2 P5music wrote: > What happens if you use showDialog() also in the

[codenameone-discussions] Re: Online Android build NoClassDefFoundError for build.xml

2021-01-22 Thread Shai Almog
JDK 9 broke a lot of things. JDK 8 is still the most commonly used JDK because of that. This is specifically a workaround to a problem with JAXB which is used in one place in our build process. We hope to remove that specific usage which will remove the need for that workaround. On Friday,

[codenameone-discussions] Re: ImageViewer panning out of boundaries when zooming

2021-01-22 Thread Shai Almog
Hi, If you revert this fix is the behavior improved? https://github.com/codenameone/CodenameOne/commit/cd2951e61f685ed435203e1fad5c6eb45e222f9e#diff-472a53741e3367bcb92ab7ddfdce4d9957f1339bfdd0d9d011f069adace41ef0 On Thursday, January 21, 2021 at 11:43:18 AM UTC+2 cver...@gmail.com wrote: > Hi >

<    1   2   3   4   5   6   7   8   9   10   >