Android Emulator - G1 Android Development

go to
http://code.google.com/android/download.html
and download
android-sdk-windows-1.0_r1.zip
extract it
and run
tools\emulator.exe
if it don't work, run this command
mkdir "C:\Documents and Setting\%username%\Local Settings\Application Data\Android\SDK-1.0"

Or, if you're running Vista, run this command in cmd.exe:
Code:
mkdir "C:\Users\%username%\AppData\Local\Android\SDK-1.0"

emu emu
I have a g5 ppc mac, so I fired up my trusty x86 emu and DLed the SDK, fired up the android emu and now 30 mintues later its still booting! woot! I guess this will not be my development environment.
LOL.
I waited till it finished to post, its works and its not that slow, its slow but faster than I thought it was gonna be...

warwolf, you may want to change your post a bit, the directory is not correct:
it should be:
mkdir "C:\Documents and Settings\%username%\Local Settings\Application Data\Android\SDK-1.0"

walscobry said:
I have a g5 ppc mac, so I fired up my trusty x86 emu and DLed the SDK, fired up the android emu and now 30 mintues later its still booting! woot! I guess this will not be my development environment.
LOL.
I waited till it finished to post, its works and its not that slow, its slow but faster than I thought it was gonna be...
Click to expand...
Click to collapse
I don't think the windows version should be your development environment. Eclipse runs under MacOS and the Android plugin for it should work fine. As for the simulator, however...

There is an online emulator for the G1 go to
http://tmobile.modeaondemand.com/htc/g1/
It's limited but you can at least get some feel for it.

android emu
Yes, I could do eclipse (edit, compile, DEXify) in OS X, set that up already. But there is no emu for PowerPC. It only seems to compile for intel. Then again I could test on the real deal Oct 22nd!
After it got all cached in the emu was "usable", playing with it will probably make the real thing seem like a rocket!

Windows Vista is ****ing garbage, I can't get anything to run on this piece of ****. Last night I was trying to get my java compiler (javac) up and going on this, always used XP with it... I run javac through cmd and it just gives me another prompt, doesn't give an error message, doesn't say ****. Same ****ing thing here, no matter what the directory this ****ing emulator won't run.
Finally got the emulator. Now for javac... >:O

walscobry said:
Yes, I could do eclipse (edit, compile, DEXify) in OS X, set that up already. But there is no emu for PowerPC. It only seems to compile for intel. Then again I could test on the real deal Oct 22nd!
After it got all cached in the emu was "usable", playing with it will probably make the real thing seem like a rocket!
Click to expand...
Click to collapse
I hear ya. The emulator crawled under wine on Linux. But once it loaded a few days later, it was alright.

gospeed.racer said:
warwolf, you may want to change your post a bit, the directory is not correct:
it should be:
mkdir "C:\Documents and Setting\%username%\Local Settings\Application Data\Android\SDK-1.0"
Click to expand...
Click to collapse
Sorry
i fixed it
i renamed that folder on my pc to Profiles
mkdir "C:\Profiles\%username%\Local Settings\Application Data\Android\SDK-1.0"

Mine works fine...
I just wondered why at first it always crashed in Vista.
I am still learning to code stuff though^^ But we'll see how far I get with this!

im sure you will do good in the long run buddy!
thanks for this thread i finally figured this emulator out it was kicking my butt for like a week lolz

