adb

Generated exception classes with Axis2

I have several web services in the same package that throw a custom exception. The problem is that the generated exception class contains a reference to the web service that generated it, so I can't use the same exception name across multiple web services. Is there a way to make Axis2 generate the exception classes inside the web servi...

Why do I get access denied to data folder when using adb?

I connected to my live device using the adb and the following commands: C:>adb -s HT829GZ52000 shell $ ls ls sqlite_stmt_journals cache sdcard etc system sys sbin proc logo.rle init.trout.rc init.rc init.goldfish.rc init default.prop data root dev $ cd data cd data $ ls ls opendir failed, Permission denied $ I was surprised to see that...

Why am I seeing an error when making a call from the adb shell?

This used to work: adb shell am start -a android.intent.action.CALL tel:1234 However, now I get this error: 09-08 14:35:57.821 W/dalvikvm( 1107): threadid=3: thread exiting with uncaught exception (group=0x4001b200) 09-08 14:35:57.841 E/AndroidRuntime( 1107): Uncaught handler: thread main exiting due to uncaught exception 09-08 14:3...

Edit application database in android

How can I edit an SQLite database after it has been created and stored on my phone together with the corresponding app? I want to add a new column to the database but I can't figure out how. Is it possible to do this via the adb shell or maybe eclipse? Or in code? I tried to just update my db-adapter class, but then the app fails at com...

How to do Basic Authentication with an Axis2 ADB Client?

Hey I'm trying to figure out how to do Basic Authentication with an ADB Axis2 version 1.5 Client. I'm trying the following: HttpTransportProperties.Authenticator basicAuth = new HttpTransportProperties.Authenticator(); basicAuth.setUsername(username); basicAuth.setPassword(password); final Options clientOptions = servic...

Unit testing Android apps and specifically related to db's

What is the easiest way to create some kind of test harness for Android apps and to be able to visualize (even on the emulator) what is going into the db? I want to test things like constraints, look at the data, unit test methods, etc. Is there any kind of GUI tool that I can hook up to the emulator to be able to look at the db of a p...

How can you access the contents of Android Emulator databases?

I've read the answer to a question as to how to access the contents of the databases, however I cannot seem to get it to work on my machine. Here is the shell log: C:\android-sdk-windows\tools>adb -s emulator-5554 shell # sqlite3 /data/data/com.android.demo.notepad2/databases/notes sqlite3 /data/data/com.android.demo.notepad2/databases/...

Developing Android applications on a shared server

Hi! We are trying to use a shared server (Ubuntu 9.10 64-bit) to develop Android applications. The thought is that a number of developers should use the shared server for development. We have overcome some obstacles such as setting the base port for DDMS. So it is possible to run multiple emulators and multiple instances of Eclipse. B...

Adb shell commands to change settings or perform tasks on a phone

How do I use adb to perform some automated tasks on my android phone? I need to find commands that I can issue from the command line (ideally, using a .bat file) that will be capable of more than simply opening an application or sending an input keyevent (button press). For instance, I want to toggle Airplane Mode on or off from the ...

ADB rejected shell command (ls -l /data)

I keep getting ADB rejected shell command (ls -l /data): and the command prompt when running adb shell tells me error: device not found although the emulator is open. What I am doing wrong? ...

How to attach back the Android emulator to ADB?

After I start the emulator by hitting Debug in Eclipse, after certain time it disconnects from the ADB, but the emulator stays open. It is responsive, I can navigate and start apps. How can I attach back the emulator to ADB, to be able to debug from Eclipse? (the current workaround is the terminate the emulator, close Eclipse and resta...

Failed to parse the output of 'adb version'?

I am running Windos 7 and Eclipse 3.5 and I don't know why I keep getting this error. When I try run the program it gives me: [2010-02-13 23:09:41 - HelloAndroid]The connection to adb is down, and a severe error has occured. [2010-02-13 23:09:41 - HelloAndroid]You must restart adb and Eclipse. [2010-02-13 23:09:41 - HelloAndroid]Please ...

ADB pull command permission

Hello, all I do have a question in using ADB command in console. I know that user doesn't have a permission to access /system in shell without root permission as a default. But when I execute "adb pull /system/app /myApps" in a window console, not shell mode, it works properly. I mean, all apk files is copied into my desktop location wi...

How do I switch from Android AVD to real hardware on Mac Eclipse-SDK?

I am using Eclipse on Mac with Android SDK. I have the emulator working with my code and today I borrowed an Android that I would like to test on. I have run 'adb devices' from the command line, but I think the problem is more fundamental at the USB hardware detection level. What tools do I use to troubleshoot this? ...

Can't start adb

Running vista when I execute adb nodaemon server with ADB_TRACE=ALL it shows that adb can't bind to port 5037. Any suggestions what the problem is or where to investigate would be appreciated. ...

Installing the Android USB driver - not happening

Using AVD, I successfully obtained the USB driver. I followed the instructions on this page USB Driver for Windows but Windows never prompted with the "Found new hardware..." message. I'm running Vista x64 SP2 and I can see the amd64 folder under ~\Android SDK\tools\usb_driver. The Manage Devices applet shows no listing for "ADB Inter...

adb update a non-market apk?

Hi Is there a way we can update (not reinstall) a non-market apk on an Android device? I could only find an adb install (nothing like adb update) Thanks. ...

Can/should one disable namespace validation in Axis2 clients using ADB databinding?

I have an document/literal Axis 1 service which I'm consuming with an Axis 2 client (ADB databinding, generated from WSDL2Java). It receives a valid XML response, but in parsing that XML, I get the error "Unexpected Subelement" for any type which doesn't have a namespace defined in the response. I can resolve the error by manually changi...

R.java file not updating with UI element's id

I added some UI elements to the main.xml file in the res\layout folder and when I try to access them through the call, R.layout.my_uielement, the UI element that I created is not there. Even when I add a new xml file with UI elements, it still doesn't show up in the R.layout class. I have made checked the ids on them and they have the co...

Developing Android Applications with an HTC Tattoo Phone

Has anyone managed to develop Android Applications using Eclipse on the Windows platform. I understand the ADB needs to recognise specific models of phone and wondered if the Tattoo is supported. thanks Mark ...