LectureNotes app

Booze02

New member
Sep 18, 2010
1
0
0
musical staffs

Hello,

Excuse me for being off-topic.
I would like to use lecture notes for writing music sheets. I tried to create a custom paper pattern using the javascript explanation in one of those threads, but I didn't get, what I want.
My question is:
would be anyone so kind to deliver me the code to create musical staffs consisting of 5 lines and a space before the next 5 lines appear (going over the whole page).
Like this:

______________
______________
______________
______________
______________




_____________
_____________
_____________
_____________
_____________


Thanks,
Booze
 

35fan

Member
Sep 5, 2012
14
1
0
Great app

Two questions: I must be missing something obvious. Galaxy Note 10.1 w/ ES File Explorer and PDF Viewer.

I can't change directories for files. l want to change default location to the external card. I get an error message " Cannot create custom ZIP directory..." l can navigate to the file location on the external card using ES File explorer, so I know it exists.

When I try to import PDF as an image, I choose ES File Explorer and select PDF file, but nothing shows up in Lecture Notes. PDF Viewer is installed.
 
Last edited:

acadoid

Senior Member
Apr 29, 2012
1,554
752
133
www.acadoid.com
@Booze: Try something like

width = LN.getWidth();
height = LN.getHeight();
LN.setStrokeWidth(width / 1000);
left = 0.05 * width;
right = 0.95 * width;
minstep = 0.005 * height;
maxstep = 0.05 * height;
y = 0.05 * height;
while (y < 0.95 * height) {
LN.drawLine(left, y, right, y);
LN.drawLine(left, y + minstep, right, y + minstep);
LN.drawLine(left, y + 2 * minstep, right, y + 2 * minstep);
LN.drawLine(left, y + 3 * minstep, right, y + 3 * minstep);
LN.drawLine(left, y + 4 * minstep, right, y + 4 * minstep);
LN.drawLine(left, y, left, y + 4 * minstep);
LN.drawLine(right, y, right, y + 4 * minstep);
y += maxstep;
}

You might wish to adjust line width (0.1% of width), left (5% of width), right (95% of width), distance between lines (0.5% of height), and distance between blocks (5% of height).

@35fan: The error message `Cannot create custom ZIP directory´ indicates that either something is wrong with the ZIP directory that you entered or the app cannot write there (probably the former). Does the file name of the PDF file contain non-English characters? It seems that some file manager cause problems in this case. It is not entirely clear whether the problem is with the file manager or with the MuPDF library, but I will soon upload an update for PDFView based on the MuPDF library v1.1 (present PDFView is based on MuPDF v1.0), and I hope that the problem is gone afterwards.
 
  • Like
Reactions: 35fan

grimloktt

Senior Member
Dec 23, 2010
625
61
0
I can't change directories for files. l want to change default location to the external card. I get an error message " Cannot create custom ZIP directory..." l can navigate to the file location on the external card using ES File explorer, so I know it exists..
I have the same problem and don't understand what is the solution...
 
  • Like
Reactions: 35fan

acadoid

Senior Member
Apr 29, 2012
1,554
752
133
www.acadoid.com
@grimloktt: I am sorry to hear about the problem. The error message can have essentially two reasons, either the directory path that you entered is not writable by the app, or the respective file system is full. The app automatically creates all directories along the path, for instance when you enter /mnt/sdcard/this/is/a/simple/example (assuming that your SD card is at /mnt/sdcard) the whole path will be created, but if you enter /mn/sdcard/this/is/a/simple/example (assuming again that your SD card is at /mnt/sdcard), the app will (most likely) fail, as it cannot write in / and create /mn as a first step.
 

DiJu519

Member
Jul 17, 2012
21
4
0
(Emergency)feature request:


Importing pdf currently allows you to only bring in 1 page.

What would be AMAZING would be to have the ability to import an entire pdf at once, with each page being separately placed on a lecture notes page. That way I can annotate under it on the Imported pdf page on the lined portion.

This would be my friend and I ultimate solution for notes. It would also let me start takingnotes loooool.

Issue with any other pdf app is that there's no way to add a blank page for room to write notes. Lecture notes has the potential for that.

You could change the import pdf dialogue have a checkbox for the entire pdf. Then since the majority of pdfs all have the same sized page, you could allow for adjusting the size of one imported page to manipulate all the other imported pages(so it'd all look smooth).

Thanks man, I'm very close to purchase but I can't be importing my entire lecture page by page.

What would be also super sweet, and maybe a bit extra, is some logic regarding exporting pages to pdf which Don,t have any annotation. For this only the imported pdf would be exported, again its an extra idea would be cool.

Sent from my ThinkPad Tablet using xda app-developers app
 
Last edited:

acadoid

Senior Member
Apr 29, 2012
1,554
752
133
www.acadoid.com
@DiJu519: The app allows to import all pages of a PDF file at once. To do that, open your notebook in notebook overview (either by long-clicking on the notebook on the notebooks board and choosing `Notebook overview´ in the upcoming popup, or by open the notebook normally and choosing `Notebook overview´ in the main menu) and choose `Import PDF as new pages´ in the main menu. You can adjust resolution and margins in the app's input settings.

