Possible for Detox framework to take a photo on simulator/emulator? - android-emulator

I haven't found any documentation from Detox or general conversation about this while researching, so I fear this might not be possible. Has anyone been able to take a photo with the camera app using the Detox testing framework? This would be while running on a simulator/emulator.

Yerp, not possible... Solution is to mock the camera API.

Related

iPhone - Cover Flow

I want to integrate the Cover Flow for the images display in my iPhone Application can anyone guide me how can i do this. I found lot of tutorials on Google but not a single one is helpful
Cover flow is a private apple api so you cannot use it.
There are, however, open source alternatives like FlowCover.

Live Video Chat for iPhone and HTTP Live Streaming

So generally, I want to make an app which has video chat functionality for iPhone. But after many searches, I am still not able to find any successful results. Is there any public or even for that matter, private API available for doing this on iPhone??? If you have an YES answer, please help me.
Basically, what I want is to read the streams of the video on both the devices connected for chatting. Thanks a lot in advance and please help me if you can.
p.s - I have already checked iDoubs but it failed and always shows some unknown problem and for that reason, doesn't allow me to connect to anyone.
ALSO : The suggested method I have found is via HTTP Live Streaming. But, in that too, I have multiple doubts.
1.) I need to find how do I upload my video from iPhone to the HTTP server from where I would be broadcasting?
2.) Can you please post something related to setting up the server? How do I feed the video to the FFMPEG Server?
Mainly, I need to find the upload method. I am right now simply sending hex-code in the form of NSDATA to the server and I am stuck there. The main problem is, It is live. How do I handle that?
It would be best, if you could help me make the iDoubs work properly.
Thank you so much for any kind of support!
have a look on this how to implement video chat in iphone But before starting you must have a IMS server up & running.
here is the live video chat framework what you are looking for. Its easy and simple to implement for face to face video chat. I have already tried this. Its working very fine. Great thing about this framework is multiple platform support.
Tokbox : https://tokbox.com/platform
https://tokbox.com/opentok/tutorials/
Sample Code:
https://github.com/opentok/opentok-ios-sdk-samples/
Edit:
Here is the article explaining opentok using parse.
http://www.iphonegamezone.net/ios-tutorial-create-iphone-video-chat-app-using-parse-and-opentok-tokbox/
HTTP live streaming is primarily an approach for adaptive streaming from server-to-client. For client-to-server rather go for traditional streaming. There exists an open library for streaming, see this question.
Whilst it is possible to facetime to do two-way chat, it is not certain that you will be able to using public iOS APIs. That said, I have implemented one-way live streaming for iPhone and the difficult part was not the core streaming itself, but encoding of the payload. You will be able to do H264 in hardware and AAC / iLBC in software.
How you want to feed this to the FFMPEG depends on your transport, possibly changing from 'file' H264 frames to 'streaming' H264. Check out the H264 frame types if you implement frame dropping; reconfiguring the H264 encoder on-the-fly is not possible to my knowledge, but restarting with fresh parameters typically does not take more than a second or so.
Did you attempt to play back a live resource while capturing? That is a good starting point. If you come across an open API for H264 encoding, please post it here ;-)

Help me to play video on iPhone App

I would like to do video streaming from my iPhone application...I mean i want to play video from the web url.
So friends, pls. provide me your guidance or reference (links,tutorial )on this..
Thanks for your time.
This all depends on what technology you are using to build your iPhone application.
If you are using PhoneGap and the html, css, js approach have a look at the html tag. Usage is pretty straightforward.
If you are using Appcelerator's Titanium software to build your app then you can have a look at their kitchen sink example and at their api docs for playing video
If your using native objective c and through all this I am assuming on demand streaming as in not a live show or something then have a look at this SO question
Hope this helps.

How to copy a song from iPod Library to app?

In my application, I want to copy a song from iPod Library.
How can I do that?
Yes. It is possible, but hardly practical, to access raw song data. What you do from there is up to you. Here is a lengthy and detailed description of the process: http://www.subfurther.com/blog/?p=1103.
EDIT: Please be aware of App Store guideline 9.1 before making use of this technique. These guidelines require a developer login, so I've removed them from my post.
I think you can't.
Apple should not allow this !
Edit : see iPod Library Access Programming Guide but I don't think you can access to file. Just metadata.
if iMovie can do it, and they say it is done with all public API's they are in direct conflict with themselves...
Maybe this gives them wiggle room to allow you to post iPod library content to YouTube, since YouTube handles the appropriate detection of sensitive audio. This is sticky but here is the final solution you should learn from to do the job...iPodLibrary Music to PCM Samples revised
Checkout this it will helps you
https://github.com/davidcairns/MediaPlayerDemo

Rolling an image partially like in google maps

Can someone tell me how I can realize the rolling / unrolling animation as in google maps for iPhone? Thanks.
This is not a public API on iPhone currently.
I think it is the PartialCurl transition. Not sure if it is available on the iPhone. Might be an iPad (3.2) thing only.
Also see Partial page curl animation