I try to use PDFNetAndroid to filling signature fields and i saw some examples that sign these fields by code(not by human).
e.g http://www.pdftron.com/pdfnet/samplecode/DigitalSignaturesTest.java.html
I want in the moment that the client touching the mobile screen on signature field it's opening with window or something and the client drawing on the filed.
Someone know how to do that?
UPDATE: I have pdf file with signature field that i was created by acrobat.
I want to sign on the field in my android device.
enter image description here
Thanks.
PDFNet Android SDK already includes, out of the box, the ability to click on a Signature field and using touch events, draw a signature.
Please download the SDK, run the CompleteReader sample project, and open the getting_started.pdf. Then navigate to page 8 and tap the signature field.
The code/logic for handling this is in the PDFViewCtrlTools project, in particular the lib\src\PDFViewCtrlTools\src\com\pdftron\pdf\tools\DigitalSignature.java file in the SDK. All tools code is provided in the SDK so you can customize to your business needs.
Note, that we also have a show case app, called Xodo, avaiable for free in all mobile stores. This app uses CompleteReader as its foundation.
Related
I want to build a local application with interactive maps(ie regional maps with data being displayed when we click on a region). An example pic is given below. I have to embed data like news events and other things as needed in the interactive map. I know a little Java and Python. How should I proceed with my ideas to create my project?enter image description here
Firstly decide for which platform and OS you want to code. If you are going to code for Android or IOS you could simply use the google maps API and add custom markers to it. The same would be sufficient for an Web-Application, while for PC‘s I would not suggest this approach
I am developing a simple android app, I want to use file picker when I press button, so how can I implement file picker in my app.
I spent some time earlier figuring this out so to wrap up
Intents provide the ability to hook into third-party app components
for content selection. This works well for media files, but if you
want users to be able to select any file, they must have an existing
"file explorer" app installed. Because many Android devices don't have
stock File Explorers, the developer must often instruct the user to
install one, or build one, themselves. aFileChooser solves this issue.
You can clone it from iPaulPro/aFileChooser.
I have a GWT application that is using phonegap (Cordova) to make it into a mobile app.
I want to make a phone call in a native way (be it Android or iOS) how can I do this using GWT APIs. http://www.openlogic.com/wazi/bid/313383/Using-GWT-and-PhoneGap-for-complex-mobile-applications seems to give some pointers but it seems too complex to understand
useful information in that link is
Access basic functions through special URIs
URI scheme Meaning
href="tel:555-5555"
href="mailto:someone#somewhere?subject=something...&body=some.text..."
href="sms:555-5555?body=some.text..."
href="mailto:someone#somewhere?subject=something...&body=some.text..."
**Meaning**
Open the dialer application to call the given phone number.
Open the SMS application to send an SMS with the given body text to the provided phone number.
Open the email application to write a message to the provided email account with the given subject and body. There are more options, such as sending cc or bcc copies.
In the sample application, I added a couple of hyperlinks to show how to call someone or how to send an SMS. Of course, by using GWT DOM manipulation methods, you could set up the URIs dynamically, instead of hardcoding them as I did in the sample.
Can someone tell me how to make a phonecall/open dialer using GWT
Make a phone call programatically using Libgdx
Look if this answer is good for you.
I'm using libgdx and I'm trying to make able the app to do phonecall using both android and iOS. But, if in Android is simple doing this using the native, in the other hand I cannot find a way to do the same for iOS in java without using objective c.
From Gingerbread onwards there is a built-in OS facility for taking screenshots (on non-rooted phones as well).
By pressing home and power button together and it also saves it to a folder on the SD card.
Is there a way to invoke this via code? The ability to take a screenshot is needed as part of my other app. There is an app named screenshot-UX that has a method called embedded screenshot capture, which I believe invokes that.
Does anyone know how to invoke the built-in Gingerbread screenshot facility or even how to use it? (with having optional parameters like save path, extensions etc..) as well as for non-rooted phones.
This is not a built-in feature of the Android platform at the Gingerbread (2.3) level, although some OEMs did include it (Samsung, for instance, has you press HOME and BACK at the same time). It was not introduced to the platform as something users could do with a button sequence until 4.0, where the sequence is now to press the Power and Volume buttons at the same time.
Even still, there is no public API via which developers can take screenshots. The way that screenshot apps capture images Android devices is to read the frame buffer directly via the SurfaceFlinger in native code.
I have a site where, via Android, a user needs to:
fill in a document (simple html I think).
the next step would be to sign on the Android.
the data should be saved into a database inside the site.
Points I should mention:
the UI should be as simple as it gets
I am the one who should build the web database
So therefore my idea was :
the application would open an browser where the user will insert all his stuff into the html.
the html will save automatically all the data into a class called data.
the next intent of the application would be the surfaceView (where like a painter the user will sign).
the surfaceView will be saved into png and with data both will be stored in another class which will be inserted into the server.
so in this class would be two files the png one and one contain all the info that was on the html as strings (Jonathan Leffler I hope this one solves my misleading)
the server will take this class and parse it and save it into tables.
Someone has another idea?
In which language should I write it? I thought Java and Android where the database would be MySQL. Does anyone have another idea?
another idea I have is to change this html file into Android sheet
so all the information would be stored on the device and by clicking upload all the information would be sent to the internet site where a server will store it in his database
Can someone point what would be a better solution
note:in my second solution no internet availability is needed so it can work offline where in the first case its needed.
I would like to hear more then on solution on to pick the best who fits my qualities
You will need a webpage optimized for mobile display for Android. That should be PHP and MySQL.
The next thing would be a native Android application written in Java. That will probably use some local data, so it will use mobile SQLite database on the phone.
When the user logs into your website, that is done by the web, and later it will redirect the user to a custom scheme something like signature://capture . The webview will detect this scheme, and will launch your native app.
You will setup your Android application to react to this custom scheme, so it will open up, and will open up the SurfaceView. Then the user will be able to touch the screen, to give his signature.
When you capture the signature, either the set of the points (reccomended) or the generated image (will cause postprocessing issues) you will issue a simple HTTP Post method, that will send/post the data to your server.
So you will end up having in your web environment the captured signature.
Good luck with development.