Android :: Unable To View Map On Android Emulator
Jul 6, 2010
I am unable to view maps on the emulator. I am under proxy internet connection, I also set the proxy via GUI and also have set api Key alongwith the permissions and library. here's my code:
package com.example.MyMapActivity;
import org.apache.http.HttpHost;
import org.apache.http.conn.params.ConnRoutePNames;
import org.apache.http.impl.client.DefaultHttpClient;
import android.os.Bundle;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
public class MyMapActivity extends Map Activity {
private MapView mapview;
private MapController mapcontroller;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)}
View 2 Replies
Jul 6, 2010
I am trying to run the application Maps which is built in the emulator, i just get a grids and no map. i did set the permissions of internet and fine and coarse, also got the apiKey too. I have looked into this http://code.google.com/p/android/issues/detail?id=3764 , so has there been no solution yet to run the Maps under proxy?
View 3 Replies
View Related
May 19, 2009
Unable to play youtube videos on SDK 1.5 emulator - but playing well on SDK 1.0 emulator. Can you update the source....
View 7 Replies
View Related
Nov 25, 2012
I have been trying this for over 6 hours and I cannot find the problem why I was unable to load up the emulator.
View 1 Replies
View Related
Apr 28, 2009
I used to be able to send SMS messages from one emulator instance to another; the reason why I didn't use Eclipse is because the app automatically replies to a certain SMS request, and the other device is used to receive it. That worked fine under SDK 1.1; however, with the upgrade to 1.5 I get a "could not connect client socket to Invalid argument" error when trying to send an SMS from one emulator to another. I've created a separate AVD for each emulator instance, both Google API, and both devices are listed with the adb devices command.
View 15 Replies
View Related
Apr 23, 2010
I got this trace when I tried to launch android 1.6 or 2.1. Android 1.5 is working fine. I tried to reinstall each SDK, but there is no way to get it working. I created those AVD with Eclipse plugin.
.............
View 1 Replies
View Related
Nov 2, 2010
My machine is using a WiFi connection for internet, and the LAN card is idle. it's not behind a proxy or firewall, but somehow, my emulator's browser isn't loading any page. meaning that the emulator can't connect to the internet.
View 3 Replies
View Related
Jun 7, 2009
I downloaded android and followed the instructions provided in this website ( http://source.android.com/download )! but i am unable to launch the android emulator. please find the following error
laptop:~/bin/out/host/linux-x86/bin# ./emulator emulator: ERROR: You did not specify a virtual device name, and the system directory could not be found.
If you are an Android SDK user, please use '@<name>' or '-avd <name>' to start a given virtual device (see -help-avd for details). Otherwise, follow the instructions in -help-disk-images to start the emulator. Am i looking at the right executable? can any one please help me figure this out.
View 3 Replies
View Related
Dec 23, 2009
I'm trying to run the Android Hello Map View tutorial app on the Android emulator. The Google Map view displays, but the tiles are blank.
Judging by the errors below (taken from LogCat) the app is unable to connect to the internet. The web browser on the emulator connects without problems. I've also double-checked the API key.I'm using the 1.5 Google APIs SDK, from Eclipse Galileo, on Windows XP SP3, behind a corporate firewall. I've tried two methods to add proxy information:Add -http-proxy http://www.foo.co.uk:80 to Additional Emulator Command Line Options in the Target Page in Debug Configurations.
Remove settings in 1. and add proxy information at Home > Menu > Settings > Wireless Controls > Mobile Networks > Access Point Names.
Neither seems to help. Any other ideas? Should I be adding proxy information within the app? If so, how? Sam Dutton, AMENDMENT: internet permission has been added to the manifest application element:
<uses-permission android:name="android.permission.INTERNET" />
12-23 16:43:31.624: INFO/System.out(717): waiting for debugger to settle...
12-23 16:43:31.828: INFO/System.out(717): debugger has settled (1480)
12-23 16:43:32.299: ERROR/ActivityThread(717): Failed to find provider info for com.google.settings
View 5 Replies
View Related
Jul 9, 2010
I configured my Gmail account successfully in the emulator. My goal is to respond to incoming messages in the mail account from my own application - for example display notification. I am using the standard mail application that comes with the emulator. I tried to receive mails from my account, but it does not work, there are no conversations in the standard mail application. I can't send and reveive messages from inside the emulator. Why?
View 8 Replies
View Related
Nov 19, 2012
I have developed one android application
this is my code:
[HIGH]
public class RetailerActivity extends Activity {
private static final String SOAP_ACTION = "http://ws.testprops.com/customerData";
private static final String METHOD_NAME = "customerData";
[Code]...
means it is successfully worked for my emulator and android device.please see this screenshot:[URL]
The same TestPrompts project only i have exported and created war file and uploaded in my tomcat server.
This is my tomcat server wsdl file: [URL]
But here i have faced one problem:
I have to put these URL means doesn't getting any result on both emulator and android device.Simply am getting black blank screen only. refer my screenshot:[URL]
My console window shows following error:
Quote:
11-19 15:12:55.232: D/SntpClient(73): request time failed: java.net.SocketException: Address family not supported by protocol
View 5 Replies
View Related
Jan 27, 2009
I have just started learning to develop for the G1 after two weeks of joyful us of my actual G1. I have however, come across a stumbling block in my development learning. I have successfully emulated an SD Card on the emulator. However, now, after saving an image from the browser to the phone I cannot 'View Picture' or 'Crop Picture' for a wallpaper. All I get when trying to access the picture is an error message saying: "The application Camera (process com.android.camera) has stopped automatically. Please try again." Does anyone know why this is or how to get around/fix it?
View 6 Replies
View Related
Oct 19, 2010
I tried to use map view to load google map, i have generated the keystore, and put in the mapview, below is my MapView, and also I have changed the Custom debug keystore equal to default debug keystore but still showing me a empty screen. please advise which on i am wrong. I use google api 2.2.
View 3 Replies
View Related
Sep 22, 2010
I tried to connect to internet behind proxy in windows.But I cant. I tried with the "-http-proxy" in command line and in eclipse but both did not worked for me.
View 1 Replies
View Related
Aug 25, 2010
I had created a view and wanted to store it as a image in the sdcard of the emulator how can i do this?
View 5 Replies
View Related
May 26, 2010
I am new to Android. I push files to Android device emulator. Image files are in Gallery and audio files are in Music. How can I view the text file in the android device emulator.( I heard android doesn't come with Text Editor form stack overflow). I don't want to open Text file I need to find if the text file is in the device or not. My file explore application list the available file in the sdcard. It lists the text file name also but in the device emulator how can I find the text file?
View 1 Replies
View Related
Sep 23, 2010
I have just started testing my application on a real device. Why can't I see my application data on the device using DDMS like I can on the emulator?
View 2 Replies
View Related
Dec 24, 2009
I wrote a http proxy on Android 1.5 four months ago. It can work properly on both 1.5 and 1.6 emulator, with APN proxy setting to 127.0.0.1. However, when i port this app to 2.0.1, it's not working anymore. Did browser on emulator 2.0.1 change its behavior? It seems that the browser no longer consider APN proxy as http proxy anymore. Or it's simply a bug on emulator?
View 2 Replies
View Related
Jan 14, 2010
Nearly every video I can't watch and get 'cannot connect to server' on moodio.fm radio stream.What to do?
View 6 Replies
View Related
Apr 8, 2009
I'm totally new to the android system.i am borrowing the g1 from a buddy considering this over my current phone.there is no Sim inside but it was activated before me using it.(so its running off wifi).i see nothing but free apps and it tells me there is no content for paid apps.i know the phone is fully updated, but is this due to me not having a Sim inside?i didn't think that would make a difference.
View 2 Replies
View Related
Dec 22, 2009
I have the Droid by Motorola from Verizon. I'm trying to use a youtube downloader to download youtube videos to my laptop and then convert them to AVI files and drag and drop them to my SD card so that I can view them on my Droid. The problem is the files either don't show up on the card when I attempt to play them on the device if they are in AVI format or if I choose not to change the format only the audio is played by the phone so I can't see any video. Any suggestions? I know this is a possibility because a coworker has done this on a BB Tour. I had him Bluetooth transfer some files and those show and play but the ones I'm attempting to tranfer by dragging and dropping the the files aren't working.
View 10 Replies
View Related
Aug 2, 2010
I am working on Android App and unable to synchronize View with Hardware. Let me explain.
1) I mute and unmute microphone of Android based on random values (which are random sleeps) stored in array A, from within run method of Thread 1.
2) I draw blue pulses that reflects the mutes of microphone. This is done by independent View class.
3)I move a red line across the graph drawn in above view, by calling from within onTick of a countdown timer.
I start the two threads one after other, this way:
Thread1.start counter.start();
How to synchronize both of these, I want to do three things at a time and avoid multiple threads. Three things are: Draw the pulses (which is constant), make the red line move across x axis and touch the blue pulse as soon as the phone is muted, and keep moving every second, the width of pulse reflects duration of delay. as soon as microphone is about to be unmuted, red line should leave the pulse and move forward. Currently, code is doing what I want. but there is no synchronization. Either microphone does its job first, or graph moves fast. They are not in Sync. Is there a way to hold a thread, force it to behave as coutdowntimer or sync both of them. I cannot embed the red line movement in thread 1 because, it will have to progress across x axis every second.
View 1 Replies
View Related
Jun 22, 2010
I have created 3 tab in my application and every tab has it's own view. in tab 1 i have a button on top which load another view on same tab but when that view load tab has been hidden this is my problem, i want view switching with in single tab by click on button.
I am not able to change the activity with tab by clicking on button.
View 2 Replies
View Related
Mar 3, 2010
In my foo_layout.xml file I have a subclassed RelativeLayout:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.android.myapp.FooView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/pegboard_table"
android:orientation="vertical"
android:scaleType="fitXY"
>
<ImageView
android:id="@+id/triangular"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/pegboard_board"
android:scaleType="fitXY"
android:gravity="center"
android:visibility="invisible"
/>
<Chronometer
android:id="@+id/timer"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/timer_display"
android:textSize="40sp"
android:textColor="#000"
android:layout_alignParentTop="true"
android:gravity="center"
android:visibility="invisible"/>
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/board_table"
android:visibility="invisible"
/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center_horizontal"
android:background="@drawable/tab_bar">
<!-- android:layout_alignLeft="@id/options_tab"-->
<ImageView
android:id="@+id/game_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/game_select" android:paddingLeft="15sp"/>
<ImageView
android:id="@+id/undo_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/game_select"
android:layout_weight="1"
android:src="@drawable/undo"
/>
<ImageView
android:id="@+id/settings_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/undo_select"
android:layout_weight="1"
android:src="@drawable/settings"
/>
<ImageView
android:id="@+id/info_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/settings_select"
android:layout_weight="1"
android:src="@drawable/info"
This doesn't seem like the right behavior. I've tried it with other views inside the FooView hierarchy and findViewById() always returns null.
For the life of me I can't figure out what I'm doing wrong.
View 2 Replies
View Related
Jul 28, 2010
I am getting an error , when I try to access the shared preference from within class that extends View.
The Error : "The method getSharedPreferences(String, int) is undefined for the type ViewforRed" , where ViewforRed is my class: Here is the sample code...
View 1 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
Nov 16, 2010
I am trying to set up an AVD for a 480*854 device. The AVD seems fine but when it opens my app the Surface View that I create is opening at 320*480 rather than 480*854. Does anyone have any ideas as to what might be going wrong?
View 3 Replies
View Related
Jul 13, 2010
I have had the SGS for a few days now and i am loving it. However, the one thing that it does not do is show MMS messages. I just get a text telling me to go to the website to view it.I have spoken to vodafone tech support about this and they sent me a PDF with instructions how to set MMS up. I have followed them to the letter and i am still having no job. These are the settings that i am using.
Name: Vodafone MMS
APN: Wap.vodafone.co.uk
Proxy: 212.183.137.012
Port: 8799
Username: wap
Password: wap
Server: not set
MMSC: http://mms.vodafone.co.uk/servlets/mms
MMS Port: 8799
MCC: 234
MNC: 15
Authentication Type: Not set
APN Type: internet + mms
Any ideas?
View 1 Replies
View Related
Oct 8, 2012
I have an employee that states he is unable to view emails that he has sent from his Droid. Is this something he is doing wrong or a setting he can enable, or is this something he can not do from his phone?
View 3 Replies
View Related
Aug 2, 2010
I'm using K9 email client on my DroidX. I have the free version of DocumentstoGo installed.
I just sent myself a test message with a Word .docx attachment. I click on the "Open" button next to the document icon at the end of the email and I get this message: "Unable to find viewer for application/docx".
Any suggestions?
View 2 Replies
View Related