[codenameone-discussions] Re: This group is now officially deprecated

2021-07-22 Thread Shai Almog
As part of this change the group is now moderated. On Friday, July 23, 2021 at 6:50:42 AM UTC+3 Shai Almog wrote: > Please move your discussions to the new reddit group > https://reddit.com/r/cn1 > or to stackoverflow with the "codenameone"tag: > https://stackoverflo

[codenameone-discussions] Re: Get IMEI

2021-07-22 Thread Shai Almog
also possible to know when the cell phone is turned off, the battery > level or when the gps is turned off? > > Thanks > > El miércoles, 21 de julio de 2021 a las 21:10:11 UTC-5, Shai Almog > escribió: > >> Hi, >> as far as I know Android also ended support for

[codenameone-discussions] Re: Reduce the size of the Dialog window.

2021-07-22 Thread Shai Almog
wrote: > Hi, > > Am I to interpret that there is no way for the Designer to do it? > > El miércoles, 21 de julio de 2021 a las 21:11:24 UTC-5, Shai Almog > escribió: > >> Hi, >> You can use explicit positioning when showing a dialog. You can use show >> at

[codenameone-discussions] Re: Reduce the size of the Dialog window.

2021-07-21 Thread Shai Almog
Hi, You can use explicit positioning when showing a dialog. You can use show at orientation to align a dialog to a side etc. On Wednesday, July 21, 2021 at 9:46:07 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > I'm trying to resize the window and change the margins from left to right > for the

[codenameone-discussions] Re: Get IMEI

2021-07-21 Thread Shai Almog
Hi, as far as I know Android also ended support for IMEI access without vendor permissions. This only worked on older devices. On Wednesday, July 21, 2021 at 9:42:57 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > How do I get the IMEI number? > > I only need it on Android, I tried with

[codenameone-discussions] Re: Problems consuming WS

2021-07-20 Thread Shai Almog
Hi, there are two possibilities: - The URL could be unreachable from the device. It's possible that the IP address you gave isn't public - Phones block HTTP URLs by default (there's a warning in the console if you'll look). See this answer for Android:

[codenameone-discussions] Re: Variable that is not refreshed

2021-07-19 Thread Shai Almog
Hi, static final fields are copied by the javac compiler. So even if you change them you might still have an older value all over the code. Do a clean build to workaround this. On Tuesday, July 20, 2021 at 5:53:52 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > I have a static variable

[codenameone-discussions] Re: Netbeans and Maven

2021-07-19 Thread Shai Almog
The plugin is no longer applicable with Maven so that's OK. Not sure about the problem in NetBeans, we'll need to check. On Monday, July 19, 2021 at 11:07:01 PM UTC+3 mcw wrote: > > I have been away from CodenameOne for months and am just getting back. > Everything has changed and I am trying

[codenameone-discussions] Re: Custom Loading progress for BrowserComponent

2021-07-19 Thread Shai Almog
Hi, this is a native Android feature. You can just place any animation you want on top of the UI e.g. in the LayeredPane (not a dialog). Then when you get the web event you can just remove the animation. On Monday, July 19, 2021 at 10:16:50 PM UTC+3 davidwaf wrote: > Hi, > > I was reading on

[codenameone-discussions] Re: How to remove the strip that appears at the top of the form

2021-07-16 Thread Shai Almog
Hi, you can use the Component Inspector tool from the simulator to see the offending component and style it. In this case a simple hack of getToolbar().setUIID("Container"); will probably do the trick. On Saturday, July 17, 2021 at 4:16:35 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > The image

Re: [codenameone-discussions] Re: build list gets stuck

2021-07-11 Thread Shai Almog
vier Anton, wrote: > >> In my case neither reloading nor cancelling and resending works. I did >> notice that this crept up slowly as since one month ago some builds would >> get stuck but not always. Now it's all of them >> >> On Sun, 11 Jul 2021, 08:38 Shai Almo

Re: [codenameone-discussions] Re: build list gets stuck

2021-07-11 Thread Shai Almog
vier...@gmail.com wrote: >> >>> The build server for android is broken. Last I checked was 10 hours ago. >>> Is an issue really needed for this? It's not really a feature or a bug, >>> it's kind of like the service itself >>> >>> On Sat, 10 Jul 2021, 06:00

[codenameone-discussions] Re: I cannot detect the cancellation in the password addition in FingerPrint

2021-07-11 Thread Shai Almog
Hi, is the callback invoked at all? You can show a toast if it is. Are we talking about Android here? On Saturday, July 10, 2021 at 7:43:31 PM UTC+3 rdvg...@gmail.com wrote: > Hi, > > I am testing with the example that is in github, I changed the add method > and I cannot detect the

[codenameone-discussions] Re: android certicicate generator

