Android :: Simulating GPS On SDK1.5 ?
May 7, 2009
I'm writing a software and using GPS simulator on SDK1.5 I use an AVD device by command : android create avd --target 2 --name AVD_15 My problem is when i change location up to the third times, my program can not receive this change. I do not understand but I can be sure that my program worked well on SDK 1.1 Do you know what happens in SDK1.5?
View 3 Replies
Apr 10, 2010
My program was going wonderfully. It is a search engine that connects to our back end database by sending Get requests to our server and displays the results. I've managed to get it to query my server and back end database, return results using JSON, return the first headers and pour them into a ListView widget in the main activity. Then when the user clicks on one of the headers it then sends another query from a sub-activity. It then parse those results and format them neatly into a WebView embedded into the sub-activity.
All this works perfectly. That is until I come to make a second query on the main activity. Listed below is my stack trace of where the error happens. I think I know why this is happening, but obviously not clearly understanding it.
I think it is because I am trying to call AsyncTask again. I remember reading that the AT can only be called once, but I presumed quite wrongly that this meant you can not do concurrent calls. I thought that once an AT had done it's task it was cleared and then could be called again, but this does not seem to be the case. Is it because of AT attempts at more than one call ? If so, would I be better changing that section into a Handler with a Runnable on the main activity?
-----Stack Trace----
CODE:.....................
View 3 Replies
View Related
May 2, 2009
app widget problem(sdk1.5)
CODE:......................
View 3 Replies
View Related
Apr 2, 2009
I found that Google Maps didn't exist in Android 1.0 release version. So I tried to put Maps.apk/GoogleApps.apk/Street.apk into /system/app but it didn't run. So I'd like to kown if Maps.apk from SDK 1.0 can run on Android 1.0 ? What modification should I do?
View 2 Replies
View Related
Jul 24, 2010
I am looking to simulate a slot machine, now so far I am just animating drawables and looping it to create the effect. I was wondering if I could achieve this through a listview instead. I tried looking at this approach but I cannot get it to loop back to the beginning after it reaches the end.
View 3 Replies
View Related
Feb 13, 2009
Problem about the new AlertDialog of sdk1.1_r1
View 3 Replies
View Related
May 28, 2009
I am using android SDK1.0 and trying to load google map. I am able to browse maps.google.com site from android emulator so I feel internet may not be the problem. I also have obtained the Map API key as mentioned in the the document.
My AndroidManifest.xml file looks like this:
CODE:................
Java Codes:
CODE:.........................
View 2 Replies
View Related
Apr 10, 2010
I am looking for a way to simulate or create a waiting voicemail message. I know there has a question about this that have been on the mailing-list/group here: http://bit.ly/b6ITDQ
In investigating trying to get a voicemail message simulated w/ the AVD Emulator, I tried just setting the incoming mail to "SEND_TO_VOICEMAIL" - but that does not create a message. There is not an indicator that the call was made until you check your call log (which is the expected behavior, so no complaints there).
I have looking through the Android documentation, tutorials/samples, and reference. I cannot find anything talking about creating or bootstrapping a voicemail message (and I haven't seen anything about handling other instances of a "Message Waiting Indicator").
I've looked around on a couple other message forums, like anddev.org, and haven't seen any examples dealing with voicemail. I have a Safari account and searched in the Android dev books and only find mention of the Intent URI for the Dailer (voicemail:).
If looks like when I'm trying to achieve would be done by creating a Notification and passing it to NotificationManager.notify() as done in this example article:[url]
Would PendingIntent be the Intent that I'm looking for? I'm new to the platform/api, so I'm likely just missing some knowledge on what I'm trying to do is called. I have done a fair bit of looking around, but I've reached a bit where I feel I'm going in circles.
If looks like once I could create/simulate voicemail, then I'd chance need to create a PhoneStateListener with a definition of onMessageWaitingIndicatorChanged() and call TelephonyManager.listen().
If I have missed a place to check or a resource - just point me briefly in that direction.
View 2 Replies
View Related
Oct 5, 2010
I am having issues with my application when a user gets a system update (for example from 2.1 to 2.2). i am wondering how I can reproduce this experience on a phone (Nexus One). does this involve rooting the phone and then applying a system update? I need the update to look as though it came from the system. In other words, I can't take a full ROM image, because then I think I would lose my application being installed between upgrades.
View 2 Replies
View Related
Aug 21, 2010
Is there a way to send an SMS from te DDMS in Eclipse to my Android phone. The emulator control is disabled when I'm running my physical phone. I can only sent a SMS to the emulator.
View 1 Replies
View Related
Sep 15, 2010
I want to simulate a KEY_UP press on my phone.. but pragmatically can someone tell me the code of a function that can do this? i found some functions searching on www.google.com but all of them are obsolete.
View 2 Replies
View Related
Feb 19, 2010
So I am trying to simulate that the phone is receiving a call. I have successfully extracted the phones ring tone and played it. Now I want to simulate the vibration. While I can make the phone vibrate, I want to emulate the exact pattern that the phone vibrates with as when it receives a call. Is there some setting or class that I can use to extract this pattern, and also detect if vibration is turned on?
View 3 Replies
View Related
Sep 23, 2009
Am creating the Android application in that application i created one DB and querying the db values , its working fine. but i need to know where the SQLITE Db is stored in my system.
View 3 Replies
View Related
Apr 1, 2010
I need to use google analytics tracking for my app and it says that it is supported with versions 1.6 and higher.
But my app runs on versions 1.5 and higher and right now it does not have an issue when I add the tracking code to my manifest.
CODE;...........................
View 2 Replies
View Related
Nov 2, 2010
I want to port my application on all android devices, and I want to have the right/left animation on the activities transition on all android platform versions. I know that this feature is implemented in the 2.0 version. How can I implement this feature for the lower versions?
View 1 Replies
View Related
Jan 12, 2010
Is there a way to simulate opening/closing the 'hardware' keyboard in the emulator?
I have to test some changes that I capture using getResources().getConfiguration().keyboardHidden and this would help a fair lot :)
View 2 Replies
View Related
Oct 13, 2009
Is it now possible mit sdk1.6 the audio decoder to access/use without using MediaPlayer ?
I saw : New version of OpenCore
Android 1.6 includes the updated OpenCore 2 media engine, which has:
* Support for OpenMAX encoders* Support for additional audio codecs in AuthorEngine* Improved buffering model supports shared buffers allocated in the decoder. but dont know how!
View 3 Replies
View Related
Oct 14, 2009
I'm using sdk1.1, there is no setInputType in InputMethodManager.
View 3 Replies
View Related
Oct 19, 2010
today i meet the problem.i need technic can control the android machine from server.then i want send data from server to android with no request from android.
View 2 Replies
View Related
Apr 14, 2010
I'm trying to open a dialog window, but every time I try to open it it throws this exception:
CODE:.................
I'm creating it by calling showDialog with the display's id. The onCreateDialog handler logs fine and I can step through it without an issue, but I've attached it since it seems like I'm missing something:
CODE:............
Is there something missing from this? Some questions have talked about having this problem when creating a dialog from onCreate, which happen because the activity isn't created yet, but this is coming from a call from a menu object, and the appContext variable seems like it is correctly populated in the debugger.
View 3 Replies
View Related
Jun 3, 2010
I'm writing an application which connects to a back office site. The backoffice site contains a whole slew of JavaScript functions, at least 100 times the average site. Unfortunately it does not load them, and causes much of the functionality to not work properly. So I am running a test. I put a page out on my server which loads the FireBugLite javascript text. Its a lot of javascript and perfect to test and see if the Android WebView will load it. The WebView loads nothing, but the browser loads the Firebug Icon. What on earth would make the difference, why can it run in the browser and not in my WebView? Any suggestions.
More background information, in order to get the stinking backoffice application available on a Droid (or any other platform except windows) I needed to trick the bakcoffice application to believe what's accessing the website is Internet Explorer. I do this by modifying the WebView User Agent.Also for this application I've slimmed my landing page, so I could give you the source to offer me aid. package ksc.myKMB;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.Window;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebSettings;
import android.webkit.WebViewClient;
import android.widget.Toast;
public class myKMB extends Activity {
I already have JavaScript on the web browser on, the problem is the web view is acting to different from the web browser.
View 1 Replies
View Related
Aug 15, 2010
I want to implement my own Tokenizer base on the file
"MultiAutoCompleteTextView.java",
but I encounter an error "com.android.internal.R cannot be resolved" when I try to
import "MultiAutoCompleteTextView.java" to my project.
code:.................
I haven't research any solutions to resolve this problem.How to correct "com.android.internal.R.attr.autoCompleteTextViewStyle" my own attr?
View 1 Replies
View Related
Jan 11, 2010
1- Does Android Browser (Éclair code base) support the "plug-in" or not?
2- Why "Google Gears" support is removed from the clair code base?
I searched the forum and came to know that earlier version of the Android does not support it at all? Here is the link for that, but this query asked in Dec'2008.
View 2 Replies
View Related
Jan 5, 2010
At first,I have a database created by using Ruby on rails.I just already implement insert function(HTTPPost) in my Android Application and it's work.But I don't know how to retrieve specific record from my databases and insert it back to specific record in Android (Like edit function in RoR)This is my insert code :
private void insertComment() {DefaultHttpClient client = new DefaultHttpClient();HttpPost post = new HttpPost("http://10.10.3.87:3000/comments");
// Configure the form parameters
List<NameValuePair> nvps = new ArrayList<NameValuePair>();
nvps.add(new BasicNameValuePair("comment[content]", t_comment.getText().toString();
nvps.add(new BasicNameValuePair("comment[id_account]", "1"));
nvps.add(new BasicNameValuePair("comment[id_place]", Integer.toString(position)I really try many ways out but it doesn't work and it takes very long time to fight with this piece of code. Actually, I really don't know how to specify RowID to HTTPPost.
View 2 Replies
View Related
Sep 17, 2010
I am doing some android development, and now I need to send some android application generated data onto a remote server (a database)?How can I do that? can I use direct JDBC connection and sql?
View 1 Replies
View Related
Oct 9, 2010
So i am making a android app, and i want it to be so if i call lets say 911 it sends my GPS coordinents to a certain IP, i know everything but how i make it so if i call 911 it sends the info and how i can make it send the info to the IP via 3g,
View 3 Replies
View Related
Jul 10, 2010
I released updates of my apps yesterday and they are being hidden from android 1.5 and 1.6 phones.
This is due to a Market bug which hides apps with bluetooth permissions from android 1.5 and 1.6.
Come on Google fix the market. We spend countless hours making are apps work on ALL android versions and now you do this...
This issue has been raised since June, but has only affected me since i made an update to the market yesterday.
View 1 Replies
View Related
Dec 23, 2009
What exactly are mock tests... I need to know the mock and performance tests available in android for testing android apps..what is the best tool for testing android apps and how..
View 1 Replies
View Related
Aug 17, 2009
I'd like to add a menu option to the Android camera app. Is this possible to do using the current SDK? I know I need to add an intent-filter tag in my activity. But I don't know what I should put in the mime type. I want to be able to process the live camera previews if the user selects the menu option. So what do I put into the type tag of the intent-filter? Also I suppose I won't be using ALTERNATIVE or SELECTED-ALTERNATIVE for the category as I want to deal with the whole intent?
View 3 Replies
View Related
Jan 21, 2010
I was wondering if the market checks if the application can be installed on the device. For example, if I have an Android 1.6 and if I try to install an application with :"<uses-sdk android:minSdkVersion="7" />" on its manifest. What will happend ?
View 4 Replies
View Related