GithubHelp home page GithubHelp logo

android-codepad's People

android-codepad's Issues

Slow bad performance with big files.

What steps will reproduce the problem?
1. Get a large XML File without comments, just tags (let's say 250kB)
2. Put the large XML File on your storage
3. Open with CodePad

What is the expected output? What do you see instead?
It takes minutes to open the file.

What version of the product are you using? On what operating system?
I compiled the latest sources and I'm running the app on a Nexus7 with Android 
4.3 (2012).


The GitHub app instantly prettifies the code.

Original issue reported on code.google.com by [email protected] on 29 Sep 2013 at 2:34

"Android CodePad" is not an available view option for most filemanagers

> What steps will reproduce the problem?

Use OI FileManager to click on a *.java file. Half or more of all file managers 
I have tried from Market behave the same way.

> What is the expected output? What do you see instead?

I expect Android CodePad to be one of the options to view this *.java file.

> What version of the product are you using? On what operating system?

I'm using latest Android CodePad from market, but I'm also debugging with 
latest subversion HEAD checkout: "Version 1.01". I'm running this from a 
Samsung Galaxy S running CM7: Android 2.3.4.

> Please provide any additional information below.

I see that the code of OI FileManager determines MIME type like this:

  android.webkit.MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton();
  String webkitMimeType = mimeTypeMap.getMimeTypeFromExtension(ext);
  if (webkitMimeType != null) {
    // Found one. Let's take it!
    return webkitMimeType;
  }

This looks like a pretty reasonable way of doing this, but on my phone, this 
code for the "java" extension returns "text/x-java" not "text/plain".

I have tried out two solutions which both seem to work:

(1) Change OI FileManager to disregard this MIME type and use "text/plain".
(2) add <data android:mimeType="text/x-java" /> to the Android CodePad 
<intent-filter>.

I prefer solution #2: alter the Android CodePad AndroidManifest.xml to allow it 
to respond to more mimeType values than "text/plain" alone.

Original issue reported on code.google.com by [email protected] on 6 Oct 2011 at 7:00

Attachments:

crash on open with files containing spaces on the path

What steps will reproduce the problem?
1. hit menu button
2. open the file that's on a directory path that has a space

What is the expected output? What do you see instead?
crashola.

What version of the product are you using? On what operating system?
1.1 on froyo

Please provide any additional information below.

Original issue reported on code.google.com by oldarney on 24 Jan 2011 at 1:32

apk wont install on CM6 (froyo)

What steps will reproduce the problem?
1. Try to install on CyanogenMod6 (which is Android 2.2 + root)
2. It fails with "Application not installed"

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 4: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.