2021-07-11 Thread Shai Almog
Hi, It's still there under the "Advanced" section. On Saturday, July 10, 2021 at 2:09:18 PM UTC+3 pbellpi...@gmail.com wrote: > Hi > > There is no android certificate generator anymore in codenameone settings. > How do i sign a android app now with codename one. > > ciao > Peter Bell > --

[codenameone-discussions] Re: Doubts about the fingerprint

2021-07-09 Thread Shai Almog
pass the cell phone >> to another person and register their fingerprint (up to 4 are allowed) and >> use the app without problem. That's why it seems important to me that the >> footprint can be created and managed from the app. >> >> El jueves, 8 de julio de 2021 a

Re: [codenameone-discussions] Re: build list gets stuck

2021-07-09 Thread Shai Almog
I suggest filing an issue. On Friday, July 9, 2021 at 4:55:07 PM UTC+3 javier...@gmail.com wrote: > Seeing this now too for android > > On Tue, 6 Jul 2021 at 03:05, Shai Almog wrote: > >> Odd that it happens on the short build, I'll try to look into this. >> On Monday,

[codenameone-discussions] Re: editing properties on a new platform

2021-07-09 Thread Shai Almog
Is this on Maven or on the plugin. I suggest moving to maven where this migration should work more smoothly. On Friday, July 9, 2021 at 9:54:45 AM UTC+3 daved...@gmail.com wrote: > also, after editing to make the paths superficially acceptable, the wizard > is unable to save - but there are no

[codenameone-discussions] Re: TextField editing causes disturbance to BrowserComponent

2021-07-08 Thread Shai Almog
I'm guessing there's an exception in the JavaScript side. Ideally you would connect to the iOS webkit debugger on the device to see that. Haven't tried this: https://stackoverflow.com/questions/25871586/how-to-debug-javascript-code-inside-a-wkwebview On Thursday, July 8, 2021 at 1:21:47 PM

[codenameone-discussions] Re: Doubts about the fingerprint

2021-07-08 Thread Shai Almog
As far as I recall the device needs to already have your fingerprint scanned and authenticated. So if the device is passed to someone else he'll need to go into settings and update the list of fingerprints. If your OK with any user as long as he's authenticated you can just approve everyone

[codenameone-discussions] Re: Custom permission messages

2021-07-08 Thread Shai Almog
messages - after you denied it, and then tried to use Location > again, it's asking default "Allow background location". > > I created a simple dialog for the moment when the permission will be > asked. > > On Wednesday, July 7, 2021 at 10

[codenameone-discussions] Re: Custom permission messages

2021-07-07 Thread Shai Almog
tried with the ACCESS_BACKGROUND_LOCATION too, same result - no message > is shown. > > Am I missing something? > > On Tuesday, July 6, 2021 at 10:47:06 PM UTC-4 Shai Almog wrote: > >> I don't see that permission in code. I see fine location and >> android.permission.ACCESS_BACKGROU

[codenameone-discussions] Re: Custom permission messages

2021-07-06 Thread Shai Almog
I don't see that permission in code. I see fine location and android.permission.ACCESS_BACKGROUND_LOCATION but not COARSE. I'll have to check. On Tuesday, July 6, 2021 at 10:05:07 PM UTC+3 hana@gmail.com wrote: > Sorry, wrong link. > Here is the one I followed: > >

[codenameone-discussions] Re: build list gets stuck

2021-07-05 Thread Shai Almog
56:19 PM UTC-7 Shai Almog wrote: > >> These are crashes or timeouts in the servers. We're looking into these >> but they're pretty hard to debug. >> >> On Sunday, July 4, 2021 at 6:30:46 AM UTC+3 daved...@gmail.com wrote: >> >>> >>> Somet

[codenameone-discussions] Re: Log messages not appearing on the iOS simulator console

2021-07-05 Thread Shai Almog
Shai, but it never hurts to try. >> >> On Sunday, July 4, 2021 at 10:05:44 PM UTC-4 Shai Almog wrote: >> >>> If nothing appears then this isn't us. It's an environment problem, not >>> sure how to debug that. >>> >>> On Sunday, July 4, 2

[codenameone-discussions] Re: Log messages not appearing on the iOS simulator console

2021-07-04 Thread Shai Almog
em or CN1. > The process is attached. I also detached and attached again. > Regards > > Il giorno domenica 4 luglio 2021 alle 03:57:31 UTC+2 Shai Almog ha scritto: > >> Try using Log.p(String). >> >> On Saturday, July 3, 2021 at 11:46:20 AM UTC+3 P5music wrote: >> >>

[codenameone-discussions] Re: Change image of component "Check"

2021-07-04 Thread Shai Almog
Hi, the current check box isn't in the theme. It's a material icon that's a special case. If you replace it you need to use a MultiImage so the size will be different based on the device density so there's no accurate size in pixels. In the developer guide:

