Android : How Would You Improve Dalvik In Virtual Machine
Jun 21, 2009
I am currently writing a paper on the Android platform. After some research, it's clear that Dalvik has room for improvement. I was wondering, what do you think would be the best use of a developer's time with this goal?
JIT compilation seems like the big one, but then i've also heard this would be of limited use on such a low resource machine. Does anyone have a resource or data that backs this up?
Are there any other options that should be considered? Aside from developing a robust native development kit to bypass the VM. For those who are interested, there is a lecture that has been recorded and put online regarding the Dalvik VM.
Any thoughts welcome, as this question appears subjective i'll clarify that the answer I'll accept must have some justification for proposed changes. Any data to back it up, such as the improvement in the Sun JVM when it was introduced, would be a massive plus.
View 4 Replies
Jul 15, 2010
Currently I am using Android emulator for development, but it is very slow. I am looking for some android port that can run on real CPU.
For example I installed this product http://www.android-x86.org/documents/installhowto on VMware, and it seems to work much faster, but I have no idea how to setup network connection here.
The question is if some one is using alternative android setup for development, instead of emulator? If so, a link to configure instructions would be great.
View 1 Replies
View Related
Mar 1, 2014
Is there a way to run Android by a Virtual machine within one PC/Desktop? I've got that Virtualbox is not the option for this.
View 3 Replies
View Related
Apr 4, 2009
I'm the lead developer of TotalCross, a virtual machine that's just like the one used in Android, and targetted for small devices. Currently, using TotalCross, you write programs completely cross- platform among Palm OS 5, BlackBerry, iPhone, Windows 32, Windows CE (2,3,4,5,6) and Java-enabled platforms.
We plan to port TotalCross to Android, but i'm concerned about the legal way. I'm aware that there may be hack C APIs for Android, but will these APIs allow the users to sell their applications in a legal fashion?
Btw, what is legal and what's not legal in Android? I could easily port our VM to Android if there were a standard C api on it. However, all i see is Java APIs. I could also port TotalCross to run over the Java API, but i'm concerned about speed. I believe our VM is faster than the one in Android (actually, it is a couple times faster than the BlackBerry VM).
View 6 Replies
View Related
Mar 29, 2010
I already have experience with setting up virtual machines, running them and other minor tasks. Im a gamer, so I wont get rid of windows (for now at least...) but I do want to be a great programmer and to be involved with the Open-Source community Id like to know if its a good idea to do my programming in linux through a virtual machine, vs giving it a partitioned section of the HDD. Id like to know about performance pros and cons and functionality.The type of programming I intend to dive into : Android Dev, Web Dev, Desktop Dev...More Android and Web right now though. I do web designing as well, so dreamweaver is added as an "essential". But im sure I can do dreamweaver files and upload them to the server after programming in Linux...Right? And any info on IDE's in Linux for the above mentioned are appreciated, but i would prefer going the coding route and understanding the essence of whats happening "under the covers".
View 7 Replies
View Related
Aug 9, 2010
I'm trying to develop a very specific app for my Dell Streak. I want the entire app to run landscape. The Streak has a tilt function that switches the whole OS to a landscape 800x480.
So I want to make an ADT to test in that uses an 800x480 display, but whenever I set the size I get no buttons. The Streak has a Home, Menu and Back button aswell as volume/mute and power, and I need to use some of them for my application.
I'm not worried about the tilting messing up my application. Not yet, anyway. Just need the test environment the right size and with buttons.
View 1 Replies
View Related
Sep 16, 2009
1. I have a c lib which will send & receive multicast package, if I lauch it in native ap, everything is OK, but if lauched through jni ,so it run in dalvik env, it can not receive multicast, i think is may be disabled by dalvik, is there any permission can enable this feature?
2. In this lib i will make some callback of function in dalvik class. according to tranditional method which can run under JDK1.5 & 1.6 as follow: (I make it under source code env not NDK)
In some initialization method save jvm pointer
CODE:...........
it seems AttachCurrentThread not failed but env not correct.
View 4 Replies
View Related
Apr 9, 2010
This question has been asked(and answered) many times about dynamically generating and loading java bytecodes at runtime into a running Dalvik VM, but is there any way to load dex files/bytecodes into an app at runtime?
View 2 Replies
View Related
Dec 23, 2009
I want that on each key press I require to change the Counter some what similar to Tweeter Thing but the issue is that OnEditorActionListener only calls for the change while the user presses Enter or Done key, Please Can I Find a Resolution for this.
View 1 Replies
View Related
Nov 24, 2010
With the latest SDK release, and the ability to download separate platforms releases into the SDK, the hardware resources required to develop for Android have increased significantly. Assuming that the developer targets all currently available seven platforms - that could take your dev machine to its knees. Taken alone the 'Android SDK Content Loader' takes nearly two minutes on a dual-core machine with 2GB memory.
As the title suggest the reason for creating this wiki is for everyone to list their development hardware configurations, and thus determine what is a well-suited machine for Android development.
The secondary reason for the wiki is that I'm trying to get my employer to provide me with a decent machine for development as I'm currently forced to work on a nearly 4 year old randomly-built machine, and expected to deliver great results. However, the reality is that my system keeps running out of memory, and I can hardly get a chance to write a few lines of code in between the numerous crashes.
View 6 Replies
View Related
Aug 26, 2010
I need to test my android app 24h day and I have 3 ubuntu boxes to do it. I would like to connect my development system (MOTODEV Studio 1.3) to a Remote Device.
Well, the interface ask me about ip for machine and port to connect to.
But it doesn't. I found that the adb sever on remote seems not to listen to external ports, only internal loopback, making connections machine-machine impossible.
Could it be true? If so, why there is a section on Device to connect to Android Remote Device on MOTODEV Studio?
I've found an explanation and a workaround in this post (http://rxwen.blogspot.com/2009/11/adb-for-remote-connections.html) but it seems complicated and post's links doesn't work, so I'm confused whether there is a solution to do that.
View 1 Replies
View Related
Dec 10, 2009
We have a fast and powerful machine(Ubuntu 64bit) and we are sharing it for Android development. But when running multiple eclipse (with ADT) instances (by multiple users), we are getting the following error:
Could not open Selected VM debug port (8700). Make you do not have another instance of DDMS or of the eclipse plugin running. If it is being used by something else, choose a new port number in the preferences.
And some of the process names are not shown. It shows a bug with red- circle and a question mark instead.
I tried to change the port number under windows-preferences-Android- DDMS-Base local debugger port to 8800, etc. but it does not seem to help. (closed and reopened eclipse)
I ignored this, selected the process and it shows 8607/8700 (I found the process ID I want to debug using adb shell, ps)
And then I tried debugging this. It throws "failed to connect to remote VM"
Is it just not possible for multiple developers to debug different Android applications using multiple eclipse instances at the same time? If it is possible, can somebody please tell how we can do that?
BTW, it did not allow me to launch emulator, while somebody else is running one. I had to change permission to /tmp/android folder.
View 3 Replies
View Related
Mar 5, 2010
I am trying to install and run Android NDK on my windows xp machine. I am new to NDK and looking for some help in understanding the installation process. I have downloaded cygwin and GNU Make 3.81 but running the build host-setup.sh command results in a 'Could not find a valid GNU Make executable'.
View 4 Replies
View Related
Jul 24, 2010
I am looking to simulate a slot machine, now so far I am just animating drawables and looping it to create the effect. I was wondering if I could achieve this through a listview instead. I tried looking at this approach but I cannot get it to loop back to the beginning after it reaches the end.
View 3 Replies
View Related
Sep 9, 2010
I am looking for a slot machine with multi-line betting.
I had one, but did a factory reset and now cannot find it on the market.
Here is a pic of a similar slot machine, so you see what im looking for.
I dont mind if its free or paid, thank you.
View 6 Replies
View Related
Aug 27, 2010
To this point, I've been doing development on multiple machines but always packaging for deployment on the same machine. If I want to package for deployment on another machine, will simply copying the keystore file to the new machine do the trick? Anything else I need to be concerned about when doing this?
View 6 Replies
View Related
Mar 26, 2010
My activity needs to communicate with a java server located on my dev machine. Actually, using the emulator, I can access the server socket via the special 10.0.2.2 address. Now I'd like to test my app on my phone connected via usb, but it seems like I can't use 10.0.2.2 to access my dev machine localhost anymore. Naturally using a wifi router and a proper lan addressing does the trick, but I need to use usb connection instead. Any hint ?
1. Emulator-based scenario: standard java server running on my pc @localhost:15000 android java client running on my emulator. When the android app needs to contact the server it uses 10.0.2.2:15000 like specified here. Everything works fine.
2. Proper wifi scenario with physical connected device: standard java server running on my pc @192.168.1.10:15000. android java client running on my device with 192.168.1.11 address assigned. When the android app needs to contact the server it uses 192.168.1.10:15000 and everything works fine too.
3. Desired scenario: standard java server running on my pc @localhost:15000. android java client running on my device connected via usb cable. No network is active. When the android app needs to contact the server it tries to connect to 10.0.2.2:15000 but instead an exception is thrown (Network unreachable). It seems like special address 10.0.2.2 works only for emulator instances. I just wonder if in the adb/adt suite there's a way to access pc address from the device connected via usb cable.
View 2 Replies
View Related
Jun 6, 2012
I'm looking for an Android application, that makes answering machine, but can not find it anywhere .... You know of any application with that function?
View 9 Replies
View Related
Sep 8, 2009
Is there any way to connect the debugger to an emulator running on a remote machine? It's using TCP so I suppose it shouldn't be too difficult, but I can't figure out how. I would like to run the emulator on my (fast) laptop and do my coding on my (slow, but with bigger screen) desktop machine.
View 4 Replies
View Related
Sep 29, 2009
How to connect to development machine from device?
I can easily do this from Emulator, but from device I have connection timeout exception.
Here is my code:
code:..................
View 2 Replies
View Related
May 17, 2010
We have just released a new app onto the Market which helps you find your nearest Cash Machine or ATM, its called Cash Machine. We have had to charge to this (99p!), but we believe its good value for money with the following features: - Lists nearest ATMs in list or map format - Find by current location GPS/Network - Find by postcode or place name
- Each result displays charges (if any) that are taken by the machine/bank. This version covers the entire , please give it a go and let us know of any feedback (We also have a German version out GeldAutoMat DE, available in German only in Germany, Austria and Switzerland).
View 1 Replies
View Related
Sep 14, 2009
[ Attached Message ] From: Pedro Fernandes <pe...@isr.uc.pt> To: android-developers@googlegroups.com Date: Mon, 14 Sep 2009 19:01:01 +0100 Local: Mon, Sep 14 2009 2:01 pm Subject: [Fwd: [Fwd: [android-developers] Re: apk installation on mobilefromLinux machine] Code...
View 3 Replies
View Related
May 18, 2010
Is there any answering machine app for Android ? I have found one but it answers only by sending SMS to someone but I need something real so I can record message and when someone calls it answers the call with preset voice message. I need that often when I wash my car outside or play with my dog and I leave my phone inside the house.
View 9 Replies
View Related
Jul 27, 2010
I want to know how to install apk in device using window machine.
View 4 Replies
View Related
Nov 18, 2009
Is it possible to write the code/compile Android application on one machine and debug it remotely on the emulator launched on another? I'm sick and tired of the emulator constantly eating half of my laptop's processor.
View 6 Replies
View Related
Aug 20, 2009
I'm running some service on my android emulator. On android I bound it to 127.0.0.1:6100.
How can I access the service from my development machine? Do I have to redirect?
View 8 Replies
View Related
Feb 2, 2009
How can my host machine connect to emulator using socket? In my application, I need emulator to open a server socket, then host machine connects to emulator as a client. But when host creates the socket using "10.0.2.15:xxxxx" (xxxxx is the port which emulator is listenning), it doesn't work. I think maybe the address"10.0.2.15" goes wrong. Is it a local address behind the "virtual router" and the host can't find? If so, how to find a correct IP address of emulator?
View 4 Replies
View Related
Sep 12, 2010
I may buy RD3 (like a Roland TB303) but before I do are there better alternatives? What is the best virtual guitar you've found?
View 1 Replies
View Related
Jan 13, 2010
I'm thinking of creating an answering machine in android that automatically alerts the caller that he/she has reached the answering machine after an alloted time and then records the message. Is it possible in android?
View 4 Replies
View Related
May 5, 2009
I'd like to create an app that allow you to filter incoming call to various answering message with :
"this number is not available" for black listed phone numbers
A formal message for strangers
A informative message about what your doing for friends
I don't know I you can get automatically a call, play a recorded message then wait for the answer and record it. Or maybe there is just a way to interact with the actual answering system so I just have to plug in.
View 3 Replies
View Related