Jump to content

Tntman

Members
  • Content Count

    76
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tntman

  1. Thank you for your answers i enjoyed reading them 🙂 Looks like that I made problem without problem. I overcomplicated everything for unknown reason ... IN short, my app receive messages and user can delete them. Every message have parent listbox and every message is basically custom looking frame that i made. So simply when use receive new message I am creating new frame that will have Listbox as a parent and frame name will be message_id. That way i will not have errors because every frame will have unique name ( message_id ). When user deletes message I am just simply looping frames and if that particular frame exists i am removing it.
  2. Hi, I need to make app for my final assignment . In this topic i would like to talk with you about concepts/techniques that i plan to use.. I would like to hear your suggestions and ideas ( will you change something in this design etc... ) Here is description: We have 2 applications. Mobile and desktop. Mobile ( Android only ) Have to be able to scan QR Code i planed to use this LIB -> https://github.com/Spelt/ZXing.Delphi Have ability to display scanned data in memo for example. Save scanned data in txt file on android device. On the left side of program is list of all txt files that are saved in folder and on the right side is list of all other clients ( PC's with app on them ) user is checking file on the left and client ( PC ) on the right and he is sending that text file to PC. Reason why i am sending file to PC is that PC's are connected to printers and it is easier to manipulate with the document on PC( change from txt to pdf,word,excel etc ) and print it. So is Indy component set good for this task? I was thinking to use Indy TCP client and indy tcp server for sending user list ( user list is list of all pcs that are running application ) and for sending txt file i would probably use Indy FTP.. So, to explain little bit more. When user open android app he will receive list of all pcs that are currently running app. When user on android checks file and client ( PC ) from the list he is sending txt file to pc. I only need to send files one way from Android -> pc. Desktop app will serve as file receiver and as i said i will probably add some functionality to manipulate with txt files. Also, people should be able to communicate even if internet is off. What I mean by "internet is off" .. Well imagine that in school we have one router and we cut down internet but people would be still be able to connect on "router" and network, so when people connect on that "router"/network will they be able to communicate and exchange data over that network with indy ? <- i think that answer is YES, i performed little tests but i would like to hear your confirmation Also i was googling yesterday and i found this components called "app thethering" -> I have not researched them yet but it looks like that they could also be used for similar purpose of exchanging data and files... Thank you for your suggestions and answers
  3. Tntman

    WM_MOUSEMOVE message

    Maybe try to unplug your mouse to see it you are still going to trigger it ? Maybe your mouse is too sensitive and you cant notice that with your eyes I cant give you other suggestion but this is what came on my mind
  4. Tntman

    Software architecture [indy?]

    I got it now, problem is that i dont have idea how could i use http with this In my little demo that I made i was using this as a reference -> https://stackoverflow.com/questions/22838159/indy-tidtcpclient-receive-text -> first demo without thread and with timer... i just remodeled a little bit using IdThreadCommand instead of timer -> event OnRun -> if IdTCPClient.IOHandler.InputBufferIsEmpty then begin IdTCPClient.IOHandler.CheckForDataOnSource(10); if IdTCPClient.IOHandler.InputBufferIsEmpty then exit; end;
  5. Hello all, I would like to know what is best approach for making and displaying custom notifications in windows 10. Let me explain little bit more. I dont want to use standard win 10 notifications because they does not look and feel like they are from my app ( i cannot customize look of them how i want ) I want to show for example 200x100 notification on the right corner of the screen, notification should be 100% customizable to look like my design that i made in photoshop.. So I am not sure should I make some sort of borderless form and put some rectangles, images and labels that will represent look of my notification? Notifications should slide and auto-hide after lets say 5 seconds... So what would be best approach to this ? Also I have to mention that in my app I want to throw a lot of different notifications like when user click to save settings it should show notification, when user receive message it should pop up notification, when someone mention user name it should pop up notification and so on....... So my notifications dont need to stack on each other, if new notification should be displayed i will first remove any other notification and display that newest one thats my plan I am using FMX for this and OS windows Thank you
  6. Tntman

    Notification custom look

    I really like them xd , maybe I add option for user to check if he wants custom or regular windows notifications or he wants to turn them off.. Im not sure what do u mean but it is something like this -> https://subiz.com/blog/wp-content/uploads/2014/09/subiz-desktop-notification.jpg so it is custom look and feel with colors ,labels,images and all other stuff that I want to show.. I dont want to give all info about my app, top seceret 😈 lol .. JK, it is some type of chatting app .. If u need vcl or fmx demo how i did it i can make it for u , but it is not that hard
  7. Tntman

    Notification custom look

    Yes , in my app user can toggle on / off if he wants to get custom notifications.. Anyway I dont think that anybody will use my app its more for myself to learn more 😄 that is why i created design in PHotoshop and started making it
  8. Tntman

    Software architecture [indy?]

    There is indy tcp client and indy tcp server , planed to use them for message format i planned to use simple json something like this : [ command:"ListOfAllComputers" { professor: "ProfesorName", classrom: "NumberOfClassrom", socketID: "socketIDGoesHere" }, { professor: "ProfesorName", classrom: "NumberOfClassrom", socketID: "socketIDGoesHere" }, ] So in my mobile app if command = ListOfallComputers i loop over json object and display it in listview for example.. i can receive that "command" and whole data in indy tcp server onExecute event or in indy tcp client by checking if buffer is empty.. When I want to send file , I will choose file and select professor name from the list. Behind the scenes i will grab socketId from certain professor and send file to it. On professor PC i have built in events ( indy tcp server ) onExecute and on id tcp client side there is some function to check buffer is empty "IdTCPClient.IOHandler.InputBufferIsEmpty" <- im not sure if this is how it is actually called because I dont have rad studio opened now.. So if buffer is not empty and command = downloadFileFromMobile my desktop program will accept that file and save it .. Thats some logic, basically i think that in theory i could use both ( indy tcp server and indy tcp client ) because there is no actual main SERVER ( any device can be server or client ).... maybe I am wrong but I already tried to make simple text exchange with indy tcp client and indy tcp server components and it worked There will not be auth or encryption i will not use SSL , whole app is proof of concept ( in the end i could hard code some values in source code that will be used for auth <- i know what this is not the right way , just saying ) Sorry my bad Never planned to use UDP as it seems to be much harder and i actually never heard of UDP multicasting , i will try to read more about it
  9. Tntman

    Software architecture [indy?]

    I dont think i need to invent custom protocol , i think that there are available send recive/stream in indy tcp... Reason why i mentioned FTP is his name ( file transfer protocol ) so it was logical to me to use that in this indy combination.. I know that we could send streams over indy TCP so basically i could send file over indy tcp but i wanted FTP because it is more logical to me it is higher lvl than tcp so it works on top of it .. But still i am open for your suggestions.. Im not sure in HTTP request components, i think that my concept is more suitable for indy tcp .. tcp is lower level than HTTP so how can it become obsolete in several years? Also im not sure why u say that FTP will be forgiven in few years , can you elaborate more on that? And can you elaborate more on http requests, what do u mean exactly ? Maybe i was not clear in first post but when i say "PC" i am referring to school laptops that are used by staff that is working there. So there is no MAIN "PC" that will gather and collect all information, whole group ( array ) of "PCs" is dynamic, some professors/staff members are connecting some are disconnecting + other ones are connecting on their phones so everything is dynamic like a chat room basically..
  10. Tntman

    Notification custom look

    The way how i solved this is to make form without border with animations and display it in corner of the screen .. Add timer and on timer finish display closing animation, i have not found any better other method
  11. Tntman

    multi-media question

    If i understand right you have list of images,list of text ( quotes ) , list of ppt slides and list of audio files and you want to record every possible combination and save it in MP4 video file format ? i think that this could be best to do with javascript + if i remember there were some power point frameworks for Javascript but i never used them .. If i had same task ask you i would probably go with html, css + js because there are probably biggest amount of info online for this task After that you could incorporate your html,css, js files inside delphi app.. -> https://medium.com/@Zawuza/build-your-first-hybrid-desktop-application-with-delphi-scriptgate-bootstrap-and-js-df530a73160 I am planing to use similar approach to solve my user interface graph -> because i dont know how to make same design using delphi components i will write my own html,css,js graph
  12. Tntman

    UI resource manager design

    Hi, I am using FMX for my app that will be running only on windows. I made a design and I edited design of a lot of components but I have problem implementing this design : I am not sure how to make or edit existing components for cpu, ram, disc usage .. I am reffering to this graphs that i marked red.. Can somebody give me any suggestion ? Ty
  13. Tntman

    UI resource manager design

    Yes 😄 Problem is that i am not able to replicate my design in this component.. probably lack of knowledge , i will try again tomorrow
  14. Tntman

    License key system

    I actually dont know.. Lets use a "Bank" example.. Lets say that computers in bank does not have access to the internet ( world wide web ) but they will need to have some sort of inside network with their own servers ( to exchange data etc ) that are accessible only from inside bank and their computers So probably that server inside a "bank" will have similar software to monitor other computers , data exchange collecting logs etc.. Some sort of client-server app i guess .. Im actually a hobbyist and i actually never thought about this stuff, i will have to google it , i never heard about it .. I got awesome idea for app that i wanted to sell ( rent over licence keys - paying monthly ), i think i will have to research more about legal aspects .. Dont need to do with PURE - raw php.. U could do that with raw php if you have already existing projects and some template that you can work on and just modify/upgrade it .. But you could always use prebuilt stuff like active record,jwt even whole framework ( its slow but fast development - Laravel or for just API use Lumen ) .. Even those frameworks are slow they can handle a lot of users on 5$ without problem
  15. Tntman

    License key system

    It is hard almost impossible to protect your desktop software against cracking/using without licence etc.. That said I recommend to build your own licencing system for 2$/month ( only paying hosting for backend ) This can be done over your backend rest api and it is not really hard to do if you have little knowledge with php,nodejs,databases or similar... You could have easily 300+ users at same time performing DB requests on cheapest digital ocean droplet for 5$ a month .. Also you could have a lot more users if you do a websocket/redis validation instead of performing DB query every X seconds ( i will not recommend this second method since it is not commonly used and it is harder ) .. THere are also cheaper solutions ( cheaper droplets ) .. So if you have 3-4 days you can build your own backend licencing system fast,cheap and easy I will be making my licencing system for my desktop app in around 20 days, i will host it on same digital ocean droplet that i already own , saving money .. If you need some help with designing such a system just ask i will try to answer best I can.. He could just send device name with motherboard id + procesor id + gpu id + hdd id and compare that value with value that is stored when user installed app or something like that
  16. Tntman

    looking for a lo-fi Delphi Style

    Maybe I did not understand right because my english is not that good, but you want some delphi skin that looks like lo-fi ? I think u could build ur own lo-fi components - style in 2-3 days its not that hard
  17. Tntman

    Problem with Linking Android application

    I did not research your question first time that I answered because i was in hurry ... do you use some TMS components in your android app that you want to compile ? "lTMSCPLib" looks like this : https://www.tmssoftware.com/site/forum/forum_posts.asp?TID=11317&amp;PID=41276&amp;SID=c2699eaf-4f3b-c13z6efd-33b97ef9-a522f6z5&amp;title=android-compile-error#41276
  18. Tntman

    Problem with Linking Android application

    I think that config is not setup right , maybe this video can help
  19. Tntman

    UI resource manager design

    Maybe i did not explained well. But i have my design that i made in photoshop. In that design i made unique looking buttons, scrollbars, tedits, listviews and other components. I managed to make ( edit style of every component in delphi to look like my photoshop design ) but i have problem with this one. It should represent graph component but i am not sure how to make it. It is not about collecting data
  20. Tntman

    OS Updates

    I was wondering is there any way to display list of updates in your delphi application ? Or to even upgrade or downgrade OS from it ?
  21. Tntman

    OS Updates

    Its ok , any new term that I read and google afterwards is appreciated Ty i will probably try to make demo app just for fun
  22. Tntman

    OS Updates

    usually my projects are just for fun, learn and explore new things ( usually stupid ones and that does not have practical use in RL lol ) ..
  23. Tntman

    OS Updates

    Ty for replies .. I have really hard time understanding and searching win api.. it is much more difficult compared to android
  24. Tntman

    Delphi Licensing

    I got the similar problem after reinstalling my windows and rad studio. I am using free version but still it is licenced and i renew licence every 1 year. I had to ask for some type of .txt document ( slip ) to insert manually and after that I got it working Probably there are similar manual methods for users that are actually paying for rad studio
  25. I dropped StyleBook1 on form, i opened it and i edited progress bars,buttons and all other components that my custom style needs. Now i have to update my components to use styles that I made. Is there an option to add some type of global StyleBook component so all of my forms can access it ? I have around 20 forms and i dont want to drop new StyleBook on every form... I was thinking to make some sort of invisible form ( that form will never be displayed ) where I will have my StyleBook component. After that I will include that form in every other form ( I have 20 other forms ) and try to access StyleBook that way.. What are your solutions ?
×