LaunchingAndroid application from Android browser / Chrome - phonegap - java

I'm working on a project and I want to implement qr-code scanner in it.
I tried to look for an in-app solution but i didn't find anything relevant so i decided to use a common bar-code scanner to launch an url.
When the user tries to open this link, I want Android to show him a chooser dialog where he can choose to open that link using my application.
I saw a lot of answer to a question like this, but i didn't find anyting about implementing this thing in a no-native android application.
The application is made in html5+javascript+php and all the answers i found spoke abount intent and so on...there is a way to implement the same feature using html5?
Thank you,
Christian

here is the perfect link -
http://devgirl.org/2013/09/17/how-to-write-a-phonegap-3-0-plugin-for-android/
Even I am new to cordova and found many difficulties while designing my 1st plugin.
and be careful cordova 3.0 and later version of cordova has huge difference with the earlier version.
best

Related

Android gui design tools or framework like bootstrap

I am a web developer, recently i have developed a android app using cordova.
But my application is slow, so i deside to developed the same app using andoid no native code. But the challenge is making same gui. i am new in android.
So my question is that what tools i use for gui design, and is there any framework like bootstrap? thanks in advance.
Maybe this might help: http://www.androidbootstrap.com/
Github link: https://github.com/AndroidBootstrap/android-bootstrap
Android app is also a browser app designed in xml, what kind of app you want to build if its an offline app you have design in xml but if it's online app (ex: playstore) you can use WebView it gives you a browser(with your webpage address hard coded in it) within an app and there you can open your mobile website.
Just like other apps do flipcart, jstdial, amazon etc.
Tools: Android Studio is best but for Start download Eclipse Atd bundle its comparatively light later you can switch to Android Studio.
Unfortunately there is no
and
www.androidbootstrap.com/
You have to do all your design in xml resource, where you can use tags like - style, selector, layer-list, item, shape etc. And these resources have to be controlled dynamically using java (in activity).
In Developers documentation of android (provided by Google) you will find details Style elements

How to add in the simplest way Google service to applications [Java, libGDX]

I develop apps for Android using libGDX and I want to add Google services such as Google Games or Goodle Ads but I can't do it. I downloaded Google services with SDK Manager and read many guides but none of them have helped. When I try to add compile 'com.google.android.gms:play-services:7.3+' to build.gradle it pops up errors. Hence my question is how to simply add google service to applications. I program in Android Studio.
Your question is very broad so I can't give you an exact answer.
This is the official place to go if you want to incorporate google play services.
This is the place to go if you want to include google play ads service
Note that Intellij Idea is pretty much the same as Android Studio. Whatever works for Idea works for Android Studio in this case.

implement list of user's facebook friends that are also using my application

I'm trying to implement an Android activity witch shows a list of images of the user's friends that use the same app also (like in Tinder app). I've searched the web for days and everything I found is too old or doesn't seem to work properly (mainly because they are all based on earlier versions of facebook SDK).
Can somebody please attached an explanation, or even better, an open source of example like that.
There's an example in the docs. I wonder how you didn't find that...
See
https://developers.facebook.com/docs/android/scrumptious/show-friends

"One App" Android System

I created an Android app which communicates via USART with a µC in order to evaluate data. My co-workers and customers should use the tablet for only this purpose now. Is there any possibility to "hide" the Android OS or making it inaccessible?
Devices are rooted and I am willing to build custom ROMs (even though I do not have any experience with that yet). Are there any approaches available that I do not have to start from scratch?
Many thanks for your help.
Well. That what I'm trying to do !
The first thing I tried was to start the app just after the boot of the device (Quite easy with this).
Then, I get Android source code, and I hide the bottom bar using this code
The problem is, if your application is not stable ... you'll have some problem.
If you want to modify Android source code, the developper doc contains a very good tutorial to start !

Developing Android outside of the SDK

It seems as if every Android application I really want to make is impossible to make with the current SDK. It doesn't give me access to certain things I would like to work with. This is an example of one of these things.
I know it is possible since I've seen apps in the market that do things that the SDK cannot do. My basic question is can someone point me in the direction of how to create such an application. I've searched around, but all of the links I've found are for developing with the SDK. A simple link to a tutorial that can show me how to access Android elements that aren't available through the SDK would be great.
Thanks.
You will not find a tutorial on it because the NDK is in flux..
What I have found is ..
One of the Eclipse CDT has blog posts on how to setup NDK projects in Eclipse.
The people who know Android Embedded C and frameworks are usually on certain IRc channel.
Plenty of code documentation..
Google search for android jni wrapper blog posts.
But keep this in mind several areas require state management as hey interact with hardware buffers in a certain way..ie audio..video..etc.

Categories

Resources