PhoneGap - launch an other app from current app - android

I'm developing a phonegap based app for android and wondering how to run another app or even go to the android marketplace when the wished app is not installed in current device.
Any help would be appreciated.

Yes Dozent, it is possible but you'll probably end up needing to write a plugin to call an Android Intent. Many of the core PhoneGap API's like Camera use Intents.
http://developer.android.com/guide/topics/intents/intents-filters.html
http://wiki.phonegap.com/w/page/36753494/How%20to%20Create%20a%20PhoneGap%20Plugin%20for%20Android

Check out this plugin called WebIntent. To learn more about intents, see here.

Related

Ionic getting to know what was the recently run apps on android

I'm writing a simple android app detection using Ionic (fairly new too as well with mobile apps dev using Ionic). Using this plugin App Availaibility I was able to get a list of installed apps, however is there a way or plugin or is it possible to know what was the recent app that was used in the foreground? Like if a com.android.appname was run, it may be able to detect it? Thanks.
No there is not, I'd assume that there won't be a plugin for this either. In order for the device to know what app has ran in the past, it must hold this data somewhere. I doubt google or apple does anything like this.
or
you can always try and build a plugin yourself and see if its possible.

Create an android and iphone app at the same time

I've done alot of research about app developpement but i dont seems to find a consent about creating an application that work on iphone and android with one time coding.
I'd like to know if it's possible to create an application with android studio and js that work on iphone and android device without any modification?
If not, is there a software that I can use to create an application that work on both and witch language can I use? For exemple Facebook work on iphone and android, it would be strange if they had created two separate app ...
I've never created an app for iphone before so I hope I'm clear about what I asked.
Thanks for your time.
You can use flutter also for application development that allows you to create app in android and IOS both at the same time.

Implementing a container App for Android apps?

I need to create a container Application in android in which I can launch and manage some of android apps.I have just started with android programming so I have very less knowledge how to go about it,it will be helpful if some one can give me some documentation references/links/sample projects which can help me out.
Basically you are trying to control several applications from one application, for that you need device administrator permission. Check the following link.
http://developer.android.com/guide/topics/admin/device-admin.html

Develop app just to showcase a website on ios and android

So what I want to do is, "develop" an app where it main purpose is just to open a website. I need that on android and ios. Is there an online website to do just that?
I jused to know a website, where you could develop for various platforms (PHP, Java, Object C for iOs) and even test your code online.
Somehow I can't find it anywhere. Thank in advance if you can either show me the website again or find me a new website to do just that.
Regards!
Update:
Found the website: http://www.programmr.com/
I think you're referencing PhoneGap.
PhoneGap allows you to build native applications using HTML/CSS/JS for all mobile operating systems.
If all you want is for your iPhone App and Android App to open up a website "inside" of the application, you will want to use a webView. This will allow you to have your application listed on the iOS App Marketplace and the Android Google Play Store.
EDIT: This will definitely work on Android. You must get pass Apples app approval process to get on iOS of course.

Can I develop for Android without an Android phone?

I don't have an Android phone, is there still a way I can learn Android? How can I learn and what do I need?
Yes, absolutely ... the android SDK comes with an emulator, which, while quirky in some ways, does a pretty good job of letting you at least start learning and running most sample projects.
edit: This thread is somewhat old, but in recent times a new emulator has been released that is quite nice. Check out Genymotion :)
To add to Joel Martinezs answer,
Yes you can learn android dev without having a device, although it is really good to have one if you are into dev.
I started 3 months back and this is what i did
Downloaded the sdk and tools
Created a hello world app
Read about android sdk best practices in the developers site.
Looked at a lot of sample apps to know how they work
Started creating our app.
If I could do it, I am sure you could do it too. Android development is very easy to get started. You have all the info you need in the android developers site. If you need any help we are here at StackOVerFlow :-)
You need to fulfill the following requirements
Java knowledge
Android sdk
Android simulator
working knowledge of android OS(you can get it using emulator)
creativity and logics
Finally, a video tutorial(I suggest lynda.com)
Also take a look into android developer official site
Hey in addition to the above answers,
u should actually test on ur device when u r making an app that uses one of the following :
GPS, or wi-fi to get user location
when u want to use any phone sensor in ur app
when u r trying to integrate camera/ camcorder in your app
also u might need to actually test phone call/sms functionality integrated in an app
otherwise the emulator just works fine
As Joel puts it, you can use the emulator. Here is the developer website, and here is the page specific to the emulator.
Sure. Just get an android emulator and use that for your development. there are free emulators available online as well as tutorials and lots of books available for android OS development.

Categories

Resources