Android :: XmlPullParserException When AndroidHttpTransport.call(SOAP_ACTION, Envelope); Is Called

Feb 24, 2010

Basically I am using kSoap2 classes for Android. The client app is consuming a web service. If required I can post the code.

I surfed around to figure this out. I get following error message
expected: START_TAG{http://schemas.xmlsoap.org/envelope/}Envelope(posiiton:START_TAG@1:6 in java.io.InputStreamReader@437b40f0) when androidHttpTransport.call(SOAP_ACTION, envelope); is called.

What I gathered so far is "The xml is not parsed correctly or there was no response from the webservice server." Any suggestions?

Also, When I tried other external webservice: http://www.deeptraining.com/webservices/GetWeather, I received: IOException on androidHttpTransport.call(SOAP_ACTION, envelope);

IOException message: Host is unresolved, any idea how to solve this, here I didn't get the XmlPullParserException (may be it will show up once this is fixed).

Android :: XmlPullParserException when androidHttpTransport.call(SOAP_ACTION, envelope); is called


Android :: When Send A Text Get A White Envelope With An I On It

Sep 3, 2010

Today each time I send a text I get a white envelope with an i on it. Does anyone know what this means. My texts are being received okay.

View 2 Replies View Related

Android :: Android 1.5 - Asynctask DoInBackground Not Called / Method Called

Oct 26, 2010

I am running into an issue with the way my asynctasks are executed. Here's the problem code:

firstTask = new background().new FirstTask(context);
if(firstTask.execute().get().toString().equals("1"))
secondTask = new background().new SecondTask(context);

What I'm doing here is creating a new asynctask object, assigning it to firstTask and then executing it. I then want to fire off a separate asynctask when the first one is done and making sure it returns a success value (1 in this case). This works perfectly on Android 2.0 and up. However, I am testing with Android 1.5 and problems start popping up. The code above will run the first asynctask but doInBackground() is never called despite onPreExecute() being called. If I am to execute the first task without the get() method, doInBackground() is called and everything works as expected. Except now I do not have a way to determine if the first task completed successfully so that I can tell the second task to execute. Is it safe to assume that this is a bug with asynctask on Android 1.5? Especially since the API says that the get method has been implemented since API 3. Is there any way to fix this? Or another way to determine that the first task has finished?

View 2 Replies View Related

HTC Hero :: Small Envelope On The Left Appear With Green I In Front Of Sms

Nov 4, 2009

when i send a message i sometimes have a small envelope on the left appear with a green 'i' in front of it. what is this for as the manual as usual doesn't seem to explain?

View 6 Replies View Related

Samsung Epic 4G :: Red Clock Icon Over Message Envelope?

Nov 29, 2010

What does the red 'clock' icon over the message envelope mean? My messages aren't being sent, and I don't know why. (I just got my Epic.)

View 10 Replies View Related

Samsung Moment :: 2 Symbols @ Sign And Envelope In Top Bar / Why These Both Show Up?

Dec 15, 2009

I am new to the moment and to the forum. When I get an email, there are 2 different symbols that show up in the top bar. One is the @ sign. and the other is an envelope. They both show my gmail, but with 2 different views. One is new emails, the other is new conversations. Does anyone know anything about why these both show up?

View 15 Replies View Related

HTC Incredible :: No Envelope Icon At Top Left When Receive Mail / Cause Of This?

Sep 8, 2010

For some reason, I'm no longer getting the little envelope icon at the top left of my phone when I have new e-mail. Does anyone know what could be causing this? I have checked and the "email notification" is still on, so its not that.

View 21 Replies View Related

Samsung Epic 4G :: Text Not Sent - Show Symbol Of Closed Envelope With Red L

Sep 6, 2010

No problem for first few days of ownership but now when I try to send a text it does not seem to send. It shows a symbol of a closed envelope with a red L in a circle next to the text message that I tried to send. I'm having no problems receiving texts or with any other functions.

View 3 Replies View Related

HTC EVO 4G :: Home Screen Just Shows In Task Bar - Not On Gmail Envelope While Testing

Jun 5, 2010

According to previous screen shots before buying evo yesterday, the home screen gmail envelope has a green circle with # of unread messages but while testing out and sending multiple messages from my desktop to myself, it just shows in the task bar and not on the gmail envelope. Am I missing something her?

View 2 Replies View Related

HTC Incredible : Inbox Notification Icons - Way To Turn Off Black Envelope?

Jun 18, 2010

I couldn't find anything specific through a search, but whenever I get an email on gmail I get a white envelope notification. That is linked to the gmail folder. At the same time I get a black envelope with a white outline. I cannot figure out what email folder/widget/whatever it is linked to and I have to manually clear the notification.

Is there anyway to turn off the black envelope?

View 3 Replies View Related

General :: What Little Envelope With Blue Arrow On Text Messages Means

Nov 9, 2011

Sometimes when I send a message to someone I get a little envelope with a blue arrow on it. When it sends to the person, it's a green arrow, and when it doesn't send, it's a "text message not sent"

I don't think the message is received when the blue arrow appears.

View 2 Replies View Related

Samsung Captivate :: Double SMS Notification / White Envelope - Green Bubble

Aug 1, 2010

I'm sure this is an easy fix, but I can't seem to figure it out. I had Handcent installed on my captivate, however decided to stick with the installed messaging software. After uninstalling, I am now receiving two SMS notifications when I receive a text. One a white envelope, another a green bubble with "SMS" written in it. I can't find a place where two are coming from...any ideas?

View 1 Replies View Related

Android :: Google Voice Call Quality -- How A Call Routed If Have GV Make The Call

Feb 11, 2010

I use Google Voice (love it) primarily because of it's visual voicemail on my Droid. I do have a Google Voice number, and I'm trying to decide whether to set the Droid app to "make calls using Google Voice" or not.

I have no problem with giving out a different number, and my placed calls seeing the GV number in caller ID.

My question is, does this affect how the call is actually connected, from a quality standpoint? I tired a call both ways, and the sound quality seemed a little bit different. But then, I am an obsessive compulsive weirdo.

Is there any difference in call quality or routing between making a native Verizon call and a Google Voice call on Droid? (Like, does Google voice actual use 3G to connect to Google server over the internetz, then place the phone call?)

View 3 Replies View Related

Android :: How To Called Mp3 Download?

Jun 4, 2010

I was reading through app suggestions and someone mentioned an app called mp3 Download that basically functions like limewire, letting you search and download mp3's to your phone. Does anyone know anything about this app and whether it is good or not? Or have suggestions for a similiar app? It had mixed reviews at appbrain and when I searched here it came up with a bunch of other threads.

View 4 Replies View Related

Android :: An App Called Listen?

Sep 22, 2010

I was told by a few friends that the iphone has an app that allows you to hold your phone up to a song that you dont know and it tells you the name.Does android have anything like that?

View 6 Replies View Related

Android :: OnKeyDown Not Always Called In App

Oct 20, 2009

I've created a simple android game, based on the Lunar Lander sample, and I'm having a problem with handling key events.When the activity starts, the only keys that onKeyDown or onKeyUp get called for are the dpad up/down/left/right keys.Neither the menu, back, or dpad_center keys trigger onKey methods. However, once I've pushed one of the dpad up/down/left/right buttons, pressing the menu, back, or dpad_center keys do trigger these methods. I'm not getting any errors, or any indication of what's going wrong.It's possible that the focus is set wrong - the activity is started from a button on screen, so it could be in touchscreen mode. If that's the case, shouldn't touching the back button get me in to the right focus mode so that I can catch the event?I'm using the emulator from SDK-1.5r3.I have not been able to try this on a real phone yet.

View 4 Replies View Related

Android :: Whats That App Called?

Aug 27, 2010

I saw it on the market but forgot to install it. It displays the number of remaining minutes, texts and data left for the month if your on a monthly mobile phone plan.

View 2 Replies View Related

Android :: OnLowMemory Not Getting Called

Apr 6, 2010

I'm working on an application which allocates lot of memory and hence I'm bound to get OutOfMemory. I want a way to get notified when system is running short of memory so that I can stop processing further, notify user and release as much memory as possible.

According to official Android documentation there is a callback onLowMemory from the system. I have a class which extends android.app.Application and I have overridden onLowMemory() method. This class has entry in the in the application tag of AndroidManifest. However it never gets called in my case. Do I need to register for this event using AndroidManifest or any other means?

View 9 Replies View Related

Android :: OnContextMenuClosed() Not Called Under 2.x

Jan 1, 2010

In one of my applications I programmatically open the context menu when something is clicked in my MapActivity overlay. This works perfectly under 1.x as well as on my 2.0 Milestone. I've used showContextMenuForChild() historically, but openContextMenu() does that same thing.

As expected onCreateContextMenu() is called to build the menu and then onContextItemSelected() is called when something is selected. So far all is well.

The odd thing is that under 1.x the onContextMenuClosed() method is called when I press the back key, but not so under 2.0. This confuses states for my app since I need to know whether menu is shown or not - or maybe there is a way to know this that I have not (yet) figured out...

Is this a deliberate change or should I file it as a bug? Googling comes up pretty dry (stuff that is over a year old).

Anyone with a 2.0.1 Droid that would care to test whether this has already been fixed? (The ETA for Milestone 2.0.1 seems hazy still, but it appears that at least one of my reported bugs has been fixed in 2.0.1 event though it isn't flagged as such.)

View 4 Replies View Related

Android :: OnSurfaceCreated Called Twice

Oct 27, 2010

Is there a way to make sure onSurfaceCreated is called only once during startup.

Currently in my app it gets called once with say 800x480 then it gets called a second time with 480x800. I guess this is probably due to a call to setRequestedOrientation in onCreate. Is there any way to make sure the app starts in a particular orientation, to prevent orientation changes, and to have onSurfaceCreated get called only once during start up?

View 3 Replies View Related

Android :: When Does OnFocusChanged Get Called

Mar 3, 2009

I have over-loaded the onFocusChanged() in my classes which inherits from LinearLayout.

CODE:...........................

View 4 Replies View Related

Android :: UncaughtExceptionHandler Not Called?

Apr 16, 2010

i use a ScheduledThreadPoolExecutor combined with a ThreadFactory, their all combined should cause an unchaught Exception to be logged so that i can see what happening if any thread is dying in the ThreadPool:

threadPool = new ScheduledThreadPoolExecutor(poolSize, new ThreadFactory());

My ThreadFactory, also sets a UncaughtExceptionHandler :

public Thread newThread(final Runnable r) { final Thread thread = new Thread(r); thread.setUncaughtExceptionHandler(new ThreadLogger()); final int counter = count.getAndIncrement(); final String name = threadName + counter; thread.setName(threadName + counter); if (Logging.isLoggingEnabled()) { Log.d(LOG_TAG, "Thread created :" + name); } return thread; }

The ThreadLogger :................

View 2 Replies View Related

Android :: OnLocationChanged Does Not Get Called?

Mar 7, 2009

I have been struggling to get onLocationChanged called, but I'm not sure it does not. Here're my code

criteria = new Criteria(); criteria.setAccuracy(Criteria.ACCURACY_FINE); criteria.setPowerRequirement(Criteria.POWER_LOW); criteria.setAltitudeRequired(false); criteria.setBearingRequired(false); criteria.setSpeedRequired(false); criteria.setCostAllowed(true);

String locationContext = Context.LOCATION_SERVICE; locationManager = (LocationManager)context.getSystemService (locationContext);

String provider = locationManager.getBestProvider(criteria, true);.................

View 2 Replies View Related

Android :: OnSaveInstanceState() Normally Not Called?

Jul 5, 2009

Am I right to assume that onSaveInstanceState() is not normally called (which my logging indicates) - but only when the system is forced to kill an Activity. If so, since onPause() does not receive a bundle, what is the best way to save state that should be restored the next time the Activity is created?

View 8 Replies View Related

Android :: 1.6 - OnActivityResult Is Not Called

Jul 6, 2010

I have a problem with the method "onActivityResult".

I create a new Activity from my main activity:

CODE:.........

The new Activity is ended like this:

CODE:.............

But the Method onActivityResult seem to be not called

CODE:................

View 1 Replies View Related

Android :: OnTouch Not Called?

Aug 4, 2010

I'm trying to start activity by sweeping across the screen, it works fine for all the other screens, just this screen that doesn't fire the onTouch at all? Would you mind helping me? I've tried debugging it and still have no idea at all. Below are the codes, sorry for not putting snippets only as I thought I might did something wrong elsewhere

I'm also looking for advice on implementing sweeping to change screen. I've read about ViewFlipper and I know it will work very well, but I've around 8 screens with different backend coding needed.

CODE:.....................

View 1 Replies View Related

Android :: Why OnKeyListener() Not Called

Sep 12, 2010

I defined an EditText-field and I want to be informed when the user edits that fields.
So I thought: simple - I add an OnKeyListener and so I did. But even though the text field gets edited (and even displays the entered/modified text) I don't get any callback, i.e. the LOG-output doesn't show up.

CODE:......

why that callback is never called?

Android is really full of oddities! It seems that almost nothing I touched so far worked immediatly as one would expect. And - believe it or not - I have LOTS of experience with GUIs, esp. in Java (AWT, Swing, SWT, you name it...) But Android is a really tough beast!

View 2 Replies View Related

Android :: How Can GetContentResolver() Be Called

Sep 20, 2010

I want to know the context in which getContentResolver() is called ?

I have a scenario like this : I have an activity A that calls a method myFunc() of class B whcih is not an activity. So, in class B I have to use getContentResolver(). I directly called getContentResolver(). It was showing error. Then I called myFunc(Acitivy act) from the activity and called act.getContentResolver() which solved my problem. My question is is this the only way to call getContentResolver(), which means it can be used in context with activity or can be used alone.

View 1 Replies View Related

Android :: Mouse OnListItemClick() Is Not Being Called

Jan 11, 2010

i've tried displaying a simple list in ListActivity, it is working fine but the problem i got is with the listener.. when i click on any of the list item using the mouse onListItemClick() is not being called, strangely it is working fine with the key-up&key-down keys...................

View 2 Replies View Related

Android :: Why OnListItemClick() Not Getting Called Back

Jul 16, 2010

I have a ListActivty and I overload the onListItemClick(ListView listView, View view, int position, long id) in my List Activity. My question is why onListItemClick() not getting called back (i have breakpoint in my debugger) when I have an ImageButton in my list item view (the one view created by my list adaptor from cursor)?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved