Android :: How Hierarchy Viewer Tool Gets Information?
Sep 18, 2009I would like to know how the Hierarchy Viewer tool does to get information from phone screen? Is it use telnet or ADB? I need to use these same information in my own tool.

I would like to know how the Hierarchy Viewer tool does to get information from phone screen? Is it use telnet or ADB? I need to use these same information in my own tool.
Hierarchy Viewer tool is missing from my android-sdk-windows ools directory.
Link to tool: http://developer.android.com/guide/developing/tools/hierarchy-viewer.html
Should it be there is first place?
SDK Tools rev. 7, Platforms 7 & 8 packages are installed.
Is there a trick to getting the Hierarchy Viewer to work in landscape orientation, or is it completely broken? In Pixel Perfect View it shows my screen sideways (i.e. in portrait aspect ratio), but when I click on the views in the explorer area it outlines the wrong areas of the screen. It looks like the outlining assumes the display is in landscape orientation, so it outlines where the views would be if it were oriented correctly. Obviously fixing the display would be the best solution, but barring that I'm OK tilting my head if only the outlining would agree with the display. Anyone know a way around this?
View 2 Replies View RelatedWhen I was using Hierarchy Viewer to check views of basic emulator, there was no problem and I can normally find all views in the emulator. But when I was using real device ( HTC Nexus one ), I couldn't see focus window in the Hierarchy Viewer. Do you have any idea for these issues?
View 6 Replies View RelatedI'm trying to find a good To-Do list/hierarchy list/Outlined List which would allow me to create track projects in outline fashion. Anyone using anything like that?
View 2 Replies View RelatedThe HTC magic has following application:
* PDF Viewer
* Word
* Excel
* Capture video or stills
Is possible to install these application on Vodafone Magic or at least the PDF Viewer?
I am a Mac user (photographer/ videographer). I also rely heavily on my iPod Touch when mobile (i can often find a wifi signal when i am out and about). I use iCal on the Touch and iCal on my Mac as well as the address book on both everyday and as a Mobile Me user, my two devices sync so everything is mirrored and up to date. I also HATE AT&T for their terrible signal strength and coverage and have been a loyal Verizon customer for many years and this is why I don't have an iPhone. Okay, all that being said, is there an easy way to still use everything I love and rely on with my Mac (the calender and address book, mainly) and easily sync all of my existing information and future info to an Android based device? How easy is it to use an Android device with a Mac? I don't want to have to manually re-enter my entire address book into a new device.
View 8 Replies View RelatedI have attribute "attr1" defined for my views A, B, C. A and B are actually ViewGroups. Let's say C is contained in B and B in A. Is there an existing mechanism in Android framework that allows me to specify the value of attr1 in A and have it automatically propagated to B and C?
View 2 Replies View RelatedI'm reading the android docs on custom component development and i'm a little confused. If you're creating an activity, you can add add a hierarchy of views via setContent. however, if you're creating a custom component, you have to handle everything in the draw() overload.if i want to build a custom component that relies on a view hierarchy, is the model simply to create a hierarchy internally and then in draw call myViewHierarchy.Draw() or something?
View 1 Replies View RelatedI have a PreferenceActivity building screen hierarchy from code, and I need to force display hierarchy change dynamically when one of SharedPreference value changed. I know this might be a kind of easy question, but I couldn't find answer anywhere in documentations or discussion.
My PreferenceActivity is forming like this. code...
I am trying to create a directory hierarchy byt the mkdir returns false. What am I missing here?
File directory = _Context.getFileStreamPath("");
File subdirectory = new File(directory, "dir/mk/foo");
boolean result = subdirectory.mkdir();
I was informed in a later answer that I have to add the GestureOverlayView I create in code to my view hierarchy, and I am not 100% how to do that. Below is the original question for completeness.
I want my game to be able to recognize gestures. I have this nice SurfaceView class that I do an onDraw to draw my sprites, and I have a thread thats running it to call the onDraw etc .
This all works great.
I am trying to add the GestureOverlayView to this and it just isn't working. Finally hacked to where it doesn't crash but this is what i have
CODE:..........
The onGesturePerformed is never called. Their example has the GestureOverlay in the xml, I am not using that, my activity is simple:
CODE:................
So I am at a bit of a loss of the missing piece of information here, it doesn't call the onGesturePerformed and the nice pretty yellow "you are drawing a gesture" never shows up.
How do I close a whole hierarchy of activities and show a new activity not present in the current task?
Context
Consider a FTP browser that resumes the previous session on launch. Each folder is displayed in its own activity. When I click on a folder, a new activity is started for the folder. If I press the back button, the app returns to the previous activity, which corresponds to the the parent folder.
I can logoff from the menu at any time. Logging off should bring me to the login activity (not present the current task when the app has resumed the session), and close all the other activities. How can I do this?
From what I've read, if the activity were in the current task I could use FLAG_ACTIVITY_CLEAR_TOP in the intent, but this is not my case.
I would be willing to bet that the vast majority of posts that are posted in the main Inc forum are for technical/troubleshooting of some sort.Or basically questions that need answers.So wouldn't it make sense to have the main forum actually be the troubleshooting forum and have the sub forum be "happy Inc thoughts.by Jack Handy"?you get the point.That's probably a lot easier on mods than constantly moving stuff.or labeling threads "moved"
View 9 Replies View RelatedDoes anyone know what is the proper structure or hierarchy to set up folders on either the phone's memory or the SD card. Should I have a "music" folder, or "mp3" one, should they be in "media" or just sitting on the root directory?
View 1 Replies View RelatedI tried various methods now to backup content of internal storage of my Nexus 4: Plain drag-n-drop in windows explorer, commandline adb pull, Android Commander with copy or pull. All methods fail at the point where they get tho a bunch of files like this one:
Code:
/storage/sdcard0/Android/data/com.ptvag.android.adacmapformembers/cache/web/b/20/http___ajaxmaps1.adac.de_Default.aspx_ajaxmaps_MapServlet_left_938290_top_7193029_right_1251027_bottom_6880292_width_256_height_256_profileGroup_hd_version_ADAC_TourPlanerEU_2012_2_hiddenLayers_Town
Yes, this are 280 characters and Windows (7) seems to allow only 256.
Are there other methods to backup internal storage?
I like to know how can i clone a view object which is already there in the view hierarchy, so that it can be added to the same view hierarchy again.
View 1 Replies View RelatedI need a good pdf viewer, on the market there are two (> 4 stars) cheap options (AFAIK)BeamReader (1.99)RepliGo (1.99). I only find comparison between Beamreader and docs2go(9.99) and many of you point that d2g can do more that beamreader, but I don't need to read office files (I do use open office and D2g doesn't seem to be able to read pdf). I didn't find a direct comparison between the first two options so which is better Beamreader or Repligo and why?
View 8 Replies View RelatedHas anyone used this app? what I want to know that can I use it with the webcam on my laptop, or do I have to buy some expensive security cam?
View 3 Replies View RelatedI'm a writer and I tend to write in the .rtf (Rich Text File) format. I have Dropbox and I'd like to be able to pull up my .rtf files on the phone from Dropbox to go over them. The trouble is, I can't find a good .rtf editor or viewer program to do so. I don't really need the editing function, just a viewer will do. I have Astro as well. Phone is an Evo with Sprint.
View 3 Replies View RelatedI am interested in developing a pdf viewer for the android plat form. Can anyone please help me about this as to where to start and the procedure.
View 2 Replies View RelatedI'm trying to launch an image which is written to my application directory with the builtin Android image viewer. This image has been written in a different part of the app to the app directory. When getting the following file:
CODE:............
How can i launch the builtin Android image viewer to view this file?
Currently i'm doing:
CODE:............
And it keeps churning out:
CODE:.............
Irrespective of what i change the uri schema to ( eg, content://, file://, media://, image:// ).
Is there anybody who has a knowledge about Photo Viewer in Android. If I want to develop one photo viewer then how can I do this?
View 4 Replies View RelatedComing off WM for many years, i have loads of pwi (notes) created from WM in my SD card to be ported over to my new Hero. Anyone knows if there's any viewer for opening .pwi files for the hero?
View 1 Replies View RelatedI'm interested in developing a pdf viewer applications for the android platform. Can anyone give me some kind of idea to begin with?
View 5 Replies View RelatedI copied a PDF to the 'My Documents' folder of my 8gig memory card, opened up PDF Viewer and it responded 'No files were found on your phone'. So this begs the question, how do I load up a bunch of PDF's so I can view them on the phone?
View 2 Replies View RelatedI want to be able to open a pdf file in my app using the android's built in pdf viewer app, but i dont know how to start other apps. I'm sure i have to call start activity, i just dont know how to identify the app im opening and how to pass the file to that specific app.I just learned that the pdf viewer i have on my phone is actually made by HTC and that Adobe just barely released their android pdf viewer (which is great). So the new question is this: how do i verify that the user has installed adobe's viewer, and then how do i open the file in that app from my app?
View 3 Replies View RelatedI'd like a grid layout to be able to view images. Not really digging the sliding vertical layout of the stock Gallery.
View 1 Replies View RelatedWhen I get my Incredible, I have an urgent need for a PDF reader that actually works well. It does not have to be free. My file size ranges up to 11mb. If I can't find one for Android, then I may have to carry two devices. I want to replace my Ipod Touch which has PDF apps with my Incredible. Can't wait for the 29th.
View 5 Replies View RelatedAnyone know a good MPEG video / movie app for Android?
View 1 Replies View Related