How do I get or call phone information for use in a Widget? - Galaxy Note5 Q&A, Help & Troubleshooting

Hello,
I am designing a Widget for our Agency as an inventory "stamping" method to identify and track our mobile devices without have to put physical ID tags on them, which will just peel off or become problematic. Here is the software and equipment that I am designing with:
Phone: Samsung Galaxy Note 5
Android: 6.0.1
Widget Design Software: Zooper and Kustom
As I mentioned, I am hoping to use a Widget to stamp or phones with Agency logo and ID number. Ideally I would input the ID number into a "Phone Name" field (at least that's what it's called on my Note 5) and have the Widget pull that value to show on the front screen, along with other design elements which will be added. I would like for the Widget to work on a multitude of different Android phones, if possible. I have done Google searches for 2 days and have not come across the syntax or code needed to accomplish this. I am hoping it will not require root access, as that will not be an option in our environment. I would appreciate any help or feedback in accomplishing this task.
J

Related

[APP] Lockscreen Text - [R-2010-12-28] - [V-1.0]

Name: Lockscreen Text
Lockscreen Text is an easy to use application that allows you to write a message on your lockscreen wallpaper. Although this is possible using an image editing application on your computer, you may not have a computer with you at all times. Lockscreen Text allows you to add text to your wallpaper, wherever you are. There are many reasons why you may want text on your phone.
If you have a password on your phone, and you lose it, a person who finds it won’t be able to see what number to call back on. With Lockscreen Text, you could display a contact number to call.
Lockscreen Text can also help in day to day activities. For example, you need to remember to get milk on your way home. You could add this to a ‘To-Do’ list type app, but you have to remember to check that app. What if you forget to run the ‘To-Do’ list app in the first place? With Lockscreen Text, ‘Remember the Milk’ is clearly visible on your lockscreen wallpaper, so you’ll see it everytimeyou pick up your phone. Of course, you can enter your entire shopping list in an app, and simply have “Check Shopping List” on your wallpaper. No more forgetting to do things!
Or, you could also display the contact number to call in case of an emergency. We have listened to customer feedback regarding ICE Alert and decided that Lockscreen Text would be a great way to let people know that if you have the ICE Alert app on your phone and that they can run it to see your medical information and emergency contacts. This way, the first responder will know where to get your important information from.
Source: http://www.jivtech.com/lockscreentext.aspx
That looks quite helpful but the way I understand it is that you have to create each time a new "wallpaper" if you want to put in a new text.
If so isn't there any simple way to just fire up the app write something (without much hassle) and let it be displayed directly on the current wallpaper?
Yakkaimono said:
That looks quite helpful but the way I understand it is that you have to create each time a new "wallpaper" if you want to put in a new text.
If so isn't there any simple way to just fire up the app write something (without much hassle) and let it be displayed directly on the current wallpaper?
Click to expand...
Click to collapse
Hi,
Unfortunately, developer's don't have access to the lock screen at the moment, so it's not possible to get the current wallpaper. However, I'm keeping a close eye on any SDK updates to see if I can make the process even more efficient.
Good luck with that!
Keep up the good work then.

PhotoWeather and Weather apps

Hello, I made some months ago ava for world wide the PhotoWeather app on windows phone 7.
My ideia was to make app for a quick view of the weather like if it was a widget since i am used to my android based widget home screen.
To fill the gaps of such a simple app, I decided to add some photos from panoramio related to the place.
My first problem was to find a good free service provider that could cover all world, and I must say it as hard to find and still I don't believe the actual solution is the most accurate.
It's very difficult to find a good weather provider with accurate info that supply that same for free.
My live tiles are also obtained via the service provider, they are very basic as they are the weather condition from the last retrieved location.
When microsoft start's supplying the weather info from bing api I guess I will switch to that service.
mean while, if anyone can help me with a good provider.? thanks
PS: Really I'm not advertising my app (since didn't followed the template). It is quite old now, and I guess it achieved the most of the downloads possible lol.
I have new apps coming out, and those I intend to advertise, if possible.
Thanks

[APP][FREE][3.2+]A1 Notes – Notes Organiser

