[Q] How to update in-app content? - General Questions and Answers

Hi all,
I'm creating a web-based android app using Apache Cordova http://cordova.apache.org/
The app content consists of a bunch of HTML pages and images in e-book form. They are wrapped by an index file and a buch of javascripts. (Cordova creates a webview around it so I can display the HTML fullscreen on any device)
These HTML pages are automatically generated on a webserver. Right now I put them in the app manually and push out an update (updates are not very frequent) but I would like to automate this process and display a notification when the user start the app.
How can I do this? Are there any standards people use for in-app updating? Also, would it be possible for such updater to download and unpack a zip-file containing HTML pages and images?
First time I'm trying to achieve something like this. I hope someone can get me in the right direction
Thx in advance!

Related

[APP] DroidReader 0.5 (11. April 2010), a PDF reader app

Hi,
this is my first Android App, so please bear with me if there are still errors. It was a major task to start Android programming with such a tough idea, but well, I did not say I started programming with this app
DroidReader is a PDF Reader Application. It uses native code in the background, to be specific, it uses the MuPDF rendering software/library. I'm aware of existing closed source PDF readers and some approaches to do it all in Java. So this should be different as for now.
DroidReader is Free and Open Source Software (licence is GPL v3).
The App and its sources are available at Google Code:
http : // code.google.com / p / droidreader
The App is now (since v0.3) also available via SlideME.
(I'm sorry, I can't post a full link as of now, as I'm still a "new user" on this forum, despite reading it since years... so please remove the spaces for now, I think I'll get that settled soon.)
Note for users: This application needs a file manager in order to open PDF files. Generally, you should be able to use a file manager of your choice and just click on the PDF. If you want to use the "Open" menu item, then a filemanager that understands the openintent.org's PICK_FILE intent is needed, e.g. the OI File Manager.
This App needs at minimum the Android 1.5 platform.
Changelog:
v0.5: rewiring of code, noticeable to end user: smaller install footprint, better cmap handling, small changes & bug fixes
v0.4: support for automatic tilesize calculation, now it should work on bigger screens, too. Also there is now a configuration dialog that allows to specify the default zoom level.
v0.3: added an "about" dialog
v0.2: lots of improvements, UI slightly modified for easier navigation, zoom&rotation fully implemented, ability to open password-protected PDFs, CJK support, lots of bugfixes
v0.1: initial version, still very rough and not all that shiny and thus not yet in the Market. Download available on the project's homepage.
Please note that any comments are very welcome! You can comment in this thread (and I will try to answer any questions ASAP) or on the mailing list (see the project's home page).
Similar approach in another project
Hi again, I just became aware of a similar project (well, as I said: I did this to learn Android programming as well, so this doesn't mean my time was wasted). I hope that we can combine our efforts soon. It is also at Google Code (and I still cannot post Links) and it is called "Android PDF Viewer", and has a short Acronym which appears as project name in URLs: APV. It also uses the MuPDF library and is also GPLv3. Just for your information.
To have an android PDF reader with the capability to make annotation and highlights is the most important thing. Apple has that software called "iannotate" and it manages it perfect. Android should have one. Is ther any expert working on this?
Best reader for Pandigital Novel
DroidReader is the best PDF reader I've found for use on the Pandigital Novel (hacked). All the others require one to drag your finger to move from page to page. That isn't as handy as the next and previous buttons. Adobe's reader is useless because it doesn't let you jump to a page.
I wish you'd enhance DroidReader to remember the last page in a PDF. I've also found some pdfs it won't open, but Android PDF Viewer will. The problem with Android PDF Viewer is that it is SLOW (unless I'm using a different one than you are referring to). It is so slow that it is unusable on the Novel.
Thank you for the feedback. I think I can manage to finally hack a bit further on this and your suggestion is certainly among the easier things still in the pipeline. I got a bit distracted recently, but I'm still motivated to further improve Droidreader. Being distracted, I am also not very up-to-date as to what's the fastest PDF reader available... I think in about two weeks, some development efforts should been done... I'll update this thread then!

PHP Calendar Question

I'm in the process of redesigning our local access station's web site. I'm just about finished, except for a program guide system. Currently, the "program schedule" page is simple HTML, but there are a number of problems with this system.
First off, the person who updates the schedule is by no means a web designer, and the page slowly deteriorates as tweaks are accidentally made while updating.
Secondly, the new site is designed to show the current day's program schedule on each page. It would obviously be a royal pain to update this manually using HTML, so we're looking for some sort of PHP calendar system on the site: PHPKode to integrate into the site.
What we need is a simple PHP/MySQL calendar system that will allow us to integrate a daily schedule into a sidebar, and set up a program grid on the main schedule page.
As in the above example, we'd like the program name to link to that show's page.
I've looked around for a few days trying to find a good system, but haven't had much luck. I don't know if there are any PHP "program guide" scripts out there, but I would think there would be some sort of calendar that could accomplish this job.
I should note I know a little bit of PHP/MySQL scripting - enough to do some *minor* tweaking to a simple script, but I'm by no means fluent with it. Bottom line- the less scripting I have to do, the better.
The current version of the site can be viewed here. (We haven't transfered our domain to the new server yet, hence the subdirectory setup.) The weather sidebar is a placeholder for the program schedule. I appreciate any suggestions or advice, so thanks in advance to anyone who can point me in the right direction!

[Q] Create a picture browser for smartphones with a database ??

Hello
I would like to create a smartphone app.
At least for Android, but it would be great if it could be easily adapted for iPhone too.
The app will have many pictures (from 1000 to 10000) organized in different sections with a small description (text) associated with it and maybe some relations (links between them).
The user would be able to browse the pictures and search for an specific one.
More options will be added.
I've thought the best option would be to use a database, but that could be very limited in smartphones. I think simplest one is SQLite.
I need your advise.
How could I do it?.
I'll start with Phonegap and jquery.
What technology would you use?
Would it be better to leave all the pictures in a directory and create a index in the database linking to them?
or is it possible to "embed" that pictures within the database itself?
Any other option?
Reagards

[Q] App development help?

I want to develop a very basic app.
Main function: Show the value of a cryptocurrency
My problem: I don't know how to get the value of this cryptocurrency from this website and put it on my app. I want it so every time I push the refresh button it gets the newly updated value and prints in on the screen.
Hi,
To get values from a website, you can use a technique called screen scraping. To do that you can use Jsoup. A very good start point is to search for "Jsoup HTML Parser Hello World Examples" and check the mkyoung examples (I can not post links yet).
In order to examine the html you can use a web inspector like Firebug.
Jsoup is a nice library especially since it can handle fetching the document for you (not always desirable though) and has a familiar jQuery-like syntax. I've used it in projects before and it's pretty quick to get going with.

App] [2.2+] TaskCoach for Android

A program to organize todo's/tasks in a treeview form.
It's an Android version of http://taskcoach.org/
The desktop version is available for Windows, Mac OS X, Linux, BSD. There is also versions for iPhone, iPad, and iPod Touch. The Android version does not have all the same features as the other versions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Use it to keep track of to do's or for project management. The outline can have as many sub-levels as you want, or the list can be viewed "flat".
Add, view and edit your list on your phone, then use the same list on your computer. If you put the file in your DropBox folder, it will automatically be synchronized.
Files are stored in user defined folders on the sd card (can use any level of sub-directory).
Integrates with File Managers and DropBox.
Lists opened in Google Drive cannot be saved directly.
Share your lists via Gmail, DropBox, Google Drive, SkyDrive etc.
Move or copy items around.
List can be sorted (both ways) based on due date (can also use calculated dates), title, category, completion, priority or it can be unsorted.
Can be integrated with the Minimalistic Text Widget (if installed).
Home screen widget shows tasks due today.
Completed items can be hidden from view.
List can be filtered based on title.
Notes are available from main list, and hyperlinks are clickable.
List can be searched based on title.
Collapse/expand all.
Set alarms and be reminded when your task is due.
Tasks can be added to the Google calendar.
Currently supports editing of these fields:
-title
-start date
-due date
-completed
-priority
-percent done
-category
-notes
-recurrence
Because this is a beta version, every time your list is saved, the previous version will be saved too. (This feature can be turned off in the settings menu. Last 5 backups are kept)
NOTE: For people who have issues with the app, just writing a negative comment doesn't help to make it better. Instead please:
- concrete suggestions would be appreciated
- errors: send me an email with the steps that caused the error.
Since the original desktop version of this program is constantly being developed, some of the features available on the desktop might not work on the Android version.
I encourage comments or bug reports.
I have another app in Google Play, Tdl TodoList, and these two are based on the same code, so they are very similar.
Uninstall:
Any list files stored on the sd card will be left after uninstallation.
DISCLAIMER:
This is still being developed as a hobby, and is not a final version. It is being developed as I see fit, have time and am interested in doing it. THERE IS NO WARRANTY THAT THIS PROGRAM WILL WORK on your Android phone or tablet. I TAKE NO RESPONSIBILITY FOR ANY DAMAGE IT MAY CAUSE.
Backup your file manually, or do it automatically every time there is a change.
Market link:
https://play.google.com/store/apps/details?id=com.hgTaskCoach
Please release Open Source
Hi, as a formal member of the Task Coach team, I thank you for this major development! This is one of the most important items and most popular feature requests (having an Android client).
Along with some of the other users of Task Coach, I care about software freedom and got involved with Task Coach because it was the best Free/Open app. There are also others in the community who would like to make this a success. Please release the source under the GPLv3+ license so it is compatible with the main desktop app. That will allow the most collaboration, trust, and goodwill, and it will allow this to be included in F-Droid.
Thanks so much!
Aaron
Task Coach
Hi Aaron.
Just stumbled across the app. Very good move, thanks for your efforts.
Some improvements to consider which would make it even better:
Improved UI by not relying on the menu only. Maybe a toolbar, quick access to filters, etc. for tablets.
Smaller bullets
An own column for categories and priorities (maybe landscape only)
Notifications
MAybe sync/file exchange with the desktop
I also just left a positive review in the Google Play Store.
Many thanks and best regards,
Oliver
How to export to Google Calendar?
Hi,
I must say, this is a great app. I've been looking for a way to organize my crazy life, and stumbled upon Task Coach. Then I found that there wasnt an Android version... but there is now. Thanks for your efforts.
Can you explain how to export it to Google Calendar? I must be overlooking something.
ajige said:
A program to organize todo's/tasks in a treeview form.
It's an Android version of
The desktop version is available for Windows, Mac OS X, Linux, BSD. There is also versions for iPhone, iPad, and iPod Touch. The Android version does not have all the same features as the other versions.
View attachment 2728127 View attachment 2728128 View attachment 2728129 View attachment 2728130
Use it to keep track of to do's or for project management. The outline can have as many sub-levels as you want, or the list can be viewed "flat".
Add, view and edit your list on your phone, then use the same list on your computer. If you put the file in your DropBox folder, it will automatically be synchronized.
Files are stored in user defined folders on the sd card (can use any level of sub-directory).
Integrates with File Managers and DropBox.
Lists opened in Google Drive cannot be saved directly.
Share your lists via Gmail, DropBox, Google Drive, SkyDrive etc.
Move or copy items around.
List can be sorted (both ways) based on due date (can also use calculated dates), title, category, completion, priority or it can be unsorted.
Can be integrated with the Minimalistic Text Widget (if installed).
Home screen widget shows tasks due today.
Completed items can be hidden from view.
List can be filtered based on title.
Notes are available from main list, and hyperlinks are clickable.
List can be searched based on title.
Collapse/expand all.
Set alarms and be reminded when your task is due.
Tasks can be added to the Google calendar.
Currently supports editing of these fields:
-title
-start date
-due date
-completed
-priority
-percent done
-category
-notes
-recurrence
Because this is a beta version, every time your list is saved, the previous version will be saved too. (This feature can be turned off in the settings menu. Last 5 backups are kept)
NOTE: For people who have issues with the app, just writing a negative comment doesn't help to make it better. Instead please:
- concrete suggestions would be appreciated
- errors: send me an email with the steps that caused the error.
Since the original desktop version of this program is constantly being developed, some of the features available on the desktop might not work on the Android version.
I encourage comments or bug reports.
I have another app in Google Play, Tdl TodoList, and these two are based on the same code, so they are very similar.
Uninstall:
Any list files stored on the sd card will be left after uninstallation.
DISCLAIMER:
This is still being developed as a hobby, and is not a final version. It is being developed as I see fit, have time and am interested in doing it. THERE IS NO WARRANTY THAT THIS PROGRAM WILL WORK on your Android phone or tablet. I TAKE NO RESPONSIBILITY FOR ANY DAMAGE IT MAY CAUSE.
Backup your file manually, or do it automatically every time there is a change.
Click to expand...
Click to collapse
Great app! Thank's very much.
Is it possible to compact the view? The icon are too big for my taste.
Also would be very useful to show only active task.
Yeah
I agree that the icons are too large, but it's not really too much of a big deal in my opinion since it doesn't affect the functionality much to be honest
It would be nice to view more task in a single screen
bump for GPL release
Hi, I didn't see any reply to this. I'm happy to see that development has continued. Please help us keep everything compatible and allow other volunteers to help improve this by releasing the source under GPLv3+, thanks.
quadrangle said:
Hi, as a formal member of the Task Coach team, I thank you for this major development! This is one of the most important items and most popular feature requests (having an Android client).
Along with some of the other users of Task Coach, I care about software freedom and got involved with Task Coach because it was the best Free/Open app. There are also others in the community who would like to make this a success. Please release the source under an Open Source license, preferably the GPLv3 in order to match the main desktop app. That will allow the most collaboration, trust, and goodwill, and it will allow this to be included in F-Droid.
Thanks so much!
Aaron
Task Coach
Click to expand...
Click to collapse
GPL3 or no?
Is this going to be GPL3 or no?
I started using taskmanager specifically because I thought I'd be able to use a GPL android app with the same data file. Today I had planned to provide smaller images for this app so that each line would take less screen space, and also see how hard it would be enable "effort tracking" in the android app., but I can't find the source anywhere.
If this is an open source project, where can I get the source?
If this is not an open source project - is there a GPL android app intended to use the taskcoach data files, to which I can contribute?
Still not GPLv3
EDIT: We will continue to encourage this developer to release under GPLv3+. I had posted some confusion over a different developer's attempt at a beta version that they had posted under GPLv2 (which is incompatible with Android's Apachev2 license). I had made a comment about trademark as well. I am *happy* that this app is called "Task Coach for Android" rather than merely "Task Coach" and furthermore glad that the developer seems fine with communicating clearly, and so, I have no problem with their use of the Task Coach trademark (which this isn't the same team as the Task Coach app at this time, it is indeed specifically a compatible product).
I hope we can see it released under GPLv3+ still. I''ll be happy to discuss any concerns the developer has about doing that.
Please continue development
Been waiting a long time for a Task Coach client for Android, thanks for making it @ajige!
Would love to see you continue developing & improving it.
Like most others I wish it was an open source project so you could have help improving it, or if you do not wish to continue development someone else could pick up where you left off.
Thanks again for releasing it and please consider open sourcing it!
Being totally agree with previous proposal about opensourcing or continuing development. Even get myself registered here just to write it outloud
computerinfo21 said:
Been waiting a long time for a Task Coach client for Android, thanks for making it @ajige!
Would love to see you continue developing & improving it.
Like most others I wish it was an open source project so you could have help improving it, or if you do not wish to continue development someone else could pick up where you left off.
Thanks again for releasing it and please consider open sourcing it!
Click to expand...
Click to collapse
Is it possible through dropbox or google calendar (Or anything) to keep my Android TaskCoach synced with my Linux TaskCoach automatically?
dropbox sync problem
ajige said:
A program to organize todo's/tasks in a treeview form.
....
Click to expand...
Click to collapse
Hi, ajige, are you still developing the app?
I am not able to sync via dropbox.
When I try to read a task file from a dropbox folder, via the app file browser, it seems it is downloading, but then it returns to the local foder menu without any real download.
Could you help?
I am using an original android 8.1 on a LG Q6
Thanks anyway
I'm in the process of trying the code for my other, very similar, app, and when that's done, I'll do the same for TaskCoach.
In the mean time: Inside the Dropbox app, did you mark the file for offline access? That's a necessity. Also can you open the file from within the Dropbox app?
ajige said:
...
In the mean time: Inside the Dropbox app, did you mark the file for offline access? That's a necessity. ...
Click to expand...
Click to collapse
Yes, I did
ajige said:
...
Also can you open the file from within the Dropbox app?...
Click to expand...
Click to collapse
I tried (Obviously I associate TaskCoach to that file type).
Each time I open from within Dropbox , TaskCoach starts giving me two errors, sometime one, sometime another, without a specific order.
1) "Error reading bundle info.android.view WindowManager $BadTokenException Unable to add Window - token null is not valid; is your activity running?"
2) "/filecache/xxxxx..... no such file or directory Unable to write to external storage"
I tried to report the messages as exact as possible: each time they appear for a little time, then disappear. I did not find any way to view them for a longer time.
Thanks and regards
Until recently, I could open my desktop TaskCoach's data file, synched by DropBox.
Now, settings/where to look for .tsk files won't let me select my DropBox folder. How do I synch my desktop & Android TaskCoach?
mawg said:
Until recently, I could open my desktop TaskCoach's data file, synched by DropBox.
Now, settings/where to look for .tsk files won't let me select my DropBox folder. How do I synch my desktop & Android TaskCoach?
Click to expand...
Click to collapse
Hi, mawg.
I don't take care of settings. I open the TaskCoach file browser: it allows to go into the scratch directory of dropbox (obviously I made the taskcoach file available offline) and opens it. Then TaskCoach remembers the positions for future access.
Instead, still, directly from within Dropbox i'm not able to open the tasks file in Taskcoach.
ajige, as written, had other work before having time to solve that problem . Anyway opening the file from TaskCoach works for me.
Hoping my answer is useful
illolatt said:
Hi, mawg.
I don't take care of settings. I open the TaskCoach file browser: it allows to go into the scratch directory of dropbox (obviously I made the taskcoach file available offline) and opens it. Then TaskCoach remembers the positions for future access.
Instead, still, directly from within Dropbox i'm not able to open the tasks file in Taskcoach.
ajige, as written, had other work before having time to solve that problem . Anyway opening the file from TaskCoach works for me.
Hoping my answer is useful
Click to expand...
Click to collapse
Thanks a 1,000,000
I used an Adnroid file manger and "open with.." then made sure to select Settings/Open last used file. Works like a charm
But settigns/Where to look for .tsk files really needs a Fiel Manager, rather thanforcing to choose from a limited list.
And a Recent Files list would be very welcome
ajige said:
I'm in the process of trying the code for my other, very similar, app, and when that's done, I'll do the same for TaskCoach.
In the mean time: Inside the Dropbox app, did you mark the file for offline access? That's a necessity. Also can you open the file from within the Dropbox app?
Click to expand...
Click to collapse
Hoping to be useful, I send you the results of some other trials made with your TaskCoach.
- LG Q6 with Android 8.1: The access to the TaskCoach data file is not possible directly from within Dropbox, but if I start Taskcoach and search the file with its internal file browser in the offline folder of Dropbox, TaskCoach opens the file and remembers also its position;
- LG G4 with Android 6.0: Taskcoach opens the data file also directly from within Dropbox!
So, because I don't know if you was informed of it, up to Android 6.0 TaskCoach works great, the problems are with the next versions of Andorid (surely with 8.1)
Thanks for your good work
Greetings

Categories

Resources