Is it posible to take Screenshot of homepage using Android SDK.? - android

I am currently working on an application in-which I need to take the screenshot of the homepage and also is it possible to get the exact location and count of the user's homepage widgets. i.e how many widgets are placed on user home page and whats there location or position on screen. X axis and Y axis coordinates etc.

For taking screenshots; Yes, it's possible, using the SDK, and the DDMS utility. Example here: http://www.youtube.com/watch?v=n3h1EYExu7c
For widgets on home-screen, not AFAIK. A problem that immediately arises is; what if the user have switched to other 3d-party HOME-screen with different widget-model? (For example, not grid-aligned, rendered on 3d surfaces or whatnot)

To avoid you going to youtube, I'm posting the content here:
Want to take a screenshot, but don't want to root your phone? Here is
how:
1) Install the Android SDK
2) Enable USB debugging on your device
3) Run DDMS from the tools directory
4) Select your phone from the list
5) Go in the menu, select Device, and then Screen capture. Whalah.

Related

How to mirror android screen/app to a screen programatically?

I am developing an android application and I'm trying to implement a button which initiates a screen mirror to a selected device.
I want it to be as straigth forward as possible, but the best i've been able to do is have it open the cast settings on the Settings app, which isn't a proper solution. It would be ideal to start screen mirroring with a single click.
Problem is i've tried using Googles Cast SDK but that only allows me to build custom HTML cast receivers, which isn't what I want, I just need a screen mirror from the android device to a screen/TV.
Is there any Android module/API that would allow me to do this with a single click, even if I have to use a Chromecast/Miracast device connected to the screen?
No, sorry, this is not an option AFAIK.
At least part of this is privacy/security. You seem to want to be able to start screen mirroring purely from app code ("I'm trying to implement a button", "allow me to do this with a single click"). Your button is the "single click", and so you really want to be able to do this without user involvement at all (since there is nothing forcing that button to exist). Showing the contents of the screen on another screen that might be visible to lots of people is the sort of thing that users need to approve, which is why additional clicks will be required.
In addition, there may be more than one target for screen mirroring within range, and the user needs to be able to choose which one to use, if any.
Combine all that with limited support for wireless displays across the various Android device manufacturers, and there really isn't anything here for what you want.

Is there any Android app that can detect particular text on screen and click on it automatically?

I want a app that can read text on my screen and click on the text which I can pre-define in the app. App mostly capable to identify multiple texts and if anyone of them present on screen then click on that region.
Yes.
Macrodroid.
Use the Device action -> UI interaction -> Click -> Specific text
Option in the macro and it'll click that word on the screen
πŸ‘πŸ»
You can't. Android doesn't have APIs for screen scraping because its a huge security hole- you could use it to grab passwords, banking info, etc. Definitely not possible without a rooted device, probably not possible even with root without a lot of work (you could maybe on a rooted device grab it right from the screen data, but then you'd have to do image processing to find the actual text).

How to enable autostart option for my app in ASUS zenfone2 and other ASUS models

I tried a lot of solution and links but nothing being helpful, there were many links for MI and few more, but no particular solution there for ASUS phone, so if any body have solution that works, please provide such solution.Because I am not able to know exact activity name of ASUS phone
You can do something like this,
1.From the HOME screen, tap on APPS.
2. From the APPS screen, tap on the AUTO-START MANAGER icon.
3.You will first see the DOWNLOADED apps field you can toggle apps to ALLOW or DENY with a tap in this field.
Choose the APPS accordingly to your preference to which you want to start up on first boot which also gives it full start up privilege access in RAM on the OS level.
4.Tapping on the PRELOADED option will show the PRELOADED apps. Choose with you want to toggle privileges by tapping on the applicable app to ALLOW or DENY start-up access in the OS.
5.Finally, tapping on ADVANCE options/settings (The three dots on the upper right hand corner) will toggle advance selections for the AUTO-START MANAGER app. Selections to choose are - SORT BY, SHOW ALL APPS, ENABLE NOTIFICATIONS, RESTORE TO INITIAL CONFIGURATION, NOTICE, FEEDBACK & HELP.
Did you try this ?

Android Studio Screen Capture

I would like to take screen shot of my app and I would like to share that screen shot in mail,blue tooth,social medias etc.. I don't know how to perform screen shot and to share it how it can be done?
to include screenshot function your app, you need to grand superuser permission... In other words, third party apps can only take screenshot on rooted device, oru your app should be installed as a system app...
1.Start the app in Debug Mode.
2.click Android to open the Android DDMS tool window.
3. Click Screen Capture on the left side of the Android DDMS tool window.
4. Optional: To add a device frame around your screenshot, enable the Frame and take the screenshot option.
and Save It
You can even try printscreen or snipping tool in windows.. and edit the view as you want
The newly manufactures Android smartphones are already receiving very easy methods to take screenshot on them. So, you do not require any third party application or software for this purpose rather you will have to use the easy and reliable method to do so, which is also the time saving feature in this time-valued world.
So, I will share the easy method to take screenshot on Samsung Galaxy trend,
Method – Take Screenshot using Hardware Combination Method
STEP 1 – You will notice Power Key on the right side of the phone and Volume keys on the left hand side.
STEP 2 – Now press and hold the two keys for about 2 seconds.
Your screenshot will be taken and stored in the phone’s memory.

what is the easiest way to take screen spots of an android app?

I have recently gotten a new android phone and it does not have root intill the 30 day warranty is up.my older android has root access but it is my sisters now.i use to use drocap
So what im asking is there a way were I can take a screen shot of my app in the emulater.i know on a mac (thats what I use) you can take screen spots with command shift 4. But is there something for the emulater in eclipse that I can use to take screen shots?
Android DDMS allow screen capture from an emulator.
Search for screen capture in the DDMS tool documentation .

Categories

Resources