Use a phone with a broken screen - Android Software Development

Hi,
My Xiaomi Mi 5s screen died after 4 years of usage, and I needed to save some stuff from the phone.
So I used an application that I wrote some years ago, I named it Androtouch.
The application simply collects lot of screenshots via ADB, and displays them in a window, and forwards clicks as tap or swype events.
I don't provide a Windows binary yet, if someone wants to compile it, welcome.
Bye,

Hi! how do i use it?

Related

Why is there no SCREEN SHOT app in Android Market -- NONE except for rooted phones?

Is there some kind of technical limitation of Android that prevents this most rudimentary of features of a computing device with a screen?
I'm on my second Android phone (from Hero --> to new Desire) and after 5 years with Windows Mobile I not only have zero regrets, I just pity anyone still stuck on WM... but enough of that ... at least there are screen shot apps! I just don't get it at all. It can't be that nobody has asked for one. So, what is the limitation of Android that prevents something so simple as a screenshot to be generated?
Sign me,
Frustrated in San Francisco
Oh what the hell, while I am at it, I might as well show off svetius's newly available YOUTUBE embed code here at XDA -- which -- shhhhh!!!! --- it's a big secret, only I alone am supposed to know about it.
PHP:
[media=youtube]xxxxxxxxxx[/media]
where xxxxxxxxxx = the video file name in the URL after watch?v=
I don't think there is any technical problem, I think it just wasn't added to official API yet. Yes, I know it should.
And if you are in urgent need of doing some screenshots, then you could take quite awkward, but working for non-rooters, approach: take screenshots on your PC using Android SDK.
I agree it should be much easier to just take a simple screenshot. Where can we ask google to add this function?
DBBGBA said:
Where can we ask google to add this function?
Click to expand...
Click to collapse
You could star this issue:
http://code.google.com/p/android/issues/detail?id=6547
I don't know, wouldn't that be a pretty big security issue?
A screenshot app is good for nothing if you can only take screenshots of the app itself. So it has to have access to screen captures of any app.
Now I'd just write some service running in the background waiting for key presses and taking a picture every time. When you type in passwords, the default option is showing the letter for a small time.
That should be sufficient to get user passwords. I would not want software that can do this on my phone.
I know open home has a screenshot feature you enable by the camera button. Maybe someone can rip the code from there and make a separate app?
erronr said:
I know open home has a screenshot feature you enable by the camera button. Maybe someone can rip the code from there and make a separate app?
Click to expand...
Click to collapse
The home replacement apps only take screenshots of the home screen (OpenHome, dxTop).
You can easily use Droid Explorer on a Windows PC to do screenshots.

[BETA] - Caesura Remote Administration and Lost Device Finder