Ever wondered how long it takes to search old memo / note items on your Android smart phone? We have brought A1 Notes to you – an Android application that lets you neatly store memo / note on your Android smart phone with full search facility. The salient features of this wonderful app are –
1. You can store important information with a relevant title to it.
2. You can even format your memo / note with following
a. Bold
b. Italics
c. Underline
d. Strikethrough
e. Different Font Face also
3. Color theme with attractive colors for this app
4. Search facility based on the title of the memo / note
Usage –
It is a very useful app for those who are constantly on the move and have to store important information on the go.
People can create lists of shopping items with relevant names to their different lists.
For example –
Painters can store the measurements of painting area at customer location in the details section and give the name of the customer in the title section.
There are plenty of uses of this app in everyone’s daily life.
We will be adding more useful features to this app regularly, which may not be available on the similar type of apps.
Your comments and ratings will help us in improving this app consistently.
Please send your feedback to us on [email protected]
Play store link : https://play.google.com/store/apps/details?id=com.lee.notesorganiser&hl=en
Nice
Nice App
Thanks.

[Q] Capture Stylus events before they go to Apps

Reposting from where I previously put this, on the suggestion that folks here might have more idea what I am talking about.
Yes, this is a question but I couldn't see that it fit in better to one of the other forums. If I am wrong please accept my apologies and redirect me, thanks.
I'm trying to work with a custom build of Android based on KitKat to incorporate a stylus, copying some of the functionality (though not code) from Samsung which sells Android-with-stylus builds for e.g. the Note 3. I'm not including details of the specific device because right now I am working on a custom dev device and my aim is to write code which is generic enough to be usable from any Android (based on KitKat). The build (written by others) already incorporates drivers and sends stylus events correctly as motion events etc. Programming at the app level I can receive onHover, onTouch, onClick etc
The specific functionality I am trying to achieve is to pick up a stylus-button-click while hovering. It's perfectly possible to do this in any app, using an onGenericMotion Listener.
However, I want to make my "stylus-action" have system-wide effect - so that anywhere (in any other app, or in the launcher or whatever) I will pick up the event (prior to any other app) and bring up my custom menu. (just like AirCommand in Samsung Note 3) I guess in my custom Android this would then make that particular action somewhat protected or unusable for other users, but I'm ok with that.
In older Android (prior to ICS) you could try something by putting up a System Overlay (i.e in regular app code, without hacking the ROM at all), but this is no longer possible.
This is not an attempt to tapjack or whatever, I understand why this functionality has been removed from the domain of the regular programmer, and I don't want to regress my ROM back to pre-ICS behaviour by allowing the System Overlay hack. Now I am programming the system (if my change is good enough I'd like to submit it back to AOSP) so I would like to know the best method to address this. Since Samsung have already done this, it must be legal (using legal in the terms of "Android will allow it"), and I want to do it right.
Is it possible to write something similar to the System Overlay when you are running from a system service? Or is there a good choke-point to capture events before they are broadcast to the current running apps?
I was looking at (sorry, not allowed to post links) AndroidXRef /frameworks/base/core/java/android/view/View.java specifically in the function dispatchHoverEvent() which looks like a promising place. My naive idea is that I would place code here checking the MotionEvent to see if the button is pressed and if it is, don't call any listeners and instead call my little menu app (or broadcast a custom message, or something anyway). However, I've never written code on the ROM level before (LOTS of experience writing app code) so I don't know if this is a really bad point or a good point to add in code. Should I be putting things at a higher level or a lower one? Will this capture all events or not? Is it all just trial and error?
If this is the wrong place to ask questions like this, please tell me where on XDA I should be asking it. If it's the right place - please answer
Thanks
Kibi

Question Some help diving deeper into watch face studio

Hello everyone. I'm starting to develop watch faces in watch face studio, and I've been having trouble finding some good resources with certain customizations. For example I've been trying to add weather to my current face design and I have gotten it working, but it always displays the city name and displays it in a way that I can't seem to customize. I found a watch face that has a lot of the function and design that I like that has a weather complication that displays in the way that I would like to use this feature, but I can't figure out how they did it. The watch face I'm referring to is free if anyone would like to check it out. In the play store it's easily found under the name "MDS367". If anyone can tell me how they got their complications to appear with custom font and appearance I would be very appreciative. Thank you

Categories

Resources