[android-developers] Command line android update procedure to obtain the android wear configuration item resources
What is the *command line* *android update* procedure to obtain the following android wear configuration item resources? wearable-1.3.0.pom play-services-wearable-8.4.0.jar -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/6d454683-96f5-447c-9f3f-ab8677aee4f2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] [command line] Detecting whether an app is "swapped out"?
I know how to us ps, psgrep, and top to get process information from the command line. However, I'm looking for a specific piece of information about a given pid: whether the associated app is "swapped out". By this I mean the following: if the pid exists but the associated app is currently not running as the foreground app on the device for any reason, I consider it to be "swapped out", and I'd like to detect this state from within a shell script that is invoked on the command line. I know that I can get this kind of information by using ActivityManager from within java. However, I'm wondering if there's a command-line way of getting this same info from inside of a shell script. Thank you in advance for any suggestions. . -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Command line
hi friend.. I am beginner of android.. i am created my project in command line. i dont know how to compile and run my project after created my project... give me some procedure to run my project.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] command line
I'm trying to learn about building from the command line. So, I ran this command: android list targets All it says is: Available Android targets: There is nothing listed. Any ideas why nothing is listed? Everything seems to work in Eclipse and has been working many months. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Command line device debugging -- set breakpoint in the code?
On 12/14/2010 09:48 PM, Frank Weiss wrote: I'm surprised no one has answered. Learn how to us the Eclipse debugger. Fall in love with the Eclipse debugger. I was hoping not to have to fire up that beast. I saw a post somewhere that suggested putting in a while loop that is contingent on some variable, then after entering jdb, set a breakpoint after the loop and unset the variable to let fly. There has to be a better way. Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Command line device debugging -- set breakpoint in the code?
Are you debugging Android OS or Android SDK code? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Command line device debugging -- set breakpoint in the code?
On 12/15/2010 10:53 AM, Frank Weiss wrote: Are you debugging Android OS or Android SDK code? Just a small app I'm writing using the SDK. In Python, or PHP, I can issue a call in the code that becomes a breakpoint. I'm just hoping that there is a way to do that for android. I heard somewhere that I could list the breakpoints in a config file somewhere, but I can't find that reference anymore. Thanks, Toby -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Command line device debugging -- set breakpoint in the code?
Well, our perception of Eclipse is 180 degrees from mine. I'm curious, what did you meant by beast? In the OP you asked about setting breakpoints right in the code. In Eclipse debugger (and just about every GUI debugger, including Firebug) you just double click in the left margin of the source code line to set a breakpoint, which is indicated by a small dot in the left margin. When the breakpoint fires, Eclipse highlights that line. From there you can inspect variables, the stack, etc. and step through the code. I've debugged with the command line before, but once I started debugging with Eclipse, Visual Studio, and Firebug, I would think that having to use a command line debugger is painful. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Command line device debugging -- set breakpoint in the code?
On 12/15/2010 12:40 PM, Frank Weiss wrote: Well, our perception of Eclipse is 180 degrees from mine. I'm curious, what did you meant by beast? I guess it just seems really complex. I've never used and IDE, so there is a lot to learn. I did the android HelloWorld and Notepad in Eclipse and just decided to go back to the command line. I still push a button to compile install and run the app - it's just that the button is a scriipt. I'm comfortable on the command line, and I don't like to use the mouse. I also couldn't live without vim. I understand that there are plugins for that, but I googled around and gave up. Step debugging is the last thing that I need. Otherwise, I'm super happy with the SDK from the command line. I don't have Ctrl-Shift+O, but I'm new to Java, and new to android, so I don't mind that I'm forced to get familiar with the object heirarchy. I'm sure that the docs are more readily available from Eclipse, but the online android reference rocks. In the OP you asked about setting breakpoints right in the code. In Eclipse debugger (and just about every GUI debugger, including Firebug) you just double click in the left margin of the source code line to set a breakpoint, which is indicated by a small dot in the left margin. By in the code I mean that I want to be able to edit my source code with an editor and have that generate the breakpoint. With some other debuggers, there is a function call that can make this happen. When the breakpoint fires, Eclipse highlights that line. From there you can inspect variables, the stack, etc. and step through the code. I've debugged with the command line before, but once I started debugging with Eclipse, Visual Studio, and Firebug, I would think that having to use a command line debugger is painful. I get that it must be more streamlined, and I wanted to try it. I thought that I could just go to Eclipse for debugging and do everything else the same way I've been doing. I created a new android project from existing source, and pointed to my source tree. There were many errors listed, even though my app compiles and runs fine. I couldn't make sense of them. I tried to run the project and I got an error. I just gave up. I guess that made me think of the program as a beast. I will give it a try some other time. I can't make a valid choice until I have reached some level of familiarity with what Eclipse can do. I notice that there are two well represented camps on the net: those that love Eclipse and those that hate it. There's very little in between. I shy from GUI's in general. I always find myself doing repetitive mouse movements to get the same things done over and over. On the command line, anything repetitive is scripted. I guess I tried to further justify my original choice by thinking that I'd learn Java and the SDK in greater depth this way, and I might say that I believe that I was correct in that respect. Thanks, Toby -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Command line device debugging -- set breakpoint in the code?
Thanks for the reply. I can understand your perspective about working from the command line. Tools are just tools, it's how well we use them and how productive we are with them that counts. I'm sorry I can't help much with your question. If you're patient maybe another person will help you with it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Command line device debugging -- set breakpoint in the code?
I read how to forward the proper port and connect to my app with jdb (ddms shows green bug next to app). I'm using android.os.Debug.waitForDebugger(); early in my app, and when I launch it, it does hang. Looking at the jdb help, I should be able to set breakpoints given a method name or line number, but it would be nice to just edit them right into the code. Is this possible? Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Command line device debugging -- set breakpoint in the code?
I'm surprised no one has answered. Learn how to us the Eclipse debugger. Fall in love with the Eclipse debugger. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Command line build error: 'Unable to get buffer of resource asset file'
I'm updating Masa (Maven plugins for Android) to support the latest Android SDK. I did run into the problem with aapt tool: W/ResourceType(47600): Unable to get buffer of resource asset file From googling, I found the cause of this was that the aapt tool is compiled with too small of a buffer for the resource file in the android.jar. I have no idea how Google gets this to work in Eclipse but command line builds won't work. The solution is to recompile the aapt with increased buffers. Does anyone know of any distributions out there where people have rebuilt the aapt with increased buffer sizes for various platforms? Thanks, -- Shane Isbell (Founder of ZappMarket) http://apps.facebook.com/zappmarket/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] command to find os information / system information
hi there, i have to store what version of android users are using, search all over internet, hard to find this info... any help would be highly appreciated !.. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] command to find os information / system information
Which version? OS version ? Kernel version ? SDK version ? By Java code ? By command ? Or you have to read android.os.Build first. 2010/7/23 Jake integr...@gmail.com: hi there, i have to store what version of android users are using, search all over internet, hard to find this info... any help would be highly appreciated !.. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] command to find os information / system information
Ex. import android.os.Build; // Build.VERSION String codeName = Build.VERSION.CODENAME; String incremental = Build.VERSION.INCREMENTAL; String release = Build.VERSION.RELEASE; String sdk = Build.VERSION.SDK; int sdk_int = Build.VERSION.SDK_INT; 2010/7/23 XC He schosnab...@gmail.com: Which version? OS version ? Kernel version ? SDK version ? By Java code ? By command ? Or you have to read android.os.Build first. 2010/7/23 Jake integr...@gmail.com: hi there, i have to store what version of android users are using, search all over internet, hard to find this info... any help would be highly appreciated !.. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Command to edit call.
On the iPhone, there was an app that you can spoof your outgoing call as another number. What did they use to do this. i.e. I call Larry and on his phone it shows up as my mom. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Command
Hi, Is there a command that i can access directly a key into an application? I don't wanna capture when user press the key, i wanna access it without press. []s, Michelle. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] command line window in emulator
Hello, Is there any way to open a command line window in the Android emulator? I am trying to verify the results of certain commands I want to run from my application by running them directly. In particular, I am trying to verify the results of ps and other related commands. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---