*****************************
Please note: this is the OLD VERSION THAT IS ATTACHED TO THIS POST. THE NEW VERSION IS AVAILABLE AT:
www.gundersoft.com/pages/downloads/caesura
******************************
***********************************************************
* Agreement:
***********************************************************
Firstly, I want to start out by saying that I have put a lot of hard work into making this app and I am trying to make it free so I would appreciate it if we can keep all criticism on this forum strictly constructive. At the moment, it is a BETA and probably has LOTS of bugs (but I am not aware of them). That is where YOU come in. Anybody who is interested may come download this app in BETA and give me feedback and test it and tell me what I can add/remove/fix. I will hopefully be releasing a final release version this month. Its all up to u how successful it is
I had a lot of free time this month so I have started building an app for android. What is Caesura exactly? Hard question to answer. Its a tool box for those who want to remotely control every aspect of their precious phone, even when out of 3G, or its a way for parents to protect unruly children from danger. So far it can be used for all of the following:
Remote Control Phone Via Text Message
Remotely Block Phone Numbers (for your kids phones)
Get Phone status (battery life, wifi, unread messages)
Remotely send text messages
Forward Texts
Find lost phones by turning volume ALL the way up and ringing, vibrating, and flashing the flash.
In the future I also plan to give it these features:
Ability to track lost phones via GPS and Cell towers
Remote Wipe data capability
Remote Lockout
Remote Password Change
Remote Play Sound (Fun for the occasional prank )
And for those with unruly children:
Sms Alerts anytime the phone leaves its current location
Sms Alerts anytime the owner of the phone exceeds a certain speed limit
What I really need are BETA testers. Anyone interested is welcome to download the APK which is attached to this post. Tell me what u think.
Instructions:
Download the APK from www.gundersoft.com/pages/downloads/caesura and install. Next, the first thing that you DEFINITELY want to do is open the APP and press the menu button, and select Settings. In the settings screen, Press the Set Password button and set a password. Also, insure that the "Require password" checkbox is checked.
Then, on the main screen, check the Enable Service checkbox.
Now, to remote control the phone, either install the APP on another phone and use the "Login to Another Phone" button on the main screen, or send the following Sms to the phone WITH CAESURA that you wish to control:
!login
The phone will then prompt you for a password. At this point, you may reply with a password. If you enter a correct password, you will be granted access.
At this point you can send any of the following commands and the phone will treat them as instruction for what to do:
Please note: any texts send while logged in will be sent as commands and will not reach the remote phone's inbox. Do not forget to run the exit command every time you finish.:
!login - first command to be sent. Logs you in.
password [new password] -sets the password for logging into Caesura.
exit - logs out of the service. ALWAYS do this. you cannot log in from another phone while that phone is still logged in.
toast [text to display] - shows a tiny toast window with some text in it for about 4 seconds
sendsms [number] [message] - remote control the phone to send text message to the specified number
torch - toggle system flashlight
panic - sets volume to high and flashes light and displays custom message on screen (BUGGY, causes app to crash if done repeatedly. Work in progress!)
help [command] - gives specific help for the specified command - (Not available for most commands yet)
status - tells the number of unread msgs, remaining battery life, and whether wifi is on or off
unlock - if the lockscreen of the phone is showing, hides it and unlocks the keys
block [number] - blocks the phone from getting texts from the specified number (WORKS!!)
unblock [number] - unblocks number
blocked - sends a list of numbers that you have blocked
forwardto [number] - sets the number to which all forwarded texts will be sent to
forward [number] - forward texts from a number
unforward [number] - stop forwarding texts from this number
forwarded - sends a list of numbers that you are forwarding
Console:
To remote control the device from within another copy of the APP itself, press the "Login to Another Phone" button on the main screen. This open a window that will ask you for a phone number. Type in the number and the phone will attempt to send a login text message to the phone in question. If successful, you will receive a message in return. To select a command, choose it from the drop down list. Click send. Wait a few, (it can be up to a few minutes if your carrier is slow but took only about 3-10 sec. on AT&T) and you will get a response.
ALWAYS SEND EXIT WHEN YOU ARE DONE OR YOU WILL NOT BE ABLE TO SEND TEXTS TO THAT PHONE THAT IS BEING CONTROLLED!!
License:
In the process of compiling a license...at the moment, just think to yourself, if it seems dishonest or sneaky, its probably going to be against the EULA
No reverse engineering
No reposting on other forums or threads. You are welcome to post a link here, but I wish to insure that all users get the NEWEST possible copy since Im constantly updating it
I release myself from all liability involving this software since it is provided as a free software and I do not offer any guarantees of any sort regarding its soundness, or even that it is fit for a particular purpose.
All abuses of this software are the sole responsibility of the End User.
And with no further ado... good luck and tell me what you think
*****************************
Please note: this is the OLD VERSION THAT IS ATTACHED TO THIS POST. THE NEW VERSION IS AVAILABLE AT:
www.gundersoft.com/pages/downloads/caesura
******************************
**Also, this list does NOT contain all of the commands added since the update.
Reserved
always good to save space for expansion
Looks interesting. I'll try it out.
Edit: Kind of forgot my service is turned off.
Sent from my LG Optimus V using Tapatalk
Sounds good so far, I'd suggest to produce a version that can be installed to system partition (for rooted devices) and stores its settings somewhere in a safe place (possibly system partition as well) so it gets factory reset proof. Also it should have a simchecker option so the owner of the device gets a notification if a new sim is inserted. This way it would always be possible to find and remote your device, even if a thief performs a fr and formats the sdcard.
Hope this is not too much to request, but i think this would make it the ultimate anti theft tool.
--------------------------
tapatalked from vizio vtab1008
Will be trying this as soon as I have time(which might be long,but just sayin').Sounds reaaaaally good.
And because I see potential in this,lemme give you an idea.
There are far too many tools with which you can control (Parts of or the whole of) your PC from your phone,but for the opposite there is nearly nothing.The only app I found that allows for remote control of the phone from a PC is Webkey which,while good in its essence,isn't exactly useful.And it does everything over wi-fi only(Not bad for most but anyway).
So,an app that allows remote control of the phone from a PC in a proper manner is more than welcome and I'm willing to pay for it.
*I know Caesura allows for texting remotely etc,but I'm referring to real remote control,where you can use the phone as if you held it with your hand or something*
No matter if you do it or not in the end,I want to congratulate you for the effort.
tolis626 said:
Will be trying this as soon as I have time(which might be long,but just sayin').Sounds reaaaaally good.
And because I see potential in this,lemme give you an idea.
There are far too many tools with which you can control (Parts of or the whole of) your PC from your phone,but for the opposite there is nearly nothing.The only app I found that allows for remote control of the phone from a PC is Webkey which,while good in its essence,isn't exactly useful.And it does everything over wi-fi only(Not bad for most but anyway).
So,an app that allows remote control of the phone from a PC in a proper manner is more than welcome and I'm willing to pay for it.
*I know Caesura allows for texting remotely etc,but I'm referring to real remote control,where you can use the phone as if you held it with your hand or something*
No matter if you do it or not in the end,I want to congratulate you for the effort.
Click to expand...
Click to collapse
There is Droid Explorer, it has a screencast option to do this, but you need to be connected to USB.
--------------------------
tapatalked from vizio vtab1008
I came across this by using the search for a remote app on lost devices. Will get myself a copy of the apk, you still need testers? ^^
I think this was abandoned... j use 'android lost' instead, has the same functionality...
----------------------------------------
tapatalked from GalaxyS
This has not been abandoned. You can download it from www.gundersoft.com/pages/downloads/caesura
I still need testers. It's not the same as the other app...it has quite a few more features.
Sent from my MB860 using XDA App
if i undersand it right caesuara will send you my numbers and give you the capability to connect to my phone is that right?
If yes why should i use it?
If i missunderstand i am sorry for asking stupid questions *grin
Sent from my HTC Desire HD using XDA App
It sends phone number only (for usage tracking by area code...this is a beta thing only). Also, if you set a login password, no one but you can connect.
The only command that can be run without password is factory lockout. Let's say user abuses software and I am contacted by law enforcement: I can disable caesura remotely. That is all.
I've never released this app publicly and I was scared to death it would be misused and I'd be liable. See, all of my beta testers locally have been teens, and they have a way of using this stuff immaturely. This my way to cover my butt just in case
Sent from my MB860 using XDA App
And no worries, if I really had any malicious intentions, I wouldn't have told you about the phone number thing would I?
Sent from my MB860 using XDA App

tween girl - what security and protection steps are recommended

Nexus 7 2012, 4.4.4
Bought it for my 10 year old girl. I am not paranoid, but want to keep her and the device safe. Looking for recommendations on app, settings, on how to find the device if lost, and how to keep her and the device safe.
1) losing the device
++ I installed the android stock app Device Manager (think that is the name) and also Lookout. They both provide a siren to help find the phone and a gps locator map. but obviously this must only work if the device is wi-fi connected and has battery?
++ lock the screen with password after 2 minutes.
++ owners contact infor (cell phone numbers) on lock screen
-- anything comments or advice?
2) virus protection
++ installed Lookout.
3) Safe surfing
++ nothing installed
4) parental controls
++ nothing installed
Maybe try this? Looks like it does more than one thing.
https://play.google.com/store/apps/details?id=com.avg.family
Thse are a bit too baby for a 10 year old. Maybe I need to reask my question. Looking mostly for common sense ways to find the tablet when it gets lost and how to help people get it back to you. I am not big on parental controls. But have an open mind.
thebrenda said:
Thse are a bit too baby for a 10 year old. Maybe I need to reask my question. Looking mostly for common sense ways to find the tablet when it gets lost and how to help people get it back to you. I am not big on parental controls. But have an open mind.
Click to expand...
Click to collapse
Try AVG, if I'm not mistaken it can also locate a device, I am sure that it emails you immediately to notify you if the Sim has been changed.
EDIT: there are many apps that will email you a photo of whoever fails to unlock the device, I'm sorry I cannot provide links or names but I have tried a few, they work. You can google this one.
Sent from my GT-I8190 using Tapatalk
thebrenda said:
Nexus 7 2012, 4.4.4
Bought it for my 10 year old girl. I am not paranoid, but want to keep her and the device safe. Looking for recommendations on app, settings, on how to find the device if lost, and how to keep her and the device safe.
1) losing the device
++ I installed the android stock app Device Manager (think that is the name) and also Lookout. They both provide a siren to help find the phone and a gps locator map. but obviously this must only work if the device is wi-fi connected and has battery?
++ lock the screen with password after 2 minutes.
++ owners contact infor (cell phone numbers) on lock screen
-- anything comments or advice?
2) virus protection
++ installed Lookout.
3) Safe surfing
++ nothing installed
4) parental controls
++ nothing installed
Click to expand...
Click to collapse
2. If you d/l only fron google Play store, no virus protection needed
3/4. Open DNS is great for the home. You can restrict all types of websites..just log in to OPENDNS (web site) and go from there.
d
What about an app that tells you what happens have been used at what times? My girl is supposed to read for 30 minutes every day. Now she wants to read in her room on the tablet. I want to srr her app history.
Sent from my LG-P769 using XDA Free mobile app
Really if this is an issue, turn off Internet access and let her read ebooks already downloaded. 10yo if you can't trust, make her read where you can monitor. Still no trust, no Internet device, it its simple.
107
thebrenda said:
What about an app that tells you what happens have been used at what times? My girl is supposed to read for 30 minutes every day. Now she wants to read in her room on the tablet. I want to srr her app history.
Sent from my LG-P769 using XDA Free mobile app
Click to expand...
Click to collapse
If your daughter goes to school, then there is a huge chance there is some kid at school that can flash her device. A few points to think about.
1) If your installing these apps with out her knowledge, you can't get mad at her if she has someone flash it.
2) If your installing these apps with out her knowledge and she finds out, you've now broken her trust of you. As a previous rebellious teen girl this is a big mistake, something she will not forget anytime soon.
3) My daughter has to read daily as well. What I do is read the same book as her. We make it fun. While I make dinner we discuss the book. If I find she hasn't read it yet today, I suggest she go do that while I make dinner.
We don't use technology as a punishment or reward in our house, it's just part of life. My daughter (an yours probably too) can just go to a friends house and surf/play/whatever with out my knowledge. It's more important that my daughter trust me and know that I trust her.
Open DNS . Com. Family shield is free VIP only $19.95 per year.

