[android-developers] Re: AsyncTask - wait until the task has finished

2012-07-26 Thread uday kiran jandhyala
Hi, Could there be a case where onPostExecute() is never called because doInBackground() is stuck in some synchronous API called within ? I've a use case where am using AsyncTask like below (code for illustration only) : BackgroundCommunicatorTask mBackgroundTaskOne = new

[android-developers] MediaScanner Thumbnails

2012-02-20 Thread uday kiran jandhyala
Hi, (Am sorry if this question was already asked and answered... but honestly when I searched this group, majority of the answers were relevant to Android 2.1 2.2 times. I had also asked this on android platform group lately) My requirement : If I want to write an application on Android

[android-developers] Re: find out which activity resumed/started my activity?

2012-01-23 Thread uday kiran jandhyala
Hi, Am really not sure if its possible, but just trying to think out loud.. Is my understanding correct that WindowManager component in Android platform maintains a list of all 'Windows' created thus far by different Applications' Activities (Including those of decorations like StatusManager

[android-developers] Ytdandroid usage android

2011-11-03 Thread uday kiran
Hi.. Am using Ytdandroid to upload videos to youtube account . But i want to make it as private , so that it will visible to me itself. If we use gdata, gdata.setPrivate(true) simillar to this. But i dono how to do with this ytdandroid code,?? Thanks -- You received this message because

[android-developers] Re: How to prematurely stop a long-running SQLite query?

2011-08-23 Thread uday kiran jandhyala
Hi, I remember Sqlite supporting 'In-Memory' DB, which is way faster than normal DB.. Everything that we are doing temporarily, is processed in memory thus no I/O.. It could be one option to try out.. But am not sure if this is do-able on android.. http://en.wikipedia.org/wiki/In-memory_database

[android-developers] Re: How to change device file permission from Java app.

2011-08-09 Thread uday kiran jandhyala
Hello Mark, In java.io, the File API is supposed to provide APIs like setExecutable (boolean) setWritable (boolean) setReadable (boolean) However, in the android.jar which includes all the needed classes, the java.io package doesn't provide the above APIs in the File class. Has this been done

[android-developers] Invoking Browser through an Intent, to perform HTTP POST

2011-08-05 Thread uday kiran jandhyala
Greetings! It is clear that the Android Browser app can be launched from any other application, through an Intent as : Intent intent = new Intent(Intent.ACTION_VIEW); Uri data = Uri.parse(http://www.google.com;); intent.setData(data); startActivity(intent); This would however internally perform

[android-developers] Re: Accessing External Database

2010-03-25 Thread uday kiran
this?? http://WebAddresss:Port_num/DATABASE_NAME/Table_name/ if im giving like this is it going to work properly??? Is it compulsory to use XML files with REST webservice?? Waiting for ur help... Cheers Uday Kiran Pichika Bob Kerns wrote: Brion gave some good suggestions, so let me address

[android-developers] Re: Accessing External Database

2010-03-22 Thread uday kiran
databases which class we need to use?? If u have any related code regarding this please let me know... Expecting more information regarding example code... Thanks in advance --Cheers Uday Kiran Pichika On Mar 19, 8:22 pm, Bob Kerns r...@acm.org wrote: No, you get a different set of headaches

[android-developers] Re: Accessing External Database

2010-03-19 Thread uday kiran
driver in place of Webservices On Mar 19, 1:16 am, Bob Kerns r...@acm.org wrote: On Mar 18, 2:37 am, uday kiran uday.pic...@gmail.com wrote: - So for communicatingdatabase(On remote server)  from our application - it is compulsory to write a driver like odbc??? No, ODBC (or JDBC

[android-developers] Re: Accessing External Database

2010-03-18 Thread uday kiran
way to use HTTP to build a web application. On Mar 17, 9:40 pm, uday kiran uday.pic...@gmail.com wrote: Thanks Bob, I got very good information from this... Let me explain thing i want to do.. There is adatabasepresent at some IPhttp://10.117.23.45/databases/database.db I want

[android-developers] Accessing External Database

2010-03-17 Thread uday kiran
Hi folks, Im new bie to android.. i want to access external database from my android application.. I've searched so much time in the internet but could not get exact idea how to implement?? Please help me If any one is having idea on that and post if u have any code related to it... Thanks for

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
database? Jim On 17 March 2010 13:32, uday kiran uday.pic...@gmail.com wrote: Hi folks, Im new bie to android.. i want to access external database from my android application.. I've searched so much time in the internet but could not get exact idea how to implement?? Please help

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
wish to access? Or do you wish to set up a new database? Jim On 17 March 2010 13:32, uday kiran uday.pic...@gmail.com wrote: Hi folks, Im new bie to android.. i want to access external database from my android application.. I've searched so much time in the internet

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
As of my knowledge in android we use HttpURLConnection to connect to the database in the internet.. am i right Jim?? On Mar 17, 7:05 pm, uday kiran uday.pic...@gmail.com wrote: YES..The database is present on the internet only.. The database should be in SQLite..OS is windows.. On Mar 17, 6

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
OK... u have any example code which is used to work on this concept?? On Mar 17, 7:11 pm, Jim Blackler jimblack...@gmail.com wrote: Provided the database exposes an HTTP-based API, yes. On 17 March 2010 14:09, uday kiran uday.pic...@gmail.com wrote: As of my knowledge in android we use

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
for this list really. There are a great many ways to do what you are describing. I'd recommend getting a textbook or two on the topic. On 17 March 2010 14:13, uday kiran uday.pic...@gmail.com wrote: OK... u have any example code which is used to work on this concept?? On Mar 17, 7:11 pm

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
application - stray pointers in a client cannot corrupt memory on the server. And because a server is a single persistent process, it is able to controldatabaseaccess with more precision, allowing for finer grain locking and better concurrency. On Mar 17, 6:32 am, uday kiran uday.pic...@gmail.com wrote

[android-developers] screen Oroentation

2010-02-17 Thread uday kiran
Hi guys.. In my application i want to do Screen Orientation public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); setContentView(R.layout.screen1_landscape); } This is the function that im using in

[android-developers] Screen Orientation in Android

2010-02-16 Thread uday kiran
Hi All.. Im facing some problems on Screen Orientation in android. In my application one screen contains Name,Age(as EditTexts). When i click on Name EditText internal Keypad is opening and some of the buttons are hiding due to that keypad. I have some questions regarding this. 1) Whether i need

[android-developers] Re: Switching between activities

2010-02-14 Thread uday kiran
Hi TreKing.. Thanks for the reply..sorry im using EditTexts to enter the data..the information is not retained. i will send both XML file and .java file and let me know the bug in my files. On Feb 11, 11:36 pm, TreKing treking...@gmail.com wrote: On Thu, Feb 11, 2010 at 2:55 AM, uday kiran

[android-developers] Re: Switching between activities

2010-02-14 Thread uday kiran
/TextView.html#a... On Feb 11, 10:36 am, TreKing treking...@gmail.com wrote: On Thu, Feb 11, 2010 at 2:55 AM, uday kiran uday.pic...@gmail.com wrote: What i want to do is.. in Activity1 which is in Screen1 i have entered some data like Name,Age (all are in textview) Are you sure it's TextView

[android-developers] Switching between activities

2010-02-11 Thread uday kiran
Hi All, Im new bee to android development..I have a small issue when switching from one activity to another.. What i want to do is.. in Activity1 which is in Screen1 i have entered some data like Name,Age (all are in textview) and after i moved to Activity2 in Screen2 ..when i clicked Previous