using the vi editor on android

by Neal » Tue, 23 Dec 2008 01:58:18 GMT

Sponsored Links
 i was hoping to use the vi editor on android, except that my phone is
from tmobile and i dont have permissions to run it, is there anyway
around this?  my os version is rc30 so the loophole was fixed to get
root.  to be honest, i just need any text editor that can cut and
paste a specific text selection and that can put an receive files on
the sd, like ak notepad but with copy/paste a selection - not just

thanks for any help!


using the vi editor on android

by akurni » Sat, 27 Dec 2008 07:10:44 GMT

 You can copy and paste a selection of text in AK Notepad. You can do
this by highlighting the text you want to copy and then just tap and
hold the selected text.


Sponsored Links

Other Threads

1. Getting 'OutOfMemoryException' while trying to download a 14mb mp3 file from webserver

Hi Friends,

I want to play an mp3 file as soon as my application starts. The mp3 file is
really large in size(approx 14 mb).

So I am trying to download it from a webserver and than I want to store it
on sdcard.

While doing so I am getting OutOfMemoryException. Can anybody please help

My code is as follows:

public MainClass() throws Exception

URL u = new URL("http://----------");
URLConnection uc = u.openConnection();
String contentType = uc.getContentType();
int contentLength = uc.getContentLength();

if(contentLength < Integer.MAX_VALUE)


if (contentType.startsWith("text/") || contentLength == -1)
     throw new IOException("This is not a binary file.");

InputStream raw = uc.getInputStream();

InputStream in = new BufferedInputStream(raw);

*// Getting OutOfMemoryException here

**byte [] data=new byte[(int)contentLength];*

int bytesRead = 0;

int offset = 0;

while (offset < contentLength)

    bytesRead =, offset, data.length - offset);
    if (bytesRead == -1)
    offset += bytesRead;



if (offset != contentLength)
  throw new IOException("Only read " + offset + " bytes; Expected " +
contentLength + "   bytes");


// String filename = u.getFile().substring(filename.lastIndexOf('/') + 1);

FileOutputStream out = new FileOutputStream("/sdcard/music.mp3");







2. How to Win Features and Influence Developers (Was: Future of Android)

Wise and needed words of Wisdom.

- Juan


3. Can the manfifest name be different than AndroidManifest.xml

4. Rotating SurfaceView

5. Identifying pictures taken on 'this' device

6. Recording audio stream

7. MediaRecorder docs fix