Custom message for push registry alert j2me - push-notification

When I receive a push notification in my j2me application it shows its built-in message at start, what I want to do is to place my own message say "Do You Want to Launch App?" when a notification of invoking application is received! How to change it?

It is unlikely that application developer would be allowed to do stuff like that in the real phone, and here's why.
This functionality is a part of security sensitive features (if you're interested in details, check documentation like The Recommended Security Policy for GSM/UMTS Compliant Devices).
If this would be allowed, malware applications could transform not just wording but the very meaning of a standard system message, thus tricking user into doing something wrong.
For an example, imagine an application doing tracking of user location, or sending paid SMS, or something similarly sensitive to one's privacy or budget, having mentioned message changed to:
Click Yes to win million dollars.
As a phone user, the last thing I would want of my device would be to allow tricks like that.

Related

Is OAuth Consent Screen verification required to even test the Smart Device API

When adding the sdm.service scope to the Oauth consent screen, it triggers a warning that verification is required. I'm wondering if verification is required even if I am just creating a test app that won't be published?
Through my many many weeks of trying, I've only been able to actually link my test app to an account twice, and I still don't know why it only worked those two times. I usually end up on the No Partner Connection Found screen after the Google Nest Permissions screen. There is no redirect and so no authorization code to actually access anything. I've tried with clean, brand new projects, with different email accounts, and even through different means of access. At this point, the only thing left that I can think of is that maybe my Oauth consent screen needs to be verified. But, the verification process requires information that I just do not have.
Any ideas are welcome.
You should be able to link your personal account through the API for personal use without going through OAuth Verification. What type of Client ID are you attempting to create?
Have you tried to get through the entire flow using the process described in the Quick Start guide? https://developers.google.com/nest/device-access/get-started

Writing a multifactor authentication provider for #LinkedIn

If I'm on #LinkedIn and I go to Account -> Login and Security there is an option for Two-step Verification. This is in addition to e.g. Email Addresses and Telephone Numbers (the latter clearly labeled "... in case you have trouble signing in").
However Two-step Verification also provides SMS (telephone) authentication in addition to an "authenticator app" option, "...such as Microsoft Authenticator". There is smoke here; is there fire?
How do I write my own authenticator: I presume there's a (REST) API (client / server, don't care)? How do I get #LinkedIn to call it (or vice versa)? Are there any examples?
General Background I'm envisioning two potential solutions: 1) a desktop app, tied to a particular desktop computing platform; 2) a deck of playing cards (seriously, and I've got POC for this). This is NOT using LinkedIn to login somewhere else, but providing custom MFA when logging in to LinkedIn. I'd probably try to write it in Python.
Request Background (IMPORTANT) I posed this question to #LinkedIn support, and they sent me here.
Security Background (IMPORTANT) SMS is not secure. There are ways of hijacking IMEIs. There are technical problems (bugs). There are other problems, for instance documented cases of bribery of telco personnel.
Political Background (IMPORTANT) #LinkedIn periodically asks me for a telephone number for MFA (multifactor authentication), but they have an email address; they could use that. There is documented past history of social networks using things like telephone numbers, provided for security purposes, to expand their social graph (in the legal sense, unauthorized conversion). Just like Certificate Authorities, there is no compelling technical reason that MFA can't be provided via open standards (in the case of CAs, DNSSEC and DANE as an alternative).

Sending pictures from photobooth to phone via WeChat

My boss has charged me with the task of finding how to integrate WeChat into our photobooth's "Total Share" section.
Our photobooths work under windows and their software is a mix of Java and a PHP web API installed locally, that then connects to a web service.
The intention is to give the user the option to, when their picture is done, get a copy of it via WeChat (I guess that by introducing it's phone number)
Through my searches I've found a WeChat JS-SDK, but that seems to connect sites you are watching on your phone with your actual WeChat app so it doesn't work in my case.
The other source I have found is the Official Account Admin Platform, but I'm not really sure if this would allow me to do what I need. As far as I've seen, the Official Account can send messages in response to a trigger (that would work for me, send a message when the user clicks on the button), but it also seems to need that they "subscribe" (in a way) to the Official Account, and secondly I'm not sure how can this be automatized.
Especial mention:
I'm a junior developer, so API integration is a bridge I haven't crossed yet, and as such I'm utterly lost.
Is it possible to get the functionality I require? If so, what are the steps to do it?
You don't need to make a fully fleshed tutorial to write an answer, just knowing in what direction should I go, and maybe some possible caveats that more experienced developers may be able to foresee, would be great.
Thanks.

Registering mobile phones on my web site

I am using a variety of mobile device clients such as Blackberry, Android, Windows Phone iPhone. At the moment I am focusing on Windows Mobile 6.5 (I know it is dated but I actually have one of these phones to test with).
I want to be able to register the app installed on the device with my web server. Now, I could just let the User create a Username+password combination but I thought It would be cool that the registration/activation process would involve telephone number or/and IMEI being automatically (in code) sent to my server. The benefits of this are obvious, seamless registration and as an added security measure in case the phone was lost/stolen.
Now,I know all about SMS gateways and I guess I would probably have to pay for this service to do what I want - or just let the User enter their telephone number in the login page. I also know that you can send emails to some telephone providers (not all).
Does any one have any knowledge of any free SMS gateways for small business use or pay-as-you-go service or/and clever way to register a telephone number with a web site either via GPRS or SMS?
Additionally, any knowledge of where to look to get the IMEI/UUI of the phone in code? It has to cover different devices so a generic way is a must (which rules out OpenCF).
I appreciate it is highly unlikely that are solutions to this without using a SMS gateway provider but there are some clever people on this site so open to ideas.
Thanks
The IMEI (and phone) number is locked down in the Windows Phone 8 API (for security reasons) so, if you want to make your solution future proof - you are going to have to force the user to find it on their handset and type it in manually. Other platforms (or previous versions of Windows Phone) may not be so strict on this.

Does anyone know how to access *Native* Sound Notifications in Flex Mobile, or the devices "audio" state?

Does anyone know of an AIR Native Extension (ANE) that allows you to access the device's notification sound(s)? OR, a method to query if the device is in "silent" or "vibrate" mode?
I've set up Push Notifications, but no sound plays on my (Android) device.
I know I can play my own sounds, but I want to use the native notification sound (the same as an SMS or email alert sound) and I don't want the sound to play if it shouldn't (viz. silent mode / vibrate mode).
I've been looking for hours and there's a "Vibrate ANE," and others looking for the same type of capability, but I haven't found anything usable for native sound notifications.
I believe that iOS automatically will play a notification sound when it receives a push notification (I think), but Android just flashes the "shade title" & shows the app's icon for the notification.
Maybe someone else has stumbled across a solution??? =)
Many Thanks!
Todd =D
I think you might have to be careful attempt to access the built in sounds on iOS.
We definitely could write an extension that played any of the system sounds. However I believe these sounds are copyrighted, and my understanding of the Apple ToS is that your application may get rejected from the AppStore if you use them directly.
This is why things like a notifications extension only use a "default notification" value to access system sounds that are set by the user. These sounds are played on certain system events.
The sounds are all accessed via undocumented IDs: http://iphonedevwiki.net/index.php/AudioServices
So yeah we’ve been very cautious of writing anything that could put developers in trouble with the AppStore. You have enough problems getting apps through as is. But if you read otherwise let me know.

Resources