Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-13-2016, 09:45 AM   #1
hackqiang
Junior Member
hackqiang began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2015
Device: kindle pw2
Can not access network because not registered?

Hi all,
I got another problem when writing kindlet app
when I request HttpURLConnection, I got an error:
Quote:
Network access is unavalibale because your kindle is not registered. Please register your kindle in setting and try again
And after I register amazon account, I can access network.
I tried using Jailbreak.jar for request AllPermission, but still the same problem.
Is there a way to connect network without register kindle?
Thank you!
hackqiang is offline   Reply With Quote
Old 04-13-2016, 09:50 AM   #2
knc1
¯\_(ツ)_/¯ <- Clueless
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: 11,577
Karma: 12109345
Join Date: Feb 2012
Location: Central Texas
Device: Nothing KV or newer, not interested.
Try:
WIFI_NO_NET_PROBE
in the root of visible storage
a file, no contents, no extension, case matters.
knc1 is offline   Reply With Quote
Old 04-14-2016, 10:00 AM   #3
hackqiang
Junior Member
hackqiang began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2015
Device: kindle pw2
Quote:
Originally Posted by knc1 View Post
Try:
WIFI_NO_NET_PROBE
in the root of visible storage
a file, no contents, no extension, case matters.
Thanks for your kind help, I tried, but the problem still exist.
Btw, I can access the internet by the "Experimental Browser"
and those are some part of you java code:
Quote:
URL url= new URL(Url);
HttpURLConnection con = (HttpURLConnection)url.openConnection();
add more information:
I try to add the same code in KUAL, and KUAL meet the same problem,
So I guess, the limit is related with the amazon's java framework.

Last edited by hackqiang; 04-14-2016 at 10:47 AM. Reason: add infor
hackqiang is offline   Reply With Quote
Old 04-15-2016, 03:49 PM   #4
Yourcat
Zealot
Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.
 
Posts: 119
Karma: 54046
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
Reflection would be the preferred way to fix it if it's caused by the kindlet jars. With RetroWeaver this could work.
Yourcat is offline   Reply With Quote
Old 04-17-2016, 09:08 AM   #5
hackqiang
Junior Member
hackqiang began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2015
Device: kindle pw2
Quote:
Originally Posted by Yourcat View Post
Reflection would be the preferred way to fix it if it's caused by the kindlet jars. With RetroWeaver this could work.
Dear Yourcat,
I'm a newbie for java, Could you give more details?
Thank you.

Today I got the exception trackback:
Quote:
com.amazon.kindle.kindlet.net.ConnectivityStateExc eption: Network access is unavailable because your Kindle is not registered. Please register your Kindle in Settings and then try again.
at com.amazon.kindle.kindlet.internal.net.j.openConne ction(vse:305)
at com.amazon.kindle.kindlet.internal.portability.net .B.openConnection(bue:1328)
at com.amazon.kindle.restricted.net.g.openConnection( vnd:1076)
at java.net.URL.openConnection(Compiled Method)(Unknown Source)
I tried to decompile the KindletBooklet-2.2.jar by Xjad, but "com.amazon.kindle.kindlet.internal.net" can't be found, it seems java code are obfuscated.

Last edited by hackqiang; 04-17-2016 at 09:13 AM.
hackqiang is offline   Reply With Quote
Old 04-19-2016, 12:30 PM   #6
Yourcat
Zealot
Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.
 
Posts: 119
Karma: 54046
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
First you need to identify the method you want to modify. This should be a test for registration within Java.
Then you may modify the parameter or methods.
E. g.: http://stackoverflow.com/questions/1...n-deploying-an and http://www.sevagas.com/?Modify-any-J...ss-field-using
Yourcat is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura HD How to access kobo Aura HD via USB Network SatorArepo Kobo Reader 2 11-11-2014 05:27 PM
The Novel Network / MyPadMedia - SCAM WARNING! Selling access to a free site zelda_pinwheel News 67 10-13-2011 11:17 AM
Access rooted Nook Color storage as network share KryptoNyte Nook Developer's Corner 1 12-29-2010 10:03 AM
Kobo Firmware Access and Early Access Program PeterT Kobo Reader 115 08-09-2010 08:06 PM
Just registered! glendaf1 Introduce Yourself 5 08-20-2009 08:23 PM


All times are GMT -4. The time now is 09:59 AM.


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