Android : CTS Failure In View
May 3, 2010
Was playing with CTS ,and came across a failure like below
testAnimation fail junit.framework.AssertionFailedError: unexpected timeout at android.view.animation.cts.DelayedCheck.run DelayedCheck.java:51)
Can anyone pass me some light on , how to fix this issue? or what should be the approach in cases like this? Any information will be appreciated.
View 3 Replies
Aug 2, 2010
I am trying to set up a ViewFlipper that changes a SlidingDrawers content each time a button is pressed. So far every view I set up worked fine, but now I am trying to create a ListView (including single_choice_mode) within a child view of the ViewFlipper, but my attempt only let to a NullPointerException. As I only discovered ViewFlipper today, I am not yet familiar with it and may not have understood it completely. if someone could give me a hand and help me find out what I have done wrong, that would be great. Here is what I have done:
The code for the onClick event of the ImageButtons:
public void onClick(View v){
if (v == btnExposure){
mFlipper.setDisplayedChild(0); }
else if (v == btnProperties){
mFlipper.setDisplayedChild(1);}
else if (v == btnSpecialEffects){
mFlipper.setDisplayedChild(2);.............
View 1 Replies
View Related
Aug 24, 2012
I am connecting to a server on my network written in C#. The data sent from the android device is received by the server and a reply is succesfully sent but the android code timesout and never gets the return data.I have tested that the C# server can communicate and reply with a C# client.
I have studied the network traffic using Wireshark when using both the C# server-android client and C# server-C# client and it appears that the android device acknowledges(ACK) the reply data but my code never recieves it.
I have the code running in a thread so running it on Android 4.0 doesn't error out but I have tried running it on Android 2.2 with exactly the same behaviour(or lack of it). Also I have run it on 2 different android devices.
(AndroidManifest.xml)
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
(My Code)
[code]...
View 3 Replies
View Related
Jul 8, 2009
I was very confused for MediaPlayer, follow the audio supporting formate from: http://developer.android.com/guide/appendix/media-formats.html
I success in mp3 formate, but failure in wav and 3gp formate.. i can't figure out why i can't? the other question is the error message from adb logcat,
E/MediaPlayer( 729): error (1, -1) E/MediaPlayer( 729): Error (1,-1)
What's the "(1,-1)" means? i try my best for several methods and audio/video support formate, but still failuere, and always get the error message..
View 6 Replies
View Related
Aug 12, 2010
I am running the CTS on the Arm based phone. When I tried to run the Network related test cases.I am getting the above error in the "android.core.tests.luni.net" test package and due to this error around 179 test cases are getting failed.Please help me out.Is there any environment setting issue in the setting up the target.I have connected the target with the USB to my Fedora system. additionally target have the 3G Sim connected with It.
View 2 Replies
View Related
May 12, 2009
I have developed a small application on eclipse (SDK 1.5r1). When I run the project it worked fine. Then I exported the signed application. (Lunar.apk) Then I sent the Lunar.apk file to my friend to install on his machine. when he try to install it manually on the emulator the cmd prompt says
pkg: /data/local/tmp/Lunar.apk Failure [-12]
Please help me with this.
View 5 Replies
View Related
Nov 15, 2010
I have downloaded the Layar401.apk file from web and trying to install it into my android device [HTC Magic, OS 2.2]. But every time I'm trying to install it its saying -
adb install Layar401.apk
1098 KB/s (1855698 bytes in 1.649s)
pkg: /data/local/tmp/Layar401.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
From other posts I figured out that there might be a missing shared library of google maps api in manifest.xml file. I tried to view the manifest.xml file and it gave me something like following -
package: name='com.layar' versionCode='27' versionName='4.0.1'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.ACCESS_COARSE_LOCATION'
uses-permission:'android.permission.ACCESS_COARSE_UPDATES'
uses-permission:'android.permission.ACCESS_FINE_LOCATION'
uses-permission:'android.permission.ACCESS_WIFI_STATE'
uses-permission:'android.permission.CAMERA'
uses-permission:'android.permission.WAKE_LOCK'
uses-permission:'android.permission.READ_PHONE_STATE'
uses-permission:'android.permission.VIBRATE'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
application: label='Layar' icon='res/drawable/icon.png'
uses-library:'com.google.android.maps'
launchable activity name='com.layar.Main'label='Layar' icon=''
sdkVersion:'3'
targetSdkVersion:'4'
uses-feature:'android.hardware.camera'
main
other-activities
other-receivers
supports-screens: 'small' 'normal' 'large'
locales: '--_--' 'ja' 'de' 'he' 'sk' 'el' 'nl' 'ko' 'fr' 'tr' 'es' 'it' 'pt' 'hu' 'ru' 'sv' 'fr_CA' 'zh_HK' 'zh_CN' 'pt_BR' 'es_US' 'zh_TW'
densities: '120' '160' '240'
But here it says library includes google maps api as well. So I'm not sure why I'm not able to install this apk file.
View 2 Replies
View Related
Jul 7, 2010
I followed instructions from here. After $ repo sync I tried to build it with $ make, but got this error:
CODE:............
Using Ubuntu 10.04 LTS.
UPD: I found a discussion, that claims, that problem could be that I'm having 64bit libs on my 32bit system.
CODE:.....
How do I figure out, if that libz.so.1.2.3.3 is the right lib, and in case I have to replace it with the right one, how do I do it?
View 3 Replies
View Related
Sep 2, 2010
I have a similar problem to this question, but slightly different. I have compiled a .so library to use with JNI. Because it is large (15 MB), I am putting it on the SDCard instead of in the standard application place.
The file is called libSample.so and it's located at /data/library/libSample.so
I load it in a static initialization block:
CODE:.............
Here's the relevant logcat output:
CODE:............
I read the post about can android load dll's from sdcard in native mode which said that the sdcard cannot be used to load libraries, so I moved the .so into /data/data/com.example.hellojni/lib/libSample.so (the private app data storage location). No change:
CODE:.............................
What I don't understand is that clearly the library exists, and the OS is trying to load it ... so what would make it fail?
Following the advice of one of the commentors, I tried attaching via strace to get more detailed error information. The log can be found as a github gist.
The error appears to be on lines 47-51:
CODE:...........................
Here's the readelf of the library:
CODE:.........................
View 3 Replies
View Related
Sep 25, 2010
I am trying to connect an Android application with a secured HTTPS remote service that is hosted in Google App Engine for Java (https://applicationname.appspot.com), using the HTTPClient 4 implementation that comes with Android. The certificate is signed and valid form *.appspot.com.
I am using Android 2.1 in a real device (HTC Hero), and I get the following error: SSL23_GET_SERVER_HELLO:unknown protocol.
This is part of my code:
CODE:............................
This is the complete stack trace:
CODE:.........................
View 1 Replies
View Related
Apr 4, 2009
Does the API restrict you from attaching to another database while you have one open?I tried the SQLite3 command "attach database .../contacts.db as aliasdb" .This works in the adb shell and I'm able to perform joins with tables in this database. When I use the same command via the API using "db.execSQL(attach database/contacts.db as aliasdb)" it gives me failure 14.Is this restricted on purpose or am I making a mistake somewhere?
View 5 Replies
View Related
Feb 3, 2010
I created a simple client socket from my Activity, but it fails. I am running this activity in emulator and server runs on PC(its a different application without Android stuff).
*clientSock = new Socket("127.0.0.1", 30001);*
logcat shows java.net.SocketException: permission denied <maybe missing INTERNET permission>
If I enable permission for my Activity(android.permission.INTERNET), my Activity constructor itself not called and logcat shows following info. Permission Denial: starting Intent < flg=0x10000000 cmp=com.example.client/.MyClientActivity > from null <pid=-1, uid=-1> requires android.permission.INTERNET.
Any suggestion on how to resolve this issue?
View 3 Replies
View Related
Apr 1, 2010
I am working on an app that uses a Socket to connect to a controller over TCP. The protocol library was written in Java and I am implementing it in android via a Service. where the Connection class is a Thread that handles the communications with the controller. It's where the Socket lives.I'm using the Preferences mechanism to store the IP and Port. If I feed the Socket the correct IP and Port, the Connection Service works beautifully. However, I am trying to simulate a user entering the wrong information and having the connection fail. The ultimate goal is to present a dialog and offer the ability to "reconnect" or "update settings". However, when I enter a wrong Port number, the application simply hangs.I was under the impression that Threads executed concurrently so I've tried moving the call to start the Connection Service to a Thread, but it still hangs the application.
View 3 Replies
View Related
Mar 3, 2009
I and my customer have had the same problem uploading new versions of my App. tried and failed: Load from website load from USB using adb install reset G1 to factory setting. After reset of phone the error message for ADB is Failure [INSTALL_FAILED_ALREADY_EXISTS].
View 4 Replies
View Related
Mar 11, 2010
I'm trying to write a basic camera app. The problem that I am facing is that it works fine in emulator but on the phone (Nexus one) it fails.
The point of failure is the very first call, i.e. Camera.open(). It fails on the phone saying "Failed to connect to camera service". Any idea what could be wrong? (BTW, I am calling this from my activity's onCreate funtion itself, could that be an issue?)
For the information, I do have the necessary Camera permissions specified in my manifest xml file.
View 2 Replies
View Related
Jul 27, 2010
Hey folks HumanMachine here with a little query for those of you who were lucky enough to have picked up a 32GB MicroSD for your phones.I had, and lost mine, in the course of two days. Short story incoming. TLDR Below I was using my phone at work and decided to change my Live Wallpaper, I'd downloaded a few of them and was going through them just to see how they looked in motion. I remember specifically looking at the "Starfield" wallpaper. I then selected the "Battery - Couple the ship's energy source with phone's battery" To see what the option did. I backed out to apply the Wallpaper. And the Droid X locks. Weird I thought, maybe she's just lagged.Turned out a lot worse than that. She was just straight up frozen. Stuck on this unusable frozen starfield. I couldn't quite remember how to reboot the phone. or even if it were possible, Couldn't power her down, so I removed her battery, figured that would be enough to get her back to life.I was met with a message, once the phone loaded up. "SD Card blank or has unsupported filesystem" Not the first time I've seen this issue pop up on the android forums. I immediately popped the MicroSD card into my little USB dongle and attempted to access the MicroSD. Shows up in "My Computer" just fine. but when I tried to access it? "Please insert disc" et cetera et cetera.
I try to format. No dice, Computer won't even find the thing. Try my SD formatter, no dice.Stick the 16 GB card back into the phone, and we're sailing again. And here I am staring sadly at the card.I tried for about an hour more to breathe some life into it. I just couldn't get the computer or phone to read the card. Same error messages.TLDR For those of you who wanted to skip the story SD Card died. pathetically, didn't lose much but still. My question, do we have any idea what the failure rates are on these bad boys? I didn't mistreat or even do much with mine before this issue came up. Hopefully I just had a lemon. Unfortunately, the store I got mine at. Verizon store actually, didn't have any, nor do they know when they will get a shipment of them.I'm bummed. go figure. Time to play the waiting game.
View 4 Replies
View Related
May 13, 2009
I just installed android sdk1.5 on a ubuntu 8.04 machine. The IDE is eclipse3.4 with ADT. I created a HelloAndroid project with only the automatically generated code. It compiled successfully and worked on the emulator. But when I tried to install the apk to my G1. It failed with only return code [-12]. I tried anroid 1.1 and android 1.5. The results are the same. But my G1 works fine when the sdk is 1.1. Any idea?
View 3 Replies
View Related
Oct 3, 2010
This is the code for my custom provider, mostly copied from the SDK notepad project i cant understand why am i getting nullPointException, why doesnt the provider instance get created?
CODE:............
LogCat
CODE:..........................
View 1 Replies
View Related
Sep 21, 2010
Samsung Mobile Phone GPS Defect Complaints - LieffCabraser.com Let They are looking into setting up a class action suit. I gave them my info. and experience online and signed up for their newsletter on this issue. Hope you do the same.
View 49 Replies
View Related
Oct 5, 2010
I am getting this log COntiniously in my class, Can any body suggest me how to handle this SSLSocketIMpl handshake in 2.1,
I found that this is known issue in froyo. 8558.
CODE:...............
View 2 Replies
View Related
Oct 14, 2009
This happens only when my G1 phone is on T-Mobile network: I found that when I try to go to the browser, and type the address:
http://i0.sinaimg.cn/
The browser tries to load the page, but no progress is shown for more than 2 minutes. (I have full 3G signal; all other addresses work just fine). Eventually when I tried to access this URL in my Java code, I found a similar long delay when I try to open the HttpUrlConnection, and eventually I get this exception:
I/InetAddress( 1940): Unknown host i0.sinaimg.cn, throwing UnknownHostException W/System.err( 1940): java.net.UnknownHostException: Host is unresolved: i0.sinaimg.cn:80 W/System.err( 1940): at java.net.Socket.connect(Socket.java:1002)
Why would DNS take so long? Also, if my program tries to issue the same HTTP request again, the same 2+ minute blocking happened. Is this an Android bug or a T-Mobile infrastructure bug? It seems the Android API should try to time-out faster, especially on the second attempt.
View 11 Replies
View Related
Sep 20, 2010
I am a very green android developer and need some help with a strange program crash. Often the program will run just fine. There is an equal chance it will fail (see stack at the end). I can watch the program run through the getView function and everything seems in order (i.e. all the information is there as expected and passes through convertView seemingly fine). Either it will go through a few times and then program will be A-OK or it will fail as seen below and I have not been able to pick out what causes the crash. Even stranger is that if I hold the phone in landscape mode, it will never fail!! It only fails about 50% of the time in portrait orientation.
CODE:.................
-----------------------Failure----------------------------------------------
CODE:.........................
View 1 Replies
View Related
Aug 7, 2010
Is anyone have issues downloading any MMS? I keep getting a failed download message "Transient failure". In both the default messaging app and Handcent. edit: Tried Wireless and 3G
View 25 Replies
View Related
Jun 28, 2010
I keep getting a Data Call Failure on my phone, does anyone happen to know what is causing this?
View 2 Replies
View Related
Sep 11, 2010
I need some help. Every time i try to send a picture message it says message not sent general network failure.It will say that a few times in a row.On rare occasions even though it says that it might go through.Any ideas how to fix this.Is there an MMS fix i missed?
View 3 Replies
View Related
Jul 9, 2012
I have a problem regarding my software update on my Sony Ericsson Xperia Arc, I did all steps regarding this PC Companion application for updates, a last step when i tried to turn on my phone, it is constantly showing logos of Sony and Xperia, I wait for a several minutes because it is saying that process of turning on is process which lasts several minutes, but now more than our passed, just that logos are happening...
View 1 Replies
View Related
Jun 1, 2010
Today I've just started having many SMS failures when trying to send via my Desire handset on the Orange UK network. I've put the sim in another phone and the messages send (and receive) fine. I've done a factory reset and still the problem remains - 'SMS unable to send' notification. Eventually on a retry it seems they do send (sometimes coming through twice) but it's something that has only just started happening.
As I say I tried a factory reset and the problem remains using either the stock sms client or indeed Handcent. I also noticed before the reset when I restarted the phone it would take upto 5 minutes to achieve any phone signal at all - after the restart it finds it almost immediately.
View 49 Replies
View Related
May 30, 2010
I ran into this with my corporate e-mail this week on a Google I/O Evo. The setup of my exchange account was painless. Just need to plug-in my e-mail, password and a device password. Exchange syncing works fine until you turn off your phone. When you power the phone back on, it boots up to the point where the Sprint intro video plays. At that point, according to Sprint tech support, the Exchange syncing hits a snag and causes the phone to restart indefinitely playing that same loud, annoying intro video over and over. The only workaround was to open up the bootloader (power+volume down on power up) and erase all my data. I went through a simple setup and a simple setup + exchange again to confirm that it was indeed the Exchange account that introduced the problem.
View 37 Replies
View Related
Jul 8, 2010
I can send MMS but when someone sends one to me it tells me who its from, the message size, a button for download and when it expires. If I click to download, it tries to download for about a min then I get a notification that says "message not downloaded" then below it says "transient failure". I have had 2 people send me MMS messages, both times my EVO behaved the same way. Both people have verizon service.
I have the White EVO
firmware version 2.1 - update1
software number1.47.651.1
I have tried a soft reset by powering down the phone, removing the battery and resetting. This is my 3rd day of having this device. When I left the store with it, I received an update notification. Then when I got to WiFi, I installed the OTA update. I don't know whether mms worked before the update as I didn't have time to use it before the update began.
View 4 Replies
View Related
Oct 17, 2010
"A LOT" of people with DHDs that have this problem...I don't buy it, but everyone to their own!
http://www.youtube.com/watch?v=recz23IyaJk
View 49 Replies
View Related