[codenameone-discussions] Re: build list gets stuck

2021-07-04 Thread Shai Almog
These are crashes or timeouts in the servers. We're looking into these but they're pretty hard to debug. On Sunday, July 4, 2021 at 6:30:46 AM UTC+3 daved...@gmail.com wrote: > > Sometimes the builds list gets stuck with an app in "building" state, > where it actually has finished. Refreshing

[codenameone-discussions] Re: [Need Direction] Got selected under OSPP 21

2021-07-03 Thread Shai Almog
Welcome Anshumaan, Congratulations! Writing a private note. On Saturday, July 3, 2021 at 1:40:39 PM UTC+3 anshumaan...@gmail.com wrote: > Hello everyone/members, > I am Anshumaan, Junior at Information Technology & Services, got selected > from "Open Source Promotional Program 2021". I didn't

[codenameone-discussions] Re: Log messages not appearing on the iOS simulator console

2021-07-03 Thread Shai Almog
Try using Log.p(String). On Saturday, July 3, 2021 at 11:46:20 AM UTC+3 P5music wrote: > I am testing my CN1 app on the iOS simulator. > I had many lines like > System.out.println("something to be logged"); > throughout the app. > > I replaced all those lines with static calls to >

[codenameone-discussions] Re: Facial recognition

2021-07-02 Thread Shai Almog
do not see documentation of how to use finger print > with facial recognition, could you give me a link or an example. > > Greetings > > El Thursday, July 1, 2021 a la(s) 10:21:51 PM UTC-5, Shai Almog escribió: > >> Hi, >> the finger print CN1Lib supports a

[codenameone-discussions] Re: Facial recognition

2021-07-01 Thread Shai Almog
Hi, the finger print CN1Lib supports authenticating with faces if that's your requirement. On Friday, July 2, 2021 at 4:22:57 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > I have seen many posts on the topic of facial recognition on CN1. The > recommendation was always that CN1 has the tools for

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-07-01 Thread Shai Almog
> On Wednesday, June 30, 2021 at 10:05:05 PM UTC-4 Shai Almog wrote: > >> In iOS it generates >> native_com_symdesign_shoppinggenie_MyNativeImplCodenameOne.m >> and native_com_symdesign_shoppinggenie_MyNativeImplCodenameOne.h >> Which you

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-30 Thread Shai Almog
> "MyNativeImpl" file for the iphone and it generates an error file which > I've attached. > > > On Monday, June 28, 2021 at 9:44:15 PM UTC-4 Shai Almog wrote: > >> By default we don't overwrite files that are already there. I suggest >> deleting and regener

Re: [codenameone-discussions] Re: Problems submitting an image using MultipartRequest

2021-06-30 Thread Shai Almog
;> >>> Can't be sure without looking at your entire implementation but here are >>> 2 ideas: >>> >>> 1- make sure to add the file via MultipartRequest.addData( and don't >>> call setPost or setFileName >>> 2- make sure your test call in P

[codenameone-discussions] Re: Problems submitting an image using MultipartRequest

2021-06-29 Thread Shai Almog
Hi, using the regular addArgument should work just fine. It will be added to the multipart seamlessly. On Wednesday, June 30, 2021 at 3:15:35 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > Detect the problem by including the following parameters: > mp.setFilename ("image",

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-27 Thread Shai Almog
e interface code is in > "common/src/main/java/com/symdesigns/shoppinggenie/MyNative.java. > The cn1.pluging.version is 7.0.26 . > > On Saturday, June 26, 2021 at 9:47:06 PM UTC-4 Shai Almog wrote: > >> Just the Android version is enough. If the Android native file there? >> Under

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-26 Thread Shai Almog
rms? At the > moment I only need it for android. I did go through the video tutorial. > > I didn't include the error file from the cloud build because it was so > long but nevertheless I've attached it below. > > > On Wednesday, June 23, 2021 at 9:50:50 PM UTC-4 Shai Almog wrot

[codenameone-discussions] Re: How to convert a string to date

2021-06-25 Thread Shai Almog
ot; out there >> in the real world. I gave up and wrote my own parser, which I have >> extended to handle the dates that I actually >> encounter. >> >> >> On Thursday, June 24, 2021 at 8:30:41 PM UTC-7 Shai Almog wrote: >> >>> Hi, >>> I do

[codenameone-discussions] Re: UIID for TextComponent

2021-06-24 Thread Shai Almog
You can type in a constant in the designer tool. The list isn't always complete. On Friday, June 25, 2021 at 2:48:05 AM UTC+3 ngosti2000 wrote: > Am having a hard time trying to set the UIID for teh textcomponent. > The documentation says we can use this constant textComponentFieldUIID but > >

[codenameone-discussions] Re: How to convert a string to date

2021-06-24 Thread Shai Almog
Hi, I don't understand the problem. We have SimpleDateFormat in Codename One it's just under the codename one packages in the import. On Thursday, June 24, 2021 at 11:35:56 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > I created a new method in CodenameOne, but it is sending me an error. > To

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-23 Thread Shai Almog
gt; >>> On Wednesday, June 16, 2021 at 8:02:59 AM UTC-4 Steve Hannah wrote: >>> >>>> Add the following to the dependences section of your javase/pom.xml >>>> file: >>>> >>>> >>>> com.codenameone >>>>

[codenameone-discussions] Re: 2.4Kb jar is rejected from server because it is 1.8Mb with dependencies

2021-06-21 Thread Shai Almog
older is duplicated (170Kb) > > I do not know if the limit would not be exceeded but each point is worth > understanding. > > Thanks > Regards > Il giorno sabato 19 giugno 2021 alle 05:22:31 UTC+2 Shai Almog ha scritto: > >> I guess that's a big dependency. Which library

[codenameone-discussions] Re: IntelliJ IDEA+AndroidStudio local Android build failed

2021-06-21 Thread Shai Almog
; /> android:name="android.intent.category.BROWSABLE" /> android:name="android.intent.category.OPENABLE" /> android:scheme="file" /> android:mimeType="*/*" /> > > 2) What are the right parameters in the gradle files? The value was 0 for

