Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start flight plan without paying $20 in FreeFlightPro3 #10

Open
djoris opened this issue Aug 22, 2018 · 9 comments
Open

Start flight plan without paying $20 in FreeFlightPro3 #10

djoris opened this issue Aug 22, 2018 · 9 comments

Comments

@djoris
Copy link
Collaborator

djoris commented Aug 22, 2018

You can create flight plans with Groundcontrol for Arduflight (?) and upload them (FTP port 61?)

You have to trigger start/pause/stop for flight plans without FFP

@ClassAxion
Copy link

In theory, you can just rebuild the android apk and throw away the part responsible for the payment. However, in my opinion, it already involves piracy.

@ClassAxion
Copy link

public void startFlightPlanIfPossible() {
    if (this.mFlightPlanRegistrationManager.isPurchased() || this.mFlightPlanRegistrationManager.isPromotionActivated()) {
        startPiloting(3);
        return;
    }
    ((AppCompatActivity) this.mContext).startActivityForResult(new Intent(this.mContext, FlightPlanFreeTrialActivity.class), 2);
}

Just remove the condition :)

PS. @djoris I'm curious what makes you laugh in my comment ;)

@kikislater
Copy link

Could you please add source to apk app ?

@ClassAxion
Copy link

This code is located at com.parrot.freeflight.home.HomeUIController.java.

@kikislater
Copy link

Ok thank you but where do you find source code for Freeflight pro ? Is there a repository ?

@ClassAxion
Copy link

Of course not, you have to do it yourself.

@kikislater
Copy link

So you mean file in smartphone, this is not rebuilding apk ....

@ClassAxion
Copy link

No, it's rebuilding - I don't edit any file on smartphone directly. I create a new apk that I install on my smartphone (of course I have to uninstall previous version first).

What's stopping you from decompiling it yourself, change what you need, and compile it again?

However, for apk there are easier methods. You can use for example APK Easy Tool that can decompile APK to Smali and compile again to APK. In this case, you don't have to worry about dependencies and that's what I'm using.

@kikislater
Copy link

Interesting, didn't know this procedure,
Thank you for sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants