[android-developers] Re: Google Checkout Finally Arrives in Canada?

2010-03-23 Thread dsukhram
Canadian developers still can not sell apps though. On Mar 20, 11:29 pm, Andrei gml...@gmail.com wrote: I can conform several people bought app from Ontario On Mar 17, 12:10 am, Agus agus.sant...@gmail.com wrote: Based on todays' news Canadians can buy paid apps from the Market. Can

[android-developers] Re: My ProgressDialog suffers from ANR timeouts?

2010-03-20 Thread dsukhram
20, 12:29 am, dsukhram duanesukh...@gmail.com wrote: this is my inner class that handles the downloading and progressbar public class DownloadDBTask extends AsyncTaskObject, Integer, Object { private int mProgress; public Object doInBackground(Object ...urls) { //download file int

[android-developers] My ProgressDialog suffers from ANR timeouts?

2010-03-19 Thread dsukhram
I am downloading a 230MB database file from a server. I am displaying the progress of the download in a progressDialog. However about 12% into the download I get the ANR wait or force close popup. the logs indicate: 03-18 19:55:58.943: WARN/WindowManager(67): Key dispatching timed out sending to

[android-developers] Re: My ProgressDialog suffers from ANR timeouts?

2010-03-19 Thread dsukhram
this is my inner class that handles the downloading and progressbar public class DownloadDBTask extends AsyncTaskObject, Integer, Object { private int mProgress; public Object doInBackground(Object ...urls) { //download file int totalSize =0; try { URL urlFile = new

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
, Dianne Hackborn hack...@android.com wrote: http://developer.android.com/reference/android/database/sqlite/SQLite..., java.lang.Object[]) On Mon, Nov 30, 2009 at 12:37 PM, dsukhram duanesukh...@gmail.com wrote: Well thats the question i'm asking. I've looked at a various classes under

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
 am, sathya subbiah sathya.subbia...@gmail.com wrote: Hi, Use execSQLhttp://developer.android.com/reference/android/database/sqlite/SQLite...provided by Android for executing SQL commands. On Tue, Dec 1, 2009 at 7:50 AM, dsukhram duanesukh...@gmail.com wrote: Thanks for your reply. But I

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
, sathya subbiah sathya.subbia...@gmail.com wrote: Hi, Use execSQLhttp://developer.android.com/reference/android/database/sqlite/SQLite...provided by Android for executing SQL commands. On Tue, Dec 1, 2009 at 7:50 AM, dsukhram duanesukh...@gmail.com wrote: Thanks for your reply. But I have

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
sorry for the double post On Dec 1, 9:32 am, dsukhram duanesukh...@gmail.com wrote: When I try to run the '.tables' command by doing the following: SQLiteDatabase db = this.openOrCreateDatabase(DB_NAME, MODE_PRIVATE, null); db.execSQL(.tables); I get this error: ERROR/Database(13071

[android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread dsukhram
Thanks for your reply Chad. However I was just using the '.tables' command as an example. What I really need to do is run the '.read' command in order to load data into my db On Dec 1, 1:21 pm, chad ziccardi c...@digitalfreaks.org wrote: On Dec 1, 2009, at 9:32 AM, dsukhram wrote: When I try

[android-developers] running sqlite3 commands from app?

2009-11-30 Thread dsukhram
When my app loads up I need to import a bunch of records into its database. How do I run the following sqlite3 command from my app? sqlite3.read /data/data/app/files/records.sql -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: running sqlite3 commands from app?

2009-11-30 Thread dsukhram
that?  Use the SQLite APIs to execute whatever operations you want on the database. On Mon, Nov 30, 2009 at 11:49 AM, dsukhram duanesukh...@gmail.com wrote: When my app loads up I need to import a bunch of records into its database. How do I run the following sqlite3 command from my app

[android-developers] Viewing android Device logs?

2009-10-30 Thread dsukhram
I am able to view error logs while debugging an app with logcat in Eclipse. However I have run into issues where my app runs fine on the emulator but throws errors when I put it on my G2. My question is, how do I view the errors that it is throwing on my actual device? -- You received this

[android-developers] Can't Access a remote server from emulator.

2009-10-28 Thread dsukhram
I have an app that does a POST to a servlet and retrieves some data from it. This is working fine in my Dev enviornment on my local machine via: 10.0.2.2 URL servletURL = new URL(http://10.0.2.2:8080/testServlet/test;); HttpURLConnection servletConnection = (HttpURLConnection)

[android-developers] Re: Custom Object Serialization in Android?

2009-10-13 Thread dsukhram
I can return an ArrayList of Strings just not an ArrayList of my Stop object. And since this whole process works fine when I take android out of the equation..this leads me to believe that serialization is handled slightly differently in android. Anybody? On Oct 12, 6:28 pm, dsukhram duanesukh

[android-developers] Custom Object Serialization in Android?

2009-10-12 Thread dsukhram
I am writing an android client app which sends a Hashtable to a remote servlet and recieves an ArrayList consisting of a custom Object which is serializable. This ran fine when I was just receiving the ArrayList from a java console app. So I know my objects are being serialized and deserialized

[android-developers] Accessing assets that are larger than 1M?

2009-10-06 Thread dsukhram
It has come to my attention that Android can only deal with asset files that are around 1M or so. My problem is that i'm creating an app that requires access to 5 csv files. The largest of the files is 130M. I want to be able to package these text files with my app. Is there anyway around this?