Since v.1.4 this procedure is simplified, just change the following line in Main.java file:
public static final String LOCK_TO_SITE = null; // specify site you want to lock to, for example: "mysite.com/dolphin"
Since v.1.4 this procedure is simplified, just change the following line in Main.java file: public static final String LOCK_TO_SITE = null; // specify site you want to lock to, for example: "mysite.com/dolphin" Rules → http://www.boonex.com/terms |
not work i change to public static final String LOCK_TO_SITE="kontakton.pl"; compile and not work I can still add other sites with diffrend domain name
that is blocking the possibility of adding another page but still can add a page other than kontakton.pl
if buys license to use this application does not want to get my application downloaded from the Android Market can serve as a client to pages of other people
site url must have be invisible with static value from LOCK_TO_SITE string if string not null |
Try to clear "OO" app data in Settings -> Applications -> Manage Applications -> OO -> Clear Data. It will simulate situation, when application is opening at the first time. Your site will appear by default automatically and it will not be possible to add another site. Rules → http://www.boonex.com/terms |
I have already released the 1.4 version. If i change this in the projct and upload the new apk will users have to re-download the app? |
Yes, it should appear as update for the old version. I have already released the 1.4 version. If i change this in the projct and upload the new apk will users have to re-download the app?
Rules → http://www.boonex.com/terms |
ps: after add lock site you must change file res--->layout---->login.xml
find: <EditText android:id="@+id/site" and replace with: <EditText android:id="@+id/site" if you not add: android:editable="false"
application open screen keybord and checked site url where you can edit the field even though it should be blocked dolphin-forum.pl - Polish support for Dolphin 7 |
You can also hide the site url:
Go to "../res/layout" and open "Login.xml"
Find <TextView android:id="@+id/site_title" Replace with <TextView android:id="@+id/site_title" |