Code Monkey home page Code Monkey logo

android-codepad's Introduction

Currently working on Slack. Read my blog or follow me on places @ZacSweers.

GitHub Activity

2024-06-26 — commented on #8 in ZacSweers/FieldSpottr

2024-06-26 — closed issue #8 on ZacSweers/FieldSpottr: "Show current time with red line"

2024-06-25 — closed issue #10 on ZacSweers/FieldSpottr: "Red-out permit blocks"

2024-06-25 — deleted branch z/errorBlocks on ZacSweers/FieldSpottr

2024-06-25 — merged PR #11 to ZacSweers/FieldSpottr: "Mark permit blocks in red"

2024-06-25 — opened PR #11 to ZacSweers/FieldSpottr: "Mark permit blocks in red"

2024-06-25 — created branch z/errorBlocks on ZacSweers/FieldSpottr

2024-06-25 — deleted branch renovate/ktor-monorepo on ZacSweers/FieldSpottr

2024-06-25 — merged PR #7 to ZacSweers/FieldSpottr: "Update ktor monorepo to v2.3.12"

2024-06-25 — opened issue #10 on ZacSweers/FieldSpottr: "Red-out permit blocks"

On My Blog

2024-05-06Preparing for K2

2024-01-03Life in 2024

2023-07-09Catching Up on CatchUp: 2023

2023-01-10Keeping Android and Kotlin Healthy in a Post-Twitter World

2022-12-19Improving Your Gradle Workflow by Not Auto-reloading Build Files

2022-11-30Android Studio's "I'm Feeling Lucky" Button

2022-11-22Network Calls in Lint: Best Practices

2022-10-17Is ViewPump A Security Risk?

2022-05-23You Are Not Blocked

2021-07-23Optimizing Your Kotlin Build

More on zacsweers.dev

Inspired by Simon Willison's auto-updating profile README.

android-codepad's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

android-codepad's Issues

"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:

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

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

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

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.