I tried getting the emulator working in Ubuntu 9.04 but this is what I keep getting:
emulator: ERROR: You did not provide the name of an Android Virtual Device
with the '-avd <name>' option. Read -help-avd for more information.
If you *really* want to *NOT* run an AVD, consider using '-data <file>'
to specify a data partition image file (I hope you know what you're doing).
Click to expand...
Click to collapse
Can anyone help me decipher this?

blackknightavalon said:
I tried getting the emulator working in Ubuntu 9.04 but this is what I keep getting:
Can anyone help me decipher this?
Click to expand...
Click to collapse
http://lmgtfy.com/?q=android+avd

lbcoder said:
http://lmgtfy.com/?q=android+avd
Click to expand...
Click to collapse
Har. Har. Har.
As sarcastic as your help was, it did indeed help. Thanks!

lbcoder said:
http://lmgtfy.com/?q=android+avd
Click to expand...
Click to collapse
This is the first time I've seen lmgtfy, it's hilarious, love it

Related

Linux support?

Is there any way to fiddle with my wm5 8125 through linux? I want to go to the tnt 6.1 rom, and have limited access to a windows computer. I could also use an imac, though it would look weird connecting my phone to the computer in the office and downloading "shady" applications.
Thanks!
-cbass
good luck. i have an mda. it was impossible. wm5 has OK support for synching. wm6 support doesnt exist. sorry. been there done that. not possible at the moment.
actually looks like synce, the linux synch program, has come a bit. check it out at http://www.synce.org/moin/
Hmm..
I run a Ubuntu box with synce + Fur and multisync to Evo...it works fine
Merlin_reloaded said:
I run a Ubuntu box with synce + Fur and multisync to Evo...it works fine
Click to expand...
Click to collapse
it didnt used to work. i ran kubuntu and tried to get wm6 to sync and it didnt work. i tried for MONTHS. then again when i tried it, the included synce builds with ubuntu were .9 and .10 was required for good wm5 support. i had to get the builds elsewhere which didnt seem to help at all. im not a linux guru at all. thats one of the reasons i dumped linux among others.
gehzumteufel said:
it didnt used to work. i ran kubuntu and tried to get wm6 to sync and it didnt work. i tried for MONTHS. then again when i tried it, the included synce builds with ubuntu were .9 and .10 was required for good wm5 support. i had to get the builds elsewhere which didnt seem to help at all. im not a linux guru at all. thats one of the reasons i dumped linux among others.
Click to expand...
Click to collapse
well, there are some hacks to get it working..PM me if need help
Merlin_reloaded said:
well, there are some hacks to get it working..PM me if need help
Click to expand...
Click to collapse
i am back on windows for now. i might go back soon, but i dunno. im thinking ill just wait till i get a new laptop before i do. ill keep ya in mind though when im at that point!
gehzumteufel said:
it didnt used to work. i ran kubuntu and tried to get wm6 to sync and it didnt work. i tried for MONTHS. then again when i tried it, the included synce builds with ubuntu were .9 and .10 was required for good wm5 support. i had to get the builds elsewhere which didnt seem to help at all. im not a linux guru at all. thats one of the reasons i dumped linux among others.
Click to expand...
Click to collapse
Can u say if activesync 4.5 run in wine?
Im go test it im my Umbutu partition with wine.
i would talk to merlin. i am on windows now and am unable to test. he said he has it working, so he should be able to help you out. sorry.

Java Error

Hey guys,
i've tried to install some java apps using the vox's default program i think its called "Esmertec Jbed"
And they all come up with the error java.lang.NoClassDefFoundError whats going on? :S
Any had this problem or know how to fix it?
Thanks
No one else had this problem??? Anyone manged to install Super Bluetooth Hack?
I have problem like this with various Jar files. It seems to me the programm esmertec don't work properly. On my old Sony W200i these .jar files worked without problemes.
I tried Jblend, it work quite better.
Freelite said:
I tried Jblend, it work quite better.
Click to expand...
Click to collapse
Did you get it to work as well? Jblend gave the solution. The app runs but I can't seem to find phones when I choose to show the list of available phones etc.
Some help please
The emulator does not translate Java class hooks and calls directly to WinMo API. I highly doubt you will ever get BT_INFO working properly.
so if jb doesn't work.. is there other app that you can run that with?
as frauhotelmann said no windows mobile java tool is able to use the needed java class for bluetoothhack!
is there app similar to super hack that will run on mobile phone?
havent seen one its annoying

Bing compatibility

Hi -- I just downloaded the new version of Bing. I'm running it on an HTC Sedna with Windows Mobile 6.1. It _seems_ to work fine on my phone. Fine except for the fact that within a minute or two I get a message which says "Your device has been identified as not supported for this application," after which Bing shuts down. Any ideas on how to get around this? This software is supposed to work with WM 6.1 phones and it seems to do so until Microsoft pulls the plug!
Thanks, Alan
Are you using a cooked ROM?
I suggest you to install it on a emulator and see what happens
Thanks -- no, I'm using the standard HTC ROM. (I don't even think there ARE any cooked ROMS for this phone!)
I've never dealt with an emulator, so I don't immediately know how to do what you're suggesting, nor do I have a sense of how time consuming that would be. But would it be worthwhile to go down that road? If Bing worked on the emulator, how would that help me figure out how to make it work on my phone?
I wonder if there's a way to tell Bing that I've got a different kind of phone. I suspect that would fix this. Does anyone know how to do this?
Thanks!
Alan
Ok, but you can share where you got the installation file(just to do a test here).
Thanks.
Yes -- I got it from here:
http://static.appserver.m.bing.net/binaries/winmo/v1/Bing.CAB
I was running the previous version of Bing, and the program sent me to this link to get the updated version (which then gives me errors about my phone not being supported).
Thanks, Alan
Thanks very much, I'm going to test it.
Wait some time...
That's terrific! Thanks so much!
--Alan
Bing...
Works OK on Diamond 1 with stock 6.1 ROM. Not sure if I like it or not..
Right -- I know it works on other WM 6.1 phones. I'm wondering how to run it on mine. I suspect the solution is to make Bing think I'm using a Diamond or some other phone it knows it's compatible with. Anyone know how to do this? What does it use to figure out what sort of phone I have?
Thanks, Alan
It's working on my emulator.
Have you already tried another version?
I don't really understand what you're asking ... I've run this program on two different (stock WM 6.1) HTC P6500s with the same result: it works fine a little while, then I get a message that I'm not using a supported device and the software shuts down. I don't know how running this on an emulator would help me fix the problem. I know that the software works fine on Diamonds, Touch Pro2, Diamond 2, and other officially-supported WM 6.1 phones. And I know that the software detects my P6500 as not supported and therefore will stop working after a while.
SO: the question is how to get Bing to believe I'm using a phone that it considers supported? I've tried replacing P6500 with T5353 (Touch Diamond 2) in a couple of places in the registry:
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ActiveSync\DeviceModel
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform
But it doesn't seem to make a difference ....
Does anyone have any other ideas about how I might fix this?
Thanks,
Alan
I think that change these registrys:
Code:
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ActiveSync\ DeviceModel
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings\User Agent\Post Platform
Isn't a very good thing, because this can turn your device unstable.
PS: I'm going to Google for some solution.
I need one thing to solve your problem as fast as I can. It's the error code.
Thanks.
Thanks so much ... Yeah, I didn't leave those registry changes on long: just a quick experiment.
OK, forgive my ignorance, but how can I find out the error code to tell you?
Thank you!
Alan
Error in images, this is after being cooked in, works for a few min but than get a compatibility error and shuts down
Interesting -- that's a different error than the one I get, though mine generally comes up around the same time. Mine says "Your device has been identified as not supported for this application."
How do we find error codes for these?
Alan
It seems they have the same root, this has been cooked in I was hoping to go "around" the not supportive error that you get with the cab file.
Since I took it out of my build I think the best way will be to run it cooked in an emulator to get it.
Huh, interesting...
I'm going to take a better look on this.
nathanpc said:
Huh, interesting...
I'm going to take a better look on this.
Click to expand...
Click to collapse
Thanks,
Att. is the OEM package
You're welcome!
I'm going to take a look when I get in my home, now I'm on a café

