Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
7404bfab
Commit
7404bfab
authored
11 years ago
by
Alexandre Lision
Browse files
Options
Downloads
Patches
Plain Diff
modified launch-sflphone.sh to use ant and adb
parent
1888bf3f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
launch-sflphone.sh
+10
-19
10 additions, 19 deletions
launch-sflphone.sh
with
10 additions
and
19 deletions
launch-sflphone.sh
+
10
−
19
View file @
7404bfab
#!/
sytem/
bin/sh
#!/bin/
ba
sh
#
# Copyright (C) 2004-201
2
Savoir-Faire Linux Inc.
# Copyright (C) 2004-201
3
Savoir-Faire Linux Inc.
#
# Author: Alexandre
Savard
<alexandre.
savard
@savoirfairelinux.com>
# Author: Alexandre
Lision
<alexandre.
lision
@savoirfairelinux.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -32,22 +32,13 @@
# Meant to be run on the target platform using adb shell
mkdir
/data/data/ok
cd
jni/
ndk-build
-j4
cd
..
/system/bin/dbus-daemon
--fork
--print-pid
--print-address
--session
>
/data/data/dbus.info
$ANT_HOME
clean
$ANT_HOME
debug
DBUS_ADDRESS_COMPLETE
=
""
while
read
line
;
do
DBUS_ADDRESS_COMPLETE
=
"
$line
"
done
<
"/data/data/dbus.info"
adb
install
-r
bin/SFLphone-debug.apk
IFS
=
","
set
--
$DBUS_ADDRESS_COMPLETE
DBUS_ADDRESS
=
$1
DBUS_EXPORT
=
"DBUS_SESSION_BUS_ADDRESS=
$DBUS_ADDRESS
"
export
$DBUS_EXPORT
/system/bin/sflphoned
-d
-c
&
adb shell am start
-n
org.sflphone/org.sflphone.client.SFLPhoneHomeActivity
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment