Jump to content

JohnLM

Members
  • Content Count

    218
  • Joined

  • Last visited

Posts posted by JohnLM


  1. update..

     

    I have the issue partially solved, in the two tablets only. 

     

    But, to answer Remy's question.  I don't have the latest version because I had never used them in mobile devices.. only in Windows. And I never had any issues. They just worked.

    In Android mobile devices is where and when I just found out they don't work.  Well, at least not for Android 10 on my smartphone. So, I wouldn't know if they are outdated and/or need to be upgraded.

     

    But, as it turns out, for the Android 4.4.2 and 4.4.4 on my two tablets, I did not have the Internet turned on, for those two devices. You see, in order to save battery life, I had turned off the auto-internet feature of those devices, and when I started using them in this project and with the Indy tidhttp component for the first, that is when I discovered all this trouble. 

     

    However, the app no longer gives me any trouble for android 4.4.2 and 4.4.4 on the tablets.., it is working fine. 

     

    I just need to get it working on the smartphone.


  2. Just to update you on the process..

     

    I am using the USB cable to deploy apps on the android, not the Google Store. I have never used that route, nor do I know anything about it.  I use the USB route to add apps to my android device(s).

     

    Right up to now, I was using my smartphone, S10+ which has Android 10 on it.  This device shuts down the app.

     

    Now, I am trying my old Acer tablet with Android 4.4.4 and an even older LG tablet with Android 4.4.2 on it. When I attempt to deploy the app on either of them via the USB cable, (and press the [submit] button in the app to process the idhttp) the app on both tablets does not shut down, instead, they display the same message:

    "IOHandler value is not valid"

     

    I thought for sure, that the LG 4.4.2 tablet would work for the "idhttp" component on android since I purchase both Delphi XE7 Pro and it, back in December 2014.

     

    So now, I am wondering if anyone ever did use the Indy TidHttp component on these much older androids successfully. 


  3. Windows 7 Home 64bit

    Delphi XE7 Professional update 1 with FireDAC and Mobile add-on

    Indy version 10.6.1.518

    Android version  10, (on smartphone)

    Android versions  4.4.4, and  4.4.2 (both on tablets) 

     

    Issue/Problem: 

    When I launch the app on Android, and click on the [Submit] button, the app shuts down when it tries to access the idhttp section here:  idHttp1.get(url_address);

    It works fine under Windows FMX and VCL, just not Android.

     

    Can someone please help me resolve this? Thank you. 

     

    History: 

    Hi. I have been successfully creating small utility apps on my android devices (Galaxy S10+ (android 10) and tablets (android 4.x.x)) for the last 8 years.

     I've been playing around with a new windows project using API through OMdbAPI (an IMDB knock-off) to get quick movie/tv series info. The API is free for 1000 requests. I love it. It works well. 

    Usage is simple, using the following -> [https://www.omdbapi.com/?t=Contact&apikey={8-dig-key-code}] as it will give back a JSON string (below), then I parse it to get back a two-column detail to visualize the data better. Later I plan to fine-tune it and display only certain info from it. Right now, I am simply debugging it on Windows 7 and Android.

    {"Title":"Contact","Year":"1997","Rated":"PG","Released":"11 Jul 1997","Runtime":"150 min","Genre":"Drama, Mystery, Sci-Fi","Director":"Robert Zemeckis","Writer":"James V. Hart, Michael Goldenberg, Carl Sagan","Actors":"Jodie Foster, Matthew McConaughey, Tom Skerritt","Plot":"Dr. Ellie Arroway, after years of searching, finds conclusive radio proof of extraterrestrial intelligence, sending plans for a mysterious machine.","Language":"English, Spanish, German, Russian","Country":"United States","Awards":"Nominated for 1 Oscar. 14 wins & 32 nominations total","Poster":"https://m.media-amazon.com/images/M/MV5BYWNkYmFiZjUtYmI3Ni00NzIwLTkxZjktN2ZkMjdhMzlkMDc3XkEyXkFqcGdeQXVyNDk3NzU2MTQ@._V1_SX300.jpg","Ratings":[{"Source":"Internet Movie Database","Value":"7.5/10"},{"Source":"Rotten Tomatoes","Value":"68%"},{"Source":"Metacritic","Value":"62/100"}],"Metascore":"62","imdbRating":"7.5","imdbVotes":"274,457","imdbID":"tt0118884","Type":"movie","DVD":"16 Dec 1997","BoxOffice":"$100,920,329","Production":"N/A","Website":"N/A","Response":"True"}

     

    OMdb_API_v01.thumb.png.a441b78238da4140ffd4030f04e6ad74.png

     

     

     

     

     

     

×