Best practices for integrated (context-sensitive) help?

by Mark Murphy » Fri, 23 Apr 2010 05:14:03 GMT

Sponsored Links

This sounds lovely.

Or, just host the help online, linking to it via an ACTION_VIEW Intent
on your URL. I'm not sure if the HTML5 offline stuff works with the
Android browser, but if it does, use that to allow your help to be
usable even when there's no connection. IMHO, this will be the long-term
direction for this sort of thing, as it gives you easy publishing, easy
updates independent of the app itself, yet still isn't completely busted
when the user is offline.

Or, write your help in the form of an EPUB document and make it
available, so those with an EPUB reader (e.g., FBReaderJ) can use it.

Or, write your help in the form of a PDF document and make it available,
so those with a PDF viewer (e.g., Documents To Go) can use it. And see
if they have a referral program for sales, so you can make a bit of
money on people who buy that app to view your help.

Or, don't worry about on-device help due to form-factor issues and just
provide support via your Web site.

Worst-case scenario: create a content provider to serve your help files.

Mark Murphy (a Commons Guy)  | 

Android Consulting: 


Other Threads

1. Problem in setting empty views in a list

any help?


2. database not open error


i want to update values in my database and i keep getting "Database
not open".
To clarify: I am porting an app from 0.8 to 1.0. Everything worked in
The Update was done through execSQL() and a string SQL statement and
i got "out of memory" errors while trying to execSQL() (note, that
using the exact same string
in the adb shell was no problem, so the SQL statement was right).

I did change to SQLDatabase.update() and ContentValues now, and the
out of memory is gone,
i get "database not open".
Considering the following code, how can the database not be open?

                if (!myDB.isOpen())
                if (myDB!=null && myDB.isOpen())
                ContentValues vals = new ContentValues();
                vals.put("latitude", m.latitude);
                vals.put("initiator_tel", m.initiator);
                vals.put("month", m.month);
                vals.put("year", m.year);
                vals.put("hour", m.hour);
                vals.put("minute", m.minute);
                vals.put("duration", m.duration);
                vals.put("accepted", m.accepted);
                vals.put("notes", m.notes);
                myDB.update(MY_MEETINGS_TABLE, vals, "meetings_id"+"=", 
                else Log.d("LocPickMeetings", "DB could not be opened!!");

Both If's are executed, so myDB is not open in the beginning and isOpen
() in the update-Process.
I get "IllegalStateException: database not open" on the update() line,
Any hints? Ideas? Where did i go wrong?
Also the DBHelper works, as i am reading and writing into the database
prior to this.

Regards, Sebastian


3. Adding frame to an image

4. Question about Preference Screen

5. Spreadsheet-like Grid?

6. Porting to Different Hardware

7. crash in after calling Images.Media.insertImage