Androids Works on emulator!!! Yesss.

Previous topic - Next topic

mentalthink

Well, I try to run under Android Emulator and works!!!, well all not is good, becuase on my second try, a very very simple arkanoid, whit a few graphics, runs very slow. (Perhaps I made some wrong, or perhaps don´t works properly, than a real device)

I show you a simple image, whit a "Hallo! Android".

Kinds Regards,
Iván J.


[attachment deleted by admin]

Ian Price

That's good news - to a degree.

While there appears to be more and more successes with using Android devices and emulators, I think that I'll hold back a bit before investing in any Android devices until -

1) The machines themselves are more reliable - in terms of input and speed.
2) Android is less buggy (I read a report earlier that there are 16,000 known/reported issues with it! Of course only 1% may be serious, but there's so many different devices, all doing their own thing that it's like the pc market - you can't be sure what works on one machine will work on any other :S :()

It's great that GLB is supporting Android - it's just a shame that Android itself has so many issues.
I came. I saw. I played.

matchy

Apart from the white 2D, it's actually quite good as it can create a complete game and 3D works also. List here:
http://www.glbasic.com/forum/index.php?topic=6163.msg48793#msg48793

MrTAToad

Yes, GLBasic works well on it - once I worked out why it wouldn't compile... :)

Android OS 2.2 (or rather the applications on it) do seem to be somewhat unstable - the Marketplace frequently crashes as do many other applications.  Whether its because 2.2 is inheriently unstable or due to the fact that it's a generic tablet is unknown.  Perhaps OS 3.0 will be better...

It is (and will be for some time) a big growth area, so its good to get in fairly early...

Will have to see what the emulator is like now that I've got a working Android application

erico

Quote from: MrTAToad on 2011-Apr-26
It is (and will be for some time) a big growth area, so its good to get in fairly early...

Totally agree...
At least with the emulator I will be able to try it on without having to pay for the device and an app-dev account first...
(I know I´m cheap :P)

MrTAToad

Quote(I know I´m cheap )
Best way of doing it!

One thing I did forget to mention is that Smartphones and the (cheap) tablets aren't fast - so anything really complicated wont be possible.  For example, with the wretched Angry Birds game, I have to turn the background off for it to be playable...

Dabz

#6
Quote
At least with the emulator I will be able to try it on without having to pay for the device and an app-dev account first...

Unlike iOS, you only need to buy a dev license ($25) when you want to upload your app to the market place, Google doesnt stop you from running your app on a device like Apple does, as well as you dont even need to be on the market place, you can distribute your app how you like.

Though, there are a couple of warnings with Android dev...

Its prone to piracy, one coder I know who wrote a live wallpaper and was selling it for $1 (59p) ended up having his work dumped on the pirate pages... Which was a shame!

Another is Android users are prone to the auld "Buy it... Play it... Refund it" syndrome, not exactly sure if Google knocked that head, but where Apples policy is one refund I think, the last time I checked, Google allowed users to have unlimited refunds.

Dabz

Millerszone

Quote from: Dabz on 2011-Apr-27
Quote
At least with the emulator I will be able to try it on without having to pay for the device and an app-dev account first...

Though, there are a couple of warnings with Android dev...

Its prone to piracy, one coder I know who wrote a live wallpaper and was selling it for $1 (59p) ended up having his work dumped on the pirate pages... Which was a shame!
Dabz

Piracy is everywhere. My game Hit the Deck Baseball is available on IOS devices and it's on about every mobile app pirate site out there.
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello

A shame. Did you include some piracy checks? You could make the images of the pirated game so all players wear an eyepatch...

matchy

Eyepatch is a great idea. How about when on a piracy check a sound file plays "arrrrgh" or "aye aye captain"?

Kitty Hello

I would not make it too cool, because otherwise the pirated version is more interesting than the real one.

MrTAToad

Yes, the emulator works well - just use

Code (glbasic) Select
adb install <apk file>

with the emulator visible (otherwise it will say error:device offline)

[attachment deleted by admin]

mentalthink

MrTatoad, you have a good speed on the emulator, for me runs very slowly.

Kinds Regards,
mentalthink

MrTAToad

Well, its acceptable for the program - it certainly wouldn't be if it was a fast, action game or had a lot of processing to do.

I do have a fairly fast computer anyway, which helps :)

OscarBraindeaD

hi all,
what version of sdk/API level are needed in the AVD created in order to run the apk?
When I try to install the apk in the emulator it fails with:


828 KB/s (1796558 bytes in 2.116s)
   pkg: /data/local/tmp/gl.apk
Failure [INSTALL_FAILED_OLDER_SDK]

I'm on mac os x 10.6.6.
I've tried API levels 4 and 7 with the above error message and the API level 11 give me an "error: device not found", with the emulator running...

Any idea?

Thanks in advance.
Regards