Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Problem #51

Open
GoogleCodeExporter opened this issue Apr 21, 2016 · 6 comments
Open

Building Problem #51

GoogleCodeExporter opened this issue Apr 21, 2016 · 6 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 28 Dec 2010 at 8:22

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 15 Jan 2011 at 4:40

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 23 Feb 2011 at 3:29

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

This work for me. Thank you !

Original comment by [email protected] on 24 Mar 2012 at 6:21

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 29 May 2012 at 3:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant