Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2015, 04:29 PM   #1
CapitainDerya
Connoisseur
CapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensions
 
Posts: 56
Karma: 51304
Join Date: Sep 2012
Device: Kindle 4 NT,PW2
Draw Shapes on Pdf Document

I would like to draw shapes and write notes on Pdf Reader of Kindle Paperwhite. Have you got any idea to create such a native tool?I think it isn't so hard.Here is my solution:
  • Write a native app that is similar to "/usr/bin/xtestlab126".But It won't clear background when it opens.
  • Listen a specific gesture event of touch screen.After that event, run this drawing app.Note: we should run this drawing app anytime.

Can we put a "nop" bytecode to disable clearing background.Instead of writing new app, we can edit bytecodes of xtestlab126.I uploaded "xtestlab126". Maybe you could patch this app using IDA Pro

Last edited by CapitainDerya; 02-08-2015 at 10:03 AM.
CapitainDerya is offline   Reply With Quote
Old 02-06-2015, 04:59 PM   #2
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
So you don't want to save your drawing?
hawhill is offline   Reply With Quote
Advert
Old 02-06-2015, 05:01 PM   #3
CapitainDerya
Connoisseur
CapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensions
 
Posts: 56
Karma: 51304
Join Date: Sep 2012
Device: Kindle 4 NT,PW2
I think "pressing left-bottom and right-top" captures screen. How can i listen specific gesture events. We should create a app that will work in background. If it is hard, I will change name of that drawing app as fbgrab and copy to bin folder. when i press "left-bottom and right-top" anytime, my drawing app will work. But i will not be able to screenshot anymore.

Last edited by CapitainDerya; 02-06-2015 at 10:50 PM.
CapitainDerya is offline   Reply With Quote
Old 02-08-2015, 07:21 AM   #4
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I think I lost you. Was that an answer to my question? I think you're describing a complex application with too few words.

Also, don't upload copyrighted code here.
hawhill is offline   Reply With Quote
Old 02-08-2015, 08:46 AM   #5
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
@hawhill: Yes, I think there is an answer hidden in there, somewhere.

@CaptainDerya:
If you have re-purposed a touch event to trigger your application, then you will also have to support its original function in your application (or application launcher).

Review the threads/posts on how the visible application depends on the window title.
You should be able to switch which of two windowed applications are visible by manipulating the window titles on the stack.

But as others have posted, handling the side effects of that switching might get a bit hairy.
(Hmm... That might not translate very well, but it is descriptive in English.)
knc1 is offline   Reply With Quote
Advert
Old 02-08-2015, 10:01 AM   #6
CapitainDerya
Connoisseur
CapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensions
 
Posts: 56
Karma: 51304
Join Date: Sep 2012
Device: Kindle 4 NT,PW2
I don't think it is so complex. here is my flow diagram .It is easy to program this with java, but native has better performance.
Aren't they supposed to release open source version of xtestlab126? Because, it uses X11lib.
Attached Thumbnails
Click image for larger version

Name:	Untitled Diagram.jpg
Views:	244
Size:	33.8 KB
ID:	134616  

Last edited by CapitainDerya; 02-08-2015 at 10:12 AM.
CapitainDerya is offline   Reply With Quote
Old 02-08-2015, 10:10 AM   #7
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by CapitainDerya View Post
I don't think it is so complex. here is my flow diagram. Aren't they are supposed to release open source version of xtestlab126. Because, it uses X11lib
Only if statically linked.
Plus :
Supposed to != Will
For example:
The initramfs application is compiled and statically linked to the kernel (making that application GPLv2) -
Which does not mean they are going to release the source this side of the courthouse steps.
knc1 is offline   Reply With Quote
Old 02-08-2015, 11:59 AM   #8
CapitainDerya
Connoisseur
CapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensions
 
Posts: 56
Karma: 51304
Join Date: Sep 2012
Device: Kindle 4 NT,PW2
knc1, Thanks for advice that is about window title

Last edited by CapitainDerya; 02-08-2015 at 04:10 PM.
CapitainDerya is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Draw a rectangle around several PDF pages at the same time thebestjeter PDF 3 09-22-2011 09:38 AM
draw on netbook? Stryder enTourage Archive 5 05-24-2010 04:34 PM
Anyone Else Draw on Their Cover? Drezin Sony Reader 25 03-04-2009 02:22 PM


All times are GMT -4. The time now is 03:16 AM.


MobileRead.com is a privately owned, operated and funded community.