Re: [codenameone-discussions] Re: Problems with conversion from milliseconds to date.

2021-06-21 Thread Shai Almog
Notice that date in milliseconds is in GMT/UTC so it should work well universally even if your server is in a different time zone (which is very likely). That's probably the source of the problem you're experiencing. This is why the response from Javier should work as it removes the

[codenameone-discussions] Re: IOS Udp broadcast

2021-06-18 Thread Shai Almog
I answered this here: https://stackoverflow.com/questions/68038597/codenameone-ios-entitlements-for-multicast-udp On Friday, June 18, 2021 at 11:37:50 PM UTC+3 daved...@gmail.com wrote: > > My UDP broadcast code for IOS mysteriously stopped working. Code from the > same source still works on

[codenameone-discussions] Re: IntelliJ IDEA+AndroidStudio local Android build failed

2021-06-18 Thread Shai Almog
hed file. > Regards > > Il giorno venerdì 18 giugno 2021 alle 05:30:54 UTC+2 Shai Almog ha scritto: > >> What does the gradle file contain? >> >> FYI we have here binaries which you can use to workaround problems with >> gradle: https://github.com/coden

[codenameone-discussions] Re: 2.4Kb jar is rejected from server because it is 1.8Mb with dependencies

2021-06-18 Thread Shai Almog
egards > > Il giorno venerdì 18 giugno 2021 alle 05:31:58 UTC+2 Shai Almog ha scritto: > >> The dependencies are part of the jar. We don't package them in the >> servers. I suggest checking which dependency blew up the jar and removing >> that dependency. >> >>

[codenameone-discussions] Re: 2.4Kb jar is rejected from server because it is 1.8Mb with dependencies

2021-06-17 Thread Shai Almog
The dependencies are part of the jar. We don't package them in the servers. I suggest checking which dependency blew up the jar and removing that dependency. On Thursday, June 17, 2021 at 10:19:21 AM UTC+3 P5music wrote: > > I have a free account and sometimes I need to build my app on Android

[codenameone-discussions] Re: IntelliJ IDEA+AndroidStudio local Android build failed

2021-06-17 Thread Shai Almog
oaded all the necessary. > On the internet someone says > > From Android Studio go to: Tools >> Android >> SDK Manager > > Select and install "Extras|Android Support Repository" > but I do not find it. > > How to fix and compile? > > Thanks in adv

[codenameone-discussions] Re: Native interfaces in Intellij

2021-06-14 Thread Shai Almog
tiveInterface" but nevertheless > it creates a file in MyProject/src/main/java/com.symdesign/myproject/ > called MyNativeImpl.java which looks like the advertised stub. (Is it in > this file that I should put my native code? ) > > > On Sunday, June 13, 2021 at 9:37:18 PM UTC-4 Shai

[codenameone-discussions] Re: Avoid calling localNotificationReceived on iOS automatically

2021-06-14 Thread Shai Almog
2021 at 10:48:32 PM UTC+3 Ivan wrote: > Hi, > yes, in that case it is invoked properly. > > > Dátum: piatok 11. júna 2021, čas: 4:34:35 UTC+2, odosielateľ: Shai Almog > >> Hi, >> if you kill the app and then click the notification will the >> localNotificatio

[codenameone-discussions] Re: How to know the id of the last inserted record through SQLMap API?

