| 
			
			 | 
		#1 | 
| 
			
			
			
			 * 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35 
				Karma: 145852 
				Join Date: Apr 2013 
				
				
				
				Device: Kindle Touch 
				
				
				 | 
	
	
	
		
		
			
			 
				
				pillowHelper - access to nativeBridge from mesquite
			 
			
			
			The file is also located here: https://github.com/PaulFreund/WebLau...illowHelper.js 
		
	
		
		
		
		
		
		
		
		
		
		
		
			It is used in WebLaunch and I hope it can help somebody ![]() PHP Code: 
	
			
	Last edited by PaulFreund; 04-09-2013 at 04:39 PM. Reason: Removed unnecessary function  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 THE NOOB 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 708 
				Karma: 1545649 
				Join Date: Jan 2012 
				Location: Italy 
				
				
				Device: Kindle Touch 5.3.2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Good work!!! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I don't have much time right now (I'm going to graduate in 2 weeks) but I plan to use this in Komic! Thanks a lot!!!!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Shiny colors!!  Hot content!  
		
	
		
		
		
		
		
		
		
		
		
		
	
	What more could we ask from a poster. NICE  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Developer's Corner Mascot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 1277790 
				Join Date: Sep 2013 
				
				
				
				Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Does anybody know how to use nativeBridge.setWindowPosition command?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 but forgot what it's like 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741 
				Karma: 2345678 
				Join Date: Dec 2011 
				Location: north (by northwest) 
				
				
				Device: Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			setWindowPosition(x, y) 
		
	
		
		
		
		
		
		
		
		
		
		
	
	setWindowSize(width, height)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Developer's Corner Mascot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 1277790 
				Join Date: Sep 2013 
				
				
				
				Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			mmh I've tried the first...but seems to not work for custom dialogs
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			They are managed by the logic in the LUA layer I believe. I.E. centered.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 but forgot what it's like 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741 
				Karma: 2345678 
				Join Date: Dec 2011 
				Location: north (by northwest) 
				
				
				Device: Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Maybe it's just doing not what you're expecting it to do basing on name (but I don't know what it's doing either). 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Don't forget also about possible role of window manager (awesome). It... uhm... manages windows (position etc.) and can ignore any requests.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457 
				Karma: 1287375 
				Join Date: Jan 2013 
				Location: West Gardiner, Maine 
				
				
				Device: Touch (5.3.7) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			i use that xwininfo trick: "xwininfo -tree -root | more" to see what windows are loaded by name
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Developer's Corner Mascot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 1277790 
				Join Date: Sep 2013 
				
				
				
				Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Adding USBNetworking Icon to StatusBar (catch lipc-set-prop event with nativeBridge) | MaPePeR | Kindle Developer's Corner | 0 | 07-05-2012 03:10 PM | 
| nativeBridge.dbgCmd | silver18 | Kindle Developer's Corner | 26 | 05-19-2012 10:25 AM | 
| How do I access footnotes? | Busirane | Amazon Fire | 6 | 03-04-2012 01:09 AM | 
| Wi-Fi access | lostaquarium | Amazon Kindle | 9 | 01-09-2011 05:44 PM | 
| Kobo Firmware Access and Early Access Program | PeterT | Kobo Reader | 115 | 08-09-2010 09:06 PM |