I want to build an password manager for Android. The Problem is I don't know how to get it to fill login forms of third party applications. I know this is working, because LastPass does exactly what I want.
I don't want a complete solution ;) I just need a point to start. Secondly I don't want to replace the system keyboard like Keepass2Android does. I googled nearly two days about this but I can't get the right keywords to find a starting point.
So the questions are:
How do I detect login forms on the active activity?
How do I paste the credentials to this inputs?
If you don't know the id from a TextView then you need to use getIdentifier() function. You can find a potential usage here.
When you will get the id from your TextView you can paste a text in your form with something like this
instantFromTextView.setText("your creds");
I hope to help!
Related
Hi I have a requirement for a basic social networking application.
My question may seems to be stupid, this is just to get the perspectives and programmatic logic from you guys.
My requirement is that the users must be able to mention other users name inside a test post exactly same as facebook. See the image below
I would like to display the post as same as in facebook
Can somebody suggest me some cool idea to do it.
My plan was the following.
Create a post text similar to this "#user-userid this is a test" and include the user details in post details.Replace the "#user-userid" with the name from the post detail.
Is there any better idea to do the same??
Thanks in advance....
PS: I need to do the same logic on Android, IOS and angularJs web application.
A possible workflow could be listen on edit made on your edittext if the current word starts with '#' (or your key letter) check in your datas if you have a match with this word and then add a recycler view with matching datas and autocoplete when an item is selected.
Regards,
I´m working on a simple application which will create a notification if the content of specific website has been changed. Can anyone explain me how to do so? Thanks
P.S. Already took a look at How to ask
Here´s what I need to do exactly. I have Android app with few fragments in it, where one of them will show when the website content has been changed. And the problem is I don´t know how to do this: create java class which will hash the webpage (like kernel.org) every tho hours, compare it and if the first hash doesn´t match the new one, create notification.
im sending links via sms
like so:
hello, please click on http://example.com/Axcsy
some of the users call back with a problem that they cannot connect,
after inspected i realized that the link has been cut after they pressed on it.
so when they press it they get to http://example.com,
when they copy paste the entire link it works ofc...
is this a known issue or some setting that they changed?
I don't know of any issue that can cause this.
All i can think of is that they didnt click on it and just copy pasted it.
Note: it happened with only a few users (maybe 5 out of thousands), it has nothing to do with model type or android/IOS version (as far as i know, i checked with users that have the same model...)
if anyone has any clue why this is happening please answer,
thanks to anyone who replys
The users are probably using a text messaging app that causes this problem. Many users do not realize that Android can have different text messaging apps - and therefore don't realize they can change them.
Some of your users may have deliberately changed it and can tell you what app they are using, and they could then tell you so you can contact the developer. Even a provider's default app may have been created wrong or has a bug.
I need to give a search box in my android app. As the user starts typing in the search text, I need to show him relevant suggestions. (As we see in the google-search widget on the home screen. If we see from the logs, com.android.quicksearchbox/.SearchActivity is started with android.search.action.GLOBAL_SEARCH intent and it searches in following: corpora:[web, apps, com.android.contacts/.activities.PeopleActivity]).
Only thing is I need the suggestions to be displayed from the web & my application DB.
Any idea how to implement this ? Do I need to implement my own SuggestionsProvider or can I directly use the native implementation? If so, how?
I think i figure it out myself.
Went through Searchable Dictionary code & QuickSearchBox code in android source.
Need two start 2 activities in a background thread. One will search for the search-term in my DB & other will search the same in Google. All the results will be seen in the suggestion list.
Google Suggest API provides suggestions as the user enters the text.
I started android programming just 3 weeks back. I want to implement quick search program. I want to create a text field and when I enter text in that and click search, it must display google results for that entered text. How do I do it? Please help me. I am new to programming. appending the query to the URL and stuff is what I read But its bouncing for me.
Rather than re-invent the wheel, re-use what is already there. Have a look at this -> http://developer.android.com/guide/topics/search/index.html You can write a search provider that uses the existing framework.
Then have a look at this -> developer.android.com/resources/samples/SearchableDictionary/index.html
Maybe it's gonna help you : http://developer.android.com/resources/tutorials/views/hello-webview.html
Moreover, you gonna need intents in order to launch the web browser.
I did go thru your link before. I have written the program and am able to open the web page. But Am having problem in linking my query string to the web page.Whatever I type in the text field, on clicking search, I must get its results.