Getting your android app to communicate with a pc app.

Hi guys,
So recently I've come up with what I guess is an idea that may or may not have been achieved done before. The app I'd like to create is fairly simple right now and literally consists of a tally counter. Actually, very simple.
I'd like to also make an adjacent PC app that's also a tally counter... Very simple.
However, I'd like them to communicate with each other. Why and how you may ask?
First, the why. I knit as a form of relaxation as it's quite therapeutic for me and if you don't know how knitting works, let's just say there's a lot of counting rows. A few rows is easy to remember, but when you start getting closer to 128 rows and take a break for a couple days, you forget.
Anyway, I digress. I currently have a tally counter on my phone but... That's just it, it's on my phone and I constantly have to unlock it as I don't want to leave the screen on so it can drain my battery quickly. So I thought that it might be a good idea to have an app on my phone which I can use when I'm not near my PC, but when I am, I can plug in my phone launch the app on both devices and they communicate with each other.
So if I have say 18 on my PC because that's where I left it the other day, and 48 on my phone, when I launch both apps, the PC receives that the value has changed to 48 and updates to that number. Ditto for the other way around.
Is this possible? If so, how can I get both apps to communicate with each other?
Thanks.
Jamie.
10 Apps To Connect Your Computer To Android Devices -
1. AirDroid
2. Airstream
3. Polkast
4. Desktop Notifications
5. Pushbullet
6. Message Beam
7. MightyText
8. TeamViewer QuickSupport
9. Mobizen
10. Splashtop 2 Remote Desktop.
Just had a look for any form of source code I could have a look through and there's nothing...
All I know is it can be done but not how it could be done.
Bump...
Anyone got an idea of how I could do this?
Hello Jamie,
I am with Zco Corporation, we would be happy to help with your idea. Please give me a call 603.718.3616 or email [email protected]
George Markwell
603.718.3616
Zco Corporation
zco.com
Jamie_Edwards said:
Just had a look for any form of source code I could have a look through and there's nothing...
All I know is it can be done but not how it could be done.
Click to expand...
Click to collapse
The most used method is using one socket connection between your phone and pc.

