We have developed a magazine reader which is basically PHP application. Admin panel is built in PHP but when any user wants to read a particular magazine, it is handled by Flash i.e. we are embedding the .swf object with HTML in PHP page. But flash is not supported in iPad/iPhone. So we want to create this application in Xcode so that user can read the magazine in iPhone/iPad also. There is confusion how it can be accomplished. Does anyone has created any application similar to this??
Regards,
Vrunda Variya
If you want to have a Web app, you will have to go the HTML5, CSS, Javascript route, if you want to have your site but rather force iOS user's to view the content on a native app, just make sure you link them to your app, here is a tut on how to use Custom URL Schemes, here is a link to the Newsstand API Overview ( you need an Apple dev account ) a very solid way to distribute magazine like subscriptions on apps, and you get featured as a Newsstand app (read so you can understand it more it might not be what you need), I think you need to have a clear idea of what you are trying to accomplish so that you can decide on what are the best tools for the job.
Hope this helps!
Related
I have a website, www.website.com. This website includes three pages:-
Home Page www.website.com/home.php
Contact Page www.website.com/contact.php
Offer Page www.website.com/offer.php
Now I have created a web view app of my website (Native App)
A user having an android app, visits www.website.com/offer.php?root=yes from the browser.
What are the ways, so that the link opens in the app, rather than in browser?
I'd suggest you using this assistant, which is built in Android Studio. It's gonna add the necessary code for you in order to lead the users from those links to your App using App Links. Notice that this solution is available only from Android 6.0 (API level 23) or higher.
In order to support lower API levels, you should read this post and this documentation about Android Deep Links.
For your understanding, you should read this documentation about handling Android Deep Links and Android App links, and the difference between them. See which is better for your needs.
You can use deep linking
https://developers.tune.com/sdk/deep-linking-to-your-mobile-app-from-your-website
Here in the example one html code is given you can add the js code in your page and you can remove the setTimeout as it is redirecting to play store if you don't want to force user to install the app
I'm a newbie in website designing and I'm stuck with a problem. I want to accomplish the following and I don't know flash:
I want to create a webpage where I can record users voice using his microphone and then save it on the server.
Once it's done i would like to access the same recording and then play it on the browser.
I want a step by step approach.
Here are some tips:
Look into developing for Flash with some Flex variant.
Then start with an example like this.
Some good keywords to use in your Bing search are flex, flash, actionscript, or spark.
How to record user's voice from the website without Flash? I want to use HTML5 but I found it will be hard to implement that. This site says this functionality is now only supported by the latest version of Chrome and Opera.
After searching the articles both here and the other site, I decide to find an alternative approach.
The scenario is: users will use different sort of platform (Android/iOS and other OS), but they access the same website and record their voice in their device and upload it later.
BTW: My purpose is that, as the users press the "Record" button on my web-page, the recording starts with his microphone. And as he presses the button again, the process stops. This can be on an iPad or a mobile phone so that he can't record his voice by some other software and store in his device then upload. They use their device to link my web-page to record voice. The webpage is not just for the users who operate on a PC.
Can I implement this function in client side via javascript? Or I should refer to Server side? What language and method should I adopt?
You can check google's web fundamental article on recording audio here : https://developers.google.com/web/fundamentals/media/recording-audio/
Its pretty easy to follow and it is device independent, obviously given correct browser support. You can get the audio recorded and saved on the local device or upload it to a server. Hope it helps.
oh, and on a note, its based on HTML5 and js. I don't know why you think implementing it using HTML5 is difficult but I hope this helps.
If it was up to me, I'd go for something like the link mentioned above and just use a fallback to Flash applet if its not supported in the users browser.
When it comes to the mobile platform, you'll have a big problem at least with the iPhone. I dont think you can upload files, and Iam pretty certain that you cannot record audio from their microphone. The best approach would be an application to do such a thing on mobile devices. Iam pretty sure that this can be done with PhoneGap - http://docs.phonegap.com/en/1.0.0/phonegap_media_capture_capture.md.html
If your not familiar with PhoneGap it allows you to write cross platform applications for mobile devices in HTML/CSS/JS and still get access to some core components. Like capturing audio.
Unfortunately no, you can't record from the browser, however, if you have an app (you can use Phonegap/Cordova (which use HTML5, JS and CSS to build your app for many platforms)) to record whatever you want to record, you can easily upload what you want to your server. It is currently impossible to use pure HTML5 in the mobile web browser to do this.
If you want to learn more about this, the API reference is a good start: http://docs.phonegap.com/en/2.1.0/cordova_media_capture_capture.md.html#capture.captureAudio
Just wondering if someone could point me in the right direction of how to change some text on the Facebook Auth Dialog. I've attached a screenshot of the information I wish to change, which I know is possible as I've seen it done on applications such as the Pinterest app.
Can't seem to see that section highlighted anywhere on! https://developers.facebook.com/docs/opengraph/authentication/
Thanks in advance.
The Auth Dialog uses an iFrame/separate window and therefore cannot be manipulated (design wise).
If you are simply changing permissions and text etc then use the app settings and the Auth settings here:
https://developers.facebook.com/apps
If you actually want to redesign the screen then your only option would be embedding the Facebook iFrame on top of your content and making it transparent (not good practice). The Auth dialog must be hosted on Facebook's server for many reasons, therefore I am certain this cannot be done without ugly workarounds.
UPDATE
It seems that you would like to change the permissions that your application requests. This is is very easy using the HTML for your login button. Just add this to your element:
scope="user_about_me,publish_actions...(any other permissions you want)"
However, I fear that you may want to take this a little further and actually display things like this:
This app shares routes you ran, loops you ran and other activity on
Facebook
Although this is pretty simple to implement using the Open Graph to add 'actions', you cannot simply write out the text. It generates it for you based on what actions you have.
Is this what you are looking for? If so, I will explain in more detail how you can achieve it
You can change the copy on the Dialog from the the app settings on Facebook. Settings-> Auth Dialog.
I'm trying to allow users to take pictures with their webcams and save it. How can this be done? I am looking for something similar to Facebook or dailybooth in terms of their UI. I know smoe PHP/jQuery but I'm also wondering how I could save the pictures once "taken"?
The Facebook webcam thing is made using flash as you can see here:
This is all pretty easy to achieve with Flash (the actual capturing of what the webcam can see). I'm not sure how developers get from there to uploading the image to a server, though.
If you have knowledge in Flash / ActionScript 3, then this will get you started:
Camera.getCamera()