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)

thedead1440 2012-10-27 07:59

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

Originally Posted by kpblxa (Post 1286196)
I've updated to the latest version of apkenv-qml - the icon for games remain on my desktop and are not in application to be removed or accessed. how do i get rid of them?

thanks

the .desktop files are located in /home/user/.local/share/applications/

kpblxa 2012-10-27 08:01

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

./10chars

lebanez 2012-10-27 08:29

Re: [Announce] apkenv (N900, N950, N9)
 
i would like to know if all application will be supported not only angry birds !!

thedead1440 2012-10-27 08:36

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

Originally Posted by lebanez (Post 1286213)
i would like to know if all application will be supported not only angry birds !!

No...
10chars

Samir_123455 2012-10-27 09:12

Re: [Announce] apkenv (N900, N950, N9)
 
i can't open sh Androidgames.sh why !! Please someone can tell me ?

RafaelVlmendes 2012-10-27 13:25

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

Originally Posted by nisheet (Post 1286192)
@RafaelVlmendes----bro.i tried to run sh Androidgames.sh in my n900 from the package you provided but got error saying line-1 devel-su not found....what to do now?????

If u have Nokia N900 download and install apkenv0.0.1 for Freemantle and apkenv1.
Unrar apkenv1 in MyDocs. Example: MyDocs/Apkenv
In your folder Apkenv need do so:
MyDocs/ Apkenv/Packages
MyDocs/Apkenv/AndroidGames

U need be admin in ur terminal and when u write sh AndroidGames.sh will be create and chmod foldes.
If u can show me pictures with ur problem.


I found the problem.. In few times ill make new packages.

RafaelVlmendes 2012-10-27 13:32

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

Originally Posted by Samir_123455 (Post 1286228)
i can't open sh Androidgames.sh why !! Please someone can tell me ?

What ur device? The N900 i ill create new tutorial in few times

PIDk 2012-10-27 14:42

Re: [Announce] apkenv (N900, N950, N9)
 
For everyone who interested.
New version of script to launch .apk's with config auto save/load feature. I got rid of unnecessary file operations - now config remains in /home/user/.apkenv untill different .apk is loaded. All operations with config files are made before loading .apk. Also added mechanism to search for .apk's in specific folder (apk_dir variable). As in previous version, apkenv directory is stored in apkenv_dir.
Code:

#!/bin/sh

apkenv_dir="/opt/apkenv"
apkenvwrp_dir="/home/user/.apkenvwrp"
apk_dir="/home/user/MyDocs/apk"

process_backup() {
        if [ -f $apkenvwrp_dir/current_apk.save ]; then
                save_name=$(cat "$apkenvwrp_dir/current_apk.save")
               
                if [ $1 != $save_name ]; then
                        cp -rf /home/user/.apkenv/. $apkenvwrp_dir/$save_name/
                        rm -rf /home/user/.apkenv/*
                       
                        if [ -d $apkenvwrp_dir/$1 ]; then
                                cp -rf $apkenvwrp_dir/$1/. /home/user/.apkenv/
                        fi
                       
                        echo $1 > $apkenvwrp_dir/current_apk.save
                fi
        else
                mkdir -p $apkenvwrp_dir
                echo $1 > $apkenvwrp_dir/current_apk.save
        fi
}

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
        apk_path=$(readlink -f "$1")
else
        if [ -f $apk_dir/$1 ]; then
                apk_path=$apk_dir/$1
        else
                echo "File '"$1"' doesn't exist!"
                exit 0
        fi
fi

backup_name=$(basename "$1" ".apk")

process_backup $backup_name

cd $apkenv_dir

./apkenv $apk_path

exit 0


sinusverzus 2012-10-27 15:17

Re: [Announce] apkenv (N900, N950, N9)
 
how do update the library via TERMINAL :confused:
Thanks in advance :)

Hariainm 2012-10-27 15:22

Re: [Announce] apkenv (N900, N950, N9)
 
ok, people here are stupid


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

vBulletin® Version 3.8.8