I spent some time looking into the Nook2 device and have just got partial refresh working for FBReaderJ. And well, theoretically speaking we can get it work for anything as long as we have the source code.
Attached is my build of FBReader. You'll need to sign it and adb install it to your device. Some settings (turn off animation, colors...) will be necessary and bugs may exist as it's an early build.
----- Technical Details -----
There're two ways for Nook2 to determine which way to refresh:
1. Automatica - in an onDraw() session, if the sum of drawBitmap's Rect is larger than 50% of screen (the number's based on test, not so sure), go whole page refreshing
2. Manual - will have to choose the mode through JNI calls to Epson's e-ink library.
In the Nook2 release, somehow B&N didn't obfuscate the code, nor remove the tracing message, which makes analysis possible.
The screen-refreshing code of built-in reader lies in - /system/app/Reader.apk ->com.bn.reader.ui.ReadingViewSimpleMode
The JNI bridge java code is in - system/lib/framework.apk -> com.android.hardware.EpdController
There're three modes of screen-refreshing (with notions in EpdController.Wave)
DU/GU - Partial refresh
GC - Whole-page refresh
A2 - The built-in reader's magical fast-refreshing mode. Creates very little artifacts/ghosting.
Rest of the work's trivial. Used Java Reflection to re-encapsulate the Epd driver code and modified the FBReader ZLibrary.
Hope my work helps and encourages new ideas to come!
Could you share source code of your patch?
I'm going to add support of Nook Touch refresh settings to CoolReader app.
You know we have the source for the entire OS.
Actually A2 mode is not for fast page turns. It is intended for 1-bit animations - only black pixels are drawn. GL16 + ACTIVE mode is used for fast page turns and GL16 + ONESHOT_ALL is used for regular mode.
Yes you're right.... that was a misinterpretation for me before...
I'm currently in the office and I'll release the Epd source class tonight when I get back home. Now all Nook supported modes, GC, GU, GL16 and A2 are implemented.
I'm working on a Nook2 friendly launcher now and hopefully will have some results in couple of days.
NomadRunserver said:
Actually A2 mode is not for fast page turns. It is intended for 1-bit animations - only black pixels are drawn. GL16 + ACTIVE mode is used for fast page turns and GL16 + ONESHOT_ALL is used for regular mode.
Click to expand...
Click to collapse
Great news!
DairyKnight said:
Yes you're right.... that was a misinterpretation for me before...
I'm currently in the office and I'll release the Epd source class tonight when I get back home. Now all Nook supported modes, GC, GU, GL16 and A2 are implemented.
I'm working on a Nook2 friendly launcher now and hopefully will have some results in couple of days.
Click to expand...
Click to collapse
This is fantastic news! I can't wait to try out the results. Thank you in advance for your efforts!
Possibility of Game and Watch style games?
NomadRunserver said:
Actually A2 mode is not for fast page turns. It is intended for 1-bit animations - only black pixels are drawn. GL16 + ACTIVE mode is used for fast page turns and GL16 + ONESHOT_ALL is used for regular mode.
Click to expand...
Click to collapse
I wonder if it would be possible (and effective) to use the 1 bit animation mode to mimic the functionality of Game and Watch type games. As long as there is no scrolling (which would never happen on a segmented display) and if the imagery is small enough, the results might be very good!
Here's the Epd source as promised.
All modes should be there. Simplest way to use is putting:
setGL16Mode();
as the first line of your onDraw() listener.
DairyKnight
The current version FBReaderJ - 1.1.10 (more bugfixes).
Will make new patch?
It should be very straightforward. Only need to put one extra line in the source.
I'll try to contact geometers to see if it's possible to put a "Nook2 Mode" in the official FBReadeRJ release.
kaznelson said:
DairyKnight
The current version FBReaderJ - 1.1.10 (more bugfixes).
Will make new patch?
Click to expand...
Click to collapse
DairyKnight said:
Here's the Epd source as promised.
All modes should be there. Simplest way to use is putting:
setGL16Mode();
as the first line of your onDraw() listener.
Click to expand...
Click to collapse
Hello!
Can I use this code in my GPL app (e-book reader Cool Reader)?
DairyKnight
It is similar to calls, as in the version FBReaderJ for Spring Design Alex Reader?
github.com/geometer/FBReaderJ-alex/blob/master/src/org/geometerplus/android/fbreader/EPDView.java
PS: geometer's active thread about FBReaderJ:
4pda.ru/forum/index.php?showtopic=101249
Sure. Please move ahead.
I wrote the code in a rush and just realized that I didn't put in a Copyright note in it. So here it is - you're encouraged to use this piece of code for anything, either commercial or free, either close-sourced or open-sourced.
However, do put a line in your "About" section saying that you used a code from dairyknight ([email protected]). That's the only request from me.
Buggins said:
Hello!
Can I use this code in my GPL app (e-book reader Cool Reader)?
Click to expand...
Click to collapse
I don't think it's anything similar, unless they share the exact same vendor java driver code.
The 4PDA thread you provided is in Russian and unfortunately I don't understand a single word. If you can, get in touch with geometer and see what he thinks. I'll give all the assistance I can to get the official FBReaderJ working for Nook2.
kaznelson said:
DairyKnight
It is similar to calls, as in the version FBReaderJ for Spring Design Alex Reader?
github.com/geometer/FBReaderJ-alex/blob/master/src/org/geometerplus/android/fbreader/EPDView.java
PS: geometer's active thread about FBReaderJ:
4pda.ru/forum/index.php?showtopic=101249
Click to expand...
Click to collapse
DairyKnight
And I badly speak in english...
geometer e-mail:
geometer at fbreader dot org
www.fbreader.org/contacts.php
Arseny Shmartsev, CEO: [email protected]
Support: [email protected]
kaznelson said:
DairyKnight
geometer e-mail:
geometer at fbreader dot org
Click to expand...
Click to collapse
Nikolay Pultsin is main FBReader developer. Anybody can get in touch with him by supplied email, he understands and writes in english as well.
As another option... everyone can 'fork' fbreaderj main repositury on github, put patch in code, commit and make pull request to main code trunk.
DairyKnight, many thanks for your work!
There are some questions about your code.
I need to call setGL16Mode() for every page in GL16 mode, but A2 and DU modes required setting mode only once. I.e. if I skip setGL16Mode() before draw, device is fully refreshed. But how I can set "default mode" for DU, i.e?
Other issue is about same, but in other context - before calling "Setting Dialog" (or any other fullscreen dialog) I need to turn controller onto "default mode" - there are many artefacts on screen without this. With GL16 this is not question, but when selected DU or A2 mode... Temporarily I call setGL16Mode() - this is better then nothing.
Another question - NomadRunserver suggested GL16 + ACTIVE mode for fast page turns, but GL16 + ONESHOT_ALL in your code (in comments, if precise). This is better?
DairyKnight said:
Here's the Epd source as promised.
All modes should be there. Simplest way to use is putting:
setGL16Mode();
as the first line of your onDraw() listener.
Click to expand...
Click to collapse
update:
setGL16Mode() in DairyKnight code invokes GL16 + ONESHOT
other variants:
1 - ACTIVE
2 - ONESHOT
3 - CLEAR
4 - ACTIVE + ALL
5 - ONESHOT + ALL
6 - CLEAR + ALL
Modes 4, 5 and 6 are permanent, 1, 2, 3 - temporary.
CLEAR modes make full refresh.
I can't see much defferences between ONESHOT and ACTIVE, but last seems to be more clear. I preferred ACTIVE + ALL.
BTW, nook reader make full refresh on pages with images and next one. Wise decision, because partial refreshing lead to ghostings and artifacts in such cases.
DairyKnight said:
Sure. Please move ahead.
I wrote the code in a rush and just realized that I didn't put in a Copyright note in it. So here it is - you're encouraged to use this piece of code for anything, either commercial or free, either close-sourced or open-sourced.
However, do put a line in your "About" section saying that you used a code from dairyknight ([email protected]). That's the only request from me.
Click to expand...
Click to collapse
EPD settings for Nook Touch added to CoolReader
(thanks to a_lone)
Can be downloaded from sourceforge (crengine project). Can't publish link - antispam protection.
Your name is in about/third party, source code and git change history
CoolReader apk is attached.
Could you please post the build of fbreader with full page refresh? I'm rather new to Android development, and I'm not familiar with fbreader source; trying to figure out how to plug in N2EpdController into fbreader would take me a long time. Thanks!
Related
Run this app in the background to use the G-Sensor as a DPad. Seems to work with cursor (in word etc) and, start menu, list boxes etc.
Comments/feedback appreciated (but please remember it is a work in progress!)
Version History
Added sample full config with descriptions
Added <VK_DPAD> option in config xml to increase compatibility.
Version 0.9:-
Bug fix to tilt logic
Added more override options for individual applications (e.g. MaxX/Y, DeadZoneX/Y)
Uploaded XSD for config file (contains some documentation)
Version 0.8:-
Added hardware key toggle to config file
Version 0.7:-
Moved all settings into config file
Improved UI
New "Switch" mode added
New "KeySend" methods added (SendMessage & KeybdEvent)
Version 0.6:-
Minor bug fix
Version 0.5:-
New config file format, to support...
Acceleration mode!
Version 0.4:-
Better matching of exe names (oops!)
Version 0.3:-
Allowed list now works from exe name (rather than window title)
Version 0.2:-
Config file
Proportional directions
Non-flat center/neutral point (config - CenterX/CenterY)
"Dead Zone" (config - Threshold)
Restriction by program (config - Application)
Have a play and let me know your thoughts.
I'll give her a look see --- not happy with the virtual SIP solution I've been trying to code. I was wondering if I could detect a hardware key (like the back arrow) and then use the g_sensor for scrolling if and only if that button was being held. That way apps aready using the g-sensor could continue to use it and users could have greater control over what was scrolled and when. Since you already have taken this this far I throw the idea your way to run with it if you want to... if not that is fine too.
Blessings my friend in the new year!
PS-If you want to collaborate in coding send me a PM
Seems to work as intended... The single-hardware button "hold to enable - release to disable" would make this a real solution... Are use using Dutta's Unified Sensor API "My Brain Hurts website"?
Good work so far
how do you install this??
Excellent !!
exactly what I was looking for, great job!
I'll test it in some games unusable without d-pad and report.
thanks !
patterns said:
how do you install this??
Click to expand...
Click to collapse
I copied the files to my SD card and ran the exe... switching to another application then uses g-sensor as directional arrows... stopping EXE kills behavior... at least that's what worked for me
I tried it out and this seems promising. Below are some things I would like to see added to make this truly useful.
1. You do not want to have it active all the time so you need an easy ability to activate/deactivate it as already stated above. Either by pressing and holding a hardware button or by pressing and holding a certain area/corner of the screen.
2. When I hold the phone in my hand the neutral position is almost never the completely flat position. I think the position of the phone when you activate it according to 1. above should be taken as the neutral position. Any relative movements from that position should then be interpreted as left,right,up and down.
3. Make the speed of the scrolling configarable.
4. Make the speed of the scrolling proportional to the movement from the neutral position. If I move only slightly from the neutral position it should scroll slowly and if I move it a lot it should scroll faster.
5. A per application filter would also be really useful. For each application you should be able to specify ig G-Pad is active always, never or when activated according to 1. above. The default for unlisted applications should be to activate it according to 1. above.
Don't hesitate to ask if you have any questions regarding my suggestions. I don't think any of them should be really hard to implement.
Keep up the good work. I look forward to the next version of this.
Wow, so many responses! Like I said initially, its a work in progress. On the "ToDo" list is :-
1. Config File!
* Threshold setting (how much to tilt before registering
* Center (i.e. what angle is neutral instead of flat)
* Application list
2. Proportional control
I'll add the other suggestions to my list.
Cheers
Great work! The most wanted for me is the possibility to map it to a button, so by pressing the button your program is enabled, by pressing it once again, it is disabled again.
Another idea would be that it is just enabled while you are pressing the button, whereas it is disabled when you are not pressing the specified button.
But its up to you .
johnpatcher said:
Another idea would be that it is just enabled while you are pressing the button, whereas it is disabled when you are not pressing the specified button.
Click to expand...
Click to collapse
This makes the most sense to me, browsing lists for instance would be so much more practical.
Keep up the excellent efforts!
1.)How is this virtual d-pad different of GController ?
2.) Can you move the map in Age of Empires 1,25 with this ?
excellent idea and a very promising start. thank you and Happy New Year!
this thread belongs to the "themes, applications and software". i'll try to persuade one of the mods.
Wolfenzi said:
1.)How is this virtual d-pad different of GController ?
Click to expand...
Click to collapse
Thats written for the Diamond (not 100% on HD) and development has stopped
Wolfenzi said:
2.) Can you move the map in Age of Empires 1,25 with this ?
Click to expand...
Click to collapse
No idea! I dont have AoE so once its up and running properly (its still in very early alpha!) I'll ask people to post compatible & incompatible apps.
Looks really promising! Seems to work pretty nicely. I think the two main things I would like would be similiar to what people already asked:
- An easy way to toggle it on\off rather than running the application and killing it.
- A way to calibrate the sensitivity threshold. It reacts rather quickly now.
Good job!
Ideas
I've been thinking about this more... if you allowed a program button like the BACK ARROW to temporarily activate when pressed, read current orientation and then applied scrolled based on the orientation delta from the initial orientation and then disabled scrooling once the BACK ARROW was released. This would solve the "Gee its not flat" problem and the enable/disable issue. Other configurable options might include as noted above -- changing g-sensor sensitivity; limiting scroll direction (N-S or E-W)
Can't wait to see your next version... I've suspended work on my v-DPad because i think yours will be the better solution
Has anyone tried this on a Touch Pro, i might do it right now and get back to you guys
EDIT: Well I just tried this on my Touch Pro and it works prefect, but it would be awesome if there was a way to disable it when using TF3D because you have to have the phone perfectly flat or it will move around on the tabs, or maybe make settings for it to disable in some programs
Very nice app, I will keep my eye on this one, Thanks!
Very nice!
I think this is the perfect solution as it allows to control everything with the GSensor. Too bad GController development has beed stopped, I hope this will be the perfect successor.
Great job!
This is really great work and has a lot of potential.
Let's wait for a more "finished" version.
thanks
It's so amazing good job
Work in PocketGBA (GBA emulator)?
Does this app work in PocketGBA?
Can't play GBA games on my mobile now since i upgrade my phone to HD as PocketGBA require hardware buttons for directions control.
GBA on Morphgear is just too slow with the sound on
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
I just slightly modified the original code and added a few (probably useful but not sure ) services.
App interface is very simple: run application, focus on barcode, and wait until code is recognized. Touch handset screen to run recognition again.
Buttons description:
- "Save" saves captured barcode to jpeg;
- "Bing" and "Google" used for barcode web lookup (probably this part needs more work)
- "Mail" and "SMS" used for sending recognized code text.
Enjoy!
UPDATE 1: v 1.1, auto focus added;
UPDATE 2: v 1.2, orientation-less UI added, project moved to opensource at googlecode: http://code.google.com/p/barcodescan/
UPDATE 3: v 1.2.1, slightly changed autofocus logic, now works better on HTC. Download link: http://barcodescan.googlecode.com/files/BarcodeScanner.xap
UPDATE 4: v 1.2.2
- barcode search improved;
- added HTC detection, changes in autofocus logic;
http://barcodescan.googlecode.com/files/BarcodeScanner_1.2.2.xap
Is this a marketplace app?
sensboston said:
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
I just slightly modified the original code and added a few (probably useful but not sure ) services.
App interface is very simple: run application, focus on barcode, and wait until code is recognized. Touch handset screen to run recognition again.
Buttons description:
- "Save" saves captured barcode to jpeg;
- "Bing" and "Google" used for barcode web lookup (probably this part needs more work)
- "Mail" and "SMS" used for sending recognized code text.
Enjoy!
Click to expand...
Click to collapse
I can't seem to get it to do anything. It says 'Scanning...' and I'm trying different distances to codes, but nothing ever happens. Any pointers?
Is this limited to any country or is it just reading out what the barcode says?
OK, lets go through step by step:
- it's not a marketplace app and have no chance to be published 'cause it uses undocumented camera API; you should download and unpack attachment and sideload the app;
- if you can't capture the barcode, try better lighting. Also, move a handset to autofocus camera. In my tests the scanner captured 100% of barcodes: from books, computer part boxes, foodstuff...
- it's not limited to US 'cause (I believe) the barcodes are international. And yes, it's just reads the barcode; however you may bing or google results, in the most cases search engines able to find product/book description or specifications.
It's a very basic scanner; if someone can recommend online API/service to parse barcode value, I can add it to the program (but I really do not want to spend much time for this)
It technically works but the issue is lack of AF or Macro access.
On my Focus, it only works if I scan a barcode off of my PC (do an image search for one) --then it's super fast and quick.
Books, CDs, etc. do not work, regardless of lighting or distance--I suspect because the camera is not trying to AF. Any work around to that?
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
sensboston said:
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
Click to expand...
Click to collapse
Boom.
Working great on Focus now. Nice job. Think I'll try an LG next... bwahaha
As far as changes, no none right now. I'm sure what other apps use for barcode price comparisons--but perhaps a tie into Amazon or eBay would be good. Too bad you can't just jack into ShopSavvy's system with it, lol. If I think of any, will post back.
Edit: Working on LG Quantum too!
sensboston said:
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
Click to expand...
Click to collapse
hmm, 1.0 wasn't upside down, but 1.1 is upside down on my Focus. Anyone else see this?
davux said:
hmm, 1.0 wasn't upside down, but 1.1 is upside down on my Focus. Anyone else see this?
Click to expand...
Click to collapse
Nope. Fine on my Focus. It does work with accelerometer, you sure that isn't it?
Works well on my HD7! Great job! Hopefully it will tie in with Amazon and save previous searches within the app etc
sensboston said:
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
Enjoy!
UPDATE: v 1.1, auto focus added;
Click to expand...
Click to collapse
Do you have any interest in releasing the source? I may have some time to improve upon this a bit, but I'd rather not start from scratch (or step on any toes re-creating virtually the same thing).
malatesta said:
Nope. Fine on my Focus. It does work with accelerometer, you sure that isn't it?
Click to expand...
Click to collapse
Good call, I was holding it strangely every time I opened it before. It works great.
davux said:
Do you have any interest in releasing the source? I may have some time to improve upon this a bit, but I'd rather not start from scratch (or step on any toes re-creating virtually the same thing).
Click to expand...
Click to collapse
Why not? I'm really do not have time for that project...
Here we are: http://code.google.com/p/barcodescan/
Send me a PM with your gmail and I'll add you to the project contributors. Do not forget comment each commit, increment solution version and promptly build community release (and upload xap to the project's download page!) - and you allset
BTW, there are many things to improve: better UI (completely orientation-less), additional functionality - commit found barcodes to database etc. etc. etc.
Please review and follow these rules, it appears you aren't following them, you most likely aren't following the template. So fix it quick . It is not a harsh criticism, it is just for consistency and better for the user. PM me for help or support!
If this post is here and your thread is closed, it means that you aren't following them and your intentions are for gain only.
~~Tito~~
problem htc hd7
how do i copy this scanner programme to my htc hd7
i really hate this phone i had a htc touch pro 2 and it was far better can someone help me out here and also if some one can teach me how to customize personal ringtone would be great
Thx for the code. Really usefull to learn from this
Sometimes when you scan a barcode and touch the screen to start again. After a few seconds it stops and shows the last barcode again.
It looks like the UI thread is catching up scanning some images. How to get rid of this?
ajhvdb said:
It looks like the UI thread is catching up scanning some images. How to get rid of this?
Click to expand...
Click to collapse
Sorry, I don't have a time for that application now but it should be significantly refactored.If you want you may join the project and continue development, we can share some ideas for app improvement etc.
As for problem u described, you should play with the different capture resolutions or give some hardcoded "pause" to recognition library Also, MS camera API (still not officially allowed) is not documented and very poor... However it's a great field for experiments and hacks
Thanks! That works great on my HD7.
~~Tito~~ said:
Please review and follow these rules, it appears you aren't following them, you most likely aren't following the template. So fix it quick . It is not a harsh criticism, it is just for consistency and better for the user. PM me for help or support!
If this post is here and your thread is closed, it means that you aren't following them and your intentions are for gain only.
~~Tito~~
Click to expand...
Click to collapse
Please follow up on this!
sensboston said:
Sorry, I don't have a time for that application now but it should be significantly refactored.
Click to expand...
Click to collapse
Im not that experienced in multiple threads. Do you think the problem is in the Zxing lib?
Looking at the code the Zxing lib should have a completed event from which you can restart or show the image.
This code works but is racing and racing in the UI thread and after finding a barcode and restarting it looks like something from a buffer is used..
Code:
private void GrabFrame()
{
Dispatcher.BeginInvoke(() =>
{
if (_Camera != null && CameraVisualizer.Visibility == Visibility.Visible)
{
WriteableBitmap wb = new WriteableBitmap(640, 480);
_Camera.GetCurrentFrame(wb);
wb.Invalidate();
ScanBarcode(wb);
wb.DisposeIfPossible();
GrabFrame();
}
});
}
Currently doing a total rewrite of this, and it's also renamed to izPassKeeper !
The development progressed and ended up in a Windows Phone 8 app, PassPro
izPassKeeper
General Info - This post
Changelog - Second post
Screenshots - Third post
Coming features - Fourth post
Credits and references - Fifth post
Latest Version: 1.0.511.536 (DOWNLOAD)
Description:
This is a simple app for storing usernames, passwords, links and descriptions for various accounts.
You have the option to have the passwords encrypted.
Other info:
This app might be sold to a corporation later on.
I had my first meeting with the corporation and they wanted me to get some feedback, so here I'll post the XAP for you XDA members.
Try it out and return with some feedback and suggestions.
Please like the Facebook page
Regards!
Izaac
Changelog
Changelog
1.0.511.536 - 2001-12-10 (↓)
Removed the forgotten build date test that didn't work xD
1.0.509.1813 - 2011-12-08 (↓)
Some bugfixes and some new features:
Fixed the add page
Added copy function for Username/Password and Description (single tap or in appbar)
Links now open in default browser
Changed versioning to standard .NET.
1.0.0.0 - 2011-12-04 (↓)
First public release
Screenshots
Screenshots
Coming features
Coming features
Syncing information to a secure server
Password required for decryption
Encryption for selected items only
Customizing the list items
Edit account information
Credits and references
Credits and references
Credits
HTC - for this fantastic device !
Microsoft - an awesome platform and an awesome IDE
XDA-Developers - being a place to learn and publish a lot of stuff ! The only forum for me !
Click to expand...
Click to collapse
References
MSDN (AesManaged, XML, IsolatedStorage)
Click to expand...
Click to collapse
Good application but needs some improvement
Application is useful..however the text field is somewhat small in size. Also, I am unable to scroll down to 'description' and 'password' field is easily...
Have a look at the screenshot. I am using HTC Mozart
Also you will need to allow to copy the password or the account name e.g. twitter handle
withwindows said:
Application is useful..however the text field is somewhat small in size. Also, I am unable to scroll down to 'description' and 'password' field is easily...
Have a look at the screenshot. I am using HTC Mozart
Click to expand...
Click to collapse
Thanks for the info. I'll look into it and fix it
wpxbox said:
Also you will need to allow to copy the password or the account name e.g. twitter handle
Click to expand...
Click to collapse
That's being added to the list Never thought of that actually Great idea (Y)
1) Also the text box should be bigger so I can See what is getting typed in.
2) I should be able to edit it.
3 ) When pushing the encrypt button the app exists on me.
You should provide an option to have a 'master password' kind of thing. This will keep our encrypted data safe from others. Decrypt option can be used to access all the sensitive information like password, site.
See youtube video link for better idea http://www.youtube.com/watch?v=HZyEslVBVCE&hd=1
IzaacJ said:
Thanks for the info. I'll look into it and fix it
That's being added to the list Never thought of that actually Great idea (Y)
Click to expand...
Click to collapse
withwindows said:
You should provide an option to have a 'master password' kind of thing. This will keep our encrypted data safe from others. Decrypt option can be used to access all the sensitive information like password, site.
See youtube video link for better idea http://www.youtube.com/watch?v=HZyEslVBVCE&hd=1
Click to expand...
Click to collapse
A masterkey is already being worked on, and it will also affect the cryptation of the data.
I will hopefully release a new version today with:
Site URI clickable and opens in Webbrowser
Able to copy Username/Password/description
Add accound page fixed
Looks nice. But I have one question, can I import passwords database in kdb format (create on PC using KeePassX)? When not are you plan to make this function?
EDIT
Ups, didn't see that is for WP7.
Cool. I shall wait for the new version..I will post the video as soon as I get my hands on the new version. Ability to open link in the new browser, masterkey, ability to copy-paste will definitely make this application much more useful.Al the best.
withwindows said:
Cool. I shall wait for the new version..I will post the video as soon as I get my hands on the new version. Ability to open link in the new browser, masterkey, ability to copy-paste will definitely make this application much more useful.Al the best.
Click to expand...
Click to collapse
Just posted the update
EDIT: Just added a new version which removes the build date thingies in the about page that I forgot to remove
Soo, no comments on the updated version?
This will be posted on wAppStore, just waiting for confirmation
Rewriting this from scratch ! Doing some changes on the basic workings and a major graphical overhaul
Hi @ all
As already mentioned in the "3rd party ir app" thread, I'm working on a TV-B-GONE like app for the HTC One.
The app should be capable to:
• Sync tv-off-codes with an online database
• Send all known (in database) codes out through IR blaster
• Learn an off code and upload to database for other users
All these features maybe already work, but I can't test it as I don’t have my HTC ONE yet!
So if you wanna try, download it from and here and give me some feedback in the thread
• There is a good chance that the app doesn’t even start – I can't test any of the IR blaster related functions! – That’s why I need you until I get my phone :laugh:
• The app sends bug reports to me using bugsense – you can disable this feature in the options if you don't want to send reports! If you disable and get an force close -> please send me the logcat
• The database view is not fully implemented, you can list vendors and search for models but if you click on vendor / model nothing will happen
• Database sync on startup can be disabled in settings
• The Database is EMPTY now(except of one vendor), so don’t wonder if nothings getting synced
Used permissions:
• INTERNET -> For online syncing
• ACCESS_NETWORK_STATE -> To pre-check if sync is possible (not in flight mode)
Future:
• Making the app fully work.
• Making a universal remote app with database sync. So any user can scan his codes (not only power off codes), tag them, create remote layouts, upload schemes for a device, etc. Usable for any IR device (tv, hifi, Roomba, etc)
Changelog
(04.05.2013) Version 0.5:
• old IR blaster control
• send code when click on model name in model search box
(03.05.2013) Version 0.5:
• debug toasts
• new IR blaster control
• send all codes on main thread
(03.05.2013) Version 0.4:
• Bugfix where local recorded codes were not sent out
• Removed test buttons
• Learn-Timeout can be adjust in app settings
(03.05.2013) Version 0.3:
• New Send command used, maybe works now with "all off"
• Some test buttons to debug
(02.05.2013) Version 0.2:
• New Code format (sorry, had to purge the whole database). Old Version will not work anymore.
• Some Bugfixes
• Update check on startup
Download link of version 0.6
http://goo.gl/sjXzi
I'll take the plunge
Will let you know how it goes.
Theres already a new entry for a "dreambox" so recording codes (can) work.
Thx for trying!
antifish said:
Theres already a new entry for a "dreambox" so recording codes (can) work.
Thx for trying!
Click to expand...
Click to collapse
Ok. So given her a spin.
nothing happened lol.
installed fine. I have a LG tv and a virgin TiVo digital box (made by Cisco)
when you go to the search box, enter just moves down to the next line. it doesn't "enter" if that makes sense.
See attached pics anyway.
Hope it helps.
Thanks for the info.
That was excepted - you see vendors "sony" (dummy vendor by me) and vendor "" (empty, ill catch that in the next version) which someone who uploaded a code for a dreambox. As mentioned before, database view is not fully implemeted, you only see vendors ("Sony" and "") and models("dreambox") which other ussrr uploaded until now. Please try recording an offcode for one of your devices
Cool.
Sorry, I must of originally miss understood. Thought you had just added Dreambox to the list of others.
Ill keep an eye out for when you add LG on there
Keep up the good work though. What exactly is the end purpose of the app?
From what I can see, it would be a perfect app for me to prank friends and family whilst at home messing with the TV "quickly" instead of going through setting up the tv first.
:victory:
Downloaded.
Was going to try with the TV at my office but its LG also.
Ill test at home with a Samsung and a Panny.
Hi and thanks for this app, i was able to learn 2 codes, it turned off my TVs when using "Test Code (ir)" button before uploading, but once uploaded (the Panasonic one and a Samsung one are mines) i can't use "all off!" command, i'm still stuck at "Sending codes : 4/10" and then it FC ...
Maybe you could add a tool to try code from database (when pushing on a brand name, sending all codes for this brand) and to avoid duplicates ...
ps : sorry for my english
snowblind2142 said:
Cool.
Sorry, I must of originally miss understood. Thought you had just added Dreambox to the list of others.
Ill keep an eye out for when you add LG on there
Keep up the good work though. What exactly is the end purpose of the app?
From what I can see, it would be a perfect app for me to prank friends and family whilst at home messing with the TV "quickly" instead of going through setting up the tv first.
:victory:
Click to expand...
Click to collapse
michael.s.under said:
Downloaded.
Was going to try with the TV at my office but its LG also.
Ill test at home with a Samsung and a Panny.
Click to expand...
Click to collapse
scarabe17 said:
Hi and thanks for this app, i was able to learn 2 codes, it turned off my TVs when using "Test Code (ir)" button before uploading, but once uploaded (the Panasonic one and a Samsung one are mines) i can't use "all off!" command, i'm still stuck at "Sending codes : 4/10" and then it FC ...
Maybe you could add a tool to try code from database (when pushing on a brand name, sending all codes for this brand) and to avoid duplicates ...
ps : sorry for my english
Click to expand...
Click to collapse
Thanks guys for downloading and testing.
I think there is a little misunderstanding here -> i dont add vendors or devices or codes (at least not until i get my HTC ONE finally).
Its you, the useres, which upload codes. If you enter a model or a vendor which is unknown for the database, it will be created and then usable for everybody else.
@scarabe17
Thanks for the feedback. The force closes is becasue there are some wrong ir codes (data is invalid) in the database from failed uploads. will be fixed in the next version.
I have a lot of ideas what to implement in the app, and as mentioned before, the "tv-b-gone" functionalty (send all known off-codes) will be only a "special function".
The end purpose is an universal IR remote app, with community driven code uploads for all kind of devices and codes (not only power off).
There will be a "layout editor" where you can create your own layout with custom buttoms mapped to custom functions, and you will can share that with other users.
regards
antifish
This will be something cool
Please note, there is version 0.2 now!
Dont use 0.1 anymore, new codes will not work and upload will not be possible!
I had to purge the whole database (sorry to you who already uploaded a code) the format in database was a bad choice.
(details: i used java objectwriterstream to serialize the IR data, and if HTC will change something in that class it cant be serialized back without some trouble, so i changed to a json format)
also there should (hopefully) be less force closses.
and there is a check for updates, so you will notice when i upload the next version
uploaded my panasoic tv model
would be nice here to keep an update of model list cause apps, only show sony.
Also you should add a Vol + button cause at the end its more annoying in shops to set volume to the max than turn tv off
nocomp said:
uploaded my panasoic tv model
would be nice here to keep an update of model list cause apps, only show sony.
Also you should add a Vol + button cause at the end its more annoying in shops to set volume to the max than turn tv off
Click to expand...
Click to collapse
Thanks for the upload!
Can you please sync the database (with the sync icon in the actionbar). At least the Panasonic should apper now, as you uploaded it!
(Sony + Pansonic are the only two venors in the database now)
db synced, model showing, but not working.
you should apply for htc ir api for get codes, cause if you fill the db only with ppl having a htc one member of xda, i doubt you ll reach 50 models
Tried to learn my LG Remote. Got 3 different error-messages.
"Out of Frequ"
"Timeout"
and something with "Pulse"
nocomp said:
db synced, model showing, but not working.
you should apply for htc ir api for get codes, cause if you fill the db only with ppl having a htc one member of xda, i doubt you ll reach 50 models
Click to expand...
Click to collapse
what do you mean with "not working"? The database view actually does nothing when clicking on a model or vendor, thats not integrated yet. The only thing which should happen is that when you press "all off" it should turn off your tv :fingers-crossed:
I have the HTC IR API but it does not provide access to the integrated code database (or i don't know how). I'll decompile a ROM to look after the codes when i have time, maybe i find something! Its no easy to try these things as i dont have a HTC ONE at the moment (still waiting)...
I hope that the next HTC models will all have the IR blaster integrated! And when the app is ready i hope that it gets more response and codes in the play store.
When i got time and be in the mood i'll have a look at the galaxy S4, as it have an IR blaster integrated too, and it would be nice to have an app that support every pontetial model.
s60mike said:
Tried to learn my LG Remote. Got 3 different error-messages.
"Out of Frequ"
"Timeout"
and something with "Pulse"
Click to expand...
Click to collapse
how often did you tried to learn the code?
I'll make the timeout variable in the next version.
Maybe it works better in a darker room?
Ola, lemme know if i can help
When i say not working, it means my tv doesnt turn off
Envoyé depuis mon HTC One avec Tapatalk
nocomp said:
Ola, lemme know if i can help
When i say not working, it means my tv doesnt turn off
Envoyé depuis mon HTC One avec Tapatalk
Click to expand...
Click to collapse
Okay, maybe the data is corrupt (in the database), the scanning of the IR code is not as good on the ONE
as desired, or there is a bug in sending the codes.
Can you please learn the code 2..3 times again? I'll can compare the data then and see if the scanned data is
always the same
Oki i ll try
Envoyé depuis mon HTC One avec Tapatalk
Some people over at the fairphone.com forum reported a "sensitive" screen. They try to tap on a button (or link) and instead of triggering the button the fairphone starts scrolling. My fairphone also shows this behavior and I tried to find out why. Well, after trying for some time I realized that the shorter I tap on the screen the more likely it happens in a swipe/scroll.
So I enabled the "pointer position" option within the developer tools and shot two screen shots. In the first screenshot I tap for round about 500ms whereas in the second screenshot I tried to tap as short a possible. Like you would click with mouse. It show the error pretty obvious. Any ideas how to adjust that?
Hello
I noticed exactly this behaviour on my Fairphone, too.
That's why I started a thread on the official Fairphone website 22 days ago.
I'm not allowed to post direct links here, so I can give you only the head line here:
"Hyper-sensitive-touchscreen"
And on german Fairphone Freunde forum there's also a thread about this problem
Key-Word:
"Empfindlichkeit-des-Touchscreen"
So far, there is not very much response on these threads, but it seems that not all the handsets are affected, because not all of the answers confirmed the problems. One of the guys on fairphone website sent a request to the support team, a few days ago. Maybe he can forward the answer he gets... I'll ask him in his own fairphone thread - "Sensibility-and-reboots"
Unfortunately my phone broke after just one day, so I'm waiting for a replacement now and can't really offer a solution here...
But during the few hours, my phone worked, I entered the engineering mode (by typing *#*#3646633#*#* in the standard dialler app) and there were many options to manipulate the tuochscreen.
Maybe the more experienced guys here in the forum can work out a solution to solve the problem?!
Thank you in advance!
I have the same "hypersensitive screen" issue
Before I was used to briefly and lightly tapping/touching the screen, but with my Fairphone that often gives a scroll signal.
My developer crosshair option shows short lines, the touchpanel behaves as if I first tapped a few centimers away and then a split second later it registers where I actually touched the screen.
I had to learn to firmly tap and hold, otherwise I couldn't select anything on the screen.
It seems a sofware patch for the touchpanel is needed.
-----------------------------------------------
Fairphone FP1
Caju (v.1.1)
Touchscreen settings
I am copying this from the Fairphone forum, for future reference:
My settings, as copied from engineering mode:
tpd_em_log = 0
tpd_em_log_to_fs = 0
tpd_em_sample_cnt = 16
tpd_em_auto_time_interval = 10
tpd_em_pressure_threshold = 0
tpd_em_debounce_time = 0
tpd_em_debounce_time0 = 1
tpd_em_debounce_time1 = 4
tpd_em_spl_num = 1
tpd_em_asamp = 1
NOTE: Do NOT change any of the values (in this case, under Settings). I do not know what they do, really, and how your device might react! I just report mine, for your comparison.
Just FTR, my device works fine!
Any values different from yours? Then I would suggest reporting the issue to FP while including the link to our discussion here, and on the Fairphone forum. If we can narrow down the source of the problem to be caused by some settings, and not your environment or your specific devices hardware malfunctioning, @benkxda could report this to FP in his next mail.
boondiordna said:
I am copying this from the Fairphone forum, for future reference:
My settings, as copied from engineering mode:
tpd_em_log = 0
tpd_em_log_to_fs = 0
tpd_em_sample_cnt = 16
tpd_em_auto_time_interval = 10
tpd_em_pressure_threshold = 0
tpd_em_debounce_time = 0
tpd_em_debounce_time0 = 1
tpd_em_debounce_time1 = 4
tpd_em_spl_num = 1
tpd_em_asamp = 1
NOTE: Do NOT change any of the values (in this case, under Settings). I do not know what they do, really, and how your device might react! I just report mine, for your comparison.
Just FTR, my device works fine!
Any values different from yours? Then I would suggest reporting the issue to FP while including the link to our discussion here, and on the Fairphone forum. If we can narrow down the source of the problem to be caused by some settings, and not your environment or your specific devices hardware malfunctioning, @benkxda could report this to FP in his next mail.
Click to expand...
Click to collapse
I already put a link on fairphone.com to this XDA thread. Thanks for telling! Well, my settings looks identical to yours. I also played around with them. I have no idea if touch screens nowadays need deboucing or sth like that. So I changed these settings a bit...without improvement though. I am also wondering what tpd_em_log is. It is put to 0. I put it to 1 hoping there is some log written somewhere....but i could not find where unfortunately.
Hey there,
I have the same problem and no solution. But here is my input on that issue. Maybe it helps Fairphone when they investigate that issue, maybe not.
hanzano said:
Well, after trying for some time I realized that the shorter I tap on the screen the more likely it happens in a swipe/scroll.
Click to expand...
Click to collapse
I realized the same thing. BUT in addition, I figured out that it has also something to do with how soft you touch. If I try and touch my screen very very gently, I can reconstruct that behaviour every time. If I press a bit harder, it works better.
I attached a screenshot where I did soft touches, and you see a lot of wiggeling especially in the botom row
Yesterday I was annoyed by this issue. I was a bit in a hurry and the Fairphone touchscreen did not react properly
So I just debugged in Android Studio and this is what I logged:
Code:
12:07:48.874 MotionEvent.ACTION_DOWN: 300.44363, 485.4943
12:07:48.886 MotionEvent.ACTION_MOVE: 293.13342, 499.09888
12:07:48.901 MotionEvent.ACTION_MOVE: 293.45657, 497.48178
...
12:07:49.168 MotionEvent.ACTION_MOVE: 293.45657, 497.48178
12:07:49.183 MotionEvent.ACTION_MOVE: 291.2037, 497.48178
12:07:49.198 MotionEvent.ACTION_MOVE: 290.46213, 497.48178
...
12:07:49.403 MotionEvent.ACTION_MOVE: 290.46213, 497.48178
12:07:49.406 MotionEvent.ACTION_UP: 290.46213, 497.48178
12:07:49.406 event.getDownTime: 566
I tapped for 566ms. Pretty obvious that from ACTION_DOWN to the first ACTION_MOVE there is a big delta of ~14px (is it really pixel?) in y-direction.
Hey there,
probably this does not help anyone, but just for the sake of documentation: due to my headphone-jack issue, my fairphone got replaced by a new one. Now it seems that my sensitive screen issue is gone.
I don't know about how many sources you guys have, but if you have the kernel sources, someone could try to implement a filter (and enable debugging logs in the kmsg ofc) so touches under 400ms (just a value for explanation) are only getting registered as touches, but not as movements. However, this could also have some downsides (pretty fast swipes for example), therefore a sysfs option would be a nice idea
But this would at least be a workaround.
Hyst said:
Hey there,
probably this does not help anyone, but just for the sake of documentation: due to my headphone-jack issue, my fairphone got replaced by a new one. Now it seems that my sensitive screen issue is gone.
Click to expand...
Click to collapse
Hmm, ok.Would you mind doing another sreenshot like you did already? Just in order to see the difference.
laufersteppenwolf said:
I don't know about how many sources you guys have, but if you have the kernel sources, someone could try to implement a filter (and enable debugging logs in the kmsg ofc) so touches under 400ms (just a value for explanation) are only getting registered as touches, but not as movements. However, this could also have some downsides (pretty fast swipes for example), therefore a sysfs option would be a nice idea
But this would at least be a workaround.
Click to expand...
Click to collapse
That is what I also had in mind. I already had a look at Xposed framework trying to find out how to "intercept" global touches. With a normal Android Service it is unfortunately not possible at least what I have read so far.
hanzano said:
That is what I also had in mind. I already had a look at Xposed framework trying to find out how to "intercept" global touches. With a normal Android Service it is unfortunately not possible at least what I have read so far.
Click to expand...
Click to collapse
Xposed is a genious piece of work, however, this should be done via kernel.
Maybe @benkxda could have a chat with Fairphone about that?
hanzano said:
Hmm, ok.Would you mind doing another sreenshot like you did already? Just in order to see the difference.
Click to expand...
Click to collapse
no problem. Here you go!
As far as I am concerned I did the same thing. small fast touches.
although sometimes there is a long line, overall a lot less wiggeling.
Hyst said:
no problem. Here you go!
As far as I am concerned I did the same thing. small fast touches.
although sometimes there is a long line, overall a lot less wiggeling.
Click to expand...
Click to collapse
That looks much better than beforehand. I believe the red lines are not of interest. These just seem to be estimations. I had a look into Android source code com.android.internal.widget.PointerLocationView. The VelocityTracker has an Estimator which is drawn in light red. The MediaTek development tool seems to do it similar. So I would only count the green lines.
But I still think that this is not perfect either. I checked with my old Samsung Galaxy Ace and the Android location pointer which really gives points, no line at all when tapping shortly.
laufersteppenwolf said:
Xposed is a genious piece of work, however, this should be done via kernel.
Maybe @benkxda could have a chat with Fairphone about that?
Click to expand...
Click to collapse
I absolutely agree with you that this should actually be done on kernel/driver level. But I have no idea about Android's kernel structure or any driver layer at all. I used the Android SDK though. And unfortunately MediaTek is not giving all sources for the FairPhone
Where exactly do you expect touches to be evaluated and "forwarded" to Android? Do you have some example code of other phones probably? I am just interested how this works in software.
hanzano said:
I absolutely agree with you that this should actually be done on kernel/driver level. But I have no idea about Android's kernel structure or any driver layer at all. I used the Android SDK though. And unfortunately MediaTek is not giving all sources for the FairPhone
Where exactly do you expect touches to be evaluated and "forwarded" to Android? Do you have some example code of other phones probably? I am just interested how this works in software.
Click to expand...
Click to collapse
Sorry for the late answer, haven't seen you post
Well, kernel sources are quite easily structured, you've got the drivers, in there you find the input drivers, in which you also find the touchscreen drivers. in there are several drivers, you then need to find the correct one (in my case it's THIS file). In there are all functions to make your touchscreen work. This device also has a filter for "ghost" touches, just search for it inside this file
So, if you have located the driver of your device, you can there all needed stuff, such as the filter I mentioned
laufersteppenwolf said:
Sorry for the late answer, haven't seen you post
Click to expand...
Click to collapse
No prob
laufersteppenwolf said:
Well, kernel sources are quite easily structured, you've got the drivers, in there you find the input drivers, in which you also find the touchscreen drivers.
Click to expand...
Click to collapse
Ah ok, got it. In folder alps >> kernel >> drivers >> input >> touchscreen there are 68 files.
laufersteppenwolf said:
in there are several drivers, you then need to find the correct one (in my case it's THIS file).
Click to expand...
Click to collapse
Did you forget the link on "THIS" probably?
laufersteppenwolf said:
In there are all functions to make your touchscreen work. This device also has a filter for "ghost" touches, just search for it inside this file
So, if you have located the driver of your device, you can there all needed stuff, such as the filter I mentioned
Click to expand...
Click to collapse
Vielen Dank! Helps a lot
hanzano said:
Did you forget the link on "THIS" probably?
Click to expand...
Click to collapse
Ooops yeah, I did So HERE you go
Hello @Hyst
In the last week I was discussing with the support team pretty intensively about the touchscreen issue.
Now, they asked me to send them my phone, to see what happens on the device.
But, as I'm working abroad, its not that easy for me, to send it soon.
That's why I suggested, they should ask you, to get the IMEI of your old device - as you offered in the general thread.
Unfortunately Rick de Groot (the support guy) asked me again, to ask you for this number...
A little bit strange, but this is what I want to do now
Can you please send your old IMEI number and the RMA (repair form number) to this email:
<[email protected]>
That would be really great!
PS:
My Name is Florian W. if you want to quote me in your email.
Maybe this helps them to relate your email to my support request.
Thank you in advance!
Holzwurm86
Hi @Holzwurm86
sure thing. I've just send them an email.
Holzwurm86 said:
In the last week I was discussing with the support team pretty intensively about the touchscreen issue.
Now, they asked me to send them my phone, to see what happens on the device.
Click to expand...
Click to collapse
Good to see that there is still progress. The list of phones being affected gets bigger at the fairphone.com forum. If the engineers from Kwamecorp or Changhong need help like debugging or logging touches I am willing to help of course.