Fix For ADB In Eclipse While Using Evo 3D In Windows - EVO 4G Android Development

EDIT: Wrong FORUM. Please move to EVO 3D Dev forum please. Sorry for the trouble.
For the past few days I've experienced issues while trying to use DDMS and ADB within Eclipse while connected to my EVO 3D. It attempts to connect and then fails.
Doing a regular command line adb works great.
After doing some hunting I discovered that the ADB for windows can't handle more then 64 active processes.
As our EVO3D's support much more memory then other devices we can also handle more then 64 active processes.
Here is a link to the Android googlecode issue report which contains a patched adb that supports > 64 active processes.
http://code.google.com/p/android/issues/detail?id=12141
Just wanted to share this with other fellow developers in case they were also experiencing the same issue.

Related

Console applications on Android

I plan on purchasing an HTC Dream within the next couple days (second hand, prior to rogers 911 update such that I can root and install with cyanogenmod).
I was wondering how development on porting CLI programs to android has been. Being a long time linux user, I am quite proficient with the shell and prefer it for many tasks. I have done some googling and searched these forums, but I was unable to come across very much information.
Are any of the following programs ported to android, how successful have these ports been, and what procedure is needed to proceed with installing the ports (if they exist at all)
-rtorrent
-elinks
-finch (ncurses based instant messenger client)
-units
-mpg123
-calc (or apcalc on some distributions)
-cal
-vi
Any assistance is appreciated.
I am bumping this. I there a better place to ask?
Why not download the Android SDK, emulate the device on your PC and have a hack about with it to see what works.
The standard unix stuff works ls ps and the like, but I can't vouch for the stuff you've mentioned.
Give it a go: http://developer.android.com/sdk/
None of the programs are installed, which surprises me, as nearly every *nix system has vi installed.
Now that I have received my phone, and installed cyanogenmod (which comes with busybox) I can state that vi is installed.
The other programs are not however, and they are unlikely to be ported, due to a difference in the C library for android and the full C library used for most programs.

[Q] Standalone WP7 emulator + deployment tool

Hi there,
I'm currently trying to get the WP7 emulator on my Win8 tablet, just to have a device with a very big screen to show my developed stuff to my bosses.
It has very limited disk capacity and cpu power, therefore I'm not going to install VS 2010 or the WP7 SDK.
So, here are my questions:
Does anybody have a current version of the standalone emulator installer? The one in this thread links to multiupload which is currently down. The one in this thread is the old one which doesn't work with current images (and it requires some missing assemblies)
Does the current version of the Phone7Market work without installing the Phone 7 SDK? I don't want to create that overhead just to show an app to somebody on a big touchscreen
So the core question is: How do I run an (xap-)app (in an emulator) on a pc without installing the SDK/VS?
I've already installed Zune, but not the SDK. I hope somebody can help me.
Greetings,
relexx
Perhaps I should redefine my question: Where do I find a mirror for the standalone emulators?
The WP7 emulator doesn't work on Windows 8 Developer Preview.
It's a known bug.
OK, thanks. I didn't know that - where did you get that information from?
Nevertheless I would like to use it on Windows 7 so where can I find the standalone emulator download? The links to multiupload are dead.
I've installed the dev tools myself since I am a windows phone 7 developer.
Starting the emulator on windows 8 causes a blue screen.
lcizzle said:
I've installed the dev tools myself since I am a windows phone 7 developer.
Starting the emulator on windows 8 causes a blue screen.
Click to expand...
Click to collapse
Mine was giving connection errors, but putting it in compatibility mode at least let it launch.. until it hit the blue screen...
does someone have a link to the emu?

Developing apps, mac vs pc?

