Coder Social home page Coder Social logo

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
can you provide a working APK for the g1? 

Original comment by [email protected] on 29 Oct 2008 at 4:41

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Sorry. Doesn't look like I can. 

I can get it to to run on my phone by using eclipse but when I generate an apk 
file
that file does not install. If you want to try my apk it's available here, but I
couldn't get it to install.

http://sites.google.com/a/surugi.com/public-stuff/androidvnc

Original comment by [email protected] on 30 Oct 2008 at 3:04

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Confirmed, the .apk binaries on XavierBlak's site do not work on RC29 on the G1

Original comment by hassinger.paul%[email protected] on 9 Nov 2008 at 5:09

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I tried all the different patch versions in the emulator.
I had to sign the apks myself to get them to install at all.
When I connect to a local vnc server without a password I can see the android 
viewer
connects, but I don't get any display in the emulator and no mouse/keyboard 
events
seem to show up on the server side (viewing in another laptop vncviewer).

So it connects and nothing else at the moment?

Original comment by [email protected] on 9 Nov 2008 at 6:28

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Mike, I get the same issue. I tried installing with an emulator, installs fine, 
I get
the option to enter an IP, port, and connect... and then it connects to VNC, 
but just
sits at a black screen.

I also installed it using Eclipse on my G1, same thing... I can connect to the 
VNC
server, it shows a connection, but it just sits at a black screen.

I tried it with RealVNC and TightVNC as the server on Windows and the Ubunutu 
8.0.4
Remote Desktop VNC.

I'm not very familiar with how all of this works, but could it be that it 
depends,
somehow on the framebuffer and zImage code in the
http://code.google.com/p/android-vnc/ project?

Original comment by hassinger.paul%[email protected] on 10 Nov 2008 at 4:54

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I don't think the Viewer for Android needs the Server for Android that you 
mention. 
I just imagine something in the APIs the Viewer calls changed before the 
current SDK.
I'll try to find time to look into it next week.

Original comment by [email protected] on 11 Nov 2008 at 3:51

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I just found this project and have downloaded the source... I'll try to 
recompile
this evening with the current SDK and then deploy to my G1.  I'll follow up 
tomorrow
with this thread.

Original comment by [email protected] on 12 Nov 2008 at 8:07

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I don't think the createBitmap call arguments are correct.  According to the 
docs, 
those parameters generate an immutable bitmap.  A second arglist (int width, 
int 
height, Bitmap.Config config) can be used to create a mutable bitmap for the 
framebuffer. 

Original comment by [email protected] on 19 Nov 2008 at 7:51

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
[deleted comment]

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I've been able to make this work (at lease so I can view a VNC session) by 
modifying
the createBitmap arguments to the mutable arguments as stemark laid out using:
Config.RGB_565 in place of the false boolean variable.  

Also note, I had issues with the line following where it calculates pixels24, 
where
it ran out of memory. This is because my VNC server was sharing the dual 
monitors and
multiplying that up. I simply just shared a single screen...that worked

... now to get key presses and mouse actions to work....

### Eclipse Workspace Patch 1.0
#P androidVNC
Index: src/android/androidVNC/VncCanvas.java
===================================================================
--- src/android/androidVNC/VncCanvas.java   (revision 2)
+++ src/android/androidVNC/VncCanvas.java   (working copy)
@@ -176,7 +176,7 @@
       Log.v(TAG, "Desktop name is " + rfb.desktopName);
       Log.v(TAG, "Desktop size is " + rfb.framebufferWidth + " x " +
rfb.framebufferHeight);

-      mbitmap = Bitmap.createBitmap(rfb.framebufferWidth, 
rfb.framebufferHeight, false);
+      mbitmap = Bitmap.createBitmap(rfb.framebufferWidth, 
rfb.framebufferHeight,
Bitmap.Config.RGB_565);

       if(bytesPerPixel == 4)
          pixels24 = new int [rfb.framebufferWidth * rfb.framebufferHeight];

Original comment by hassinger.paul%[email protected] on 23 Nov 2008 at 10:42

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Looks like RfbProto.java has the start of mouse and keyboard events (commented 
out
code). It looks like most of that should probably be redone for the new Android
Development Kit. I might be able to sort through this, but it's goign to take 
me a
while. I'm just learning how to do this development on Android. I'll try to 
fake it
maybe, by just sending a single key and starting from there to see if that 
works.
Should we start a new thread for the keyboard/mouse events, now that the app is
functioning on the G1?

Original comment by hassinger.paul%[email protected] on 24 Nov 2008 at 12:13

from android-vnc-viewer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Since the application, itself, is now functioning as-is (pretty much just as a
viewer), on the G1, I will close this issue.

I've created another issue, for dealing with mouse/key events as a first-step 
to make
the app usable from a remote-control perspective. I've volunteered to work on 
this
project in my free time and see what we can do to make this application a 
usable VNC
client. Any help is appreciated.

Original comment by [email protected] on 24 Nov 2008 at 5:26

  • Changed state: Fixed

from android-vnc-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.