-
Content Count
203 -
Joined
-
Last visited
Everything posted by sjordi
-
That's actually my idea, I want to be as close as possible to the native functionalities, but it seems that platform native options for Android in Delphi do not offer the same navigation way as the Contacts app uses. That's why I'm trying to replicate it just for Android as my list view doesn't implement anything else that scroll up and down with a finger, which can rapidly become tedious if the list is long. If you set the native platform behavior on iOS you do have the index to scroll rapidly, not on Android as far as I know...
-
Actually I'd like it to be vertically centered. The list may not have all letters. Ant it will always be available within the main screen. The idea is to simulate what you get on iOS. If my list is filtered, the index may have only "B-F-T-Z" for example and should be centered. Yes, the idea is to quickly scroll in the list on Android (and why not click-to-move on Windows and macOS) Here is an example on iOS that works with the native options. it's not implemented for Android.
-
Hi all, Finally trying to implement this. Inspired by the Android Contacts app. One question, is there a way to vertically center the content of a ListView? The alphabet index will vary accordingly to the main ListView content. I don't want it aligned to the top, but to the center. Besides calculating the height of the list view and changing it dynamically... can we have its entire content vertically centered? Here is the illustration: the alphabet starts from the top and I'd like it vertically centered. Thanks for any clue.
-
Ok I tried this but I can't attach the animation to an item. Maybe I'm missing something. I guess I have to do it programmatically by adding it to a TListViewItem. I'll post back here if I succeed.
-
How to create IOS app using full iphone screen
sjordi replied to ajefferson's topic in Cross-platform
Yes, along with Entitlement.TemplateiOS.xml -
How to create IOS app using full iphone screen
sjordi replied to ajefferson's topic in Cross-platform
Reminds me of the time they introduced iOS 7. Did you start from scratch? If not remove all iOS entitlement files from your project first If you need to run full screen without title bar area BorderStyle = none Project > Options > Version Info Add key: Keys Value Theme No TitleBar -
Thank you. That seems to work. I have to combine this now with my OnItemClickEX event and see whether we can combine that. Also the problem is that the item is not moving. I'll see whether it's possible to make the Item itself slide right or left so the user can visually see what happens. Thanks a lot for your example, this is of huge help. Steve
-
Anyone here with RADServer setup experience? I'd like to find some advice or resources on how to secure the Server besides the SSL certificates and usual Apache/NGinx stuff. It would be more on how to avoid anyone being able to hack into the server and change/get data just by using the URL. Using DataSource parameters is a good way to avoid escaping all URL characters and avoiding SQL injection. Found that: https://blogs.embarcadero.com/tech-tip-how-do-i-secure-rad-server-for-production-deployment/ But besides that? It seems to me, without practicing, that passing everything via the URL is a wide open door to guess what could be other URL keywords, variables, etc... I want to make sure that calls are, in a way, logged in with credentials before accessing anything and get answers from the server. That kind of things. I read David I hands on RadServer document, but it's more focused on how to use it for Rest than actually securing it. Thanks for any help and lights on RadServer deployment.
-
Thanks, that sounds like a beefed up fail2ban feature. I'll see what I can do with filtering and the good idea of the IP address instead of the name.
-
logiciel de gestion commercial avec code a barre en delphi
sjordi replied to krimo's topic in Databases
Il faut voir avec TMS Software sauf erreur ils ont un composant FNC (compatible FMX) qui lit bcp de types de codebars: FNC WX Pack https://www.tmssoftware.com/site/tmsfncwxpack.asp Ils parlent aussi de http://zbar.sourceforge.net/ Deux liens de blogs TMS https://tmssoftware.com/site/blog.asp?post=877 et https://www.tmssoftware.com/site/blog.asp?post=280- 4 replies
-
- logiciel;code a barre
- ;gestion;stock
-
(and 3 more)
Tagged with:
-
Do you actually create the "BackupFile"? With its structure (built-in tables)? I think that the file should exist first before being able to open it. Also make sure that you create the file somewhere where you have the right to write (sandboxing), either it the app space or in the public space.
-
Hi, I'm implementing a drag&drop process in a TListView and I'd like to animate the selected Item (or group item). For this I think we would need to create a bitmap of the selected item to be able then to move it around in the drag process. Is there any way to actually determine the coordinates, width, height of the Item, and make a bitmap of it on the fly? Thanks for any clue about that. Steve
-
I would love to have data change (change views) without the server in between. It would be nice to have only IBToGo on each smartphone, the Mac, the PC and be able to sync together. For example, sync an iPhone directly to an Android smartphone or an iPad over local WiFi. No Server here. But a protocol to compare both device contents. I don't want the server. That means you need a server dedicated to sync AND an internet connection. On the go, it's a problem for me. And I don't want an internet connection to sync my iPhone with my Mac. That's what TMS XData/Echo is kind of doing by comparing datasets. But it's not perfect the way I need it. I use plenty of paid apps that do this over wifi, no server anywhere. One DB compared to another DB (same structure of course, but different devices)
-
Interesting. All my projects include SQLite and I have no problems. But it's correct, I have added the libraries in Project/Deployment for both iOS and MacOS
-
Did you try an empty FMX form? Remove all current projects entitlement files first from your hard disk and recompile. I recompiled all my apps in 11.2, with Xcode 14 under PAServer 13.2.11.7 and they all work on iOS 15.7 and iOS 16.0
-
If it's not trading secrets, hints and tips to achieve this, or a tutorial blog would be nice for others. But I totally understand that's it's not always possible, and always time consuming...
-
Replication is very complex. TMS Echo offers some kind of help but doesn't really handle conflicts besides "the latest record" wins over the oldest. But now what if user A changes a record's FirstName field and user B changes the same record's Address field? The latest change would win, meaning that either the FirstName or the Address would be lost. Real sync should take into account everything at fields level, not only record levels. That means handling tables of changes and then trying to reconcile. Reconcile should also be able to offer, as an option, a dialog box to ask the user which field wins over which, in case both users A and B change, say, the FirstName field. Which one is correct? I still struggle with that but will move forward with Echo for now. No choice. Be aware that to use TMS Echo you need TMS Aurelius and TMS XData Another solution is to use Interbase Change Views. But for this to work you need an Interbase server as a broker (and pay for it). You can't use Change Views in an embedded solution like when you want to sync smartphones/tablets with a Mac or Windows standalone embedded desktop app (that would be my case). It's a shame.
-
Interbase VAR Licence and Demos or Free Versions
sjordi replied to Juan C.Cilleruelo's topic in Databases
To me everything is said here: no-one could forecast the sales. I always found the VAR agreement totally imbecile. Handing out $5K upfront in prevision, that is rollbacked to the next year, etc is so cumbersome. And some freelance developers can't afford this. That's why a one-time payment with then royalty free distribution is, to me, the only way to go. And unlike what you say, if you contact sales, no, you won't have a clear picture of the future, it's always confused, blurred, and it always gives the feeling that prices and conditions will vary depending on the customer. Doesn't make you feel confident. Leaves you with a feeling that you are just a cow being milked against your will... -
Interbase VAR Licence and Demos or Free Versions
sjordi replied to Juan C.Cilleruelo's topic in Databases
Me too when developing Windows apps. NexusDB is great but is not available for cross-platform apps. That's very unfortunate. I'm also against pay as you go solutions and think that the VAR program is pretty obscure. For single developers, you need to know the costs in advance, you have no way to determine how successful an app will be. Could be 10 users or 300k users. As a single developer, I want to pay a fixed price and then have the freedom of royalty free distribution, just like NexusDB. For cross platform, I switched to SQLite, even if not as powerful as Interbase, but it also has a much much much smaller footprint that IB... even if this is a selling point for them to be small... -
Hi all, Just spent 3 days pulling my hair trying to understand why a list view is crashing each time I remove the grouping option for iOS. You know, if you set the ListView.ControlType to Platform, add FillHeader + FillBreak in Visual Binding (with custom format as "SubString(%s, 0, 1)"), on iOS you get your list displayed with Alphabetic groups and the nice vertical Alphabet index on the right to quickly navigate in the list. Works fine. Now if I sort my list using another non alphabetical parameter, I have to disable that index first. So I remove the visual binding to the list Headers. LinkListControlToField1.FillBreakCustomFormat := '' ; LinkListControlToField1.FillBreakFieldName := '' ; LinkListControlToField1.FillHeaderFieldName := ''; LinkListControlToField1.FillHeaderCustomFormat := '' ; Problem is that it crashes each time (also on Android), telling me that the value I pass is "out of range". It's fine on Windows and macOS. Now I think I found the reason... if I set the ListView.ControlType to "Styled" instead of "Platform", everything is fine, no crash (but no index either on iOS). As a workaround, I actually switch the ControlType to Styled, remove the links, and set it back to Platform. Of course it's not elegant. Could someone try the attached project and tell me if it crashed too on your side: iOS, iPadOS? The db is test.sqlite and should normally be deployed to your app. As-is, it should work. If it works, then try to comment out ListView1.BeginUpdate ; ListView1.ControlType := TControlType.Styled ; and ListView1.ControlType := TControlType.Platform ; ListView1.EndUpdate ; in the TForm1.ToolBar1Click procedure. Does it crash now that you stay in Platform mode instead of Styled? Any idea if I'm doing something wrong or if this is a bug, in which case I will open a bug report at QC (Embarcadero) Thanks for your help. Steve ListIndexed.zip
-
Another one. If ControlType =Platform, then OnItemClickEX always return 0,0 as touch coordinates... Looks like the "Platform" type is poorly implemented. https://quality.embarcadero.com/browse/RSP-38364
-
Bug case opened https://quality.embarcadero.com/browse/RSP-38354
-
Parnassus Bookmarks for Delphi 11 Alexandria?
sjordi replied to PeterPanettone's topic in Delphi IDE and APIs
Both bookmarks and navigator show an error at install time before restarting the IDE. Just once. But once installed, everything is smooth. I also have GExperts, Deleaker installed and everything seems to cohabit pretty well. -
Thanks for trying. I'm opening a bug report It seems that even if you don't remove any kind of binds, but just update the database content, it is enough to have it crash. Any kind of dataset change would do...
-
ARM would be cool for some Linux distributions, for robots, some Nvidia distributions, etc... Embedded systems are sometimes in Ubuntu ARM and it would be cool to be able to deploy for them.