Just curious what most of the devs use? I'm looking into getting a new computer just for app development. Any input would be appreciated.
PC, I never liked building things on a mac
loudaccord said:
Just curious what most of the devs use? I'm looking into getting a new computer just for app development. Any input would be appreciated.
Click to expand...
Click to collapse
For general devolpment, I actually prefer Linux. However, windows is the most featured for dev compared to mac, which is only good if you develop for ios
Sent from my GT-I9100 using Tapatalk
I do all my development using Ubuntu. I develop using only the terminal and gedit primarily because I found Eclipse to be not flexible enough when developing.
I've tried to develop for Android on Windows using command line or Eclipse, but I much prefer Ubuntu. It's just a preference because I'm sure development is the same on all operating systems.
nraboy said:
I do all my development using Ubuntu. I develop using only the terminal and gedit primarily because I found Eclipse to be not flexible enough when developing.
I've tried to develop for Android on Windows using command line or Eclipse, but I much prefer Ubuntu. It's just a preference because I'm sure development is the same on all operating systems.
Click to expand...
Click to collapse
That's interesting, I'm using Windows/Eclipse and was just thinking of what other options would be. I'll start looking into Ubuntu now.
The only commands you'll ever need are:
ant debug
ant release
adb install -r apkfile
adb uninstall package
adb logcat
emulator -avd emulatorname
I usually have three terminals open.
- Compiling / Installing
- Emulator
- Log output (logcat)
I use the workspace feature of Ubuntu so that way I can sort my applications into groups and using the alt+ctrl+arrow shortcut I can quickly navigate around.
Ubuntu is free, heavily updated, heavily supported and easy enough to use.
Definitely worth checking out if you are still trying to find your place of zen.
I'm looking at getting new hardware also, laptop would be preferable but I know it might not have the muscle I'm looking for. What hw are you guys running to do app development?
I'm developing on a laptop as well.
The hardware is as follows:
2.4ghz Intel i3
4gb of ram
500gb hard drive
Ubuntu 11.10
1366 x 768 screen resolution
If I was going to do it over again, I'd get a better screen resolution. Many items are larger than the screen with this low resolution. The other specs on my laptop are overkill for developing Android applications.

New Screen Casting Software

Hello guys, this is my first post on XDA though I have been lurking.
I am developing a screencasting software which I felt I should share with the community.
I needed to access my phone with a damaged screen so I wrote this as I couldn't find anything that fit my needs.
The only tool that came close was a 6 year old unmaintained project androidscreencast (on google code) that needed root.
I took pointers from the project and started this one in JavaFX.
It does not require root but utilizes adb commands to send input to the device so should work on all devices.
You need adb installed.
Your device must be developer enabled and discoverable by adb.
Tested on windows and a device running 4.4.2
Currently it is still in development so I haven't released any builds yet, but it works really great. I would love it if someone tested in on unix to see if it works.
You can find it on github under frostymarvelous/AndroidScreencast

Scrcpy - Android Screen - Display & Control - Windows / Linux / Mac

There's a really cool light-weight tool that was developed by ROM1V to provide display and control of Android devices connected on USB. It does not require root access and does not require an application to be installed on the device! It works on GNU/Linux, Windows and MacOS.
It runs via ADB reverse.
I haven't seen anyone share this yet, so... here goes. Full credit to the author of this tool, ROM1V.
I've used this on both Linux and Windows variants. Both work quite well! There's a pre-built Windows package with all dependencies within the README. My experience is that Linux runs very smoothly, but the Windows variant is a little buggy.
Here is the link to the Github
(Sorry, I'm still *somewhat* of a new member and can't yet post external links... [been reading for years; posting... no so much]. I apologize, but you'll have to assemble this link a bit). Perhaps an admin might clean this up a bit.
github . com / Genymobile / scrcpy
This tool is GREAT!!! Mirrors your android screen on laptop over reverse ADB and without root and without installing anything on the device.
I used it on mobile which had its display totally non-functional but touch was working. Fortunately, ADB was enabled. All I had to do was unzip scrcpy files from https://github.com/Genymobile/scrcpy and refer to the FAQ at https://github.com/Genymobile/scrcpy/blob/master/FAQ.md. I could recover all my data from the device and even use the device seeing it screen and controlling it from my laptop.
But obviously, use cases go much beyond that and this is a full fledged screen copying tool. If you use your android while at your desk and keep it connected to your laptop then this gives the comfort of using your keyboard for typing long messages as well. Videos also play smoothly on computer screen but voice comes from mobile speakers (...if there was a way to route that to the laptop speakers, that'll be great and make it almost like an HDMI connection to a laptop over USB!).
Great job done, developers @ https://www.genymobile.com/ :good::good::good::good::good:
rk2612 said:
This tool is GREAT!!! Mirrors your android screen on laptop over reverse ADB and without root and without installing anything on the device.
Click to expand...
Click to collapse
I agree.
And, in Android 12, there's no need to establish the initial connection over USB.
Android 12 has the Wi-Fi debugging option in Developer options!

Categories

Resources