2021-06-14 Thread Shai Almog
Hi, right now you'll need to select again to get that id. We don't automatically update the primary key on insert yet. On Monday, June 14, 2021 at 11:13:05 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > I am using the SQLMap API inserting records into a table with auto > increment. Could you tell

[codenameone-discussions] Re: Native interfaces in Intellij

2021-06-13 Thread Shai Almog
ename1.system.NativeInterface. > > On Saturday, June 12, 2021 at 9:41:08 PM UTC-4 Shai Almog wrote: > >> The plugin is only applicable to Ant projects not to maven projects. >> For maven Generate Native Interfaces is one of the run configurations. >> On Sunday, June 13, 2021 at 12

[codenameone-discussions] Re: Problems using PUT method with Restful api

2021-06-13 Thread Shai Almog
r trick to move forward? >> >> El Saturday, June 12, 2021 a la(s) 8:38:36 PM UTC-5, Shai Almog escribió: >> >>> Hi, >>> PUT defaults to sending parameters as POST within the Rest API. I'll add >>> a way to override that behavior with a postParameters(fals

[codenameone-discussions] Re: Native interfaces in Intellij

2021-06-12 Thread Shai Almog
The plugin is only applicable to Ant projects not to maven projects. For maven Generate Native Interfaces is one of the run configurations. On Sunday, June 13, 2021 at 12:01:09 AM UTC+3 a2nd...@gmail.com wrote: > I'm trying to create a native interface to access android's >

[codenameone-discussions] Re: Problems using PUT method with Restful api

2021-06-12 Thread Shai Almog
Hi, PUT defaults to sending parameters as POST within the Rest API. I'll add a way to override that behavior with a postParameters(false) method. This will be there next week. A potential workaround might be to use a "hack" like this: Response r = Rest.put(SERVER_URL +

[codenameone-discussions] Re: iOS simulator - Files app freezes when sharing a file with custom extension for my app

2021-06-10 Thread Shai Almog
This might be a problem related to the storage hack we did. It reverses the order of the directories listed and might have broken the code that copies over the file. On Thursday, June 10, 2021 at 10:07:41 AM UTC+3 P5music wrote: > I am testing the import function of my CN1 app in some special

[codenameone-discussions] Re: Callback Function from Server in iOS

2021-06-10 Thread Shai Almog
Hi, I need more details to help. Ideally here: https://stackoverflow.com/questions/67924050/callback-function-from-server-in-codename-one-ios-build On Thursday, June 10, 2021 at 6:11:55 PM UTC+3 bsystems@gmail.com wrote: > Hello > Callback functions from server works perfectly android

Re: [codenameone-discussions] Re: Unable to restart the IEHS App

2021-06-10 Thread Shai Almog
t; > On Thursday, June 10, 2021 at 1:06:55 PM UTC-4 shannah wrote: > >> That won't be the problem here. If you're using IntelliJ, add the "-e" >> flag to the maven command by choosing "Edit Configurations" >> >> [image: image.png] >> >>

[codenameone-discussions] Re: Avoid calling localNotificationReceived on iOS automatically

2021-06-10 Thread Shai Almog
Hi, if you kill the app and then click the notification will the localNotificationReceived be invoked? On Friday, June 11, 2021 at 12:06:35 AM UTC+3 Ivan wrote: > Hi guys, > > I'm using local notifications in my application. On android everything > works well. > I have troubles with iOS. When

[codenameone-discussions] Re: Suggestion about changing the location of cn1storage folder

2021-06-09 Thread Shai Almog
getRoots()[0]; >> yields a different path of course, I had to change the code for >> retrieving the "Application Support" and the "Documents" folders path. >> It seems to work. >> Regards >> Il giorno domenica 6 giugno 2021 alle 03:05:52 UTC+2

[codenameone-discussions] Re: Layout involving BrowserComponents revalidates when typing

2021-06-08 Thread Shai Almog
I don't think we revalidate the browser component while typing but I'll confirm that. On Tuesday, June 8, 2021 at 11:33:47 AM UTC+3 P5music wrote: > > I am testing my CN1 app in the iOS simulator. On my OSX system performance > is variable according to what device is simulated. They are

Re: [codenameone-discussions] How to create simple buttons with text wrap in BoxLayout.y ?

2021-06-08 Thread Shai Almog
I don't understand how you expect this to work? You have a button with long text that breaks lines. How do you expect this to be centered? If you explicitly line break with \n then there will be room for centering. Alternatively just use a bit of margin on the side to limit the space available

[codenameone-discussions] Re: Unable to restart the IEHS App

