Setting reminders in iPhone and android using AS3 - android

I need to set a popup reminder in iphone and android app, whether the app is active or not. How can this be done using as3 and flash cs5.5?

Have a look at the capabilities class :
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabilities.html
You can tell under which os your as3 app is running.If it's android, you can write some native java code and wire it(i m thinking sockets) to your app to show an alert.
For iphone,i don't know if you can.

Related

TOK BOX Screen sharing is not working outside my app

I did screen sharing (tokbox) for my application.
It works fine inside my app.
But I cannot share screen outside my app...
Can anyone plz help?
https://tokbox.com/developer/guides/screen-sharing/android/
I had also faced the same issue and had mailed to tokbox support.
This was their response:
The way our screen capture code works is that it recursively traverses the view hierarchy and copies those images to a buffer and then send that buffer over on the webrtc data pipe. Hence once the app is pushed to the background, we could not traverse the view hierarchy and copy the image, so screen sharing works until we are in the application (Android or iOS native app). If you want to share the screen view of Opentok app only, it will work but outside the app won't work. It's just to take care of the privacy and security aspects of the mobile app users.
So according to them you cannot share screen outside the application. It will only work when app is in foreground.
Update
After constantly asking the tokbox support team I got the following reply from them:
To screenshare the content outside of your application on Android and iOS can be achieved.
For Android, you need to use the Media Projection API together with Vonage/Tokbox Custom Capturer.
For iOS, you need to use the iOS ReplayKit together with Vonage/Tokbox Custom Capturer.
Basically, the implementation is to get a frame from Media Project API or Replaykit and then pass it via a custom capturer.
Following their response, I found Accelerator Core Android repo which showed how to integrate Media Projection API with tokbox.
More specifically these two files: ScreenSharingFragment.java and ScreenSharingCapturer.java
Using these two files I am now able to share screen outside my application.
Note:
Apps that target Android 9 (API level 28) or higher should use Foreground services or else your app will crash due to security reasons.
According to Tokbox, we can't share the screen outside the application.
Manik here from the Video API team.
To screenshare the contents outside of your application on the Android platform, you need to use the Media Projection API. In combination with the Media Projection API, you need to use a Custom Capturer.
We're working on a sample application that will allow you to accomplish this - please stay tuned!

Display Application widget on Lock screen android

I am stuck with one of my client requirement , it seems not be feasible to me as i am not able to find anything related to this particular requirement.I am goggling but does not came up with proper clue.I though studied the below mentioned link which states that it is not supportive . Here is the link :-
How to force a widget to appear on lock screen programmatically (Android)
i just want to confirm that is it feasible ? Or this can be achieved by making custom lock screen for application.
Here is what my client requirement is :-
I need your suggestion here , please let me know .
Thanks
i just want to confirm that is it feasible ?
As I wrote in the answer to the question that you linked to, the standard Android lockscreen framework only supports app widgets from Android 4.1 through 4.4, which is a steadily shrinking portion of the Android device ecosystem.
Or this can be achieved by making custom lock screen for application.
Android does not support the creation of custom lockscreens, other than by building your own modified version of Android, poured into your own custom ROM, installed onto whatever hardware your custom ROM supports.
There are plenty of developers who claim to create custom lockscreens. Those actually require you to disable the device lockscreen, then their apps attempt to interpose themselves between the user and ordinary apps. At the best of times, this offers weaker security.

Record audio while is touching a button like messenger, wpp or even allo react native

I need a button in the UI, which when you keep it pressed, it records audio. How I do that in React native? How can I record audio of that way?
Note: I need support for Android as iOS.
You have 2 options. You can either implement it yourself by bridging code for both Android and iOS and using their native modules. The second option is to use a pre-existing component react-native-record-sound which will give you the ability to record audio for both android and iOS. By the way, node package manager is a great resource for looking up react-native components if you ever are wondering if one exists in the future.

Application requirements to write a home manager in PhoneGap

Is there anything (plugin, library etc.), that would allow me to write a start up application / home screen manager for Android, using PhoneGap? If yes, then what particular circumstances must such application met?
Or, as I assume, this isn't possible and a native, Java-based, application for Android must be written to accomplish this?
Hello I'm sorry to tell you, but my opinion is that
it's IMPOSSIBLE to achieve such goal using Cordova/PhoneGap.
Hybrid applications are using smartphone's native WebView , thus you cannot invoke/reach the WebView from the Home/Launcher of the phone.
In order to get such WebView you must be in some sort of application (e.g. hybrid app written by you). The Home/Launcher CAN'T SERVE as WebView therefore you can't make such things with Cordova/PhoneGap
Sorry for killing the hope :D

Popup over incoming-call screen on phonegap

I want a popup over incoming-call. I use phonegap 3.1 and I don't use native language.
I've detected ringing phone with PhoneStateChangeListener and i want this:
A background image is also a good solution.
Can I to embed a native code??
Is it possible with phonegap plugin?
thank's.

Categories

Resources