• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Xposed][2.3+][Mod] XToast 2.2 [27-5-2015][updated]

Search This thread

terrorist96

Senior Member
Jul 9, 2012
448
102
@vikasb32 I sent you an error log 2 months ago and never heard anything back. Can you please acknowledge?

LOG:
01-07 18:26:53.850 E/Xposed (32393): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setPadding(int, int, int, int)' on a null object reference
01-07 18:26:53.850 E/Xposed (32393): at com.vikas.toaststyler.XtoastMod$1.beforeHookedMethod(XtoastMod.java:125)
01-07 18:26:53.850 E/Xposed (32393): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:655)
01-07 18:26:53.850 E/Xposed (32393): at android.widget.Toast.show(<Xposed>)
01-07 18:26:53.850 E/Xposed (32393): at com.google.android.gms.feedback.ah.a(SourceFile:60)
01-07 18:26:53.850 E/Xposed (32393): at com.google.android.gms.feedback.ai.run(SourceFile:108)
01-07 18:26:53.850 E/Xposed (32393): at android.os.Handler.handleCallback(Handler.java:739)
01-07 18:26:53.850 E/Xposed (32393): at android.os.Handler.dispatchMessage(Handler.java:95)
01-07 18:26:53.850 E/Xposed (32393): at android.os.Looper.loop(Looper.java:148)
01-07 18:26:53.850 E/Xposed (32393): at android.app.ActivityThread.main(ActivityThread.java:5417)
01-07 18:26:53.850 E/Xposed (32393): at java.lang.reflect.Method.invoke(Native Method)
01-07 18:26:53.850 E/Xposed (32393): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-07 18:26:53.850 E/Xposed (32393): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-07 18:26:53.850 E/Xposed (32393): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)
 

CalculatedRisk

Senior Member
Jan 20, 2013
578
97
Hey sir,

There is an error that I encountered in the xposed log. The module works fine, but I just wanted to put this out there. I'm running a Nexus 4, Stock Android 5.1.1 with Xposed v80. Log file attached. Thanks.
 

Attachments

  • xposed_error_20160305_024514.log
    17.6 KB · Views: 19

terrorist96

Senior Member
Jul 9, 2012
448
102
@vikasb32 I sent you an error log 2 months ago and never heard anything back. Can you please acknowledge?

LOG:
01-07 18:26:53.850 E/Xposed (32393): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setPadding(int, int, int, int)' on a null object reference
01-07 18:26:53.850 E/Xposed (32393): at com.vikas.toaststyler.XtoastMod$1.beforeHookedMethod(XtoastMod.java:125)
01-07 18:26:53.850 E/Xposed (32393): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:655)
01-07 18:26:53.850 E/Xposed (32393): at android.widget.Toast.show(<Xposed>)
01-07 18:26:53.850 E/Xposed (32393): at com.google.android.gms.feedback.ah.a(SourceFile:60)
01-07 18:26:53.850 E/Xposed (32393): at com.google.android.gms.feedback.ai.run(SourceFile:108)
01-07 18:26:53.850 E/Xposed (32393): at android.os.Handler.handleCallback(Handler.java:739)
01-07 18:26:53.850 E/Xposed (32393): at android.os.Handler.dispatchMessage(Handler.java:95)
01-07 18:26:53.850 E/Xposed (32393): at android.os.Looper.loop(Looper.java:148)
01-07 18:26:53.850 E/Xposed (32393): at android.app.ActivityThread.main(ActivityThread.java:5417)
01-07 18:26:53.850 E/Xposed (32393): at java.lang.reflect.Method.invoke(Native Method)
01-07 18:26:53.850 E/Xposed (32393): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-07 18:26:53.850 E/Xposed (32393): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-07 18:26:53.850 E/Xposed (32393): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)
03-06 23:43:42.874 E/Xposed ( 9662): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setPadding(int, int, int, int)' on a null object reference
03-06 23:43:42.874 E/Xposed ( 9662): at com.vikas.toaststyler.XtoastMod$1.beforeHookedMethod(XtoastMod.java:125)
03-06 23:43:42.874 E/Xposed ( 9662): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-06 23:43:42.874 E/Xposed ( 9662): at android.widget.Toast.show(<Xposed>)
03-06 23:43:42.874 E/Xposed ( 9662): at com.google.android.gms.feedback.ah.a(SourceFile:60)
03-06 23:43:42.874 E/Xposed ( 9662): at com.google.android.gms.feedback.ai.run(SourceFile:108)
03-06 23:43:42.874 E/Xposed ( 9662): at android.os.Handler.handleCallback(Handler.java:739)
03-06 23:43:42.874 E/Xposed ( 9662): at android.os.Handler.dispatchMessage(Handler.java:95)
03-06 23:43:42.874 E/Xposed ( 9662): at android.os.Looper.loop(Looper.java:148)
03-06 23:43:42.874 E/Xposed ( 9662): at android.app.ActivityThread.main(ActivityThread.java:5417)
03-06 23:43:42.874 E/Xposed ( 9662): at java.lang.reflect.Method.invoke(Native Method)
03-06 23:43:42.874 E/Xposed ( 9662): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
03-06 23:43:42.874 E/Xposed ( 9662): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
03-06 23:43:42.874 E/Xposed ( 9662): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
 

