I want to build an Cross-Platform App with PhoneGap. This App should run on Android and iPhone. The Android Version should be able to scan NFC Tags. Is it possible to do this with PhoneGap or do I have to write two native Apps, one for Android and one for iOS?
Thanks
Iphone has no NFC enabled devices yet. You can build the app with Phone GAP and will work in Android (there's a lot of blogs that explain how to do it) however not sure about if the app will launch in iphone due to it NFC required capabilities....
Today I suggest to write the app Native on Android... and wait a little to the Iphone 5.
You can write a plugin for PhoneGap to provide the NFC capability of the platform you are on. Here's one for Android.
https://github.com/chariotsolutions/phonegap-nfc/
When iphone 5 comes out with NFC you can just write the plugin for iPhone and add it to your project.
Update: iPhone 5 doesn't have NFC. However iPhone 6 does, but only supports ApplePay and SDK/API is not yet provided by apple.
Related
I am wondering if it is possible to run an tizen wearable app in background. I need to run an app in background. I am using several sensors and I need to save these data continuously.
another thing Can we get the sensor in Samsung Gear S2 data such as Heart Rate directly from an android app directly without any widget on the Gear S2.
I appreciate any help or suggestion.
Thanks,
I'm also new on this and I'm starting with Samsung Gear S2.
When I read your post, I thought I read somewhere that Gear S2 would only run web app, yet, I opened the Tizen IDE, used a sample native app, and installed it an ran on Gear S2, so, I would say that you probably can do it. I would just explore the native sample apps for start, you'll have to develop in c/c++ and as you might know, you'll need to instal the Tizen IDE and the Samsung Extension SDK (http://developer.samsung.com/technical-doc/view.do?v=T000000248)
hope it helps.
It wasn't possible in the first Tizen version that supported wearable (2.2) but became possible later (2.3) when native and hybrid apps were added to the wearable profile.
Not sure how running Android apps on Tizen is really implemented, but I'd expect the chances of Anrdoid apps getting access to device information (sensor and other) is fairly unlikely, as those come through Tizen-specific APIs with also Tizen-specific privilege requirements - the mapping would be complex, but who knows, someone may have managed it. You don't need a widget for that though, the same device information API (and more) is available through native apps.
Yes it is possible to create wearable background app but only with Tizen 2.3 & above and only in Native app versions not in Web apps.
If you want to build app in web version then u can write your service in native and UI in web app and make the app as hybrid app.
Follow the guide in link below to pack a hybrid app:
Tizen Hybrid App Packaging guide
I'm preparing to create a open source mobile app for learning to type in Braille. The app will need to:
Access up to 6 simultaneous touch points
Generate text-to-speech audio on the fly
Play MIDI sounds with 6 simultaneous channels, generated on the fly
Connect with a BlueTooth device
Ideally, I would like to create the app once in one development environment, and then deploy it to Android, iOS and other devices.
PhoneGap
Titanium
LiveCode
However, as far as I can tell from my research, none of these gives me access to all the native features that my project will need.
I would be interested to hear from developers who are working in these and similar development environments on how easy it is to handle the four requirements I have listed above.
With all those requirements i'd go for Xamarin, i know it can deal with text-tp-speech, bluetooth and multiple touch inputs but you have to check whether it supports your MIDI requirement.
And of course you can port to all platforms.
Bluetooth Chat Sample Application
TextToSpeech class
Hi everyone am new to android and developed projects on c, dot net frameworks and python. I have to develop application for android and iPhone tablets. Currently I have to write application for android and have two options.
1) Use java and android sdk
2) Use Phonegap
I would love to use Phone-gap because it's seems pretty much easy as I am familiar with HTML, CSS and JavaScript. But that's not my limitation as I have used jav with E-clips earlier. much better hint is single app for android and Iphone.
My question is if phone-gap will work for me. what I need to start my app on start-up without showing desktop and always on top. and read screen on/off actions. I have crafted kiosk and installed 10.1" android 4.1 tablet. I have to develop app to give it a POS look. My app should start as early as my device boot and always remain on TOP unless explicitly closed.
Any suggestion will be helpful for me as I am new and have only created hello world app on both.
I was using Android SDK for my application development. Now I am in a situation to move on cross platform development so, I started learning Phonegap as it is well suitable for cross platform.
I want to use external scanner device and card swipper with android device. I googled it but i didnt find any useful ideas.
I explored phonegap.com/ but it explains only about using device sensors,contacts and media information..etc. But It didnt say about implementing external hardware devices.
Please help me.
For a barcode scanner, you probably want to get a bluetooth capable device, as USB devices can be problematic to connect to different devices. Start by using it in HID mode, which emulates a keyboard (nb, doesnt play nice on iPad and other apple devices, popup keyboard disappears, but android ok). Later you can try using SPP mode. When using HID mode with phonegap, you dont need to do anything special, just read as keystrokes in html pages.
There is also a phonegap plugin for zxing to use the camera, but you asked about external physical scanners, which are faster for bulk scanning.
Haven't tried connecting card swipe readers to android yet
Can anyone give a comparative information between developing Android mobile applications using Eclipse SDK and Adobe AIR?
Kindly share your opinion, anyone who has already having any experience on developing Android mobile applications using Adobe AIR.
I have gone through articles on developing Adobe AIR but wanted to know if anyone found it useful. I am aware that Android mobile applications developed using Adobe AIR is supported for Android 2.1 and 2.2.
Thanks in advance.
I will do my best to answer your question, though it's a little broad (if you could provide specifics on the information you need, I'd be happy to add more detail).
Firstly, there's a ton of information both from Adobe and from the Flash/Flex community on developing for AIR for Android. You can develop for AIR for Android using Flash and the Flash IDE or using Flex and the Flash Builder IDE currently in public preview on Adobe Labs (you can do straight ActionScript as well if you like).
One of the benefits of using AIR is that you can leverage your existing skillset in Flash/Flex/ActionScript rather than having to learn a new language. Another benefit is that yu can reuse code for existing Flash/Flex/AIR applications you may have built. Another benefit, and the one Sheikh mentions above is that Adobe is working on making AIR a cross-platform mobile runtime. If you search you will already find articles from Adobe and the community about people running AIR applications on the Playbook (the simulator anyway, since the device isn't released yet) and even using the preview Packager for iPhone to compile their applications to iPhone.
Although I haven't worked with AIR, but what I feel AIR is for, is cross compatibility.
Its like you're not building for Android, you're building for AIR. and since Android supports AIR, your applications will run on Android device.
In future more Mobile OS will start supporting AIR, so if you code an app for AIR, there will be a huge possibility that your same code runs on different platforms like Android, Windows Phone 7, iPhone (perhaps :-P). Thus, it will be saving a lot of coding effort for coders.
I have discovered that the cross-platform compatibility for AIR applications is quite good except for a few caveats:
1) User input boxes. They are generally not handled well in AIR applications. The popup keyboard can hide the input box, which it generally does not do with native JAVA apps for Android.
2) Real-time games. AIR for Mobile is SLOW. You may be disappointed if you try to develop any sort of real-time software.
3) Socket communication. This is my current peeve. I created a simple chat application in Flash and did some speed tests. This is in preparation for creating multi-player games for mobile devices. On the PC, the application can run over 200 messages per second to the server and get responses. On the AIR for Mobile, both on the iPhone and Android, it is about 11 messages per second max - and the app is doing nothing BUT sending and receiving the data strings. Add a layer of game play and the speed limitations could be crippling. This means real-time games may suffer if you need faster communications. It's plenty fast enough for turn-based or games that don't require lots of updates.
Basically, the cross-platform compatibility is nice. Just think about whether your particular project might be harmed by the speed issues as well as potentially poor handling of user input boxes. Do some testing.