Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am working on casting application. I am able to cast local videos from my app on TV using chromecast device.
Now I want to cast(mirror) complete android phone on the TV. I know Android provides this as a default feature by using Cast feature in quick Settings where user has to explicitly connect to a Chrome Cast device available.
How can I do the same from my application? I have tried using MediaProjection API to capture screen and save it.
Can anybody show me direction how to do that?
If you mean turning on mirroring programmatically from your app to mirror your phone, you cannot do that. If you want to limit that to your own app, then the closest thing would be to use the RemoteDisplay apis. Using those APIs, you can create a view in your own app and project that on your Cast device, see this tutorial.
The Google Cast SDK lets you extend your Android, Chrome or iOS app to control a TV or sound system. It supports many media formats, protocols and codecs to ease integration. Use Google's Official Cast SDK
and Sample can be found here.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm new to Android TV development. I'm looking to build my own TV interface that will allow me to create my own home screen with the apps I choose from the App Store, my own settings screen, ect. I don't want the user to be able to get out of my custom app and the main OS. I basically want to create my own flavor of the OS. Is this possible to do as an app that runs at startup and takes over the device, or would I be looking at creating my own version of the OS? And is it possible to create my own version of the OS and use apps from the Google Play store? Thanks
I don't think this is possible. In Google's documentation you can find information about all the things that you can do and as you will see, you are not given such wide freedom as the one you are seeking.
You can however, change through your app the content of the home screen but not the layout. Meaning that you can, for example, add a new recommendation on the home screen as described here. But, this is as far as you can get.
Edit: If you just want to run your app in kiosk mode on an Android TV device, you can do so, the same way you do it on phones or tablets. For example, scalefusion supports android TVs, but you should google to find more options and compare them in detail.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I want to make an app in which we can change API level of mobile temporarily and test our apps.So,
Is it possible to change API level of mobile and test our app by using android app?
If it is possible then how we can do this in android applications by using Java.
No deployed version of OS of any sort contains its previous releases (don't confuse this with OS backward compatibility). The simplest way to test on various versions of given platform is to use emulator(s).
For Android see either stock one or 3rd party ones like Genymotion or Blue Stacks.
You can do that via emulator.
I don't think that it's possible to do with mobile.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new in mobile app dev. And I want to build my app in standard camera. It will be like helper guide lines on camera to make better photos. But I don't want to build separate app, instead I want make it in standard cam like add on. So, because I am new in that sphere, I don't know is it possible to do, and which API or tools I should use. Can you help me with that?
In the way you want to achieve this based on description above : no, you can't.
Only way to do something like this is build own app (with own app icon in launcher) and try open camera from your app by Intent, but before that show tutorial within your app. But it seems to be not nice idea for tutorial purpose.
You cannot add more features in the application provided by different vendors. Each vendor(like Samsung, HTC) has its own application of Camera which is protected. If you want to do that then you will need to have permission of a vendor or become a vendor in the process. That entails to building your own OS or custom OS (Android Source Code is Open Source).
Next best thing you could do is provide a helper application that gives tips and tricks and anything informative for guidelines. Then user can learn from your app which is available for download through Google Play.
It is worth noting that almost every device hardware is different. Some features are device specific. Therefore quality and settings will also differ.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to develop voice and video call through our application users in android like Wechat Application. How can i doing this?
I have searched in Google but i didn't get any exact reference or samples. Can anyone explain and give some sample source and references for doing this functionality?
And I have few confusion about SIP and VOIP which one im going to use for support android versions 2.2 to higher versions applications?
Lumincall is an open source SIP. its under GPL licence so you wont Have to pay for it.
Linphone is an open source Voice Over IP.its also nder GPL licence so you wont Have to pay for it.
you can get the source code of these app. it may help you
You can use Jingle for video calling. voice call can also be done using jingle. But mostly in Android, SIP Protocol is used for voice calling since it is comes with android.
Voice call over SIP Protocol
You can also look into this sample implementation of SIP in Android.
SIP Protocol Implemetation
You can find some Jingle Documentations here
Jingle Specifications link
Maybe create socket communication over your server.(Leave stream) I development basicly two years ago. I send computer's camera views to phone screen via internet before. (Real time video stream)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
We are developing a mobile dating application which includes the following features:
Manage Photos:
Add/Delete
Able To Crop Photo
Reduce File Size
Auto Set Dimensions Of Photos Before Uploading To Server
Push notifications
If our target platforms are iOS and Android, could we achieve the above tasks using phonegap or similar cross-platform development apps?
If not, please suggest if there is an alternate way other than native development?
In theory, the tasks you described could be done using Phonegap with a help of an external JS library (example : pixastic) that can help you achieve some actions like cropping, resizing, etc.
But, the problem with Phonegap is that it is related to the browser's performance. As you know, the most used android versions are 2.3 and 2.2 . Their built-in browsers (used by Phonegap) can have some difficulties to load corretly some pages or render them as quick as expected.
But, if you are aiming ICS devices, you can go ahead. IMHO, I would develop this kind of apps with Phonegap if Chrome became the default Android's browser (may be in Android 5?). But, I would recommend native-developping your app.