Jump to content

grantful

Members
  • Content Count

    79
  • Joined

  • Last visited

Everything posted by grantful

  1. grantful

    Load image from splite blob field

    I am following this tutorial https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Taking_Pictures_Using_FireMonkey_Interfaces I am not sure about it saveing as a bitmap.
  2. grantful

    Load image from splite blob field

    Thanks for the comments . I will look into to this more.
  3. Hello all. I been working on my app for a bit. Just compiling in windows . I have been compiling to my iPhone just fine the whole time i been developing the app. I went to compile the app to my iPhone as usual and get this [PAClient Error] Error: E0776 error: exportArchive: No "teamID" specified and no team ID found in the archive I do not know the problem or how to go about figuring out. i did do some searching. i found this here For anyone that might come across this topic: I had this error recently. It was being caused by the less than optimal Version Info grid in Project Options. Somehow the CFBundleExecutable value was changed: So if you have the same error message, it might pay to check the values in the Version Info section But as far as i can tell it seems to be in order. Any help with this would be amazing . Thanks
  4. Hey Dave thanks for all you do to help others. I found this Delete the info.plist.TemplateiOS.xml file, and the LaunchScreen.TemplateiOS folder, and rebuild. If that does not work, after building, use Project|Deployment in the Delphi main menu, and check whether there are many disabled entries. If so, use the "Revert to default" button (looks like "Undo") in the top left – Dave Nottage Feb 2, 2021 at 0:57 And this did the trick all is working now. That was so weard
  5. Does anyone know of a free Delphi optical character recognition component ? Thanks
  6. grantful

    optical character recognition

    Thanks for all the comments and recommendations.
  7. [PAClient Error] Error: E0776 2023-07-09 15:41:27.235 xcodebuild[22917:1144085] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/48/7bzqxl4n6z71zflpg7p07bxm0000gn/T/FlatRate_2023-07-09_15-41-27.226.xcdistributionlogs". [PAClient Error] Error: E0776 error: exportArchive: No "teamID" specified and no team ID found in the archive [PAClient Error] Error: E0776 Error Domain=IDEFoundationErrorDomain Code=1 "No "teamID" specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No "teamID" specified and no team ID found in the archive} [PAClient Error] Error: E0776 ** EXPORT FAILED **
  8. I did a new multidevice app and put a few things in on it. I compiled it to my iphone just fine.
  9. grantful

    Show tedit box while typing

    I hope someone can point me in the right direction. I am learning to develop for mobile. My problem is when i click in an edit box to type the phones keybord covers the editbox and i can not see what is being typed. Is there a solution to this problem ? Thanks for any help.
  10. grantful

    Show tedit box while typing

    Thanks for your help. I will raed this info.
  11. I am following a tutorial here https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Taking_Pictures_Using_FireMonkey_Interfaces#Taking_a_Picture_with_a_Device_Camera This works good on my Iphone but not on android. Does anyone know a good tutorial with android permissions. I was looking for ant the sample for this but it uses actions. I need to to do this in code as i have 10 different images i need to put a picture in.(image1, image2, image3, etc); If i could get an example with this code that would be great. P.S I did try the mobile permissions component but it seems for android and i can not compile to ios. Thanks for any help.
  12. Thanks for you help. I will read over this information.
  13. I am working with an api to get some data. https://vpic.nhtsa.dot.gov/api/vehicles/decodevin/1G1BE5SM8J7207504?format=json&modelyear So when i post to this and get the returned info as json i need to pull out the Results I have used the Delphi Rest Debuggr and i see the info i need when i choose the string and press apply I have copied the components to my project and when i right click the memory table and choose edit Dataset. I see the jason string with the Results How can i drill down to { "Value": "CHRYSLER", "ValueId": "477", "Variable": "Make", "VariableId": 26 }, { "Value": "CHRYSLER DE MEXICO TOLUCA", "ValueId": "1002", "Variable": "Manufacturer Name", "VariableId": 27 }, { "Value": "PT Cruiser", "ValueId": "3595", "Variable": "Model", "VariableId": 28 }, { "Value": "2003", "ValueId": "", "Variable": "Model Year", "VariableId": 29 }, Thanks for any help i have never wroked with Json before Thanks for any help.
  14. grantful

    Parse Json String

    @programmerdelphi2k Thanks for your patience and help. I will study this.
  15. grantful

    Parse Json String

    I can show the tubular data in the memorytable uJasonDataModule.RESTRequest1.Execute(); edtModel.Text := uJasonDataModule.FDMemTable1.FieldByName('Results').AsString; How can i get to the info in the results json ? { "Count": 136, "Message": "Results returned successfully. NOTE: Any missing decoded values should be interpreted as NHTSA does not have data on the specific variable. Missing value should NOT be interpreted as an indication that a feature or technology is unavailable for a vehicle.", "SearchCriteria": "VIN:1gt125e85df163635", "Results": [ { "Value": "", "ValueId": "", "Variable": "Suggested VIN", "VariableId": 142 }, { "Value": "1", "ValueId": "1", "Variable": "Error Code", "VariableId": 143 }, { "Value": "", "ValueId": "", "Variable": "Possible Values", "VariableId": 144 }, { "Value": null, "ValueId": "", "Variable": "Additional Error Text", "VariableId": 156 }, { "Value": "1 - Check Digit (9th position) does not calculate properly", "ValueId": "", "Variable": "Error Text", "VariableId": 191 }, { "Value": "1GT125E8*DF", "ValueId": "", "Variable": "Vehicle Descriptor", "VariableId": 196 }, { "Value": null, "ValueId": null, "Variable": "Destination Market", "VariableId": 10 }, { "Value": "GMC", "ValueId": "472", "Variable": "Make", "VariableId": 26 }, { "Value": "GENERAL MOTORS LLC", "ValueId": "984", "Variable": "Manufacturer Name", "VariableId": 27 }, { "Value": "Sierra", "ValueId": "1857", "Variable": "Model", "VariableId": 28 }, { "Value": "2013", "ValueId": "", "Variable": "Model Year", "VariableId": 29 }, This is what i am getting with uJasonDataModule.RESTRequest1.Execute(); edtModel.Text := uJasonDataModule.FDMemTable1.FieldByName('Results').AsString; Any help is greatly. appreciated
  16. grantful

    Parse Json String

    The mormot solution only works for windows 😞
  17. grantful

    Parse Json String

    I have changed the code to procedure TForm1.SpeedButton1Click(Sender: TObject); begin const content: RawByteString = HttpGet(url); if content <> '' then begin var dataRec: TDataRec; if RecordLoadJson(dataRec, content, TypeInfo(TDataRec)) then begin ShowMessage(dataRec.Count.ToString); ShowMessage(Length(dataRec.Results).ToString); for var i: Integer := 0 to High(dataRec.Results) do begin if dataRec.Results.Variable = 'Crash Imminent Braking (CIB)' then ShowMessage(dataRec.Results.VariableId.ToString); end; end; end; end; it seems to work
  18. grantful

    Parse Json String

    Thanks for your help. I have one compiler error i can not figure out. [dcc32 Error] MainTab.pas(124): E2026 Constant expression expected var Form3: TForm3; url: RawUtf8 = 'https://vpic.nhtsa.dot.gov/api/vehicles/decodevin/1G1BE5SM8J7207504?format=json&amp;modelyear'; content: RawByteString = HttpGet(url); <<<<<<<<<<<<<<<Here at this line is the error. Thanks for helping me with this
  19. grantful

    Parse Json String

    Thanks very much for the help. I will look at this.
  20. grantful

    Parse Json String

    Hey thanks for the great example. I will look at this later.
  21. grantful

    Delphi IDE LAAAAGGGING

    I am using the 11.3 CE. If i create a new multidevice app and put a few buttons on it and a list view and play around with it is great. as soon as i start putting a few more controls and start coding it gets a 2 to 4 second lag on something as simple as as setting a margin. This is driving me crazy. I can start a new project and it is great untill you start adding stuff and coding. anyone else having this issue ?
  22. grantful

    Delphi IDE LAAAAGGGING

    Thanks for all the comments. Processor Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz, 4008 Mhz, 6 Core(s), 12 Logical Processor(s) 32 Gigs of ram........ I will try to install on a different machine. All the other software and IDEs i use do not have a problem. Just delphi after i add a few pages and controls, etc.
  23. grantful

    Community license

    I am working on an app to put out free to the public. I use Delphi CE. So if i am reading these comments correctly I CAN NOT put this app on the IOS, Android app store for Free. Here is what i was reading. https://www.embarcadero.com/products/delphi/starter/faq 3. What are the advantages to use the Community Edition? The Community Edition is a great way to get started building high-performance applications. Community Edition includes a fully featured IDE, code editor, ultra-fast compiler, integrated debugger, two-way visual designers to speed development, hundreds of visual components. Note, however, that your use of the Community Edition is subject to certain restrictions stated in the License Agreement. We have summarized the restrictions applicable to the Community Edition throughout this FAQs. For example, Community Edition is both designed to allow individuals and startups to bootstrap their vision until annual revenues reach $5,000 at which point you are required to stop using the Community Edition and purchase a paid license to continue using either the Delphi or C++Builder. If you're an individual you may use Community Edition to create apps for your own use and apps that you can sell until your revenues reach $5,000 per year. For more information please read Question #5 below and the License Agreement. Can someone clarify this for me? Thanks
  24. I am working on my app and i was using PrototypeBindSource to fill up a listview. On android it works as expected. On my iPhone it does not display. Later it will show info from a sqlite database . Is this a bug ?
  25. Hello. I am adding the sample project Documents\Embarcadero\Studio\22.0\Samples\Object Pascal\Mobile Snippets\AccessCameraApp to my project. I did Project/addtoProject and the AcesscamaraApp. It compiles and works great on my Iphone but on my android phone i get I am trying to figure out what the issue is. Thaks for any help with finding a solution to this.
×