Results 1 to 4 of 4
  1. #1
    java java is offline Member
    Join Date
    Feb 2015
    Posts
    14
    Rep Power
    0

    Default should to get serial number of android device, I should use tomcat server?

    hello,
    should to get serial number of android device, should I use tomcat server? can not I use only apache and not tomcat. I know php very good, but I want to get serial number of android device, and it is Possible with java and not php, but I do not want to use two web server for do this, and I want to use apache and php for my site, but for getting the serial number, I should use java, but However,I do not want to use tomcat and only I want to use apache. Is it possible?

    thanks.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: should to get serial number of android device, I should use tomcat server?

    If Java can get the serial number out of the request, then so can PHP.
    You just need to know where in the request it is being set (presumably the header).
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    java java is offline Member
    Join Date
    Feb 2015
    Posts
    14
    Rep Power
    0

    Default Re: should to get serial number of android device, I should use tomcat server?

    thanks.
    If Java can get the serial number out of the request, then so can PHP
    I want to create a library with java and it get the serial number, when the user uses the submit button, it (library) can get the serial number. If I'm not mistaken, did you mean?

    thanks.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: should to get serial number of android device, I should use tomcat server?

    You say you have a Tomcat server which is getting the serial number.
    The only way (I can think of) is if you are getting that from the request header.
    There is nothing preventing PHP from reading that header to find the same value that you are already finding using Java.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. how to check the presence of sdcard in the android device?
    By rama.nayal@yahoo.com in forum Android
    Replies: 5
    Last Post: 07-23-2013, 02:23 PM
  2. Replies: 2
    Last Post: 12-10-2012, 03:07 AM
  3. Replies: 1
    Last Post: 12-24-2011, 04:41 AM
  4. Replies: 0
    Last Post: 11-21-2011, 06:34 PM
  5. Replies: 3
    Last Post: 08-10-2011, 08:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •