somebody tell me how to make toast like this while opening app - Other Tools & General Discussion

I want add my site adress toast like this s17.postimg.org/t2s5d7li7/Screenshot_2016_03_15_13_02_31.jpg

Use
Toast.makeText(context, text, duration).show();
where
context is your Application or Activity object
duration is either Toast.LENGTH_SHORT or Toast.LENGTH_LONG

Related

[Q] Looking for call/sms/email info widget

Hi guys,
I am looking for a widget that can give me the following information on my home screen:
Number of missed calls: 1
Number of unread SMS: 1
Number of unread Email: 3
Just simple info with an adjustable transparent background.
Any ideas?
Launcher pro has this in the dock
Sent from my HTC Desire using XDA App
Executive assistant... It has a TON of options
Thanks for the replies.
I know about Launcher Pro (actually I use ADW Notifier), but I'm looking for a widget to glorify my screen!
Thanks for tip on executive assistant. I tried it and its really cool. I really like it but its a bit overkill for my needs. I just wanted a simple text display, not with tabs and stuff.
Well, Ill keep looking...
SMS Unread Count is what you need. Despite it's name, it does everything you want.
Sent from my SCH-I500 using Tapatalk
https://www.dropbox.com/s/w5fdi8zxz6qj86f/Apps/SMS Unread Count/SMSUnread-iDroid-Mod.apk#
Sent from my SPH-D700 using XDA App
Bump.
I am also looking for an unread sms widget . I have looked at SMS Unread Count and will be going with that unless there is a widget around that is just a a number. I would rather not have the message icon just the number.
Nevermind I see there is an option for custom icons. Ill just find a blank icon
I'm just posting an update on what Im doing now.
I am using Tasker and Minimalistic Text widget to display the missed calls and sms. I use tasker to simply count the number of missed calls and sms and pass it to minimalistic text as a variable. Then I can format it as I want !!
Still havent solved the unread email problem yet though.
thedesolatesoul said:
I'm just posting an update on what Im doing now.
I am using Tasker and Minimalistic Text widget to display the missed calls and sms. I use tasker to simply count the number of missed calls and sms and pass it to minimalistic text as a variable. Then I can format it as I want !!
Still havent solved the unread email problem yet though.
Click to expand...
Click to collapse
Mind posting the settings for that? I cant make it work.
Tried to get it to not show anything when no sms/calls was missed. And then to show "two missed calls" when I had two missed calls..
Something like this (I did only edit my own screen in photoshop, and I made the note in english so it would be more clear hehe): EDIT, bah couldn't attach links.. I added them as attachments instead.
Thanks in advance
//Max
This is how I set it up.
First you set up a task on context 'SMS Received'.
In the task, add an action for 'set variable' and for e.g. %MSGCOUNT is set to %MSGCOUNT + 1
Then in the same context add another task, for 'set Minimalistic text variable' from plugins. Set a variable for e.g. %MNMLMSGCOUNT = %MSGCOUNT
...so that will count messages whenever you get one...
now it depends when do u want to clear them...i clear them on opening the messaging app
so, just create another task with a context of Messaging application, and set both variables to zero.
Then go into minimal text widget, go in the custom layout, add a Locale Variable...put the name of your variable for e.g. %MNMLMSGCOUNT.
Then you should be good to go!
Let me know if you have any other questions, or information regarding this...im interested in this kind of customisation too!
Thanks for the nice help so far!
Seems to work so far, gonna come back when its all set up
YEEEES It works just like I want it to!
Thans for giving me a kick in the right direction!
Tried to post pictures, but this site doesn't allow me to %#¤%"%"¤"#
Here is one at least;
maxa.se/bilder/taster_minimalistic_text.jpg
Best regards
/Max
nice one...
let me know if you find out how to get unread email counts too...
I did get it to work with mail. I use K9-mail thou, might not work as slick with all mail-apps!?
Ill post a guide soon
To add missed texts/e-mails/calls to Minimalistic Text from Tasker.
(sorry for the swedish in the screenshots)
Ett nytt sms = One new text
Fem missade samtal = Five missed calls
Två nya mail = Two new mails
So here is a step by step guide to get the new sms-text. At the bottom there is descriptions how to make the calls and mails too.
Tasker > New > Name it "Newsms"
Event > Phone > Recieved Text
"Type" is set to sms and mms as default, change if you only want notification for one of them
"Done"
Click: New Task
Name: "smscount"
Click: + > Variable > Variable Set
Name; "%SMSCOUNT"
To; "%SMSCOUNT +1"
Check: Do Maths
Click: Done
Click: Done once more to get back out to tasker menu where you see "Newsms"
Click: smscount > Add Task > New task
Name: "Output"
Click: + > Variable > Variable Clear
Name; "%SMSNUMBER"
Done
Click: + > Variable > Variable Clear
Name; "%SMSTEXT"
Done
Click: + > Variable > Variable Set
Name; "%SMSNUMBER"
To; "ONE"
If; "%SMSCOUNT"
Click: ~ and choose Maths: Equals
In nex box toy write; "1"
Done
Click: + > Variable > Variable Set
Name: "%SMSNUMBER"
To "TWO"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Equals
In the box after that you write "2"
Done
..Continue like this until you are happy. I did up to five for sms and phone, and up to ten for mails. Not that it take a lot more system power to do to ten on all, but its just so damn boring
So lets say you make "FIVE" the last number in the sequence, then you should input this one AFTER the "FIVE".
Klicka på + > Variable > Variable Set
Name: "%SMSNUMBER"
To "FIVE+"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Greater Than
In the box after that you write "5"
Done
Click + > Variable > Variable Set
Name: "%SMSTEXT"
To "NEW TEXT"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Equals
In the box after that you write "1"
Done
Click + > Variable > Variable Set
Name: "%SMSTEXT"
To "NEW TEXTS"
If: "%SMSCOUNT"
Click the ~ and choose Maths: Greater Than
In the box after that you write "1"
Done
Click + > Plugin > Minimalistic Text variable > Edit
Variable namn: "%MINTSMSNUMBER"
Variabel content: "%SMSNUMBER"
OK
Done
Click + > Plugin > Minimalistic Text variable > Edit
Variable name: "%MINTSMSTEXT"
Variabel content: "%SMSTEXT"
OK
Done
Done once more to get out to the ground menu of tasker where you see "Newsms"
click New
Name it "cleansms"
Now you need to choose when the counter should be resetted. I choose Application > GO SMS. And in that way the counting of new texts will be resetted when I enter that app. Choose what's best for your needs.
Click New task and name it "clean"
Click + > Variable > Variable Clear
Name: "%SMSCOUNT"
Done
Click + > Variable > Variable Clear
Name: "%SMSNUMBER"
Done
Click + > Variable > Variable Clear
Name: "%SMSTEXT"
Done
Click + > Variable > Variable Clear
Name: "%MINTSMSNUMBER"
Done
Click + > Variable > Variable Clear
Name: "%MINTSMSTEXT"
Done
Click + > Plugin > Minimalistic Text variable > Edit
Variabel name: "%MINTSMSNUMBER"
Variabel content: " " (blankspace)
OK
Done
Done once more to get out to the ground menu of tasker where you see "Newsms" and "Cleansms"
Apply
Long-press the background of your homescreen > Widgets > Minimalistic Text 2x1 (Or some other size that suits your layout)
Click Predefined layout > Custom...
Click Custom layout
Remove the three blocks (long-press and drag to garbage can)
Click + > Misc > Locale variable (longpress and drag to the row above).
Click Locale variable
Variable name: "%MINTSMSNUMBER"
Style: Accend
Click Locale variable
Click + > Misc > Static text (longpress and drag to the row above).
Click Static text
Static text: " " (blankspace)
Style: Not-Accend
Click Static text
Click + > Misc > Locale variable (longpress and drag to the row above).
Click Locale variable (the second one)
Variable name: "%MINTSMSTEXT"
Style: Normal
Click Locale variable (the second one) > back-button
Set your layout with the rest of the settings in minimalistic text and then you hit "OK"
Remember that you wont see anything on your screen until you get an sms so the widget might be hard to put in right place. Ask some one to send an text to you or send one to your self, but if you have your sms app as count-clearer you will need to exit the app before you receive the sms ofc
To show missed calls you do the same thing as above, but you need to repace
Event, Recieved Text with Event, Missed Call
And then you replace the word "SMS" with "TEL" everywhere!
You will also have to set a short delay for this! When you expand the "Newtel" from taskers ground menu, you see a edit-icon and a check-icon. Hit the edit icon and click properties. Set the Cooldown Time to 5 secounds. Otherwise the count wont work (it will count one call as 2-3 without this setting)!!
E-mail is almost the same, but it depends on what mail app you are using.
I use K9 and in the first step where you choose what to make the count trigger, you still choose event but after that you press "3rd Party" > "K9 Email Received"
And then you replace the word "SMS" with "MAIL" everywhere!
I hope this help any one
PS: I know I accidentally moved the right hand side text of my clock before the screenshots hehe
Best regards
/Max
If you have done the above, you will have to make a change to the missed call notification.
Open tasker, expand the "Newtel" from taskers ground menu, you see a edit-icon and a check-icon. Hit the edit icon and click properties. Set the Cooldown Time to 5 secounds. Otherwise the count wont work (it will count one call as 2-3 without this setting)!!
Sorry for missing that
Best regards
/Max
Nice tutorial...
but im still not happy with the email...I use K9 email too...
if you read your email on a PC, then the email count doesnt get updated
if you open your email on K9 and read 2 out of 3 unread mails, the count doesnt get updated
Also, if K9 is set to polling every 1 hour and you receive more than one email, do you think the Email Received context will trigger once for each email? What if the context is missed due to the cooldown period?
this can be properly solved i think if K9 broadcasts an intent with the unread email count...
Yepp this is very far from perfection, but its the best way I have managed to fix so far.
Its a notification that there is new mails, not a counter how many unread mails you have.
If you have any suggestions how to make it better its more then appreciated. A way to implement a clearing of the mail-notification(android-stock notification) when launching K-9 would be nice, so I wouldn't have to go to the notification-bar to do that.
nice tutorial maxamaxamaxa... ill try setting this up this evening and let you know how it go.
thanks mate.

[APP] Call Back (free+no adds)

This is my first Android application.
Most of the miss call notifying applications work on default android notification. Once you clear notifications from notification dock notification from applications/widget is also gone. While some applications give an option to add reminder, who has time?
Call Back works differently, it will keep you posted about missed call until you call back. So you can clear your default notification and yet have names listed on widget and in the application.
Features:
2x2 Widget with 6 names.
Grouping of notifications from same contact.
Long press to send message or open contact.
Expand the contact and click on sub-list to call.
Real time update. No need to refresh.
Select sorting order; ascending or descending.
Select 'Rear View' limit i.e. you get to select number of days to look back into for notifications.
Add numbers to 'Black List' so as to avoid their notifications.
Select if you want notification for unknown numbers in widget.
Please give it a try and give your reviews. Earlier i had decided to upload it as a paid app but then i realized how much this community has given me and made it free with all features and NO ADDS! take time out and write review on market and rate it too!
SCREEN SHOTS:
https://g0.gstatic.com/android/market/com.solveIt.callback/ss-480-0-0
https://ssl.gstatic.com/android/market/com.solveIt.callback/ss-480-1-1
https://g1.gstatic.com/android/market/com.solveIt.callback/ss-480-2-1
https://g1.gstatic.com/android/market/com.solveIt.callback/ss-480-3-0
Market application link!
https://market.android.com/details?id=com.solveIt.callback&feature=search_result
bummer
guys..support beginners like me! pls try and give feedback!

Type While Walk

Now no more goofing up on typing when you are walking! How? You can now easily type messages, read and send images and messages while walking to your destination without messing up with traffic on road or street! We have come up with a unique and innovative concept of offering an application that has a high resolution camera to capture the ambience and happenings surrounding you while you are on your way and simultaneously wish to use your mobile too for typing!
Core Features
This is a power-pack app with various useful features to rely upon:
Sleek Design – The design is undoubtedly unmatched, user-friendly and elegant!
Orientation Independent – It works well in horizontal as well as vertical orientation as it has two modes portrait and landscape due to its orientation independence!
Transparent Screen and Keyboard – Due to camera view throughout, the screen and keyboard remain transparent!
Toggle Camera View – Camera can be switched off in case you are stationed and still want to use the app.
Improved Color Picker – The new improved color picker helps you write messages in your preferred colors.
Open/Copy/Delete Messages – All these functions are easily performed using his app and you can chat with the person directly you want to by opening the entire conversation section!
Message History - You can view and send messages to recent three contacts or can also select from the contact list.
Notification Options – You can switch on or off the notification for incoming messages.
Multiple Language Support – This app supports multiple languages i.e., Spain, French, Russian, German etc.
Copy Text to Clipboard – You can copy and paste the message to clipboard or anywhere in your mobile.
Conversion of Text to Audio and Vice Versa – You can convert the text message to voice and voice to text message and can listen the message instead of reading the text or vice versa. During this process the suggestion box will help you select the right word and help save time to type the complete word.
Capture Image and Share – You can snap photos and share it through Facebook, WhatsApp and other installed social media platforms. In addition, you can also share messages on these platforms.
Character Count - This feature allows you to know the length of your message before sending it.
Share and Start – Starting of app is possible by simply shaking your device, which can be disabled from the setting.
Other Features: Some other features include improved and smiley keyboard, font size selection and toggling of camera position i.e., front or rear.
Value to Users
This application will enable you perform two task at a time – sending/receiving messages and concentrating on the path ahead. You will not require sparing time to send and receive messages as this can be done while walking thus saves time if you are busy enough to interact with your friends!
This is a time saving app with multitude of functionalities to help you stay connected with your near and dear ones effortlessly without creating any mess while you walk.
In App purchase feature
• 5 More Keyboard Colors
• Change Font Style of Message Boxes
• Stop Ads
• Change Static Background When Camera is Off
Download now : https://play.google.com/store/apps/details?id=com.biztech.typewhilewalk

[APP][5.0+]Texpand - System level text expansion without root

Do you type your name, email or address multiple times throughout the day? If yes, then Texpand is for you. It will save you lot of time if you set it up right. Texpand is text expansion app designed to assist you with your frequently typed texts. It is a bit different than other text expansion apps that you might have used in other platforms; it uses floating windows to assist you with your typing. The demo video above shows thoroughly how to get started, it is a must watch to get the most out of it. It includes the following features:
• Sort you phrases by usage count, last used time, shortcut name and phrase
• Backup and restore you phrases to/from Google Drive or your local storage
• Floating window to let you complete your expansion if you type your shortcut correctly or to show you
suggestions based on the word you typed or selected
• Expand by selection e.g.: if you select name and you have shortcut name defined to expand to your full
name the floating window will show you either complete your expansion green button or yellow suggestion
button
Settings:
o Specify if shortcut name matching is case sensitive (case sensitive by default)
o Whether to add space or not after expanded text
o Whether to show floating indicators while typing. Note that if you disable floating indicators text
expansion will be immediate i.e. when you type the shortcut text it will immediately expand to its
corresponding phrase.
o Exclude apps from text expansion e.g.: if you don’t want to expand text in a particular app go to
Settings > Exclusions and click the plus(+) button then choose the app you want excluded from the
list of app then Texpand will not expand text on the apps you add to exclusions neither will it show you
suggestions. To remove an app form exclusions click it from the list of exclusions then dialog will
prompt you if you want to remove it click yes to remove it.
Known cases where Texpand will not work:
• If the app is not developed using standard Android SDK namely PhoneGap SDK that uses HTML5 for UI
elements. Texpand only works if the app uses native EditText widget but stay assured that this is what
almost all apps use.
• Texpand will not work on password fields but this is by design not a limitation. Because if text expansion is
enabled on password fields it may interfere with what you think you are typing. Note that some app have a
show password option if the password is not being masked by dots or asterisks then it is not regarded as
password field so Texpand has no way of knowing this is a password field so it will expand your texts as it
will on normal input fields.
• Texpand does not support input fields on webpages
• Word processor apps use highly specialized input fields, they are not currently supported but I am trying to
find a way to make them supported by Texpand.
• Text expansion by selection may not work in some apps, in which case the apps choose to handle selection
themselves without notifying the system.
• Finally floating app like Facebook chatheads may cover the floating indicator in this case you could expand
text by disabling floating indicators. In the future I will add app preference settings that will let you disable
floating icons on specific apps.
P.S.: If you have more issues I will be happy to hear from you go to settings and click send feedback.
Good but gives a warning
Thanks for this great tweak !
I really like it and it seems to be working fine and it is really customizable by its settings.
The only problem I found is that my antivirus (avast) is giving a warning and prompting to uninstall it. I guess it's a false Positive.
The other thing I would have liked is a small animation when expanding text although not an essential thing.
(also you say something about a video in your post but it isn't there ?)
AlienFever said:
Thanks for this great tweak !
I really like it and it seems to be working fine and it is really customizable by its settings.
The only problem I found is that my antivirus (avast) is giving a warning and prompting to uninstall it. I guess it's a false Positive.
The other thing I would have liked is a small animation when expanding text although not an essential thing.
(also you say something about a video in your post but it isn't there ?)
Click to expand...
Click to collapse
AlienFever, I am glad you like it you see I am new to xda I can not post link to the YouTube video but go to play store and search for Texpand you will find a demo video in the playstote page
I noticed that with Facebook chat heads, the correction bubble appears underneath the chat head making it impossible to use with Chat Heads.
@Isaias Matewos, Can you also please add some macro features like Current Date / Day / Time. etc.Thanks for the wonderful app, I think it's a must app for every Android Power user.
Just wanted to thank the dev, I'm loving this app.

[APP][4.2+] Easy Smart Phone

What is Easy Smart Phone?
Easy Smart Phone is a launcher app with big fonts, big icons and simplified user interface. Its main target is elderly people who has problems with small text and complex gestures on smart phone. Easy Smart Phone will make things easier for them.
What is current status?
Easy Smart Phone is under development and it is between alpha and beta status. Most of core functions has been developed but there are some missing features and could have bugs.
Current features
Launcher with big buttons and big text
No complex gestures to use smart phone. Just simple 1 page and you can access all features with scroll up and down gesture.
Dialer with big buttons
Default phone app replacement with blacklist, whitelist, SPAM reporting and auto block features
Big fonts for USSD message with custom USSD feature
Full customizable home screen
Home screen is single page and vertical scrollable
Contacts, apps, modules and widgets can be added and removed to home screen.
Home screen elements can be arranged by moving them up and down.
On rooted phones, WhatsApp profile picture can be used as caller photo and GSM calls.
Knows problems
Custom USSD service does not work for some codes like *#06#
Custom USSD service does not work for multi page messages
Custom USSD service should not work on android settings page, but it works
Call Log does not show display name on local contacts or recently added contacts
To send SMS, Easy Smart Phone must be set as default SMS app. But app does not check if it is default SMS app or not. So if you try to send SMS without setting app as default SMS app, app will crash. This will be fixed on next beta release.
Profile picture upload fails if picture size it too big
Phone call problems (Sometimes you need to press hangup button to exit call screen, if other party hangs up)
Notification LED cannot be turned on or off
TO DO
SMS blacklist
Custom numeric keypad
Call log at contacts page
Calculator
Camera
Gallery
Music player
Notes
Calendar
File manager
Alarm
Stopwatch
Weather widget
Battery & information widget
App level notifications
Misc
You can install this app at Android 4.2+. But some features requires newer Android devices, because of Android SDK limitations. Such as
Phone replacement feature requires Android 6.0+
SMS replacement feature requires Android 4.4+
SIM selection for phone call requires Android 5.0+
Easy Smart Phone will be updated weekly . Each update may include new features and bug fixes
Root features tested only with Magisk. I have no idea if it will work with SuperSu or any other rooting method.
All translations are made by Google Translate. So there should be mistakes in translations. If you want to have a better translation in your language, you can correct translations at github page. Thanks for your contribution.
For better Easy Smart Phone experience
Grant all permissions from Android's original settings page. Because on some devices, it is not possible to ask every permission
Set Easy Smart Phone as
Default launcher
Default phone app
Default SMS app
Default browser app
Disable all power saving features for Easy Smart Phone
Set as autostart
Grant start in background permission
Grant Show on Lock Screen permission on some devices
Download
XDA Labs
Amazon App Store
Links
Website
GitHub repository for language files and problem tracking
For language translations, native speakers needed for each different language. You can edit your language's files from this github repository.
https://github.com/gadgetreviews/easySmartPhone/tree/master/language
Thanks for any help to get better translations
I think this is a good project. Need refine some ui there. For phone this day, the screen is big so i think u can made some space for every icon and text so it look more neat
Reserved
New beta has been published:
Change Log:
version 0.0.2
A lot of bugs has been fixed.
Keyboard system re-written.
Custom numeric keypad added.
virganda said:
I think this is a good project. Need refine some ui there. For phone this day, the screen is big so i think u can made some space for every icon and text so it look more neat
Click to expand...
Click to collapse
Did you mean should I decrease text size?
Is there anybody has an idea, if I upload this app to Google Play Store, will Google suspend this app and my account? Because of this app asks these sensitive permissions:
android.permission.READ_CALL_LOG
android.permission.RECEIVE_SMS
android.permission.READ_SMS
android.permission.WRITE_SMS
android.permission.SEND_SMS
Even I present documentation why I need these permissions, is it possible that google may suspend my app and my developer account?
coolman7 said:
Did you mean should I decrease text size?
Click to expand...
Click to collapse
1. I mean icon padding. Its placed to near one and another. You must made some ui change about icon padding side right and left and up down too. I test it with medium size in setting.
2. You need to up icon size resolution. In my FHD phone it look brushed.
3. In contact you must tweak it. Every time i open contact its delay couple of seconds. My contact is 600 person.
4. In SMS you must made some change for sender and receiver. I think its good if you use different alignment. Left for ingoing sms and right for outgoing.
5. In contact I prefer list option other than icon because it made hard too see long name contact.
Maybe that from me now. I really miss app like this for my parent. Sorry for my english
virganda said:
1. I mean icon padding. Its placed to near one and another. You must made some ui change about icon padding side right and left and up down too. I test it with medium size in setting.
2. You need to up icon size resolution. In my FHD phone it look brushed.
3. In contact you must tweak it. Every time i open contact its delay couple of seconds. My contact is 600 person.
4. In SMS you must made some change for sender and receiver. I think its good if you use different alignment. Left for ingoing sms and right for outgoing.
5. In contact I prefer list option other than icon because it made hard too see long name contact.
Maybe that from me now. I really miss app like this for my parent. Sorry for my english
Click to expand...
Click to collapse
Thank you for these valuable feedbacks. I have added this list to my to do list.
1) I already have plans to add padding to icons.
2) I think I will try to make an option for text size: big, medium and small like icons. Current text size should be big or medium size.
3) I tried to speed up to opening contacts, sms list and call log. But I failed before. They are really slow. Espacially SMS list is too slow, if you have too much messages. Maybe I will try to load them partially.
4) I will think about this idea.
5) I am considering there will be another contacts page as list. so it will be user selectable: list or grid.
virganda said:
1. I mean icon padding. Its placed to near one and another. You must made some ui change about icon padding side right and left and up down too. I test it with medium size in setting.
2. You need to up icon size resolution. In my FHD phone it look brushed.
3. In contact you must tweak it. Every time i open contact its delay couple of seconds. My contact is 600 person.
4. In SMS you must made some change for sender and receiver. I think its good if you use different alignment. Left for ingoing sms and right for outgoing.
5. In contact I prefer list option other than icon because it made hard too see long name contact.
Maybe that from me now. I really miss app like this for my parent. Sorry for my english
Click to expand...
Click to collapse
Number 1 and 2 in this list has been implemented with version 0.0.5.
1) Added some padding after each row. Not decided yet to add padding between columns.
2) Replaced most icons with higher resolution icons. More icons will be replaced in next versions.

Categories

Resources