2021-06-08 Thread Shai Almog
Is this the full output you see in the console? Steve? On Tuesday, June 8, 2021 at 9:11:40 PM UTC+3 a2nd...@gmail.com wrote: > Tried that but no joy. Any other suggestions? > > On Monday, June 7, 2021 at 9:20:59 PM UTC-4 Shai Almog wrote: > >> Try killing Java processes an

[codenameone-discussions] Re: Unable to restart the IEHS App

2021-06-07 Thread Shai Almog
Try killing Java processes and see if it solves the issue. On Tuesday, June 8, 2021 at 1:05:53 AM UTC+3 a2nd...@gmail.com wrote: > Suddenly I've not been able to send builds to the cloud. Nothings changed > in the code and I get the error : > > Failed to execute goal >

[codenameone-discussions] Re: build times (again)

2021-06-06 Thread Shai Almog
We had this discussion before. You create queues with these long builds. This is probably the impact of the new xcode. That's not something we can fix. On Monday, June 7, 2021 at 12:37:35 AM UTC+3 daved...@gmail.com wrote: > > Your IOS build times are pretty irregular. The first three "apple"

[codenameone-discussions] Re: Build server not supporting SDK 30?

2021-06-06 Thread Shai Almog
We're looking into this. On Sunday, June 6, 2021 at 9:56:10 PM UTC+3 javier...@gmail.com wrote: > The build server builds for Android using SDK 29 by default (whereas the > local build uses SDK 30) > > Google is starting to ask to move apps to SDK 30 > > Building on the build server with > >

[codenameone-discussions] Re: Custom extension not registered and not opening files with AppArg on iOS

2021-06-05 Thread Shai Almog
; same features, but how could I compare them, what do you mean? > If you mean the plist file, the ext registering part is the same. > > However, have you a working sample, like Kitchen Sink, that has the > feature working to inspect it? > > Thanks > Il giorno sabato 5 giugno

[codenameone-discussions] Re: Suggestion about changing the location of cn1storage folder

2021-06-05 Thread Shai Almog
ording to what the > user does with my app? so the user can see files not moved there explicitly > by him/her? > Is that folder used as the inbox folder for my app and other things as a > matter of fact? > Regards > Il giorno sabato 5 giugno 2021 alle 06:20:02 UTC Shai Almog ha

[codenameone-discussions] Re: Suggestion about changing the location of cn1storage folder

2021-06-05 Thread Shai Almog
f the user deletes it, even when it is hidden? > 5 - What about the other CN1 content that can be seen in the Documents > folder? > > Regards > Il giorno venerdì 4 giugno 2021 alle 03:09:24 UTC Shai Almog ha scritto: > >> We can't change something dynamically as it will

[codenameone-discussions] Re: Custom extension not registered and not opening files with AppArg on iOS

2021-06-05 Thread Shai Almog
s not even brought to the foreground. > No log messages are printed in the console about that part of code (they > are when the app runs in the CN1 simulator). > So that code is not executed. > > Regards > > Il giorno venerdì 4 giugno 2021 alle 03:13:30 UTC Shai Almog ha sc

[codenameone-discussions] Re: IntelliJ IDEA+AndroidStudio local Android build failed

2021-06-05 Thread Shai Almog
X11 > Garuda Linux; ID version: rolling > > What do you read inside the log files to say that? What's the issue about > the build? > > Regards > Il giorno venerdì 4 giugno 2021 alle 03:15:39 UTC Shai Almog ha scritto: > >> Do you have more than one version of Android S

[codenameone-discussions] Re: IntelliJ IDEA+AndroidStudio local Android build failed

2021-06-03 Thread Shai Almog
Do you have more than one version of Android Studio installed? Which versions are installed on your system? On Thursday, June 3, 2021 at 7:48:52 PM UTC+3 P5music wrote: > I have to run a slightly modified version of my CN1 app on the Android > emulator. > I performed a local Android build on a

[codenameone-discussions] Re: Custom extension not registered and not opening files with AppArg on iOS

2021-06-03 Thread Shai Almog
So if I understand correctly your app appears correctly in the list of options for the file. But the arg isn't passed when you click on the app. On which version of iOS are you testing this? On Thursday, June 3, 2021 at 4:36:41 PM UTC+3 P5music wrote: > > My CN1 app has to open data files with

[codenameone-discussions] Re: Suggestion about changing the location of cn1storage folder

2021-06-03 Thread Shai Almog
We can't change something dynamically as it will break compatibility. You can submit an RFE or pull request which provides the different storage location option as an API or configuration. On Thursday, June 3, 2021 at 4:10:05 PM UTC+3 P5music wrote: > Can the cn1storage folder be under the

[codenameone-discussions] Re: Problems with a webservice and population in Json

2021-06-02 Thread Shai Almog
nableWrapper.java:120) >> at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) >> >> El Tuesday, June 1, 2021 a la(s) 8:45:43 PM UTC-5, Shai Almog escribió: >> >>> Hi, >>> It's a bit hard to read in this way but it looks like the server returns &

