Creating a simple informal CRM tool - java

I was wondering if anyone could give me any advice to this project I have been given for the next week and a half.
The goal is to make a simple, informal windows CRM application with database to record customer call times, names, company name, follow up time, etc.
I was planning to create it in Java, do I need to create an installer/installation exe file/build using maven? Or would MS .Net be a better application to create it?
I need a search functionality which will search all entries to the database for key word, then pull back the information, i.e. if Joe rang with an enquiry about his order, assistant could search for "Joe" and pull back all rows with Joe in it, and assistant can see what the order was from the data displayed.
The System also needs to have a username and password to log in. For the meantime, saving the database locally is ok, but then maybe branch onto saving the database to the public drive then have different logins for staff members.
Do you think this kind of project would be feasible in the time frame, or any advice for my approach for development/structure of database?
Can this all be done simpler with MS Access?
Thanks for any help!

Related

Rookie question - Can I write a script that executes actions for our internal cloud software?

I work for a big global company (100 000 employees) and we have an internal software (its a database), this service/softwareh can be accessed from all employes via their internet browsers.
I need to change about 200 names in this databas and it is a VERY repetative work which takes time due to the cloud service is sometimes very slow. It usually takes 20 minutes to change one name... and I need to do 200 names!!
I have asked if its possible to just write a script that picks up my information from an excel sheet, then open ups the internet explorer, go to the site, click on all the correct buttons and paste the correct values.
The answer I got was "It is not possible to write a script to alter the database, you would need to go via IT department and via the correct programmers". But I assume that is if I want to superbig mass-update the database? I just want to get rid of the repetative task so I dont need to sit and wait 20 minutes x 200 names.
I guess my question is: Is it possible to write a script that performs actions via internet explorer EVEN IF ITS AN INTERNAL SOFTWARE/CLOUD SERVICE we are visiting?
Please - Im very very new to coding, as you might tell.
Welcome to stack overflow! It's definitely possible to automate those sorts of tasks using scripts, but if you're going down that route I would suggest that automating via internet explorer isn't the best option. Perhaps your IT team could look into creating a tool to access and modify the database directly instead? That would likely be much faster and less convoluted to set up than automating via a web interface.
However, if you're set on using a web browser to automate tasks I would suggest that you start by looking into basic javaScript tutorials and jquery to get started with web manipulation (jquery is an addon library for javascript that lets you set up interactions with web page elements in a friendlier way)! Using javascript you can write scripts to simulate button clicks and enter text values, which sounds like what you're looking for.

Java software: disable after a specific date

I'm developing a simple software for a professor of mine. Nothing special, it just takes some data from some sites and merge them into a text file that will be analyzed from an R program.
Anyway, he asked me a "particularity": this software will be used by his students but he wants for it to be useless after this weeks of lessons. How can I achieve that? They are not computer science students, so something "simple" should be fine, but anyway I need some suggestions. I was thinking to create a web service, but I'm hoping for something else. I've searched and I could not find something useful for me.
I had done this for one of my projects.
Created a file on S3 with restricted access.
Every time the app is executed, i request for this file.
If it exists, i allow them to use the app else System.exit(1).
In your case, you can use this strategy with one file containing the end date, being the date of last class.
Fetch current date time from some public API.
Everytime the app is launched, fetch this file from S3, parse the end date and check for expiry.
Drawback: In case of No internet, the app will not be usable.

Want to transfer information contained in a database in one iteration of an app to another iteration on a different phone

I consider myself an accomplished programmer, but I'm relatively new to Android App development. I'm creating an application that will store information into the SQLite database used in Android. What I'd like to be able to do is be able to take a query of that data and export it either as a file of some sort or just send it to another iteration of the same application on a different phone. Then be able to have that phone import the same information into its own database, seeing that the information should line up correctly as long as it keeps it.
Can anyone provide some good starting examples of how I would best go about this and/or tutorials on how to go about doing it? Right now I'm just not sure how to get started and I could use some help to push me in the right direction, so I'd really appreciate the help.
Thank you ahead of time to anyone who replies.
and export it either as a file
depends on what kind of data you have. You can write any kind of text-based data using a RandomAccessFile for example.
send it to another iteration of the same application on a different
phone
You will need to have your own backend to do so. You could identify the target device by using GCM

is it possible to insert data from other web site?

My English's suck, please understand it.
I am a beginner in programming field.
What i am trying to make these day is making an Accommodation Booking website.
Here's my detailed idea,
I will make Booking System in my own server as well as database.
and then provide other accommodation website with some XMLs or like, so that they can see their own reservation information stored in my database on their website. I think this is possible.
but my goal is not only getting information from my own database, but also inserting a booking data into my database from their website without giving them my database access id/passwd.
I have completely no idea for this.,
can Anybody tell me which i need to know or learn for this, thank you good day.
Ideally, the other site would have a public API you could use to obtain its data.
Otherwise, you could use a screen scraping technique with cURL. Here's an example: http://devtrench.com/posts/screen-scrape-with-php-curl

sqlite3 table creation with java in android

I'm working on creating a checkbook app for android using a database to record transactions. The design I'd envisioned was/is to allow the user the ability to create different "accounts" (savings account, checking account, etc) under whatever name they choose and use that as the database table name. However, using preparedStatements doesn't work when I try to create a table. So I'm wondering if I'm going to need to sanitize the input manually or if I'm missing something. This is my first Java/android database program and I've got no formal education in databases so its possible I completely missed something. **edited to reflect more accurately what I meant by account. As this will be on an android device I have no interest in multiuser setup.
Probably, you don't need a table for each user. You should revise your database structure.

Categories

Resources