Hash and compare changes in specific webpage in Android application - android

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.

Related

Recieving Notifications

So I have this idea of an app that would get all youtube's notifications for the day and puts them all in one page and give you some functionality over them like adding to watch later and maybe not interested and some others all in one click, in addition to that i would be able to make better notification tiles you know the default one isn't that good and i've seen better, I thought about it for a while and I think i am going to go about it this way:
1- stop youtube itself from sending the notifications.
2- making the app get this day's uploads and listing them.
3- making the app send the noti... in a better looking tile.
4- adding the "Other functionalities".
But..., i've looked around for notification support on the youtube api page and found nothing useful.
Is there any api or anything that would help me in this, i am using android studio BTW.

Extract html data after logging into website from android app

I recently started to learn to develop apps for android, but I'm stuck for quite a while on 1 problem:
I want to log from my app to a website (http://student.tu-sofia.bg/) and download some data from it, so I can use it later in my app. I have red different articles and tried different things but in the end nothing worked. The closest thing that I got as a result was receiving the source code of the login page( tried this Android: How to programatically login to website and retrieve data from it?)
Can someone tell my what I am doing wrong or give an advice how I should approach this ?

cannot open links sent in sms text messages

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.

Autofill forms on Android from password manager

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!

In which way is it possible to update an app?

In which way is it possible to update an app? Except download the hole app thru the market.
To be more specific. Let say I have a app with a main menu with 3 choices
1 Data
2 Tools
3 Settings
For 1-Data...
...gives you a new view with a menu(submenu) which each row give a view that contains normal data as text, pictures (maybey video).
If all data must be stored on the phone to be reach offline.
1.1 How can I update this kind of data? Like change/add some text, photo etc from a server??
1.2 Is it even possible to add new menu rows with new data from a server? Only know about xml menu but these feels so permanent.
For 2-Tools...
...that have a new submenu like before. But here the menu use hardware futures and api:s. Like, uses gps to get a position and show it on a map or make a call or something...
2.1 For this kind of stuff, is it possible just to update a specific changed class that the app could download from a server or something similar?
For 3-settings...
...If you could change the language here.
3.1 Is it possible to update the app from a server with a new language automtic when the translation is ready? Just download the xml:s?
Would be good instead of that you have to noties the user, so the user manually have to download the hole app again (< v2.2).
Im new to this, dont have the hole picture yet.
The common way of doing this (which is accepted by anyone using an Android Device) is simply publishing the new App-version on the Android Market.
Although, it should also be possible to do it like you said but since Apps are not allowed to download runnable code their self (for security proposals) it doesn't madder. Also if you want to improve new functions, you might need more permissions to your Android Manifest (it would be very bad if this file could be edited at runtime...).
If you have an App which works like a client for an Online-Service, it's sure okay to update those contents, but the things you asked for should really be done using the normal App Market.

Categories

Resources