[codenameone-discussions] Re: Problems with a webservice and population in Json

2021-06-01 Thread Shai Almog
; > When I try to receive the fields from the class they are in null ( > *usr.getPropertyIndex().populateFromMap(value.getResponseData())*; ). > > Thanks > > El Monday, May 31, 2021 a la(s) 8:45:59 PM UTC-5, Shai Almog escribió: > >> Hi, >> It's hard to tell. Is

[codenameone-discussions] Re: Problems with a webservice and population in Json

2021-05-31 Thread Shai Almog
Hi, It's hard to tell. Is the printout of data related to value.getResponseData()? What are the fields of User? How does it fail? Is the user object not set? If you step over it with a debugger is it set for a short while? On Monday, May 31, 2021 at 7:14:58 PM UTC+3 rdvg...@gmail.com wrote: >

[codenameone-discussions] Re: Native iOS Pickers

2021-05-30 Thread Shai Almog
oticed: no (working) support for scroll-to-top > when tapping status bar, not possible to select displayed text for > copy/paste or Look Up, different feel of 'tensile' dynamics (eg bounce on > scroll to top/bottom). > > On Saturday, May 29, 2021 at 6:58:14 AM UTC+2 Shai Alm

[codenameone-discussions] Re: Native iOS Pickers

2021-05-28 Thread Shai Almog
Native pickers break with every release of iOS. As a result we deprecated them on iOS. I'm not sure if we'll fix them. The question is: why do you need them? On Friday, May 28, 2021 at 2:07:06 PM UTC+3 bsystems@gmail.com wrote: > We have noticed that implementing native pickers in ios

Re: [codenameone-discussions] iOS datepicker error

2021-05-28 Thread Shai Almog
econfigure your services to accept native ios pickers. > Thank you > > On Friday, May 28, 2021 at 4:06:15 AM UTC Shai Almog wrote: > >> We changed the default on iOS to be the lightweight picker which should >> resolve this issue. >> >> On Thursday, May 27, 2021 at 5:2

[codenameone-discussions] Re: iOS Date Picker UI Change

2021-05-28 Thread Shai Almog
Native pickers break with every release of iOS. As a result we deprecated them on iOS. I'm not sure if we'll fix them. Our picker has a calendar mode which might be more similar to what you're trying to achieve. On Friday, May 28, 2021 at 11:03:52 AM UTC+3 bsystems@gmail.com wrote: > When

Re: [codenameone-discussions] iOS datepicker error

2021-05-27 Thread Shai Almog
ctions and apple > needs builds to be done with 14 and above before it can be pushed to the > appstore > > > On Thu, 27 May 2021, 01:56 Shai Almog, wrote: > >> We don't support showing the picker without the button first. It's an API >> we used to have but there a

Re: [codenameone-discussions] iOS datepicker error

2021-05-26 Thread Shai Almog
We don't support showing the picker without the button first. It's an API we used to have but there are portability issues involved since picker acts very differently when running on different OSs. On Wednesday, May 26, 2021 at 7:46:22 PM UTC+3 javier...@gmail.com wrote: > Hi, > > This should

Re: [codenameone-discussions] Push notification while app is open in foreground

2021-05-25 Thread Shai Almog
limited time >> >> If you instead schedule a notif the user is forced to see it/ discard it. >> Toastbar might be enough, just saying.. >> >> On Thu, 7 Jan 2021, 14:12 Hannah R, wrote: >> >>> Shai, Ok, I hear your point. >>> >>> Toast

Re: [codenameone-discussions] How to determine if the app is being used for the first time?

2021-05-24 Thread Shai Almog
less I call clearAll() > or manually choose "Clear Data" in the App Storage settings. > This caused some bugs. > Adding android.allowBackup=false to the hints resolved this particular > problem. > > > On Friday, May 21, 2021 at 12:58:51 AM UTC-4 Shai Almog wrote

[codenameone-discussions] Re: Can I create a LinearLayout (for example) with native android code and display it on a CN1 interface ?

2021-05-24 Thread Shai Almog
Answered here: https://stackoverflow.com/questions/67673539/display-an-android-linearlayout-in-a-codename-one-application On Monday, May 24, 2021 at 5:24:27 PM UTC+3 ahmed.t...@gmail.com wrote: > I have a method that implements native android code to create this view. > if the method returns

Re: [codenameone-discussions] Re: New Xcode "mac" option

2021-05-24 Thread Shai Almog
te: > >> No worries >> >> I published a new version with the "mac" option ticked, so I guess it >> doesn't hurt to tick it >> >> Thanks >> >> Javier >> >> On Sun, 9 May 2021, 02:37 Shai Almog, wrote: >> >>> H