In notebook overview, you can also export a subset of pages to PDF by tagging them (click on the tag to activate tag mode and of the page(s)) and choose `Export tagged pages to PDF´.
 

35fan

Member
Sep 5, 2012
14
1
0
Do you guys use the free version? I had the same problem but it went way when I bought the app.
I'm using the paid version.

Where are the default file locations on the Note 10.1? I can't find a lecturenotes folder or the files using ES File Explorer.
 
Last edited:

acadoid

Senior Member
Apr 29, 2012
1,554
752
133
www.acadoid.com
@35fan: The app, PDF, and ZIP directories that are presently used by LectureNotes are given on the app's help page, there is a section `Storage´ close to the end. Note that an app restart is required for changes concerning these directories to take effect.
 
  • Like
Reactions: 35fan

jashan17

Member
Mar 4, 2011
8
0
0
The one thing that is setting me apart from buying the app is the lack of an "Enter" feature. Basically just a button that will skip to the next line and the leftmost edge every time it's hit. That would increase the speed of note taking by so much. Or if it is already in the app somewhere can someone point it out to me?
 

acadoid

Senior Member
Apr 29, 2012
1,554
752
133
www.acadoid.com
@jashan17: The `arrow´ icon performs this function. The icon is hidden by default and can be enabled in the settings, the step size can be adjusted in `handling´ settings (`Step sizes setup´). Note that you can also scroll using the volume keys of your device.
 

beginner

Senior Member
Nov 18, 2005
790
9
0
Read notes from a Windows pc

It is obvious you can open the png file created in the pda from a computer but is there any way to read directly the zip files? I read something about a camera application, what do you mean?

Thanks.
 

acadoid

Senior Member
Apr 29, 2012
1,554
752
133
www.acadoid.com
@beginner: To read your notes on a computer outside Android is probably best done by exporting your notes to PDF and viewing the PDF file. You can view the notebook pages PNGs, though, for instance using programs to display photographs.

A camera app is required to directly import images from camera into LectureNotes.
 

takeshi6000

New member
Sep 19, 2012
3
0
0
Crash Galore!

Hey everyone,

Running lecture notes on Lenovo think pad tablet and am receiving this message, "out of memory, trouble ahead" every time I write the equivalent of a page of notes requiring me to save and restart the app in order to avoid a crash and losing my unsaved notes. This has happened in the past but took much longer in between the error being displayed (sometimes it only showed when I selected a whole page and coppied it) but now it appears every 5 minutes or so. I want to know if ananyone has a solution?

I have tried the following,
-reinstalling the app
-deleting notebooks
-running with no background applications
-Changing the app directory and running a new notebook

I'm really stuck for ideas and am unsure why this error has come up. I can't take lecture notes like this! Lol. Also, My tablet doesn't do this for any other app besides lecture notes at the moment. Can anyone help me?

Casey
 

acadoid

Senior Member
Apr 29, 2012
1,554
752
133
www.acadoid.com
@takeshi6000: The message that you see refers to RAM, not SD card memory. RAM memory is a serious problem on Android devices, as Google's Dalvik Java virtual machine that executes apps on your device has unfortunately a severe memory leakage problem, see e.g. http://code.google.com/p/android/issues/detail?id=10821. The app tries to counteract this problem in various ways, for instance allocating memory only once and reusing it as much as it can, or giving memory explicitly back if reusing is not possible (even though this should actually not be necessary to do if the Java virtual machine was implemented properly), but, unfortunately, this strategy has limits. Hence, if you do a lot of operations for which memory is internally required, such as importing large images, cut/copy and paste of large areas in a page etc. the app will sooner or later run out of RAM memory. I am very sorry for this problem, but it is caused by Google's sloppy implementation of the Java virtual machine, and there is nothing I can do about this. In case you encounter an `out of memory´ message, please close the app and restart it, then the problem should be gone.

Are you using Android 3 or Android 4? I hoped that Google at least did some work on this problem in Android 4.
 

takeshi6000

New member
Sep 19, 2012
3
0
0
Thanks for your insight! I knew it was something to do with the RAM as I have 20 gig free on the tablet, but didn't know it was a core problem with the tablet's software :eek: It's just bizzare that it's doing it so frequently now. Before it was warning me once every few days and only when i would do enormous copy and paste jobs but now I get the same warning from a page of writing and i get a crash if i continue writing for another page. Any idea why it's gotten worse? And to answer your question it's currently running Android 4.

Once again, thank you.

Casey