[ROM][TWRP]MIUI11 China Beta[25.09.2019]

Hi folks, I'm new MIUI8 SE user.
I've been using android for 6 years and I'm here - XDA - for 6 years
Since I got my first android phone which was Motorola XT910, I came here xda devs forum and search what can I do. I realized to install roms on android, custom roms. And after a few months I saw MIUI 4 is available for my Motorola XT910. I installed it and it looks great. I can costumize wahtever I want with MIUI4, and later it upgraded MIUI5 bla bla..
After a few years later I bought Xiaomi phone to use stock rom as MIUI. I bought Mi5 and later Mi6. Now I'm with Mi8SE (will continue )
So, I've been almost use all MIUı since 4th generation.
Now I just saw MIUI 11 China Beta released for our and mosth xiaomi phone. I wanted you to see, install this great rom to your phone too.
Here download link page.
How to install?
Just go to TWRP and wipe cache/data,
Format Factory Rest,
Install ROM,
Update Recovery.(if not, it will stuck in fastboot mode)
And That's It...
Keep in mind that this is Chinese build and thus do not come with Google Play Services or any Google apps pre-installed, though they are easy to sideload. The features may also be slightly different from what you expect from global builds as well, given that they’re focused towards the Chinese market. Lastly, the language options are likely limited to English and Chinese.
We hope EU rom will be available this week. And global beta will come soon.
Screenshoots
Changelog List
Attention – Empowering the productive
Comprehensive design optimized for fullscreen display devices
Removing visual clutter, improving touch controls, and refining the use of color allowed us to create the system where nothing stands between you and the content.
Beauty starts with text. Our fonts matured.
Now text looks gorgeous in all languages.
Now, font weight can be adjusted automatically depending on the text.
Ambient display
Ambient display now comes with gorgeous dynamic themes.
Essential information is displayed on your screen 24/7.
Personalize your device with a unique signature.
Keep your screen alive with our amazing special effects.
Sounds of nature
Wake up to the gentle sounds of nature with our new alarm ringtones.
Notification sounds won’t make you tired. Now, they keep changing dynamically, just like nature does.
Mi Share
Transfer files from phone to phone at breakneck speeds.
Mi Share works both on phones and computers.
Documents
Preview your documents before you open them.
Stay productive and efficient with our all-new Mi Doc Viewer.
Casting
MIUI allows you to cast videos, games, documents, and apps to more than 300 TV models directly from your phone.
MIUI’s casting functionality allows you to hide personal items to keep all sensitive things private.
Printing
Print photos and files directly from your phone without installing any additional apps
Trips
Plan your trips with MIUI: add your flight or train tickets, learn about the weather at your destination, get local mobile data, view the currency exchange rates, or contact your consulate abroad.
Ultra battery saver
Use this feature to challenge your device to a whole day on just 5% of the battery.
More features
Tasks. Manage and edit your tasks in the Notes app. Receive timely notifications and mark things done.
Kid space. Create a safe digital environment for your kids.
Family guard. Control connected devices to help your friends and family.
Screen time. View stats and manage your time more efficiently.
Emergency SOS. Rapidly press the Power button 5 times to send an SOS message to your emergency contacts.
Earthquake warnings. Stay safe and informed in case of an earthquake.
Quick replies. Reply to messages from any app.
Themes. Lots of free resources to make your device truly unique.
Mi Community. Get the latest news from Xiaomi, test new features, and participate in our events.
Autofill passwords. Store passwords on your device and use them whenever you need them.
Calendar. All your events in one place.
Mi AI 3.0. All-new. Much more powerful.
Security. Safeguard and optimize your device.
Game Turbo. Turn your device into an ultimate gaming console.
Reserved for future updates
Sweeet
it stuck mi unlocked display

Categories

Resources