HI,
I am trying to trace application level user input via an activity. Let me keep it straight.
1. My Activity should read the file(hopefull android writes somewhere in kernel), which has the log activity on every user input action per application.
2. Then , read the file and trace which application had invoked network activity and at what time.
3. Using these values, draw a graph.
I assume that /dev/input/event* records input events. If this is correct, I tried reading the file, but FileNotFoundException is returned.
Is there any other way I can do this ? Please guide.
Hello Everyone!
I'll go straith into bussiness. I'm creating a TASKER profile to parse my bank SMS notifications into my Expense Manager APP.
I Already know how to write the SQL databases, but I need help turning the raw SMS into variables.
I've previously used CUT and SED for very basic stuff, I vaguely know how they work, but I was hoping I could find the answer here from someone who knows better than me.
EXPECTED RESULT
The goal is to assing each variable in the SMS to a tasker variable, some variables would need further processing, or would trigger different events.
SMS TEXT STRUCTURE:
Words in BOLD are the variable data that I want to turn into assign to tasker variables.
-------------------------------------------------------------------------------------
DAVIVIENDA: Purchase Approved,
Card *0839, $38.130, Time 21:10,
Seller EL ORIGINAL TEX MEX LAURELES
---------------------------------------------------------------------------------------
DAVIVIENDA (This is the name of the Bank)
Purchase Approved (This means the purchase was successful, the bank ALSO sends SMS in case of Puchase Denied, the exact same SMS but with the Denied state)
*0839 (This is the ending number of the credit card, so in case I have 2 or more cards, I know what card was used)
$38.130 (The amount of the transaction)
21:10 (The time of purchase)
EL ORIGINAL TEX MEX LAURELES (The name of the seller, some sellers have names registered with spaces, others just numbers.)
HYPOTETHICAL APPROACH
My gut feeling tells me the easiest approach would be to replace ALL the characters between the needed variables with commas or lines, in order to allow tasker to recognice it as an array, but I welcome any suggestions that would lead to a better result.
I hope I'm not posting this on the wrong thread, and I really hope I could get some light on this issue! It's been keeping me awake as of late.
Thanks a lot in advance guys!:cyclops:
-David-
Q&A for [Q] Connect to Remote Database?
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Q] Connect to Remote Database?. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Oracle Database 12c is Ideal For Your Project!!!
ktulu123 said:
Hey, Im developing a web app with java servlets that can access an oracle database through the tomcat server. I am also developing an android app that I want to use to be able to display the information that is stored on this database.
I am just wondering how I do this or is it even possible with oracle & tomcat? If not what other databse/server should i use? The data will also have gps coordinates to display the items on a map.
Fairly new to this type of application
Thanks a mill
Click to expand...
Click to collapse
Why Oracle Database 12c?
Oracle Database 12c introduces a new multitenant architecture that makes it easy to consolidate many databases quickly and manage them as a cloud service. Oracle Database 12c also includes in-memory data processing capabilities delivering breakthrough analytical performance. Additional database innovations deliver new levels of efficiency, performance, security, and availability. Oracle Database 12c comes in three editions to fit your business needs and budget: Enterprise Edition, Standard Edition, and Standard Edition One.
New Oracle Database Utility,TyphoonDBMS 1.0 Beta (Free)
TyphoonDBMS is a complex and efficient Java-based software (free) solution that enables user to easily access and manage tables on Oracle Database Servers.
Typhoon is a comprehensive and reliable application that was developed to assist user in managing the contents of Oracle databases, enabling user to add, edit or remove tables without needing to resort to SQL statements to get the job done.
To gain access to the utility, user first need to create an account using a preferred set of credentials, which will then be required to enter every time user wish to work with Typhoon.
The program allows user to connect to a local or cloud server, by providing the necessary information, including name, version, driver and service ID. user can also input the network details, specifically the host and port number, along with the username and password, or even the database URL. Prior to saving the configuration, user can test the connection to make sure everything is in order.
Once user connect to the Oracle database, Typhoon allows user to view its contents, namely the tables that it comprises. user can browse through them, select a record and update it. Similarly, user can add a new one, as the tool enables user to ‘Insert Number Data’, ‘Insert Blob Data’, ‘Insert Clob Data’, ‘Insert String Data’ or ‘Insert Date Data’.
Moreover, user can create a new table by defining the number of columns that user need, assigning it a name, then filling out the columns and rows with the information user wish it to store. All of this can be done without having to resort to SQL statements or commands. Other options include the ability to drop tables from the database.
This Java-based utility also offers user a series of SQL ‘Syntax References’, (statements and functions) and which user can analyze in detail, to learn how to better work with them, and then use them for your own purposes.
Download & Blog
typhoondbms.wordpress.com/download/
download.cnet.com/Typhoon-DBMS/3000-10254_4-76273374.html
softpedia.com/get/Internet/Servers/Database-Utils/Typhoon.shtml
I am developing an app that is similar to Tinder:
I am trying to develop an app, and I have until now a simple vertifation logic, I am pretty sure that this is not the best solution, but I would like to know what you think about it:
1) The user recieves a unique access token from Facebook SDK and sends it to the server that I created. The access token saved in the user schema and updated every time the user logged in.
2) Every time the user sends a post request, our server checks that the access token is correct, and if not it doesn't response.
3) It checks the user id, and only shown imaged can be checked.
Now what i am asking is:
Is it a good security solution?
What do you think about it?
Hello
I have been searching for an app, which allows me to send HTTP requests automatically at a specified time once a day. The android device is always on and used to communicate with a robot through REST API. The operator presses HTTP requests shortcuts on the tablet.
Does anybody know of a way to achieve this simply?
Thanks in advance.