I am developing an Android application using PhoneGap.
My application starts with a custom URI with something like myscheme: // mydata. I can get the data in the class of my activity as follows.
Intent intent = getIntent(); if(intent.getAction().equals(Intent.ACTION_VIEW)) { Uri data = intent.getData(); if (data != null) data.toString(); }
However, I could not find a way to transfer this data to my javascript code on the cell phone side. Any help is appreciated, Regards
Erhan source share