[android-developers] Re: Create database on sd card?

2009-11-22 Thread Jack C. Holt
/ org.example.koolapp/databases/mydb.sqlite A symbolic link is much smaller than the db and the SqlOpenHelper will now be able to find the db! Jack C. Holt Science Applications International Corporation twitter: hackeyflack On Oct 21, 1:29 pm, Mark Murphy mmur...@commonsware.com wrote: Markus wrote: I

[android-developers] Re: webview tel: URLs

2009-06-08 Thread Jack C. Holt
(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(intent); } This causes the Activity that is registered to handle each protocol type to automatically respond and load up. Jack C. Holt jackcholt.blogspot.com Twitter: hackeyflack

[android-developers] Re: How to find the height of HTML content displayed in a webview

2009-05-27 Thread Jack C. Holt
Yes there does seem to be a problem with View.getContentHeight(). I developed a small app that demonstrates a problem with the value returned in portrait versus landscape mode. I only tested this in the emulator using 1.5. When I press Ctrl-F12 to switch orientation repeatedly, I get 0 in

[android-developers] Re: Commit default.properties?

2009-05-26 Thread Jack C. Holt
NOT be checked into your version control system. I believe it is never good to check in generated files. On May 18, 7:50 am, Jack C. Holt jackch...@gmail.com wrote: I'm using the 1.5_r1 SDK.  I notice that there is a generated file called default.properties in the root directory of my project.  The comment

[android-developers] Context Menu calling Activity.onMenuItemSelected() instead of Activity.onContextMenuItemSelected()

2009-04-14 Thread Jack C. Holt
I have a ListActivity that I have registered a context menu for by calling registerForContextMenu(getListView()). I have also overridden onCreateContextMenu() as follows: public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-13 Thread Jack C. Holt
Well, I'm either stumping everyone or have asked a stupid question ;^)... I think the problem may be that the call to loadDataWithBaseUrl() is within the WebView's webViewClient.shouldOverrideUrlLoading() method and therefore cannot run the javascript at that point. I'm now investigating using

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-13 Thread Jack C. Holt
Well, I now have the solution and it had nothing to do with requestFocusNodeHref() and a lot to do with using javascript. But I believe I was right about my code being in the call tree of loadDataWithBaseUrl(). What I had to do was turn on Javascript by using this code: WebSettings settings =

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-02 Thread Jack C. Holt
I have googled for strings like WebView internal link, read the FAQs, and read the online docs for WebView, WebSettings, WebViewClient, WebChromeClent and still I have not been able to determine how to make the web pages I have generated (which contain internal links [i.e., a name tags]) jump to

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-01 Thread Jack C. Holt
and it made no difference. On Dec 31 2008, 5:49 pm, Jack C. Holt jackch...@gmail.com wrote: I am loading some HTML into a WebView that contains internal links (i.e., a name tags). How do I make the WebView jump to that location once the WebView is loaded

[android-developers] Jumping to #link after using loadDataWithBaseURL()

2008-12-31 Thread Jack C. Holt
I am loading some HTML into a WebView that contains internal links (i.e., a name tags). How do I make the WebView jump to that location once the WebView is loaded? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] ContentProvider/SQLiteDatabase.delete() Docs

2008-12-04 Thread Jack C. Holt
The online docs for ContentProvider/SQLiteDatabase.delete() do not document the third parameter String[] whereArgs. I assume that the idea is that the second parameter (the where clause) could contain replaceable parameters in the form of question marks (?) and the Strings contained in the

[android-developers] Re: Cannot delete rows from sqlite database

2008-12-04 Thread Jack C. Holt
See http://code.google.com/android/reference/android/database/sqlite/SQLiteDatabase.html#beginTransaction() On Nov 17, 3:28 pm, techvd [EMAIL PROTECTED] wrote: Hi, I'm having a strange issue deleting rows from a sqlite database. Here's the code snippet:         mDb.beginTransaction();    

[android-developers] Re: ContentProvider/SQLiteDatabase.delete() Docs

2008-12-04 Thread Jack C. Holt
Does this fall under the Note About API Documentation sticky post? i.e., since it isn't documented, don't use it? On Dec 4, 9:52 am, Jack C. Holt [EMAIL PROTECTED] wrote: The online docs for ContentProvider/SQLiteDatabase.delete() do not document the third parameter String[] whereArgs. I