It is currently Thu Oct 31, 2024 4:27 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
Offline
 Post subject: Pandanet Auto Zoom In Cancellation On Mobiles
Post #1 Posted: Sat Jul 09, 2016 3:39 am 
Lives with ko

Posts: 176
Liked others: 102
Was liked: 7
Rank: 4 Kyu
KGS: Wretched, Secil, PlaySlow
Tygem: PlaySlow
Wbaduk: Eksert
Is there a way to cancel the automatic zooming in for Pandanet in Note 4 or any other cell phone? It does not zoom in automatically in Ipad but in my note 4 it's super annoying.
Thanks for help!

Top
 Profile  
 
Offline
 Post subject:
Post #2 Posted: Sun Jul 10, 2016 8:18 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
Panda fails 100% on an iPhone 4S, iOS 7 --
it crashes instantly 100% of the time.

Developer: 100% crash is kind of a show-stopper. :shock:

Top
 Profile  
 
Offline
 Post subject: Re: Pandanet Auto Zoom In Cancellation On Mobiles
Post #3 Posted: Tue Feb 20, 2018 1:51 am 
Beginner
User avatar

Posts: 9
Location: Hong Kong
Liked others: 1
Was liked: 2
Rank: 2 dan
I have to reverse engineer the apk to force Pandanet Go to run in tablet mode (no auto-zooming) on my Samsung Note 8. Here is the section of code to be patched:

Code:
.method public static isTablet()Z
    .locals 4

    .prologue
    .line 534
    sget-object v0, Lbe/gentgo/tetsuki/Main;->sInstance:Lbe/gentgo/tetsuki/Main;

    invoke-static {v0}, Lbe/gentgo/tetsuki/Main;->getScreenDiagonalInInch(Landroid/app/Activity;)D

    move-result-wide v0

    const-wide/high16 v2, 0x4014000000000000L    # 5.0

    cmpl-double v0, v0, v2

    if-ltz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1  # force to tablet mode

    goto :goto_0
.end method


To decompile apk, you will need apktool: https://ibotpeaches.github.io/Apktool/

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group