Nfe emission by Android app

Asked

Viewed 1,111 times

1

Good afternoon,

I have to start a project where I will integrate in an Android app sales to option to issue an Nfe.
What is the best way to start this process, would be to carry out the whole process in the Android or through a Web Service?
Is there a library or API that assists in the development?

3 answers

4

I believe that the Web Service is the best option, because to request for NFE vc need to have the certificate installed, if you did this on android would have to manage the certificate on each device that the app is installed, in Webservice you can mount the stack for simultaneous requests *(or when you have unavailability on the recipe server ...) and manage the certificate in one place.

  • Got it, thanks! You would have some example of Webservice in java ??

2

Depends on the scope of the project, if you are developing for small businesses where only one device will issue note, do everything in android environment, if multiple devices will emit nf-and use a webservice, as Bartholomew said the management of requisition stacks will become easier to develop.

If you’re going to use PHP to develop the web service, take a look at this github repository. https://github.com/nfephp-org

Credits and official website
http://www.nfephp.org/pt/latest/

  • Got it, thanks! You would have some example of Webservice in java ??

0

mount a PHP server install the NFEPHP API, with it you will not need to install the digital certificate in the app only on the server.

once you have created and configured the PHP web server with the NFEPHP API running and whereas you have knowledge in java for ANDROID/IOS, start with webview.

good luck...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.