View Single Post
Old 05-04-2013, 02:23 PM   #2
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by randomer679 View Post
Hello, I have a question about the Paperwhite's UI.

How is the main menu UI created? I cannot find where the UI is setup/created. I have looked through the file system and through various jars etc. but I cannot figure out what is creating it. I have read the wiki but could not find the information I am looking for.

To be specific I am trying to find the code/script/etc. that creates the wifi connection menu.

If you have any information I would greatly appreciate it, thanks!
It's hard-coded and buried at multiple locations, somewhere deep inside the jars. Unless you're extremely proficient at understanding and manipulating obfuscated java byte code, don't even try to change it.
Check this thread (particularly post #6) for more information. Note that this refers to the old launcher for FW 5.0.x, when the code wasn't as aggressively obfuscated as it is now.

If you're talking about the Wifi "UI" itself, that is probably still done (at least partly) in Javascript. Grep the filesystem for some relevant strings and work your way back from there to find the code that uses it.
ixtab is offline   Reply With Quote