Notices


Reply
Thread Tools
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#371
Originally Posted by vicscraft View Post
oooppss... never noticed that...

Edit: saw the update Schturman... though I prefer to save the progress automatically when game closes...
I'm too, but i don't know how to do this.. I Don't know how i can know that game stopped and closed.. How to check this?
If can to know this, we can add automatic process..
 

The Following User Says Thank You to Schturman For This Useful Post:
Posts: 23 | Thanked: 5 times | Joined on Mar 2011 @ Philippines
#372
Originally Posted by Schturman View Post
I'm too, but i don't know how to do this.. I Don't know how i can know that game stopped and closed.. How to check this?
If can to know this, we can add automatic process..
that's what i have posted... it works for me...
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#373
Originally Posted by vicscraft View Post
that's what i have posted... it works for me...
Thanks, will check it later..
 
Posts: 120 | Thanked: 83 times | Joined on May 2012
#374
If somebody is interested, here is my script to launch apkenv with config autosave/load feature:
Code:
#!/bin/sh

apkenv_dir="/opt/apkenv/"
apkenvwrp_dir="/home/user/.apkenvwrp/"

load_backup() {
	mkdir -p $apkenvwrp_dir$1
	rm -rf /home/user/.apkenv/*
	cp -rf $apkenvwrp_dir$1/. /home/user/.apkenv/
}

save_backup() {
	cp -rf /home/user/.apkenv/. $apkenvwrp_dir$1/
	rm -rf /home/user/.apkenv/*
}

if [ ! $1 ]; then
	echo "Usage: apkenvwrp.sh application.apk"
	echo "Do not run under root!"
	exit 0
fi

if [ $(whoami) != "user" ]; then
	echo "User rights required!"
	exit 0
fi

if [ ! -f $1 ]; then
	echo "File '"$1"' doesn't exist!"
	exit 0
fi

apk_path=$(readlink -f "$1")
backup_name=$(basename "$1" ".apk")

load_backup $backup_name

cd $apkenv_dir

./apkenv $apk_path

save_backup $backup_name

exit 0
Save it as apkenvwrp.sh and run it from somewhere like that:
Code:
sh apkenvwrp.sh program.apk
EDIT:
And don't forget to change apkenv_dir variable to actual directory where you have placed all apkenv files.

EDIT2:
Updated script! For some unknown (for me) reason, rm doesn't like double quotes. Now rm is working properly.

Last edited by PIDk; 2012-10-26 at 10:17.
 

The Following 7 Users Say Thank You to PIDk For This Useful Post:
Posts: 41 | Thanked: 5 times | Joined on Oct 2012
#375
hi guys I'm new here but i want to now what is the version and the date in this :
cp -R /home/user/MyDocs/apkenv.harmattan.VERSION_DATE /home/user/apkenv/apkenv

and where is the Bionic libraries ??? please help me ?

Last edited by Samir_123455; 2012-10-26 at 10:00.
 
Posts: 33 | Thanked: 5 times | Joined on Oct 2012
#376
try this: https://github.com/QKit/apkenv-qml/downloads

Originally Posted by KiRiK View Post
deb-files of qml interface are available for download at github: https://github.com/QKit/apkenv-qml/downloads

For Harmattan (Nokia N9) is sufficient to dpkg a package, dependencies will be downloaded automatically.

For Maemo 5 (Nokia N900).. it seems, I have some chaos in repositories.
I can not install it just using dpkg - problems with dependencies.
But, please, try to do it and tell me about the result.
If the package cann't be installed, run in terminal as root:
Code:
apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
or, if the package installs with no dependencies:
Code:
apt-get install-f
 
Posts: 41 | Thanked: 5 times | Joined on Oct 2012
#377
hi guys what i should do with this ?;
./apkenv : permission denied ?????
please help me
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#378
when will people learn to read the wiki
 

The Following 3 Users Say Thank You to thedead1440 For This Useful Post:
Posts: 41 | Thanked: 5 times | Joined on Oct 2012
#379
Originally Posted by thedead1440 View Post
when will people learn to read the wiki

i do this ; "chmod +x apkenv", then ./apkenv
but didn't work
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#380
Originally Posted by Samir_123455 View Post
i do this ; "chmod +x apkenv", then ./apkenv
but didn't work
The terminal is just text, so why don't you just copy and paste what you are actually typing and getting in reply to a forum post? Also of use would be typing:

pwd

So we know in what directory you are attempting to execute these commands since none of them include fully qualified paths.

Seriously, so many people cherry pick and transcribe partial terminal messages when asking for tech support on forums are just making more work for themselves and at the same time providing insufficient information to get any useful advise.


It's like saying: I typed foo and it no work!!!
 
Reply

Tags
android, emu_layer, new_whazapp, orphanenv, sfdroid, thp ole ole ole, thp's up, y u disobey thp


 
Forum Jump


All times are GMT. The time now is 13:43.