[codenameone-discussions] Re: Disabling timeouts for slow systems (timeouts are not meaningful there)

2021-05-23 Thread Shai Almog
The timeout for pod install is 5 minutes and for the entire build is 25 minutes. It should be enough. On Sunday, May 23, 2021 at 3:36:03 PM UTC+3 P5music wrote: > I would like to know if it is possible to change some parameters in the > maven build files so that there is no timeouts, at least

Re: [codenameone-discussions] CocoaPods command not found from Maven on Linux (CocoaPods is successfully installed)

2021-05-21 Thread Shai Almog
We use some 3rd party tools that are not our own. Our code might also make some assumptions without realizing since we never tested on Linux. On Friday, May 21, 2021 at 4:11:29 PM UTC+3 P5music wrote: > It's my curiosity. > It assumes that it is running on a Mac, of course. > I guess that

[codenameone-discussions] Re: Documents folder on iOS device for CN1 apps

2021-05-21 Thread Shai Almog
We typically detect the file in the private folder and seamlessly copy the file to a place that's visible by the other app. On Friday, May 21, 2021 at 1:50:49 PM UTC+3 P5music wrote: > Maybe it's me but I could not find any explanatory documentation on this. > > My CN1 app can export some data

Re: [codenameone-discussions] How to determine if the app is being used for the first time?

2021-05-20 Thread Shai Almog
Preferences clearAll is pretty destructive. I would suggest using it only in extreme cases. On Thursday, May 20, 2021 at 7:16:51 PM UTC+3 javier...@gmail.com wrote: > Oh yes, just use the Storage class to write its own file instead of > Preferences and then you won't have to worry about

Re: [codenameone-discussions] Push key is null

2021-05-20 Thread Shai Almog
I saw in the other thread you use preferences.clearAll(). That would pretty much explain your problem... On Friday, May 21, 2021 at 7:56:25 AM UTC+3 Shai Almog wrote: > You have this: if (!Preferences.get("setIt", false)) which indicates you > don't call it every

Re: [codenameone-discussions] Push key is null

2021-05-20 Thread Shai Almog
; I want to make sure that it's working after the first loading of the app. > > > > On Wednesday, May 19, 2021 at 10:35:40 PM UTC-4 Shai Almog wrote: > >> You need to call register for push every time the app loads. Not just the >> first time. So even if it fails the firs

[codenameone-discussions] Re: How to center a container?

2021-05-20 Thread Shai Almog
You can use several strategies but the simplest one would be to use TableLayout roughly like this: TableLayout tl = new TableLayout(NUMBER_OF_BUTTONS, 1); Container f1 = new Container(tl); f1.add(tl.cc().ha(CENTER).wp(100), play); f1.add(tl.cc().ha(CENTER), movie); Notice the other lines

[codenameone-discussions] Re: "Failed to execute goal" - build-ios goal fails in maven very often

2021-05-20 Thread Shai Almog
d and accessed so > the corrupted text causes the error. > Maybe changing the timeouts somewhere it works again because that file is > never needed. > ? > Regards > Il giorno giovedì 20 maggio 2021 alle 02:29:45 UTC Shai Almog ha scritto: > >> Yes. I think there's a timeou

[codenameone-discussions] Re: Button not being displayed For PieCharts

2021-05-20 Thread Shai Almog
There's no need to cross post. We answer within 24 hours and go over everything. On Thursday, May 20, 2021 at 5:50:52 AM UTC+3 mongial...@gmail.com wrote: > Please help me solve here: > > > https://stackoverflow.com/questions/67613290/button-not-showing-codenameone > -- You received this

Re: [codenameone-discussions] Push key is null

2021-05-19 Thread Shai Almog
You need to call register for push every time the app loads. Not just the first time. So even if it fails the first time the app loads it should work the second time. On Thursday, May 20, 2021 at 12:52:26 AM UTC+3 javier...@gmail.com wrote: > (only a user like you) > > Have you tried delaying

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-19 Thread Shai Almog
at 10:12:27 PM UTC-4 Shai Almog wrote: > >> I doubt we support the beta version of Android Studio at the moment. I >> don't think that's normal though. >> >> On Monday, May 17, 2021 at 8:09:50 PM UTC+3 a2nd...@gmail.com wrote: >> >>> I'm still trying t

[codenameone-discussions] Re: Display Youtube Video On Component

2021-05-19 Thread Shai Almog
We can display videos on Components using the MediaManager. Youtube specifically prohibits showing videos without embed. On Wednesday, May 19, 2021 at 4:04:42 PM UTC+3 azizaz...@gmail.com wrote: > Is there a way to display a youtube video in a component VideoViewer or > something like that?

  1   2   3   4   5   6   7   8   9   10   >