Custom notification for desktop file to Android phone - android

I have a csv file on my linux desktop that contains events in the future I need to be notified of. Currently, I have a python program made that emails me an hour before the event so I can act.
I used to have my Android phone set up so that if an email from my computer was received (sent through a google account) a unique sound would play. This distinguishes it from other emails.
After an Android update, this functionality is gone from Android phones.
I then used Twilio but am well past the free trial (I sent a text when the email was sent).
I have Airdroid on my phone but don't know how it can scan or read my file on a linux desktop to see when a notification is due.
The question is: what methods can I use to directly send a notification to my Android phone from a file on my desktop?
I am not sure if this is best Stack to ask this question so please advise if there is a better forum.

You can use the API of Pushbullet to accomplish this for free.
Then, their Android app is here: https://play.google.com/store/apps/details?id=com.pushbullet.android

Related

phone log for android and ios

I am a java student, I am starting my internship next month
I have been given a project to research on, on an app that can download phone log(messages and phone calls) from an Android and IOS mobile
here's the little of what I've compiled
"the next generation of smartphone surveillance software. This mobile tracker application records the incoming and outgoing phone calls, sms and surroundings. It tracks gps locations, the browser activity and messages from applications like Whatsapp, Facebook, Viber, Skype and Line."
PLEASE HELP!!..any suggestions will be most appreciated
Thanks in advance
On Android, you'll be able request permissions to access:
Call logs - incoming and outbound
Messages - complete access, including content
Data use - Data use over WiFi and mobile network since the device was last turned on (not historical). There's also a "fun" bug that this API doesn't work well if the device WiFi is turned on.
You won't be able to get access to other applications information without a rooted device. Whatsapp messages, for instance, will be stored in a database in Whatsapp's private memory area.
On iOS, you'll have a much harder time. Access to historical call logs and messages is out of the questions on any non-private APIs (so if you access any, you can't publish the application). The same will apply for information from any applications.
Good luck.
In iOS you can view the logs within Xcode while running the project.
But Apple does not allow an app to download iPhone Messages and call logs. This is private data so such apps have strong chances of rejection by Apple review team.

SMS link to open app that is phone agnostic?

So I'm thinking this may be impossible. But on each phone platform there is a convention to send an SMS link, that when clicked, will launch an application on the device and do something based on the parameters sent in the link.
Ex:
iPhone: Launch an app from a link in an SMS
Android: Launch Android app from within SMS/MMS message?
However is there anyway to do this that is effectively cross platform? For example I have an android phone with my app, and I send an invitation to a friend that has the same app but the iphone version (perhaps I don't know he has an iphone I just have a phone number). Is there a way to send a sms link that figures out it's being opened on an iphone, and sends the link to open the iphone version of the app? Perhaps there is a way to embed very simple logic into a hyperlink that changes based on what device it is? Is there any way to pull off something like this?
I realize I could send multiple links and have the user click the one that is appropriate, but that seems a little sloppy (especially as more platforms become available, it will be cumbersome to cram all the links into 1 SMS message for every device).
This is a difficult situation with no easy answer unfortunately.
Option A) You send a link that points to your server. This link identifies the device based on user agent and then forwards them to the proper sms: link for each platform.
Option B) If you know what type of device you are sending the link to beforehand, then you can determine the proper link on the server side before it is sent.

Find app on computer and send to phone via phone number

I just recently had my app accepted into the App Store and submitted to Google Play. I have seen it where I find an app while using my desktop and then I can enter my phone number and the app download link is sent to my phone (e.g. http://www.groupon.com/mobile). I was wondering how I could create something similar for my application.
Any help would be appreciated.
You would need to implement something like twilio on your website. They provide an API that you can use to send text messages. It looks as though pricing starts at around 1 cent per message. They provide libraries in a variety of languages to help you get started.

Get WhatsApp messages

Is it possible to create a listener to get a message from whatsApp in android?
I mean like you have a broadcastReceiver to listen to incoming SMS in android...
Is any API is needed for that thing, or is it legal thing to do or I need to get any permission from whatsApp?
Whatsapp did not publish any official APIs.
There's this open source API for communicating with whatsapp, it's not official and might stop working if Whatsapp update their protocols.
https://github.com/venomous0x/WhatsAPI
Regarding the legality of using this or other non-official API, it depends on the service agreement that you agreed to with Whatsapp. Read it and see if they frown upon using their communication protocols with clients other than theirs. My guess would be they do not allow it.
UPDATE: This GitHub repository seems to have been taken offline due to legal threats.
It is possible, an example of an Android app that does this is Snowball - basic notification manager that can access WhatsApp message content. I'm not quite sure on how that works, but research Snowball to get more information on how it works.
It is also possible without Android, the source repository on GitHub has been taken down and put back up a few times due to legal threats.
If you do, however, manage to connect to WhatsApp's servers to access incoming and outgoing messages with a desktop app and you don't hide it well, your account will be blocked. WhatsApp notices accounts that send messages faster than it would take for a normal person to send - easy to notice because a human takes time to type, try delaying messages by a random number of seconds to try and hide this. Also note that WhatsApp's terms of service state that you may not run any automated system using the service, i.e. any external app. You may not use the service to advertise or spam (raises red flags pretty fast and gets your account blocked).
There is also another library written in Python which you can use write custom application.
It also has terminal client and you run it in interactive mode and also supports group messaging.
There are lots of issues to fix.However you should not be abusive with whatsapp service.Don't use it to spam users.This is reverse engineered library and therefore unofficial.
Here the link:-yowsup

how can i locate an android device with a website and communicate with an application installed on it

android is able to locate devices and then communicate and update these device. That is the basis behind what i want to achieve. I have created a Content Management System which is a webpage that requires login details. This CMS will contain a record of all my android devices, the users of these devices and all the applications available for these devices. The CMS was constructed using html and it also uses javascript, php and mysql. each android device will have one of my applications installed on it and will be a wifi only enabled device(so that is how it will communicate with the world).
the scenario is, a device stored on my cms will be used by a user in london and they will be able to access the internet via wifi.I want to send a notification to the device using the cms and my location is . I am logged on to my cms in Scotland.
1, What sort of code or software or technique can i implement into my cms(html code, php code, javascript code) and my android devices and or android applications(java code) that will allow me to send a notification from my cms webpage to my application?
2, how can i make sure it is sent to the right device and the right application on that devices? (i.e if i want to contact someone who has a mobile phone i use their phone number, in this case device does not have a sim card and can only connect to wifi.)
please provide me with a clear answer with links on how to achieve this and excuse my ignorance if the answer is straight forward i am new to this.
again just to make it clear i want to send notifications from my cms webpage to a specific application that i have made in android using eclipse and java on a specific android device whos only connection to the internet is via wifi.
thank you
I think Google Cloud Messaging is appropriate for your problem.
Here is the link: http://developer.android.com/google/gcm/index.html

Categories

Resources