Using the Camera OK button - android-camera

I have written an app that allows the user to take a photo with the camera capture some other information then attach the photo to an email and send it. But on the Motorola Droid the camera is started but the OK button will not return control to my application. The cancel button is the action that will return control to my app, even the back button does not work either.
Is it more likely that this is a hardware or software problem and does anyone have any suggestions on how to debug and or solve this problem.
Thanks,

If you are using an Intent, this may be the source of the problem. If you are using the API, I would make sure your layout is correct.
It would be helpful to know which level of the Android API you are targeting and which version of Android the Motorola Droid is running. Have you tested this on other devices? In the emulator?

Related

Chrome DevTools not giving accurate mobile view compared to real mobile view

I am trying to make my webpage mobile friendly. So, I am using Chrome DevTools to design a mobile version of my webpage. I have it the way I want it to look in DevTools. I uploaded it to my website & viewed it on a actual mobile phone & objects are not in the same places as they are in DevTools. I used the iPhone 6 mobile design in DevTools and also view it on an actual iPhone 6. They don't match. Anyone else have this problem? I have read articles about this, but don't know how to fix it. Any ideas? Should I use a different emulator?
This is Chrome DevTools version on iPhone 6:
This is how it really looks on an iPhone 6:
DevTools technical writer here. DevTools is just a simulation of mobile devices. It can't truly simulate an iPhone. So it's always a good idea to check how it actually looks on the devices that you care about (like you did). I don't think there's any bug or issue here. It's just an instance where the DevTools simulation doesn't reflect reality 100%.
Mac users can use Xcode's Simulator (that's the actual name of the simulator) to emulate any Apple mobile device and see exactly how their website will appear on it.
You can use it to open Safari and access your localhost. I used it to fix issues on my website, issues that I could not reproduce in DevTools' device simulator.
Clear the cache for on your browser to ensure that your phone is accessing the most recent updates to your code.

how to make phone call in Adobe Flash Builder

i am developing an application for andriod and iphone in the Adobe Flash Builder,how can i make a button that when is pressed the phone(doesnt matter which phone) forwards the number to the phones dialer or makes it VOIP call, thanks in advance :)
I think you're looking for something like the tel link: Inserting a pause into a tel:// link
I've not tried it, but putting this into the htmlText of a TextField and clicking on it should work
Android has a similar functionality I think:
http://androidforums.com/android-applications/31225-possible-make-link-telephone-number.html
Android WebView "tel:" links show web page not found

How to initiate/send SMS from a HTML5 webpage using devices native functions?

I am wondering how can I open the send SMS application by using a web control of a HTML5 page on Android and iPhone. I want to use the device native SMS sending app, with a prepopulated value from the web.
Further to other answers I can confirm that smsto:555:bodytext does not work on an iPhone running iOS5.
What does work (and I've tested it) on Android is the format:
sms:444?body=hello
Example:
Tap to say hello!
On iPhone the ?body=hello will prevent it working at all, and you should use just sms:555 instead.
sms:555
Example
Tap to text us!
I have tested the below and it works:
Using HTML Anchor tag:
Subscribe
Using JavaScript:
window.open('sms:111?body=SUBSCRIBE', '_self');
With Android 3.0 SDK Google has started exposing API in HTML5 for device access. An example is listed here. It may not be enough for what you seek to do.
I dont know enough about iphone to advise either way.

iPhone Browser Live Testing

I'm using win7.
and i have website which i want to test it with iPhone browser environment.
which it's use most flash (jISFR).
this is the website i talking for,
http://www.hamuranalodge.com/
may you can see menu navigation is using flash jSIFR, which it's seems not work in iPhone, and want to fix it. of course i need iphone Testing for it.
Is there somebody know how i can test it with iphone browser?
may there is a software can do it?
or a website give service like that?
Thanks
Not a perfect solution but you might be able to test it on the Android browser instead. The SDK runs on all major OSs and is free to download and install. Just make sure that flash support is turned off. I'm pretty sure iPhone and Android both use WebKit so you should get similar behaviour on both.
You could use the iPhone simulator if you have access to a Mac.
There are sites like this:
http://www.testiphone.com/
but this one doesn't work very well, at least not for this particular request. Go there and point it at www.worldsbk.com - it renders the Flash block on the top right hand side just fine on my desktop computer (Firefox3 Mac OS X), but have a look here:
http://www.flickr.com/photos/bigiain/5037577763/
to see a screen grab of that page from my iPhone... Note the big grey block where the flash bit should be...

Send data from iphone app to mac desktop app

I have an iphone app that when touching a button should push a text to a mac desktop app. On that mac app when touching a button (or instantly) it should show that text.
What steps would be invloved in this? I mean the networking part.
Any tutorials you can share?
Thanks
You might want to have a look at ZSync. It's an open source framework designed to do exactly this.