![]() |
#4036 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 852
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
delf
Code:
hg clone https://code.google.com/p/prs-plus.v2-0/ |
![]() |
![]() |
![]() |
#4037 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 962
Join Date: Jan 2013
Device: prs-950
|
|
![]() |
![]() |
![]() |
#4038 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 962
Join Date: Jan 2013
Device: prs-950
|
It's working
![]() Thanks for You help ![]() Will finish it... |
![]() |
![]() |
![]() |
#4039 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#4040 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 962
Join Date: Jan 2013
Device: prs-950
|
How can I play a .wav(or mp3) file?
|
![]() |
![]() |
![]() |
#4041 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#4042 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 962
Join Date: Jan 2013
Device: prs-950
|
Quote:
in Browse Folders, i can found only creation of Node for folders and files(also browsing function doOpenSongHere,oldPlaySongCallback,newDoGotoFirstS ong,..) How can i play sound file from Path? |
|
![]() |
![]() |
![]() |
#4043 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
It may be possible to do it directly, though it is unexplored territory. Here's some functions from the 650's kbook file (which should be pretty much the same as the 950's one): Code:
this.kbook.model.playSong = function (node) { var parent, i, c, model, view, indexs, menu, index; <global>.kbook.movieData.setData(null); if (this.currentSong) { this.currentSong.unlockPath(); } this.currentSong = node; node.lockPath(); this.SONG = node.media.title; this.ARTIST = node.media.artist; this.ALBUM = node.media.album; parent = node.parent; i = parent.shuffleList.getPlayIndex(parent.getIndex(node)) + 1; c = parent.length; this.SONG_INDEX_COUNT = i + 'fskin:/l/strings/STR_UI_PARTS_OF'.idToString() + c; this.container.sandbox.control = 1; this.container.sandbox.volumeVisibilityChanged(); node.media.load(node.cache, this, this.playSongCallback); this.changed(); model = <global>.kbook.model; view = null; indexs = null; if (model.STATE == 'MENU' && if (model.getCurrentDeleteNode() || model.editingNodeListFlag) {) { menu = this.container.findContent('MENU'); view = menu.sandbox.detailsView; indexs = view.getSelectedIndexs(); } <global>.kbook.menuData.changed(); while (indexs) { i = 0; while (i < indexs.length) { index = indexs[i]; view.setValueToCheckBox(index, true); i++; } } }; this.kbook.model.playSongCallback = function (data) { var art, value, firstSongStopFlag; if (!data) { return; } <global>.kbook.movieData.setData(data); if (this.resumeStartFlg) { <global>.kbook.movieData.setTime(this.currentSongPos); } this.resumeStartFlg = false; art = data.getMetaData('AlbumArt'); if (art) { try { art = new <global>.Bitmap(art, art.format); } catch (e) { art = null; } } <global>.kbook.artData.setData(art); this.setVolume(); value = this.container.getVariable('STANDBY_STATE'); firstSongStopFlag = this.container.getVariable('FIRST_SONG_STOP_FLAG'); if (value && !firstSongStopFlag) { <global>.kbook.movieData.start(); } }; |
|
![]() |
![]() |
![]() |
#4044 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 962
Join Date: Jan 2013
Device: prs-950
|
In any case great thanks
|
![]() |
![]() |
![]() |
#4045 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81
Karma: 26768
Join Date: Nov 2009
Location: Slovakia
Device: PRS-350 "PRS+"
|
Custom Dictionaries works very well.
THX Last edited by raiderkilo; 03-29-2013 at 02:17 PM. Reason: Find solution through google search |
![]() |
![]() |
![]() |
#4046 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hey everyone,
Just to alert you to the new app in the app repository: StudyWord, programmed by delf. Check it out in the Sim, on the second page of apps. Well done, delf. I think this app will be quite popular. A flashcard app was one of the feature requests the rest of us PRS+ developers never got around to! Sincerely, Ben. |
![]() |
![]() |
![]() |
#4047 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
Quote:
thanks |
|
![]() |
![]() |
![]() |
#4048 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
The app is for learning vocabulary in a second language. Currently, the app's dictionary is for a Russian speaker learning English. (But it also works for an English speaker learning Russian!) There are various levels. In level 1, the app displays a word and its translation. If the user knows this word, you can click the "check mark" icon (near the top left) and the word will not appear again. (You can reset this on the Settings dialog.) Otherwise, click the Next button. After a number of words have been shown, level 2 begins. There are two columns of buttons. The user should click one word on the left and the matching word on the right. Keep going until all words have been matched. This repeats with another batch of words. At some point, level 3 starts. Here, you have to type the matching word. I haven't gone beyond this point much, but there are other screens and word-matching activities as far as I can see. delf, please feel free to provide a fuller explanation! |
|
![]() |
![]() |
![]() |
#4049 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 962
Join Date: Jan 2013
Device: prs-950
|
The brief description
The program loads the block from 10 words and in the random order offers to execute for each of them one of exercises. The change from one exercise to another depends correct or not you have executed it (for each word). For the correct answer 3 points will be added to you, for incorrect will be subtracted 2. The detailed description the program loads the block from several words (default is 10, the meaning changes in 'Options\Levels'); for each word of the block the set of exercises is carried out; the exercises are assigned to sequence 6 levels (by a degree of difficulty); for the correctly executed exercise 3 numbers are added, the incorrect answer is fined (-2 points, the amounts of points can be changed in 'Settings'); the change from one exercise to another possible only on achievement the points limit (for each word). words from the block replace each other in the random order; the cycle of study of words in the block repeats so long as all words of the block do not become learned (will collect enough of points); the word can be excluded from study (is marked learned), pressing of the button (V), thus the new word will added in the block for study. Level1:On the screen the word card consisting of three parts: an learned word (1), a phonetic transcription (comment) (2) and translation (3). In this mode the cards "word-transcription-translation" will be presented for the first know of the word. Level2:Here is two columns: - the first column is studied words of the block; - the second is translations of words. You should mark the word from the left column and his translation from the right column. You will add points for the correct answer. You will lost points for the wrong answer. To choose a word it is possible having pressed above them the left button of the mouse, thus the specified word is selected. Repeated pressing on the selected word removes a choice. Pressing other word in the same column transfers a choice to the specified word. Level3:It is necessary to choose from seven variants of translation the correct one. Develops associative connection "word - translation". If your answer is correct, you will add points and program will show the following word. For the wrong answer you get penalty points. The incorrect answer is crossed out. Level4:The translation you should recall (on one's own). The exercise fixes association "word - translation". You can shows the correct answer (studied word). If you recalled the correct translation - press the button "Remember", if you did not recalled - press the button "Forgot". Exercise "Answer" - on the screen is shown the translation and the word is offered to be recollected. Level6:Translation of the studied word is shown on the screen. You must write the word in the field. The amount of letters in the studied word show on the screen. Having written your answer in the field, press the button "Compare". "Answer" show the studied word. |
![]() |
![]() |
![]() |
#4050 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 962
Join Date: Jan 2013
Device: prs-950
|
In the reader in the folder "words" have a file "word.dic". It contains a description of the dictionary in the format:
Original word; Transcription; Translation; for level 6, by default loaded English keyboard to type the words, but you can load any other language, listing all the letters in the file "lan.kbd". The name of the file as prescribed in the file "word.dic" before the description of the dictionary in the format: # lan For example: #eng word1; transcription1; translation1 word2; transcription2; translation2 word 3; transcription 3; translation 3 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using HD Folders as Collections on Sony PRS-505 | fglaysher | Calibre | 8 | 07-26-2010 09:55 PM |
Enhanced Firmware for V3 | keng2000 | HanLin eBook | 12 | 04-12-2010 09:30 AM |
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 70 | 02-18-2009 06:34 PM |
Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 23 | 12-08-2008 06:56 AM |
Sub folders in firmware v1.08 | Prince Hal | Amazon Kindle | 28 | 10-23-2008 03:20 PM |