Android :: C Development - Virtual Machine - Allowed
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
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
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
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
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 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
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
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
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
Feb 3, 2010
I am trying to set up multiple Android development environments on single Linux Debian machine. Everything works fine for one user. But whenever second user on the same machine tries to launch Eclipse (with ADT) there is an error displayed, that 8700 port is being used. Therefore, the second user is unable to debug. I have researched this issue myself and tried following solutions, but I am yet unsuccessful: 1) I have changed the DDMS port in Eclipse, for the second user to 8740 (Window -> Preferences -> Android -> DDMS -> Base local debugger port). No use: Eclipse still opens 8700 port for listening (showed by netstat and strace). 2) I have run the DDMS before running Eclipse, changed the port in it to be 8740 (File -> Preferences -> Debugger -> Port of selected VM). Not handy to have DDMS running outside Eclipse, Eclipse still opens 8700 port for listening. 3) Tried looking in the source code of ADT, found the reference where the 8700 port is passed and opened, it looks ok though and leaves me without a clue. 4) I have found several similar threads, but none of them helped my case (piled below for reference): 4.1) http://groups.google.com/group/android-developers/browse_thread/threa...
4.2) [url]4.3) [url}
Using: Eclipse 3.5.1 ADT 0.95 Debian Lenny
View 4 Replies
View Related
Mar 3, 2010
I just found out from mobile Defense that the Android OS will not let this app or any of these type apps work as intended, i.e. the OS does not allow the GPS or Data or WiFi to be turned on remotely if off. Kind of kills the whole idea of having these apps, anyone know of a non root work around as the cellular south HTC Hero cannot be rooted without major issues?
View 16 Replies
View Related
Jul 12, 2010
I have the Pantech Matrix for AT&T, I have had it for a year now and I really want an android phone (HTC Aria.) Because this is before my 2 year contract is up am I not allowed to upgrade, or will I just not be able to recieve the upgrade discounts, which i really don't care about. Thanks in advance and please help me.
View 10 Replies
View Related
Aug 3, 2010
Could I get in trouble from verizon by using Tethering apps like EasyTether or PDANet? I want to know because I'm going on vacation next week, and being able to tether my laptop would be really cool
View 10 Replies
View Related
Feb 6, 2009
I get an apk file from somewhere. I tried to install it the emulator successfully. (The emulator is built from the latest code in AOSP which should be cupcake or later). But I can't launch the application from the GUI. It complains "The application xxx has stopped unexpectedly." After checking the logcat, I find the message "access to class not allowed". It seems that that process is not allowed to instantiate the Activity class.
Since I can install the apk successfully, I am curious why I can't launch it as a user.
BTW, I tried two ways to install the app. 1) by copying it to /system/ app and rebuild the system.img 2) by using "adb install". Both getting the same error message.
I tried to extract the AndroidManifest.xml file from the apk. But it seems that the file is scrambled and can't read.
View 5 Replies
View Related
Apr 1, 2009
Currently in .../external/ppp/pppd/auth.c, function check_passwd, somebody write
{ #if 1 return UPAP_AUTHNAK; #else .....
This basically means PAP auth is not allowed on android. Is there any reason behind this? Can I savely change the #if 1 to #if 0?
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 16, 2010
I have a scenario where I need to control how many retries are allowed per hour for data connection establishment in case of failure? How can this be achieved? There is something like nextReconnectDelay in GsmDataConnectionTracker.java, but can't figure out how to reconfigure this so as to reduce number of reconnection attempts? Also is there any settings so that after n retries of failed 3G data call, Android waits for x hours to initiate next connection.
View 3 Replies
View Related
Aug 8, 2009
Having trouble with permissions. The error I get is this: Not allowed to start service Intent { comp= {com.commonsware.android.service/ com.commonsware.android.service.WeatherPlusService} } without permission private to package I installed the WeatherPlus app from Mark Murphy's dev book. I'm trying to call his weather service from a different app. I think I have an issue with permissions, not really sure how they work. I thought that you could just make your own, and then check against it. With that in mind, listed below is the client manifest, followed by the service manifest. I called my permission "mypermission". Code...
View 3 Replies
View Related
Apr 14, 2010
Will a developer's account be terminated if he travels to an "invalid" country and logs on? I understand that he cannot upload chargable applications from certain countries. But why close his account? Some people are travelling and have half their family in one country and the other half in the USA.
View 2 Replies
View Related
Nov 1, 2010
I would really appreciate if someone could point me to a list of devices/carriers where install from unknown sources is not allowed.
For e.g. I can confirm that HTC Aria (offered by AT&T) does not allow install from sources other than market.
View 8 Replies
View Related
Dec 20, 2009
What is the maximum number of threads allowed per application?
View 2 Replies
View Related
May 27, 2009
What is the maximum size allowed for an android application?
View 8 Replies
View Related
Apr 21, 2010
What special characters are allowed for file names on Android?
~!@#$%^&*()_+/.,
Also, can I save file with Unicode name?
View 2 Replies
View Related
Mar 28, 2012
What sound files is android allowed to play?
View 2 Replies
View Related
Oct 1, 2010
Do any of the alternate email applications - K9, Maildroid, etc. - allow you to delete emails from the inbox? I keep thinking that I must be missing something in the stock Gmail app that I can't figure out how to do that.
View 4 Replies
View Related
Jul 30, 2010
I would like to pop-up an error from the appwidget when one of its background tasks fails, but I don't think that is permissible -- or if it works, that it is safe.
View 1 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
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