maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] apkenv (N900, N950, N9) (https://talk.maemo.org/showthread.php?t=87496)

HtheB 2012-11-21 15:00

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by Rabah_vip (Post 1296449)
I'm only 15 years how to be a dev in this age !! Anyway , i thought the dev can help others because they are prof than us :p

There are kids like 11-12 years old that are devs.... So this has nothing to do with age...

xes 2012-11-21 16:54

Re: [Announce] apkenv (N900, N950, N9)
 
....make ...ok

There is some error in the path setting of the "make install"...
I suppose that the structure should be...

/opt/apkenv/modules/trg2.apkenv.so
/opt/apkenv/bionic/generic.apkenv.so
/usr/bin/apkenv

Thanks again thp! ;)

szopin 2012-11-21 17:21

Re: [Announce] apkenv (N900, N950, N9)
 
Make sure you have all 'gles' containing -dev packages installed. Compiled on mine without problems (just lots of pcs' warnings).
I have:
Code:

libgles1                                        install
libgles1-sgx-img                                install
libgles1-sgx-img-dev                                install
libgles2                                        install
libgles2-sgx-img                                install
libgles2-sgx-img-dev                                install
libsdl-gles1.2-1                                install
libsdl-gles1.2-dev                                install
opengles-sgx-img-common                                install
opengles-sgx-img-common-dev                        install


xes 2012-11-21 17:48

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by szopin (Post 1296918)
Make sure you have all 'gles' containing -dev packages installed. Compiled on mine without problems (just lots of pcs' warnings).
I have:
Code:

libgles1                                        install
libgles1-sgx-img                                install
libgles1-sgx-img-dev                                install
libgles2                                        install
libgles2-sgx-img                                install
libgles2-sgx-img-dev                                install
libsdl-gles1.2-1                                install
libsdl-gles1.2-dev                                install
opengles-sgx-img-common                                install
opengles-sgx-img-common-dev                        install


Just solved... thanks!
binary for fremantle attacched in my previous post.

B-RUNO 2012-11-21 18:04

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by xes (Post 1296924)
Just solved... thanks!
binary for fremantle attacched in my previous post.

Thank you for sharing xes!

Sorry for the nobness but now its just place the libs on place?

How does it work for now?

Regards

thp 2012-11-21 18:29

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by xes (Post 1296897)
There is some error in the path setting of the "make install"...

Care to post the complete error message?

Quote:

Originally Posted by xes (Post 1296897)
I suppose that the structure should be...

/opt/apkenv/modules/trg2.apkenv.so
/opt/apkenv/bionic/generic.apkenv.so
/usr/bin/apkenv

No - all .apkenv.so files go into /opt/apkenv/modules/, the files from libs/ go into /opt/apkenv/bionic/.

whodoes2012 2012-11-21 18:38

Re: [Announce] apkenv (N900, N950, N9)
 
hi

anyone knows how to reformat my n900 using Mac osx lion? i cannot install any application to my n900, i think i have to reset my phone....

thank you,

B-RUNO 2012-11-21 18:52

Re: [Announce] apkenv (N900, N950, N9)
 
Right with the xes binary I've tried to run Thp That Rabbit Game 2 and the Amazing Alex, this is the output.

Quote:

Missing library dependencies
For the Amazing Alex I placed the lib from the game under /opt/apkenv/bionic/

vakkov 2012-11-21 19:45

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by Schturman (Post 1296522)
I also in the same situation with my new notebook..
I have installed scratchbox in my old pc, but i can't find this file :(

If you have cleared your Temp directory (/tmp) you won't find it. Please, try using the "locate" command to find it

farfary 2012-11-21 21:34

Re: [Announce] apkenv (N900, N950, N9)
 
thp please upload the binary :(
the harmattan dev repo is shut down , it not possible to get needed package for sdk for make

PIDk 2012-11-22 09:48

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by farfary (Post 1297001)
thp please upload the binary :(
the harmattan dev repo is shut down , it not possible to get needed package for sdk for make

What is the point of uploading binary from currently available sources? It includes only one module just for testing. You won't be able to launch Angry Birds or Fruit Ninja with this kind of binary.

xes 2012-11-22 09:49

Re: [Announce] apkenv (N900, N950, N9)
 
2 Attachment(s)
[QUOTE=thp;1296934]Care to post the complete error message?

After the install procedure the result is:

N00:/opt/apkenv# ls -all
drwxr-xr-x 3 root root 4096 Nov 22 10:01 .
drwxr-xr-x 220 root root 12288 Nov 22 10:01 ..
-rw-r--r-- 1 root root 95988 Nov 22 10:01 bionic
-rw-r--r-- 1 root root 7406 Nov 22 10:01 modules
drwxr-xr-x 2 root root 4096 Nov 22 10:01 {modules,bionic}

(please note that "bionic" and "modules" are files and not directories)


Here attached the new build with the correct path.
(to install: unzip in /opt and copy /opt/apkenv/bin/apkenv in /usr/bin/ )
Inside bionic.additional there is some lib to add in the bionic folder.

Rabah_vip 2012-11-22 10:18

Re: [Announce] apkenv (N900, N950, N9)
 
no one will help us ( none dev ) to install Apkenv and enjoy android apps !!!
or edit the wiki to follow it ?

henry91 2012-11-22 15:51

Re: [Announce] apkenv (N900, N950, N9)
 
any guides for Harmattan?

Wreck 2012-11-22 16:04

Re: [Announce] apkenv (N900, N950, N9)
 
Would anyone be so kind to explain what is going on/the problems are exactly? Read through some of the pages on this thread but can't actually make anything of it.

B-RUNO 2012-11-22 17:11

Re: [Announce] apkenv (N900, N950, N9)
 
2 Attachment(s)
[QUOTE=xes;1297154]
Quote:

Originally Posted by thp (Post 1296934)
Care to post the complete error message?

After the install procedure the result is:

N00:/opt/apkenv# ls -all
drwxr-xr-x 3 root root 4096 Nov 22 10:01 .
drwxr-xr-x 220 root root 12288 Nov 22 10:01 ..
-rw-r--r-- 1 root root 95988 Nov 22 10:01 bionic
-rw-r--r-- 1 root root 7406 Nov 22 10:01 modules
drwxr-xr-x 2 root root 4096 Nov 22 10:01 {modules,bionic}

(please note that "bionic" and "modules" are files and not directories)


Here attached the new build with the correct path.
(to install: unzip in /opt and copy /opt/apkenv/bin/apkenv in /usr/bin/ )
Inside bionic.additional there is some lib to add in the bionic folder.

Thanks for sharing xes with your new built I was able to run Thp Rabbit Game here is the screenshot

thp 2012-11-22 18:17

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by xes (Post 1297154)
N00:/opt/apkenv# ls -all
drwxr-xr-x 3 root root 4096 Nov 22 10:01 .
drwxr-xr-x 220 root root 12288 Nov 22 10:01 ..
-rw-r--r-- 1 root root 95988 Nov 22 10:01 bionic
-rw-r--r-- 1 root root 7406 Nov 22 10:01 modules
drwxr-xr-x 2 root root 4096 Nov 22 10:01 {modules,bionic}

That's wrong - something must be wrong with shell expansion here :/ There should be one directory called "bionic" and one called "modules". It works for me in Harmattan Scratchbox SDK with "dpkg-buildpackage -rfakeroot -b".

Rabah_vip 2012-11-22 22:21

Re: [Announce] apkenv (N900, N950, N9)
 
Hi guys
i don't think that someone can help me with my idea but i will posted
anyone her can help me with how to change the save fruitninja in the apkenv installed via n9quicktweak
my seek is to change the score in fruit ninja so i need to edit the game save isn't that ?

Acidspunk 2012-11-22 23:20

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by Rabah_vip (Post 1297373)
Hi guys
i don't think that someone can help me with my idea but i will posted
anyone her can help me with how to change the save fruitninja in the apkenv installed via n9quicktweak
my seek is to change the score in fruit ninja so i need to edit the game save isn't that ?

god, you can already tell this will be the new wazzap thread.

Schturman 2012-11-23 08:50

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by Rabah_vip (Post 1297373)
Hi guys
i don't think that someone can help me with my idea but i will posted
anyone her can help me with how to change the save fruitninja in the apkenv installed via n9quicktweak
my seek is to change the score in fruit ninja so i need to edit the game save isn't that ?

Files located here:
/home/user/.apkenvwrp/fruitninja

henry91 2012-11-23 11:56

Re: [Announce] apkenv (N900, N950, N9)
 
Someone please update the wiki, and also guides on how to use it no Nokia N9 :(

Rabah_vip 2012-11-23 18:35

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by Schturman (Post 1297456)
Files located here:
/home/user/.apkenvwrp/fruitninja

thank you Schturman , but you can tell me how to open this file , with any program this file i can opened
thank you :)

MINKIN2 2012-11-23 18:44

Re: [Announce] apkenv (N900, N950, N9)
 
You could always swap the file with someone else's who has a high score?

A quick google search for "fruit ninja save file android" came up with this...

http://forum.dailymobile.net/index.php?topic=70890.0

As always be careful what you download from the web

B-RUNO 2012-11-23 21:04

Re: [Announce] apkenv (N900, N950, N9)
 
Hey thp sorry I'm completely Linux beginner I'm on Ubuntu 12.10 I think I have Fremantle SDK installed, I have the Android NDK installed & cproto although when I run the command
Code:

bash shlib_extract.sh examples/*.so
I have this output
Code:

/Desktop/apkenv-wrapper-generator-master$ bash shlib_extract.sh examples/*.so
shlib_extract.sh: line 14: /home/bruno/home/bruno/pkg/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/objdump: No such file or directory
shlib_extract.sh: line 15: /home/bruno/home/bruno/pkg/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/objdump: No such file or directory

The objdump file is where it supposed to be! so you or anyone can give me a help so we can start increasing the compatibility list.

Anyone any ideas :p

Rabah_vip 2012-11-23 22:20

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by MINKIN2 (Post 1297633)
You could always swap the file with someone else's who has a high score?

A quick google search for "fruit ninja save file android" came up with this...

http://forum.dailymobile.net/index.php?topic=70890.0

As always be careful what you download from the web

thank you for your help , but this file on this website didn't help me or solve my problem when i pit this files and renamed like the old one , nothing happen , the old scroe went , but i recovery bu past the old file ib the path above so i need to edit the save.

thank you :)

thp 2012-11-24 09:38

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by B-RUNO (Post 1297681)
shlib_extract.sh: line 14: /home/bruno/home/bruno/pkg/android-ndk-r8c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/objdump: No such file or directory

Note that it says /home/bruno/home/bruno/ twice. Make sure you get the path in environment.sh right, and double-check that the objdump file really exists. If in doubt, you can also use the objdump program *inside* Scratchbox.

B-RUNO 2012-11-24 12:36

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by thp (Post 1297800)
Note that it says /home/bruno/home/bruno/ twice. Make sure you get the path in environment.sh right, and double-check that the objdump file really exists. If in doubt, you can also use the objdump program *inside* Scratchbox.

Thanks for the tip thp I didn't now that "~/" means the home directory anyway I'm learning a managed get a output!
Now when I enter this command
Code:

bash function_prototype.sh output/*.harmattan
I have this output
Code:

*** output/*.harmattan ***
function_prototype.sh: line 8: output/*.harmattan: No such file or directory
cat: ou

I reckon that is related with sdk but as I mentioned I'm linux begginer :D

Any tips

B-RUNO 2012-11-24 21:26

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
I think a managed to get everything done thp or anyone mind to have a look on the attached output file.

vuongtunam 2012-11-25 04:06

Re: [Announce] apkenv (N900, N950, N9)
 
Have you any instructions for its use source code Apkenv as how?

pipould 2012-11-25 18:14

Re: [Announce] apkenv (N900, N950, N9)
 
Yeap ! Is there a new version somewhere ? :)

m.Yaghoubi 2012-11-25 18:58

Re: [Announce] apkenv (N900, N950, N9)
 
Hi everybody
Can you help me.
I have segmentation fualt error when run ./apkenv path_of_apk_file
I copy files to /opt/apkenv/bin/
:confused:

MINKIN2 2012-11-25 19:08

Re: [Announce] apkenv (N900, N950, N9)
 
Can you post the out put from xterm, please?

B-RUNO 2012-11-25 20:45

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by pipould (Post 1298315)
Yeap ! Is there a new version somewhere ? :)

No there isn't a new version what is being discussed it's the addition of new modules.

Quote:

@ Thp
Does the wrapper generator scripts - generates the shared object or we have to compile?

amr.fayz 2012-11-26 13:23

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by m.Yaghoubi (Post 1298325)
Hi everybody
Can you help me.
I have segmentation fualt error when run ./apkenv path_of_apk_file
I copy files to /opt/apkenv/bin/
:confused:


http://farm9.staticflickr.com/8478/8...86a4b90d52.jpg

it Working with me without any problems

copy apkenv to /usr/bin/

and put apk_file in /opt/apkenv/Apk/

For example Fruit+Ninja


Rename it to FruitNinja and put it in /opt/apkenv/Apk/ then run

HTML Code:

apkenv /opt/apkenv/Apk/FruitNinja

But when i use Thp Rabbit Game its not Working i use meecolay&apkenv to ran it in N900

i put trg2.apk in /opt/apkenv/Apk/ then i run

HTML Code:

meecolay /usr/bin/apkenv /opt/apkenv/Apk/trg2.apk
it Working ok as other i make icon to run it Without the use of code

Rabah_vip 2012-11-26 14:12

Re: [Announce] apkenv (N900, N950, N9)
 
please Tell me how to install this apkenv app pleas e i need this android games because i reflash my phone and when i tried to installed again using n9quick tweak , it didn't install so please tell me how ????

amr.fayz 2012-11-26 14:25

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by Rabah_vip (Post 1298555)
please Tell me how to install this apkenv app pleas e i need this android games because i reflash my phone and when i tried to installed again using n9quick tweak , it didn't install so please tell me how ????


you Welcome


1- Download

2- put it in opt

3- copy apkenv in /usr/bin/

4-put png icon in
HTML Code:

usr/share/icons/hicolor/scalable/apps/
5-put desktop in
HTML Code:

usr/share/applications/hildon/
6- run the game from icon


7- If you want to run FruitNinja by This way put it on bionic and copy apkamr to /usr/bin/ and copy icon & desktop Such as Previous


This method fo n900 Try it on n9 Possible work with you

amr.fayz 2012-11-26 14:45

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by xes (Post 1298565)
....i think that this is NOT the right place to post this kind of contents....


I'm sorry for this :o Link has been cleared I mean only help

seanmcken 2012-11-26 16:56

Re: [Announce] apkenv (N900, N950, N9)
 
iam noob i dunno anything but it just came in ma mind that. i dunno kernel really matters to run all droid apps but if we compile all the libs from nitdroid ie gingerbread.tar.bz2 to maemo or can we use all files frm that nitdroid and make it useful like Meecolay? so why dont use this nitdroid directly by jst copying or compiling? i mean like meecolay. im sorry i really dont knw anything i jst askd.

Rabah_vip 2012-11-26 17:31

Re: [Announce] apkenv (N900, N950, N9)
 
thank you , but before i do it this instruction for nokia n9 or nokia n900 ?

edit : my phone nokia n9
so please help
thank you :p

StocChr 2012-11-26 18:22

Re: [Announce] apkenv (N900, N950, N9)
 
first at all, i am on n900 and have some questions

- savegames are stored in /home/user/.apkenv ! so, when i play angry birds he generates a highscore.lua and a settings.lua ! the name of the files are for all four angry birds the same ! so, at the moment i can only store one angry birds savegame ! is there a workaround therefor ?

- what about multitouch? is it possible to add moultitouch like for preenv?

- the only way to close fruit ninja is to strg + return and press x?
- what is the difference between starting an apk with apkenv or with apkmr?

btw. @amr.fayz your installation instruction fruit ninja and all angry birds works like a charm


All times are GMT. The time now is 05:58.

vBulletin® Version 3.8.8