vikasb32

Recognized Themer
May 9, 2011
2,059
2,000
Hardwar
OnePlus 6
@vikasb32, Have you been able to repair your motherboard and continue the development of this useful module?
It would be great if you could make the source code public so that the community could help fixing problems. It's a pity a module this good to be abandoned.

Sorry to say that but my hard disk got burnt and I lost all my source code.this module source code as well as lpthemer and I don't have any backup to cloud also.
 
  • Like
Reactions: 박지선

The Analog Kid

Senior Member
Dec 5, 2013
835
164
This is one module that I've been using on every single device I had, ranging from JB to M without any flaws. In fact, XToast easily became the first downloaded module everytime. That's how much I like it

Sent from my Motorola XT1563 using XDA Labs
 

PiggyFlooper

Senior Member
Oct 12, 2013
830
316
@vikasb32
I've been scouring through my ics framework and system UI searching for xmls so as to show you example of toast that starts at middle and pinches out and then squeezes back in to the center, will you please include it in your styles of toasts, it's my favorite style ever! I originally found it in the Evo 3D's Negalite Rom
Will you please add this to your app?

---------- Post added at 12:31 PM ---------- Previous post was at 11:50 AM ----------

Xtoast does not work on ice cream sandwich, but https://play.google.com/store/apps/details?id=com.evanhe.nhfree can be used to read toasts after they disappear, if one does NOT install it on the sdcard to last thru reboots.

As I recall, Xtoast does work on ics, I used v.1.6
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 80
    Hello firends this is my first xposed module and i am new to xposed coding and still learn xposed framwork.

    XToast contain small tweak for toast nofication in android.


    features list:

    1. add app icon to toast notification
    2. change icon size display in toast notification
    3. add app title name to toast notification.
    4. select different toast style jellybean,kitkat,gingerbread,holo light,kitkat light
    5. change toast background color
    6. select toast duration:sort and long.
    7. change toast background transparency
    8. select where toast notification appear on the screen.
    9. change toast font color.
    10. change app tittle toast font color.

    Changelog:
    2.2-
    1.fix some layout issue in tablet and landsacp mode
    2.simplify app design
    3.remove default transparency from toast background so now if u select 0 transparency there will be no transparency.
    2.1-
    1.fix bootloop in some device
    2.0-
    1.added option to change toast background color
    1.9-
    1.fix for android below 5.0
    1.8-
    1.added a functionality to Block toast notification of Selected apps .
    2. Fix ui for lollipop.
    1.7-
    1.fix fc in device older then jellybean .
    2.move test toast from preference to action bar.
    3.added Russian language thanks to Gromozavr Stas.
    1.6-
    1.added app tittle font color features.now you can add custom font color to app title toast notification.
    2.added kitkat light toast style.
    3.rearrange preference item.
    1.5-
    1.added toast font color features.now you can add custom font color to toast notification
    2.modified toast transparency now work better.
    1.4-
    1.add app icon position and title position separately.now there are many combination you can try.
    2.add horizontal and vertical offset to toast position now you can set location of toast anywhere to screen
    1.3-
    1.fix transparency opposite bug
    2.user now set toast duration(max 3.5sec android limit)
    3.added a option where a toast appear on the screen

    1.2-
    1.user have option to change app icon and app title position
    2.added a option to test toast within app
    3.change some code related to icon size now icon size is more exact.
    4.added app icon(thanks to @Roudier,@kamilmirza)
    1.1-
    1.gingerbread support
    2.add a option to change toast background transparency

    1.0-initial release





    9c3hoVe.png
    zqn1xII.png


    wYthfBq.png
    8ceVaQU.png


    DzCAt9e.png
    bLmGiqw.png


    Krrbzxo.png
    gON1pnx.png


    zNn2wfF.png
    bUiUsSt.png


    E2LG2yZ.png
    SRhMTA0.png


    b7QMSD3.png
    5jSYEKF.png


    alb60Rg.png
    nTqOMi4.png


    DZRhDiP.png


    3mPwcb3.png
    rDscrb9.png


    J9DkqHU.png


    QsTxHTV.png


    xposed repository:-http://repo.xposed.info/module/com.vikas.toaststyler

    credit
    MohammadAG

    Translation:-download stings file for translation in your language and give me translated strings.xml
    Note:-remove .txt after downloading strings.xml.txt
    8
    I will fix it when my motherboard get replace no pc right now.
    7
    Please come back

    @vikasb32, Have you been able to repair your motherboard and continue the development of this useful module?
    It would be great if you could make the source code public so that the community could help fixing problems. It's a pity a module this good to be abandoned.
    7
    updated to version 1.2
    now user have option to change app icon and app title position
    added a option to test toast within app
    change some code related to icon size now icon size is more exact.
    added app icon(thanks to @Roudier @kamilmirza)

    eV5fu1j.png
    1I1MSqc.png
    5
    updated to 1.1 add gingerbread support and add a option to change toast background transparency.


    RoID2rI.png