Parsing Data from android Sign Up page to webView Sign Up page - android

I'm new android developer, I don't have any great idea.
I wanna make app that will take some input from users then will pass those input to a website for sign up & then
when press Sign Up button from my app button will hit the website Sign Up button.
But I don't know how to do that.
I was search on web long time, but maximum was use JavaScript, I don't have idea about that.
Can anyone please clear me this things please.
Thanks in Advance

Its not at possible to have 2 views as in one screen. Its possible if you create some API on your website to which you Send the data to server and in return it will give you true or false, to track data insertion succeded or not.

You can't do that if the website don't provide the api service.

Related

Disable screenshot function in Android and iOS app

I'm interested in creating an access control app for a project in college. The app would contain a barcode/QR code to read the person identity when placed under a scanner.
To limit unauthorised persons from obtaining access to the barcode used for entry I was hoping to disable a person from taking a screenshot whilst in the app. Is this feature possible?
Thanks in advance!
Dear friend you have to do some tricky thing for this thing as you can't actually prevent user to take screenshot or getting the picture from another mobile,
so this thing is not gonna solve only by mobile side.
So whats the best approch for this?
According to me you should handle this thing with the help of server side communication store the expiry seconds in QR code data set like:
{
"id" : "some-user-id",
"ency-key" : "your-latest-key",
"expiry" : "60"
}
here your ency-key will be your latest encription key that you will get from server by using webservice or something like that. Now the tricky thing is that this key is only valied for 60 seconds (OR as per your requirement) after getting this key from server, server should refresh the key so if the unauthorized user will try to access the same code by storing in screenshot or photo, he/she will not be able to access the system.
Thats from my side :) hope this thing may help you
Answer for iOS: You can't actually prevent user to take screenshot, however you can find if user have just taken screenshot by observing UIApplicationUserDidTakeScreenshotNotification notification and then you can either delete such photo from gallery(if permission have been given) though this is not good at all or you can blur the image. but my point here is, even if you, somehow manage to prevent screenshot, how you gonna prevent user to take photo from other device?
PS. I am not sure if its possible in android or not.

Keep user logged in when using a Android WebViewClient

I have a question about the android WebViewClient, is it possible to make for instance a page where users can login and then save the credentials into a cookie like we could do on regular website that is not running inside an Android App?
If we can't do this, what can we use to achieve this, it should be a really basic easy thing to create we don't need tight security or anything. We basically only want to use an email address to let the user login to the application and let them stayed logged in.
Any suggestion or help would be greatly appreciated, sins Android Studio is completely new to me.
Thanks in advance.
so basically, WebView is just used to display, and doesn't actually have the ability to save data. However, you can use CookieManager & CookieSyncManager to store the data you need

My application server side

I finished developing my client side application in Android.
I want to create a sign-up page and Page Login.
When the user login my app he selects several categories.
I want to show all the categories that users select a certain page. Please give me some tips for this. Do I need server side for this? If I do, where am I supposed to start? Thanks for help and sorry for weak English.
Unless you need to get the categories from the server, then this seems like something on the client side. In HTML, you can show a bunch of categories with < select >, which you can see here: http://www.w3schools.com/tags/tag_option.asp
If you're doing it in an Android app, you can use Spinner.

Showing data from a Website

i am fairly new at developing with Android but am trying to learn to learn new things:
I wanted to build a simple app that would take data from a website and then show it on the app. I considered using WebView but WebView seems to just put a browser within the app.
I understand that an app such as this would have to 1) Communicate a login and password and pass it to the website and then 2) show the data in the app
What i wanted to do was integrate the data into the app. Another question is if there are any implications regarding this type of app because a user would have to log in using a Username and Password.
So how could I go about this(i just need some general pointers, what to use, etc.)
Thank You!
You can use an HTTPClient to execute a POST function to return the html data from a webpage. You would only have to provide login credentials if the page you're trying to access is username/password protected. A simple tutorial on this can be found here
http://argillander.wordpress.com/2011/11/23/get-web-page-source-code-in-android/

Getting the url of the android default browser

I am trying to create an application in which will be notifying the user about the phishy websites.So for this i need to get the url which the user has opened in the default browser.
After a lot of google search and stackoverflow search i am not getting any idea how to develop the app.Can you guys help me ...how i could get the url entered by the user (just want the url accessed).
Or any other way round to develop this type of app in android.
Any help would be highly appreciated.
Maybe you can proceed the following way.You can read browser bookmarks.Then see the arrange pattern of the bookmarks.Maybe it is sorted according to the accessed time.So you can get what you need

Categories

Resources