Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Angry [APP][2.3+]SupportME!.apk v1.0 | An App to Support ROM Developers | [Open Source]

OP AmniX

12th May 2014, 06:11 PM   |  #1  
AmniX's Avatar
OP Senior Member
Flag India
Thanks Meter: 2,699
 
325 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Hello Folks, Mates and all my Buddy's.
Here I'm Presenting you a Fresh coded app called Support Me! (Not me, to respected rom developer)

***Actually The concept behind this app is to give a little support to rom user to donate his Rom chef!***

Screens:-


As all we know that donation is not neccesery but according to xda too, We can ask for our work from user.
its totally upto user if he wish to support us or not.
This app is coded with keep in mind about this rule.

Simply this app open a xda URL to donate to particular xda user.

Requirements:-
1.You Must Register on PayPal,
2.You Must Entered you Paypal Email-id to xda-developers settings.(In case of xda-paypal-donation ID)
3.Just Push the app to system/app or data/app in rom flashable zip to make it visible to user.


To Confiure app according to Developers.
Configuration is simple,
1.Just Decompile apk with apktool
2.Go to values/Strings.xml
3.you Will See this code, We have to change colored code from strings.xml
Code:
<resources>
    <string name="app_name">Support Me!</string>
    <string name="about">About!</string>
    <string name="wordfromdev">Some Words from Developer</string>
    <string name="Greeting">Hello! I Hope you likes my work!\n\nBut folks, Its take lots of time, bunch of hardwork and plenty of money to do all this stuff\nSo If you like my work and respect it then make a small Donation*,\nIt will Apreceate me for my work and Encourage me to work further.\nThank You.\n\nRegards\n-(DEVELOPER NAME)</string>
	<string name="Button1">I love your work(Support me)</string>
	<string name="Button2">I am unable to Support You(But I like)</string>
	<string name="Button3">No! Thank You(Its just average!)</string>
	<string name="Button4">View Donation URL</string>
	<string name="doubttext">*If You feel unsafe here or not able to donate through mobile, then you can also donate from PC too!\nFollow this:-\n1.Just click on \"View Donation URL\" button.\n2.Open same link in browser.\n3.A Paypal page will open, fill amount and donate.</string>
	
	
	<string name="xda_Paypal_ID">4729939</string>
</resources>
4.The Blue text will be change according to developer Name for e.g.- "xyz"
5.Now come to main point, The xda_Paypal_ID,
-Q.What is xda_Paypal_ID?
A.Its a unique ID which coded by xda according to xda Users and paypal Email.

-Q.Why We need it?
A.to generate Paypal Donation URL.

-Q.How to get it?
-A.Here is the Way to get it.
1.Open any OP (xda thread) which is Opened by you.
2.Look at First post, On Downside of your avatar, You Will find a button Named "DONATE TO ME"
3.Right clock on Button URL and select Copy Link Address.
4.Now you will get a URL, for e.g.- http://forum.xda-developers.com/donatetome.php?u=12762836
5.The Red Colored number's are Donation ID, It May Different is Numbers, just copy them and paste to Strings.xml.


6.Replace xda_Paypal_ID from Strings.xml.
7.Recompile apk
8.Sign apk
9.Install And check
11.If Working Fine then include it into system/app or data/app or Embled it into Settings.apk(Being a Developer you should know how to do it)
10.Say me thanks or Buy me a coffee too.

SOURCE CODES ARE HERE

Download apk from Attachments.

Cheers
-AmniX
Attached Files
File Type: apk SupportMe!.apk - [Click for QR Code] (331.4 KB, 202 views)
Last edited by AmniX; 12th May 2014 at 06:14 PM.
The Following 4 Users Say Thank You to AmniX For This Useful Post: [ View ]
12th May 2014, 06:43 PM   |  #2  
dipesh1502's Avatar
Recognized Themer
Flag MUMbai
Thanks Meter: 3,759
 
2,389 posts
Join Date:Joined: Sep 2013
Donate to Me
More
Nice one.but for indian paypal accounts " donate to me" button doesnt work.theres a different method.you can check that in my signature ( guess i am not wrong)
12th May 2014, 07:20 PM   |  #3  
AmniX's Avatar
OP Senior Member
Flag India
Thanks Meter: 2,699
 
325 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by dipesh1502

Nice one.but for indian paypal accounts " donate to me" button doesnt work.theres a different method.you can check that in my signature ( guess i am not wrong)

Yeah! I forgot about that, I will add an Alternative for it.
12th May 2014, 07:27 PM   |  #4  
dipesh1502's Avatar
Recognized Themer
Flag MUMbai
Thanks Meter: 3,759
 
2,389 posts
Join Date:Joined: Sep 2013
Donate to Me
More
Quote:
Originally Posted by AmniX

Yeah! I forgot about that, I will add an Alternative for it.

If you
Can do it.i will surely add it in my rom great.
14th May 2014, 05:39 PM   |  #5  
djb77's Avatar
Recognized Contributor
Flag NSW
Thanks Meter: 1,693
 
1,655 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Added this to my ROM, and made a few small adjustments:

- Added my logo
- Removed the 3rd button, so there's only Donate, Exit, and Show URL
- Changed all the different exit texts to just a plain "Exiting"

I've put some screenshots up of my work...

One question though, is there any way I could change the 3rd button to be a http link, so I could link back to my XDA thread?
I'm only really new to smali editing, I'd love to learn more, and this would be a good start to try and learn some basics.

Thanks in advance
Attached Thumbnails
Click image for larger version

Name:	screenshot-1.jpg
Views:	80
Size:	87.4 KB
ID:	2743594   Click image for larger version

Name:	screenshot-2.jpg
Views:	80
Size:	133.0 KB
ID:	2743595  
28th May 2014, 02:39 AM   |  #6  
xXWeresXx's Avatar
Senior Member
Flag Leverkusen
Thanks Meter: 1,097
 
578 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Great Work dude
Post Reply Subscribe to Thread

Tags
amnix, dev, donate, xda, xperia
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes