Android :: Run Two SQL Queries Simultaneously
Nov 5, 2009
I start a long-running SQL SELECT query and, before it finishes, wish to make a short-running SQL SELECT query. Both queries are on the same tables. The whole database can be considered read-only. My initial tests show that the short-running query only actually starts when the long-running query has finished.
View 2 Replies
Mar 16, 2010
I am running cts test cases on eclair . I've done with : . build/envsetup.sh; lunch 1; make cts
That compiled my all cts test cases. Apk's for that all have been installed in $(ANDROID_BUILD_TOP)/out/target/product/generic/data/app :
few of these are : CtsDatabaseTestCases.apk , ApiDemos.apk etc.
Now I start my emulator :: ./emulator &
I "adb push " to all apk's to my emulator .
Now my query is how to run these apk's on device /emulator ?
View 5 Replies
View Related
Dec 27, 2009
Can anyone point me to a good example where a AsyncTask queries a local SQLite database and then updates the UI successfully. I have a database which I query using doInBackground... create a new custom SimpleCursorAdapter (overriding onViewBind), return the adapter (SimpleCursorAdapter), then in postExecute() create ListView adapter which is set to the the SimpleCursorAdapter, that was returned, then I set the listview adapter using SetAdapter(adapter);...
For some reason I throw an exception on fillWindow.java:200....
View 2 Replies
View Related
Mar 24, 2010
I was monitoring the traffic on Eclair 2.1 and noticed periodic DNS queries to "android.clients.google.com" after launching IM/Email/ Browser even though the phone was idle and I was not doing anything. why Android generates these periodic queries to "android.clients.google.com"? Is there a specific service generating these queries?
View 2 Replies
View Related
Mar 16, 2010
I am very new to Android, but I love it because it has given me back what i was longing for : Java.
but I am facing some doubts and confusions about is, since I am totally new to Mobile App Development:-
I am listing my queries here-
1.) I wish to put various items in a single element of a ListView. Like one image in the left, so many TextViews in a single element, and more things. Is it possible?
2.) I wish to give my text different colors, different sizes, and different fonts. how to do this?
3.) I wish to insert or delete elements from a List in ListView. How to do that?
4.) I wish to change the background color of my list. how to do this?
View 10 Replies
View Related
Sep 1, 2010
There is a user input then on submit pass the search keywords to the db server and return the results (the db server has to be external by the way). Could i pass the search query to server side (php) and get the php script to execute the queries and return the scripts output?
View 3 Replies
View Related
Aug 27, 2010
I'm just using the build in email app for my hotmail, gmail, work mail etc. However It keeps bringing up old messages that I leave in my inbox. How can I get it to not keep displaying these? Or better yet is there a killer app out there that does email/contacts better? I hate having to use the whole gmail thing.
View 3 Replies
View Related
Apr 10, 2009
Has anyone other than me needed to make consecutive queries to a sqlitedatabase? My application works sometimes but other times (about 98% of the time), the app will crash. What I'm doing is using the sqlitedatabase.query(..) to return a cursor which I parse, I make multiple successive queries to the database and parse different recordsets/cursors.
My question would be does a sqlitedatabase need to recover or clean up after a .query is issued?
View 6 Replies
View Related
Dec 14, 2009
I am using sqlite db in my app. i am able to create db and table and execute queries. But I wanted to know where is the sqlitedb created, so that I can check them from commandine. where doed that android store ? I searched, could not find anything on that name in my pc, does android encrypt the name of the db file ?
View 11 Replies
View Related
May 15, 2009
A couple of questions. First thing I was wondering is where to log bugs in the docs. The ContentProvider query() docs are missing selectionArgs in the example code. It also uses the deprecated addId instead of ContentUris.withAppendedId().
With regards to the selection options - how exactly can these handle? I've seen a couple of places where a something + "='" + somevalue "'" is used, but I'm specifically wondering if it can handle IN clauses or if there's some form of or statement I can use to check for a variety of values in a particular column rather than just the one.
Last question is about the Contacts PERSON_ID and how long-lived that is. It is guaranteed to never change (though may be removed obviously). Well not truly guaranteed but will only cycle after it runs out of unused integers. Or may they change value as contacts are removed?
View 5 Replies
View Related
Feb 22, 2010
Mi problem is that I need to implement Contact List in my application for both android 1.5, 1.6 and 2.x.I did it using the old Contacts API, not ContactsContract because of backwards compatibility with 1.x series. But when displaying my app on 2.x the contact list is not complete. In some devices it's shown as empty, and in some devices it only displays some of the contacts in the device.I know that using Contacts API on 2.x series it will show only main account contacts, but this is not the case. It looks like only recently updated contacts are shown but that's not the case either.So the question is: How to correctly implement contact list for both 2.x and 1.x android version?
View 1 Replies
View Related
Dec 15, 2009
have an activity handling search (ACTIVITY_1), which works perfectly when I use the search (via SEARCH button on the phone) within/from this activity. However, when I use search from another activity (ACTIVITY_2..x) by implementing onNewIntent and forward the query string to my Search_Activity.class (ACTIVITY_1) it always pauses ACTIVITY_2 first and then goes to onCreate() of ACTIVITY_2..................
View 5 Replies
View Related
Jun 18, 2010
I own LG EVE (GW 620)....
1)I want to password protect my text messages.
Please suggest me any application which should be free to do that..
2)IF i get an app from internet source (download via PC and installed via Linda etc.) ,will it be full version of that app??
3)Is there any way i can transfer my text messages in phone to my PC and vice versa?
View 2 Replies
View Related
Nov 3, 2010
I have some questions about android development. I have googled around, but cannot seem to find any answers to my questions.
- Is it possible to display google maps in a widget?
- Is it possible to run (and view) two apps simultaneously?
- Is it possible to run an App within an App?
View 1 Replies
View Related
Aug 30, 2010
I have buil a file explorer just like a mycomputer.it reads the whole storage and system for files and directories now.i am working with start menu.i have built it in an other activity i wan to make them active at the same time?
View 2 Replies
View Related
Nov 11, 2009
Objective: The ability to have multiple (two) Google talk accounts run simultaneously. Currently I've set up my phone with my Gmail (@gmail.com) account. The Gtalk application has been configured with this account by default (I think) which is great. However I would like to be able to be signed into my work chat as well, which is a Google apps premier account. I have not found a way to accomplish this without having to download another app. The apps that I've tried so far are: Ebuddy and Meebo. Ebuddy works awesome with my Google Apps account except for the fact that it sends messages after I chat indicating that I am using Ebuddy. The spam message includes a link to a webpage. I can't figure out how to turn this off, so I've stopped using it. I'm willing to pay for a version that doesn't do this, but I don't think there is a pay for version of Ebuddy for Android. And Meebo doesn't work with my Google Apps account. Can anyone point me in right direction? Maybe a recommendation?
View 3 Replies
View Related
Apr 25, 2010
I am working on an app that uses the rating bar (stars) to allow the user to grade information. The SDK version is 3 (OS 1.5 - <uses-sdk android:minSdkVersion="3">, but the rating stars are shown incorrectly for devices with OS 2.1. I read some posts in the forum that suggest to upgrade the SDK version to 4 (OS 1.6 and higher), however this will excluse 1.5 users to download my application, and I do not want this to happen, because there are still a lot of 1.5 devices.
This makes me wonder: Is it possible to publish two versions for the same app simultaneously? For instance, publishing one APK for version 1.6 or higher version and another APK for 1.5 version simulataneously in the Market, both intended for the same application.
Is there a workaround for these kind of situations?
View 3 Replies
View Related
Mar 17, 2010
In my application you can navigate through several Activities until the Activity stack is quite deep.
We'd like a button on every Activity that will take you straight back to the main menu - i.e. pop all Activities from the stack except the first one.
I've put the button in a View that I can easily put on every Activity in the application, but I can't figure out how to close several Activities in one fell swoop.
(If possible, it would be good if the View could work out how many Activities to close by itself - i.e. detect how deep on the stack its own Activity is.)
View 2 Replies
View Related
Jun 27, 2009
This is what I have,say:
CODE:..............
All of the above is in single APK.
Instrumentation Runer used is - android.test.InstrumenationTestRunner itself.
This is what I am trying:
- I launched Emulator having above apk
- I opened three terminals , two to run instrumentation and third one to log results i.e.
CODE:...........................
Terminal 2:
CODE:...............................
Terminal 3: This is what I saw in the middle of logcat dump:
CODE:..........
Queries: 1. Is not it possible to run instrumentation in above manner? 2. I tried another TestSuite2 in terminal 2 instead of TestSuite1 , this also gave same results.
My aim is to run 2 testsuites parallel, using same apk. Is it possible? Or I have to use two different apks?
View 3 Replies
View Related
Nov 22, 2010
Is there any way of running 2 (or potentially more) applications on the emulator at the same time?
I have an application that obtains its data from another application, therefore I want to modify data in application A and then see how application B handles it.
I'm intending to have some kind of "slider" on application A, therefore I need them both to be running at the same time to see the "slider" on application B update.
View 2 Replies
View Related
Apr 19, 2010
If i can do the following with regards to the email accounts on my desire:
1) have the exchange email client update the folders i've got setup (i have rules on my work account sending items to various folders depending on subject/sender etc and they don't seem to update automatically.
2) using the gmail app it doesn't seem to update automatically (or even on a schedule as i cant find one for it).
View 1 Replies
View Related
Oct 1, 2009
Ive turned the bluetooth on and paired it with my old phone(se k650) what im trying to do is bluetooth all my contacts across but when i press so send via bluetooth on the SE it wont find the hero, even when its on discoverable, and when i go through "my devices" on the SE and look at the hero its offering no services. Ive also trying sending stuff from the hero and to the hero like photos and such with no luck.
View 9 Replies
View Related
Sep 25, 2010
I'd like to have two GMail (Google Apps mail, if that makes a difference) accounts active at once, both getting new mail notifications, and having the ability to send and reply through both accounts. My current solution is to simply forward all of Account #2's mail to Account #1 -- but then I can't send. Am I missing an option here? Surely this must be possible on Google's OS.
View 3 Replies
View Related
Jul 13, 2010
We have an application where we'd like to use the WiFi connection on a local network (intranet) with no Internet connectivity, and use the 3G connection simultaneously as the data connection to the internet. To summarize:
We need to connect to two distinct networks at the same time - We need data traffic to be properly routed to the appropriate network based on its IP address - We need both radios (WiFi and 3G) on and active. This can easily be done on the iPhone, but not sure if it can be done on the Android.
View 21 Replies
View Related
Sep 7, 2009
Hi all, I am trying to implement Picture in Picture. I used a Frame layout for two Video View and tried playing the video files. But it doesn't work. Does anyone have an idea of this PiP (Picture in Picture) concept?
View 2 Replies
View Related
Aug 31, 2010
I have some queries:
1- I have Desire with Froyo. So, technically whenever I install an app, I should be given an option to install it on SD card. But so far, haven't seen it yet, consequently today I got a message that phone memory is running low. So, please help me out.
2- Secondly, last night due to some reason I opened navigation first time and there came two pop-ups asking me for some settings. I ticked them and then a satellite logo appeared on top bar. Does it consume a lot of battery?
3- So far I have set many applications on automatic updates but I have observed that I have to always update them manually. They don't get updated automatically.
View 4 Replies
View Related
Jan 23, 2010
Well I bought my Galaxy here in India yesterday, and you all and this forum has been a major source of info to make up my mind.
Well I've bee browsing this forum trying to understand all that I need to know for the past two days before I could muster the courage to ask a couple of questions.
1) My Galaxy is on Firmware II3, is it worth upgrading to IK5 ?
2) When I upgrade, does everything, contact, apps etc, get wiped of from the device or do they remain as they are ?
3) Is there a way I can take a complete backup of my contacts, apps etc and restore them after a firmware update ?
My phone has not been rooted yet and I plan to use ODIN for updating the firmware.
View 3 Replies
View Related
Mar 8, 2010
Is it only possible for one object to access the microphone at a time? That is, could I simultaneously use an AudioRecord to do some audio processing and use a MediaRecorder to record the incoming audio?
View 2 Replies
View Related
Sep 5, 2010
My wife has been playing with her new phone and needs some help with contact management.1, How can she keep the telephone contacts separated from her facebook contacts. Currently when she presses the phone button from her home page it seems to show all contacts. However when she goes to HTC People it is set to only show phone contacts not facebook contacts. 2, When you have facebook contacts how do you delete them? Do you have to remove them as a friend?I've changed my phone number on my facebook profile but it still shows on my wife's desire as my old number. She's tried removing me as a friend and re-adding me and it's still wrong.
View 5 Replies
View Related
Mar 6, 2012
I went through many threads regarding XT530. links are URL>....the first thread is said to be root XT530 (2.3.5 based) but the title goes for XT316(2.3.4). So i am a bit worried if thats alright or i got wrongly redirected over there. Moreover, the links for the files weren't working, so i need links for the files needed (like Google GMS pack).
the second thread says it will root the current android version, but i need to ask if that would install Google GMS services automatically or i need to download that pack externally.
1. I got just 19mb to 25mb as my internal memory constantly. i mean, i dont think i would get more than 35mb of internal memory even if i remove all apps installed. is it normal?
2. would i be able to shift apps to SD card after rooting?
3. can i overclock my phone? and if yes, what is the maximum limit?
View 3 Replies
View Related