Osclass forums
Support forums => Tips, tricks, and tutorials => Topic started by: qaximor on October 16, 2014, 02:34:14 am
-
It's really easy and you don't need any prior Java or Android development knowledge.
What you need is:
Eclipse
Java SDK
Android SDK
(I won't be getting into how to download and install them, please look for a tutorial on the internet there is a lot of them trust me!)
Mobile Plugin from the Plug in market to force mobile devices to go to the mobile version and if your theme already has mobile version supported then you don't need to install it.
So what you need is 3 codes to copy and paste, THAT'S IT.
First code you need to past in your activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="@android:style/Theme.NoTitleBar"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="none"/>
Second code you need to paste in your MainActicity class (Don't forget to edit your package name above! If you are not sure just copy paste as it is and then ALT+ENTER and eclipse will edit and write your package name.
package YOUR_PACKAGE_NAME_HERE;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.example.esouqbh.esouq.R;
public class MainActivity extends Activity
{@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Remove title bar as we already have it in the web app
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
//Point to the content view defined in XML
setContentView(R.layout.activity_main);
//Configure the webview setup in the xml layout
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
//Yes, we want javascript, pls.
webSettings.setJavaScriptEnabled(true);
//Make sure links in the webview is handled by the webview and not sent to a full browser
myWebView.setWebViewClient(new WebViewClient());
//And let the fun begin
myWebView.loadUrl("http://YOURWEBSITEURLHERE.com"); }}
NOTE: change http://YOURWEBSITEURLHERE.com (http://YOURWEBSITEURLHERE.com) to your website URL.
Third code you need to paste in AndroidManifest.xml is
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Paste it right before </manifest>
Guess what? That's it! You just made your Osclass website into an android app!
-
That's great!
Would this also work with Android Studio?
-
Yes of course!
-
What about a native apk for android? Going to mysql directly??
-
Hi :)
nice tutorial :)
i want to ask, I've tried the tutorial of your work but on the uploaded image to the new ads can not, how to be able to upload an image from android?
then how to keep uploading images of android can choose an image from the camera or gallery
-
Hi :)
nice tutorial :)
i want to ask, I've tried the tutorial of your work but on the uploaded image to the new ads can not, how to be able to upload an image from android?
then how to keep uploading images of android can choose an image from the camera or gallery
It should work as it would in a normal browser of a phone. I tried uploading from my app and it works perfectly.. I have no idea how to fix your problem, sorry.
-
Hi :)
nice tutorial :)
i want to ask, I've tried the tutorial of your work but on the uploaded image to the new ads can not, how to be able to upload an image from android?
then how to keep uploading images of android can choose an image from the camera or gallery
It should work as it would in a normal browser of a phone. I tried uploading from my app and it works perfectly.. I have no idea how to fix your problem, sorry.
hi :)
thanks for replying, yes I have a problem in the input file, and the following is the input code file that I use:
<input type = "file" name = "Photos []" accept = "image / *" capture = "camera" />
but it does not work, if anyone could help me?
thanks before :)
-
sdk manager icon not shown :( :(
-
This sounds very interesting and will give it a shot, currently i have an app made by a third party to do just this, but has their ad plastered all over, so I will give this a shot.
I take it you just set up a new android app in the java ADT and just save it as an APK file?
-
:(
-
It's really easy and you don't need any prior Java or Android development knowledge.
What you need is:
Eclipse
Java SDK
Android SDK
(I won't be getting into how to download and install them, please look for a tutorial on the internet there is a lot of them trust me!)
Mobile Plugin from the Plug in market to force mobile devices to go to the mobile version and if your theme already has mobile version supported then you don't need to install it.
So what you need is 3 codes to copy and paste, THAT'S IT.
First code you need to past in your activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="@android:style/Theme.NoTitleBar"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="none"/>
Second code you need to paste in your MainActicity class (Don't forget to edit your package name above! If you are not sure just copy paste as it is and then ALT+ENTER and eclipse will edit and write your package name.
package YOUR_PACKAGE_NAME_HERE;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.example.esouqbh.esouq.R;
public class MainActivity extends Activity
{@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Remove title bar as we already have it in the web app
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
//Point to the content view defined in XML
setContentView(R.layout.activity_main);
//Configure the webview setup in the xml layout
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
//Yes, we want javascript, pls.
webSettings.setJavaScriptEnabled(true);
//Make sure links in the webview is handled by the webview and not sent to a full browser
myWebView.setWebViewClient(new WebViewClient());
//And let the fun begin
myWebView.loadUrl("http://YOURWEBSITEURLHERE.com"); }}
NOTE: change http://YOURWEBSITEURLHERE.com (http://YOURWEBSITEURLHERE.com) to your website URL.
Third code you need to paste in AndroidManifest.xml is
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Paste it right before </manifest>
Guess what? That's it! You just made your Osclass website into an android app!
Yep, didn't work, loads of errors come up when loading this into the ADT, ah well, worth a shot, i think its because it loads a blank template with all the imports already inlcuding package name, i think i just need to play with myview.load url part
-
can u help me with teamviwer ?
-
have you opened Eclipse and tried to run the sdk manager from there?
-
Yeah, its still not working for me I get a blank page saying
Unfortunately my site has stopped working.
This might be down to this line
import com.example.esouqbh.esouq.R;
Maybe more examples??
-
have you opened Eclipse and tried to run the sdk manager from there?
where i open eclipse ?
-
@Hello
If you don't know how to open eclipse, then this tutorial is not for you, sorry
-
i mean there is not a applcation icon
-
See enclosed, if its not there, then you havent got it downloaded, and installed properly
-
PS, got this working fine now.! Many mins of patience!!
-
It's really easy and you don't need any prior Java or Android development knowledge.
What you need is:
Eclipse
Java SDK
Android SDK
(I won't be getting into how to download and install them, please look for a tutorial on the internet there is a lot of them trust me!)
Mobile Plugin from the Plug in market to force mobile devices to go to the mobile version and if your theme already has mobile version supported then you don't need to install it.
So what you need is 3 codes to copy and paste, THAT'S IT.
First code you need to past in your activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="@android:style/Theme.NoTitleBar"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="none"/>
Second code you need to paste in your MainActicity class (Don't forget to edit your package name above! If you are not sure just copy paste as it is and then ALT+ENTER and eclipse will edit and write your package name.
package YOUR_PACKAGE_NAME_HERE;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.example.esouqbh.esouq.R;
public class MainActivity extends Activity
{@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Remove title bar as we already have it in the web app
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
//Point to the content view defined in XML
setContentView(R.layout.activity_main);
//Configure the webview setup in the xml layout
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
//Yes, we want javascript, pls.
webSettings.setJavaScriptEnabled(true);
//Make sure links in the webview is handled by the webview and not sent to a full browser
myWebView.setWebViewClient(new WebViewClient());
//And let the fun begin
myWebView.loadUrl("http://YOURWEBSITEURLHERE.com"); }}
NOTE: change http://YOURWEBSITEURLHERE.com (http://YOURWEBSITEURLHERE.com) to your website URL.
Third code you need to paste in AndroidManifest.xml is
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Paste it right before </manifest>
Guess what? That's it! You just made your Osclass website into an android app!
Yep, didn't work, loads of errors come up when loading this into the ADT, ah well, worth a shot, i think its because it loads a blank template with all the imports already inlcuding package name, i think i just need to play with myview.load url part
What errors are you getting? Make sure you change the package name to whatever is yours.. and check if the name of your MainActivity.java file is MainActivity or MyActivity (Android Studio calls it MyActivity by default) so check for the changes that you have to make.
-
;)
see reply#19
all good, i had set up a new app with multiple actions, when i needed a blank action to start off with!
-
@aide2001
How does your UI looks? Can you share some pic of your apps look and flow chart?
Also is it available to download and try? If so how and where?
Are you directly getting the data from server via the webservice or are you saving to a local db and then displaying to user?
Thanks
-
@bengalliboy
Yes you can download it directly from playstore
its a little more difficult for blackberry, and near impossible for itunes, especially as apple want $99 before you even begin!
I was going to do an app for the Windows phone, but that's a nightmare too!.
So google play is the only one so far search for bikersbay and you will see.
At the moment it's direct from the webserver, but intime, i'll be uploading to the data locally every night. So you dont have to be online.
-
aide2001
I don't see on google play. What is the link? Can you make it downloadable from US? Or is it restricted for your country only. If so can you share some screen shots please
-
I've put it into the USA market, but they say it may take several hours to take effect
-
"bikersbay does not need any special permission"...I like that :) Compared to other apps that want to take over my whole phone :)
Seems to work pretty good. Well done
-
Cheers. Why take over your phone, its just an app !!
Thanks for trying it.
Spread the word.... ;)
-
This is epic will give it a go and see
-
I found the other day that on the net you can change your app from apk (android) to bar files (blackberry)
pretty cool, so you can get your app to work on android and blackberry using the same files !!
Just apple to bash through
-
hi :)
i want to ask, how to show icon android if user post listing from app android (example : my user created listing from my app android, and , in the post listing show icon android)
and how to not show icon android if user posting from computer, laptop, or any device. (example : my user created listing from computer, laptop or any device other than "android", in the post listing icon android not show)
(maybe this script for website theme, not script android?, example for item.php to show this icon).
i search on google nothing, and what keyword for this?
this my icon android
and this link for example this (http://www.olx.co.id/iklan/smartfren-andromax-i-new-fullset-76071408.html#pn_62f8882b1de48f479ffbe2e0a450cd42)
thanks before
-
I've put it into the USA market, but they say it may take several hours to take effect
Can you give us name of application to try it. Thank you
-
Pls make a video tutorial.
-
please help, for this answer :-[
hi :)
i want to ask, how to show icon android if user post listing from app android (example : my user created listing from my app android, and , in the post listing show icon android)
and how to not show icon android if user posting from computer, laptop, or any device. (example : my user created listing from computer, laptop or any device other than "android", in the post listing icon android not show)
(maybe this script for website theme, not script android?, example for item.php to show this icon).
i search on google nothing, and what keyword for this?
this my icon android
and this link for example this (http://www.olx.co.id/iklan/smartfren-andromax-i-new-fullset-76071408.html#pn_62f8882b1de48f479ffbe2e0a450cd42)
thanks before
-
I've put it into the USA market, but they say it may take several hours to take effect
Can you give us name of application to try it. Thank you
Bikersbay is the app name, cheers
-
got error
-
hello
I would understand, use a translator to communicate with you, I would like to optimize my osclass Thema for smartphones,
with this software you can optimize the thema,
there is a video guide to better understand the operation,
thanks in advance for your answer
-
I've put it into the USA market, but they say it may take several hours to take effect
Can you give us name of application to try it. Thank you
Bikersbay is the app name, cheers
Thank you. You close application in Google Play for some countries?
Because it isn't available for my country.
I try to install it in my phone to test it.
-
Hello.is it possible to insert this in google market?
Have you done it?
Can you show example how it will look ?
Thanks
-
I've put it into the USA market, but they say it may take several hours to take effect
Can you give us name of application to try it. Thank you
Bikersbay is the app name, cheers
Thank you. You close application in Google Play for some countries?
Because it isn't available for my country.
I try to install it in my phone to test it.
Where are you in the world and i will include it to that country
-
Hello.is it possible to insert this in google market?
Have you done it?
Can you show example how it will look ?
Thanks
Dont know about google market only android play market
Yes Ive done it to play market
See attached
-
Isn't there a way to create an App, which got the needed Stuff like "Target Website" via a config-file?
In this case, everyone could easy and fast get an app running for his forum.
BTW: Is it possible with this app to act on a osclass-installation, which behind a .htaccess-Password request?
-
@aide2001 did you use the osc mobile theme for it? Your one looks hybrid app. Correct?
-
hi @bengalliboy i'm using the OSC Mobile theme, but had some serious issues with the default version of it, so much so i basically had to redesign it then, I set up an app to redirect to the mobile site. (ps mobile site loads pretty quick)
Hope this helps 8)
-
Did that means, you have a switch for Desktop and Mobile view? Or did you only use the mobile-theme?
Would be great to have some suggestion from you, how I could run both, desktop for browser, and mobile optimized one.
At the moment I use bender, it seems to be responsive... does the mobile-version better than the bender-responsive one (with loading time)?
-
Yes @rethus
Its has a switch to desktop if need be, which is also responsive, but runs slow for mobiles, due to the heavy weight of javascripts image sizes etc.
You can run both on your site.
It will auto detect mobile/tablets, and the user can choose if they are on tablet to goto desktop view.
-
@aide2001
What redirect app? Can you please elaborate? We really appreciate if you can create a step by step tutorial explaining how you took the mobile theme and changed it and put it on the google play? I think this will be really helpful for every one. Since we all have every pieces but we just need the steps to put it together. Again than you for your time and help
-
@aide2001
What redirect app? Can you please elaborate? We really appreciate if you can create a step by step tutorial explaining how you took the mobile theme and changed it and put it on the google play? I think this will be really helpful for every one. Since we all have every pieces but we just need the steps to put it together. Again than you for your time and help
go back to the very first post (which i did not start btw!) and it explains it from there, before u get going would adice you to get your site on osc-mobile plugin working then create the app to redirect..
-
It's really easy and you don't need any prior Java or Android development knowledge.
What you need is:
Eclipse
Java SDK
Android SDK
(I won't be getting into how to download and install them, please look for a tutorial on the internet there is a lot of them trust me!)
Mobile Plugin from the Plug in market to force mobile devices to go to the mobile version and if your theme already has mobile version supported then you don't need to install it.
So what you need is 3 codes to copy and paste, THAT'S IT.
First code you need to past in your activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="@android:style/Theme.NoTitleBar"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="none"/>
Second code you need to paste in your MainActicity class (Don't forget to edit your package name above! If you are not sure just copy paste as it is and then ALT+ENTER and eclipse will edit and write your package name.
package YOUR_PACKAGE_NAME_HERE;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.example.esouqbh.esouq.R;
public class MainActivity extends Activity
{@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Remove title bar as we already have it in the web app
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
//Point to the content view defined in XML
setContentView(R.layout.activity_main);
//Configure the webview setup in the xml layout
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
//Yes, we want javascript, pls.
webSettings.setJavaScriptEnabled(true);
//Make sure links in the webview is handled by the webview and not sent to a full browser
myWebView.setWebViewClient(new WebViewClient());
//And let the fun begin
myWebView.loadUrl("http://YOURWEBSITEURLHERE.com"); }}
NOTE: change http://YOURWEBSITEURLHERE.com (http://YOURWEBSITEURLHERE.com) to your website URL.
Third code you need to paste in AndroidManifest.xml is
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Paste it right before </manifest>
Guess what? That's it! You just made your Osclass website into an android app!
Hi,
I also tried to create an Android App for OSCLASS website using WebView in Android Studio.
I am using Bender Theme and It works. BUT, the image upload does not work. Javascript is enabled.
I wonder, because WebView is supposed to work just like a normal Android Web Browser.
So, what I would like to know is if you were able to upload images using the App?
I also tried creating Android App using APK Creator (http://apkcreator.frankwebstudio.com/ (http://apkcreator.frankwebstudio.com/)), they have an Android App on Google Play to create apps for Websites.
In this case, every thing works, including the Image upload. But the thing is they put their credits, so I prefer to make my own.
I was wondering if you can help with some inputs to resolve the image upload not working.
-
import android.webkit.WebViewClient;
import com.example.esouqbh.esouq.R;
I have trouble with this part, i'm new to Eclipse and installed it only for this project. Can someone please help me, I get "The import com.example cannot be resolved" and later on on my MainActivity.java "R cannot be resolved то а variable". If someone can help noob out i'll be grateful :)
-
pls, where can I find this "activity_main.xml" file?
-
Tested this and it works for website with responsive layout, it's not a full app though just a launcher. Many people are asking on how to do this, you just need to read on the tutorial on how to create your first android app, and you can find all the files in your project folder. So yeah it works, I just need to remove this line from MainActivity.java
import com.example.esouqbh.esouq.R;
-
Tested this and it works for website with responsive layout, it's not a full app though just a launcher. Many people are asking on how to do this, you just need to read on the tutorial on how to create your first android app, and you can find all the files in your project folder. So yeah it works, I just need to remove this line from MainActivity.java import com.example.esouqbh.esouq.R;
Thanks i'll try/
-
pls, where can I find this "activity_main.xml" file?
app\res\layout\activity_main.xml
-
pls, where can I find this "activity_main.xml" file?
app\res\layout\activity_main.xml
Correct
-
thank you very much. I can't find the folder, may be because i have not install the Eclipse
Java SDK.
Pls, can someone help me with the setup software to install Eclipse Java SDK or android SDk. thank you!
-
thank you very much. I can't find the folder, may be because i have not install the Eclipse
Java SDK.
Pls, can someone help me with the setup software to install Eclipse Java SDK or android SDk. thank you!
Imho dont bother with Eclips, its too much hastle, just install Andriod Studio. I had trouble with setting up some distributable files to test end result in emulated phone, esp. with HAXM. To avoid it all you can just hook your android phone (if you have one) and just test it directly on your phone. Discovered it by accident :)
-
Android Studio has all the included plugins that is why, Eclipse is just old school lol, glad you've made it work. ;D
-
I might even do quick video guide, not the installetion part but everything said in the 1st post, just in case other noobs like me have same problem :)
If anyone wants me too ofc :P
-
When i try to upload photo from App, nothing happens when i click the button, and i get "XHR returned response code 403" when i use phone browser, any ideas?
-
Default phone browser is working though on mine @ android 4.3, app upload looks broken must be related to file permission as only full network function is allowed on the code above.
-
File i was trying to upload was too big, 10MP camera *firstworldproblems* :)
-
Still it doesnt work from the app. When i installed Mobile View plugin (forgot its name) it worked. Is it because of the theme i'm using (Next Revo)?
-
Lol, how I like to have the the *firstworldproblems*, file size can be set on php.ini configuration. Actually the original suggestion was to use the mobile plugin if you read the thread from the start, so it might be the theme.
-
But mobile plugin is so ugly. Isnt there a way to fix this, mb copy code from said plugin and just replace it for mobile wersion of the theme? Its just i'm totally noob in php and programming in general.
-
For sure it can be, but you have to learn css responsive design for you to benefit on that, otherwise the easier solution should be to change your theme, but its not a guarantee that it would work 100%, I just tested it in 2 browsers firefox and the default android browser it worked for those. On the app itself it's detecting chrome as my default browser unfortunately in Chrome uploading doesn't work.
-
Ah, so trouble is with chrome, is there any way to force created app to run other kind of browser?
-
Is there a way to make andriods "back" button go to previous page instead of quitting this application and mb add "To top of the page" button on the right bottom?
-
Thanks so much for your responses, I really appreciate you!
But can you help me with the Andriod Studio setup (software)?
-
What i did is install Andriod studio, Andriod SDK manager (dont remember if it was seperate or came in with the studio). Then downloaded everything in SDK (cuz i didnt know what i needed) and in the end it all worked out :)
-
Pls, am I going to install this android studio on my Personal computer or on my site?
-
PC ofcourse
-
Thanks Billy!
I will try that.
-
It's really easy and you don't need any prior Java or Android development knowledge.
What you need is:
Eclipse
Java SDK
Android SDK
(I won't be getting into how to download and install them, please look for a tutorial on the internet there is a lot of them trust me!)
Mobile Plugin from the Plug in market to force mobile devices to go to the mobile version and if your theme already has mobile version supported then you don't need to install it.
So what you need is 3 codes to copy and paste, THAT'S IT.
First code you need to past in your activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="@android:style/Theme.NoTitleBar"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="none"/>
Second code you need to paste in your MainActicity class (Don't forget to edit your package name above! If you are not sure just copy paste as it is and then ALT+ENTER and eclipse will edit and write your package name.
package YOUR_PACKAGE_NAME_HERE;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.example.esouqbh.esouq.R;
public class MainActivity extends Activity
{@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Remove title bar as we already have it in the web app
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
//Point to the content view defined in XML
setContentView(R.layout.activity_main);
//Configure the webview setup in the xml layout
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
//Yes, we want javascript, pls.
webSettings.setJavaScriptEnabled(true);
//Make sure links in the webview is handled by the webview and not sent to a full browser
myWebView.setWebViewClient(new WebViewClient());
//And let the fun begin
myWebView.loadUrl("http://YOURWEBSITEURLHERE.com"); }}
NOTE: change http://YOURWEBSITEURLHERE.com (http://YOURWEBSITEURLHERE.com) to your website URL.
Third code you need to paste in AndroidManifest.xml is
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Paste it right before </manifest>
Guess what? That's it! You just made your Osclass website into an android app!
Great...But does the image upload works with the Android App?
In my case it doesn't.
-
Default phone browser is working though on mine @ android 4.3, app upload looks broken must be related to file permission as only full network function is allowed on the code above.
Same issue here.
I created an Android WebView App for an OSCLASS website with responsive design. So the app opens the website and it looks good. I can even post ads from the app BUT WITHOUT PHOTOS. The Image upload button is not responding. The image upload works on Android browsers - both default android browser and Google Chrome.
Does any one know how to resolve it?
I have also checked this with another Android WebView app for a Drupal website and it also does not work. So this may not be a OSCLASS issue but an Android WebView issue. Nevertheless, if anyone has solved this image upload issue from android webview app, please share.
-
Drag and drop button is not working and when i can`t go back to previous page.anyone can help me?
-
Hi :)
nice tutorial :)
i want to ask, I've tried the tutorial of your work but on the uploaded image to the new ads can not, how to be able to upload an image from android?
then how to keep uploading images of android can choose an image from the camera or gallery
It should work as it would in a normal browser of a phone. I tried uploading from my app and it works perfectly.. I have no idea how to fix your problem, sorry.
I have the same error. How to fix.
-
Hello i want to know about database structure and tables as well so that i can make android application of that website. So kindly tell me what i can do now? I don't want a webview i want to make new android application of that website.
-
I'm facing the same issue, the upload image feature is not working! Any fix?
Thanks in advance.
-
This code here works great: https://www.zidsworld.com/uncategorized/make-android-webview-support-file-upload/
I ain't Android dev expert and I can't write full code, but I used the example on the URL for one of my apps and it was working.
Regards.
-
For all who have problems with image upload, use this: https://github.com/mgks/Android-SmartWebView
Just import this project inside your Android Studio and edit the URL to your page. It has all features you need, including Camera access, GPS, Splashscreen... easy to edit to your preferences and design.
-
For all who have problems with image upload, use this: https://github.com/mgks/Android-SmartWebView
Just import this project inside your Android Studio and edit the URL to your page. It has all features you need, including Camera access, GPS, Splashscreen... easy to edit to your preferences and design.
I found out this thing recently. It is really awesome and easy to work with. :)
Regards.