HD2 Emulator

Hi, sorry if this has been covered before. I'm new to this site (which rules)
But has anyone managed to get any emulator working on the HD2, I used to have several for my TytnII, PicoDrive, Morphgear etc.. They all worked fine.
Tried to get a simple gameboy emulator working, but it doesn't seem to support the HD2's screen resolution. Any help?
Here in the forum, there is a Morphgear thread...
And, somewhere on the web, some guy is close to finish his work on a PS1 emulator which reportedly should run on HD2, too...
Thanks very much, I'll give MorphGear a go again. A PSX emulator would be great too, I'd be surprised if it ran on any phone though.
Phaedrus Nine said:
Thanks very much, I'll give MorphGear a go again. A PSX emulator would be great too, I'd be surprised if it ran on any phone though.
Click to expand...
Click to collapse
FPSECE runs without any issues on the HD2 and this is on the old 0.96 build.
http://www.youtube.com/watch?v=gjpWGwaoilY
for me don't work I can not load any cd on my leo,is any of you who play on this emulator and work's great,like on films from youtube?
what setings ? or else
http://www.fpsece.net/downloads.htm
There you have the latest versions, and when you download the cab, there will be instructions as a .pdf file.
Vrbanjac said:
http://www.fpsece.net/downloads.htm
There you have the latest versions, and when you download the cab, there will be instructions as a .pdf file.
Click to expand...
Click to collapse
please note, donate a few beers to struck and you can save your games as well, and you get unlimited updates, upto the very final. Check ou some betatesting from frenchaddict with fpsece 0.1 on youtube
Yes the FPSE playstation emu works nicely for me on the HD2. Got about 5 games on my phone for it now.
Also the morphgear with multi-touch is pretty awesome, runs just about everything from genesis, nes, snes to gba. Though sound is not great...
I also tried out a MAMECE emulator, worked nicely but no touch screen controls. Had to map just about every button to run a game...
E10onXda-Developers said:
please note, donate a few beers to struck and you can save your games as well, and you get unlimited updates, upto the very final. Check ou some betatesting from frenchaddict with fpsece 0.1 on youtube
Click to expand...
Click to collapse
I would have done that, if I weren't 15 years old..
That means that I can't have a internet bankcard yet.
But hopefully I will have one some day, and when that day comes, I will donate =)
Vrbanjac said:
I would have done that, if I weren't 15 years old..
That means that I can't have a internet bankcard yet.
But hopefully I will have one some day, and when that day comes, I will donate =)
Click to expand...
Click to collapse
You can use a bank account with paypal - don't need any type of card. Anyone can have a bank account - there's no age limit
johncmolyneux said:
You can use a bank account with paypal - don't need any type of card. Anyone can have a bank account - there's no age limit
Click to expand...
Click to collapse
But i can't get any money into that paypal acc
Thats where the age limit are

Compiling Android Application Source?

I'm trying to compile the music application from the git source, but from what I can tell, it uses a somewhat different SDK from the public one!
Is there any way to download and use this other SDK, or get around it somehow?
This page seems to recommend removing a line from the missing classes, but I'm not exactly what it entails. Any help?
*Bump*
Anyone had this problem before, at least, so I know I'm not alone?
You wont get help here, sorry man. Try a real development forum? The people here that do know things wont help you.
You're not going to get any help unless you explain what your problem is.
TheBigCheese0 said:
I'm trying to compile the music application from the git source, but from what I can tell, it uses a somewhat different SDK from the public one!
Is there any way to download and use this other SDK, or get around it somehow?
This page seems to recommend removing a line from the missing classes, but I'm not exactly what it entails. Any help?
Click to expand...
Click to collapse

Categories

Resources