harshimurthy / remotedroid

Automatically exported from code.google.com/p/remotedroid
0 stars 0 forks source link

Building Problem #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I got the  full source of remotedroid by using SVN.

After that I tried to build that but there were some problems

missing SYMBOL(R.string.txt_advanced, R.string.txt_keyboard,

Settings.hideMouseButtons, Settings.twoTouchRightClick).

Original issue reported on code.google.com by chaboomb...@gmail.com on 28 Dec 2010 at 8:22

GoogleCodeExporter commented 8 years ago
The code is inconsistent for 4 months now.  r31 seems to be the latest working 
revision.  Either the developers are too busy with the Pro version or they just 
"open sourced" the project to get a good advertisement.  Moreover, it is a good 
trick for getting people to download the apk file instead of compiling and 
checking the source code for spyware.  Actually, I do not want to know what the 
apk file really does which is not added to the source code.  Thanks for the 
clarity!

Original comment by ste...@endrullis.de on 15 Jan 2011 at 4:40

GoogleCodeExporter commented 8 years ago
Calm down guys, no need to be paranoid, I've managed to get it to compile. The 
source, as you can tell, is incomplete. However, eclipse helpfully gives you a 
list of the problems.

Open up res/values/strings.xml and add two new strings, call one "txt_advanced" 
and set it to "Advanced", and the other "txt_keyboard" as "Keyboard". There, 
two errors gone already :)

The other two, just open up Settings.java and add two new booleans:
        public static boolean twoTouchRightClick;
        public static boolean hideMouseButtons;
Underneath public static boolean scrollInverted;
And then find scrollInverted = prefs.getBoolean(PREFS_SCROLL_INVERTED, false); 
in the init() function and add these underneath:
        twoTouchRightClick = true;
        hideMouseButtons = true;
Confusingly, you need to set hideMouseButtons to true for them to show. The 
other one is for simulating a right click when you tap (not drag) the screen 
with two fingers.

There were a few other problems like a missing gen folder and stuff but I'm not 
a maintainer here so you'll have to add that yourselves too! Now you have a 
working r44 with host discovery :)

Original comment by soura...@googlemail.com on 23 Feb 2011 at 3:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This work for me. Thank you !

Original comment by zi...@hotmail.com on 24 Mar 2012 at 6:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The above worked but I also had to Comment out @Override in the following 
method in PadActivity.java (line 1001) to clear the following error:

"The method onKey(View, int, KeyEvent) of type new View.OnKeyListener(){} must 
override a superclass method"

It Compiled fine after and I was able to begin testing.  I'm not really using 
this yet but will update later if I find what is missing to make it work 
properly.

// listener
et.setOnKeyListener(new OnKeyListener(){

 !!**-->//@Override
    public boolean onKey(View v, int keyCode, KeyEvent event)
    {
        Log.d("KEY_CHANGED", "'" + event.getCharacters() + "' "
                + keyCode);
        changed = "a  ";
        etAdvancedText.setText(changed);
        return false;
    }

});

Original comment by crevis...@gmail.com on 29 May 2012 at 3:49