Download and update text files [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Ok, Maybe the question is too general but I really need help...
The problem is that my app will contain thousands of textpages and I just can`t make it hardcoded.
So I decided to make it a hybrid app. I want to download HTML files from the server to the device and make my app automatically read these files also with an option to update them later.
Here is how it`ll work:
http://img836.imageshack.us/img836/9923/jsct.png
What is the simplest way to do this?
Thank you :)

I agree with the above comments that the question is to broad and that you should start and ask when you hit specific problems, but here a few hints.
You need to download the file from url.
Open it in editor, edit it, save it...
Upload them back to the server.
If you divide your app into sections you will get specific problems you can focus on.
So just with the above you can search for options and try to:
Download a file from internet( HTTP GET with DefaultHttpClient for example...google it ;) )
Save that file
Open it in default text reader, which will handle editing and saving.
saving the file paths in your app through SharedPreferences ( another google question ;) )
Uploading the file
and so on....
I know its hard if you dont have experience but start with the little things first, maybe just opening a file, just downloading a random file, and soon you will be able to put the pieces together like a puzzle.... good luck!

Related

(Android App/Web App) (Noob) How do I get started on making an app like this? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Ok so first off: I am a complete noob when it comes to Android app development. I used to have Android studio and wanted to make an app. I found it very confusing and hard to learn.
Second: I know HTML and CSS pretty well, but not JS or XML or any other languages.
I want to make an app that is basically a vault. When you open it, you get a login screen (with fingerprint login preferred). Then you login and are presented with a vault to store images, files, and etc.
I have no clue where to get started or what to learn. I want to learn how, but it seems very confusing to me.
I could also make this a web app so which ever is easier, let me know.
Thanks for the help!
What I suggest is you start with very small projects. In each one, aim to make something you haven't tried before (don't be repetitive in your apps). I suggest you make the following apps, so in each one you learn a little about what shall be useful:
+/- Calculator
Application which asks for a password, and if correct, sends you to a second activity
Application which can save information even if the application is closed
Application which can shows a series of images one below another
(scrolling down)
This will get you a nice idea on Android Basics which will be useful for your project. If you were to jump directly into it, you would find yourself in a sea of abstract information and have no idea what to do.
Remember: small projects give you better understanding. Google and StackOverflow are your best friends

Google Drive folder access information [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm not very experienced with developing app/tools, but I really want to develop (if practically possible) a tool that would notify the owner of the Google Drive folder of the information related to someone else accessing the folder (assuming that the folder is shared with that someone) such as, Access Date/Time, Accessed By etc. In my opinion, this would only be done if the user/owner has the tool/app opened/switched on.
I was reading the Google Drive API but couldn't find anything useful on this.
I'd like to know how to get started with this project, if this is even possible? I'm not very experienced but I want to learn as I grow.
I recommend going though the Google Drive API. When set up correctly Changes.watch will notify you when ever a file has been changed the trick for you will then be to notify your user.
Alternative would be to just check the file every now and then and see if it had been changed using file.get. However this is probably over kill depending upon how soon after the change you want to know about it.
I am not an android dev so cant help you much more then that. Your question is rather broad so once you start working with it if you have any issues getting it working I recommend you ask a new question directly related to those issues. Welcome to stack

Android create apk programmatically [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have an app in which i have done some work like updated database with some records. Now i want to generate its .apk file so if i send that .apk to another user he or she can continue work from where i left. Like i wrote a half article, now i want some one else to complete it so i send that .apk to him and he can install it and continue our work.
All i could find was to get apks for all applications but i want the generated apk to have all the work i done in my app so the other user can continue easily
ref: How to get the .apk file of an application programmatically
You can't send the apk to the other developer, you have to send the source code. Your best bet is to use an online repository (github for example) and share the code that way.

Build an online application like facebook android [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am trying to build an online application for movie management. I want the application to be an online one, could any have inputs as to how to build it, as in currently i am downloading each of the dynamic content and loading the layouts which is highly inefficient. Could anyone suggest a better procedure to make an online application and guide for the same.
https://developers.google.com/eclipse/docs/endpoints-androidconnected-gae
That link will show you how to make a Google app engine project. The easiest way to use an online database with android. You can post, and get with very little code. What you do with the data you get back is up to you... Throw it into list views, text views, fragments, etc. But yes this is the best place to start as you need an online database or a social network would not work at all. I suggest you do the above totural and then come back with some more questions. Hope this helps!

Open & Edit PDF files in Android App with APIs [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Okay, this is the first time I'm handling pdf in android.
What I have:
Editable PDF File with 2 pages (Forms to be exact, with brackets to tick, fields to comment etc.)
What I need to do:
Store the PDF some where is the sd card (so that users do not need to download from any server)
Allow users to open & edit the form
Save the contents that was edited into SQLite
Problem now is that I do not know how to open the PDF file within my application & how to allow users to edit the files. I did see through this : Reading PDF from within an Android application
However, I do not know how to allow users to edit the PDF File. Would anyone please guide me? Thanks so much!
It is open source and built for unix/debian Linux so it will require some toying with, but it is a start.
http://pdfedit.cz/en/index.html
you can use SDKs like Foxit here..
and another way is libraries like Qoppa pdf or MuPdf are free

Categories

Resources