Hello everyone!
I am facing an issue with HTML page on Android 6 phone; whereas it is fine on Android 5 phone.
For example; when I refer my CSS file as;
HTML:
<link href="myCSS.css" rel="stylesheet" type="text/css">
or
HTML:
<img src="img/Brain_NS.png" alt="">
My html page show without taking the CSS file or displaying any image.
Please, note that the CSS file and the html page are in the same folder, but the images are in the img folder.
Also, the same html document shows perfect on my Android 5 J2 phone.
Looking for help.
Related
Hello,
Can somebody give me xml editor?
With notepad ++ i get strange letters.
Its for editor yhe centre cloxk.
Thx
Verstuurd van mijn GT-I9300 met Tapatalk
TEXT EDITOR: PSPad (version 4.5.4 ). Supports different languages, including Italian, is free and compatible with Windows. Main Features: ftp client to edit files remotely, project management, hex editor full, the library tidy integrated allows you to format and check the HTML code and convert it to XHTML, XML, CSS, automatic correction, editing text files of any size and comprises a recorder of macro ... This is a HTML editor advanced, on the site is available in trial version, it supports Windows 64-bit, supports various languages, is available at Linux version and is developing a version for Mac. Main Features: hex editor, supports other languages (PHP, Perl, Java and Javascript), syntax highlighted output, unicode support, ftp client to edit files remotely toolbar with HTML features preconfigured, has template and list of functions like a tree, with parameters, variables and properties .... VISUAL EDITOR: Nvu (version 1.0 ).
Completely free, compatible with Windows, and a WYSIWYG editor also ideal for those who do not know HTML. Supports XML, Javascript and CSS, is available in italian, is equipped with an attractive interface and contains all the features of its main competitors (which all require license).
It is possible to download the source code since the editor is open source and you can make all the changes you want ..... ONLINE EDITOR: Ecoder (version 0.4.8 ). Open source, and has the function of syntax highlighted output (in real-time), contains a file manager and a file uploader, allows you to edit multiple pages simultaneously.
Supports all browsers except for Microsoft Internet Explorer 6, and great for making small changes to the code and does not require any registration to be used..
I have a webpage that uses "Courier New" and "Source Code Pro" monospaced fonts. Unfortunately, simply copying these two truetype fonts to my /System/Fonts directory and rebooting isn't enough to fix the problem.
I have a feeling I need Android-specific html code in order for my webpage to be displayed properly on my Android web browser. If I'm right, I'm hoping the android-specific code wouldn't affect Windows desktop web browser viewing.
Could someone please be kind enough post extremely simple "working" html code that will display, for example, the word test once in "Courier New" font; and, also once in "Source Code Pro" font?
Below is my best attempt to make this work. But, my Android just laughed at me.
-----------------------------------------------------------------------------
<html>
<style> @font-face {
font-family: 'Courier New';
src: url('cour.ttf');
}
@font-face {
font-family: 'Source Code Pro';
src: url('SourceCodePro-Regular.ttf');
}
</style>
<body>
<span style='font-size:7.5pt;font-family:"Courier New"'>◄</span>
<span style='font-size:7.5pt;font-family:"Source Code Pro"'> China </span>
<span style='font-size:7.5pt;font-family:"Courier New"'>►</span>
</body>
</html>
-----------------------------------------------------------------------------
Thanks so much,
MKANET
Is there a better place I can ask this question? Im really motivated to get this working ASAP.
I ended up doing something drastic... renaming DroidSansMono.ttf to DroidSansMono.bak; then, renaming a font I want to use with it (in the /System/Fonts directory. Now, when I select "monospace" as my font-family in html, at least I can see the font I want. I'm guessing there has to be a better place to ask these kinds of questions. Hopefully, one day someone will know the answer to this and post here.
Hi all,
So I was looking into starting a project to build a desktop web app to help build Zooper widgets. I was able to save a basic widget, export it as ZIP, and I see all the JSON files. My only question is what is generating the hash name for the json file. What is its significance? I would like for the web app to be able to create new shapes and set its properties, but I don't know what I should do to generate the JSON file names.
Thanks
It is UUID https://en.wikipedia.org/wiki/Universally_unique_identifier
There are no important rules except unique. You can even use 001, 002, 003
Important is order of files in zip.
Hi,
I need to generate a pdf file of a tablelayout inside scrollview. I am able to create a single page pdf file but not for the entire tablelayout inside scrollview.
Thanks
I am following geeksforgeeks app building tutorial. Totally new to building apps with android studio and I have hit a couple of snags which I solved.
I have got to the point where I now have a working json URL and the next step is to gue the URL to get the data in to the app and to copy & paste code in to app>res>layout>activity_main.hml file.
I do not know where to put the URL and the code and when I try it does not work.
This is the working json call
https://spreadsheets.google.com/feeds/cells/1puaF3Z9eJxlnyW1-sjwHZlJah9DXmY18Ol2i6S3Drr4/1/public/full?alt=json
Text saying what to do
After copying this id paste the id in the below URL and run the URL in your browser. You will get to see all the excel data in JSON format. Now we will use this data in JSON format inside our app. Make sure that you have published your Excel sheet. Otherwise, this method will not work. Now we will use this URL in our app to get the data in JSON format.
Which now works in browser (their example did not)
Then I am supposed to do this
Step 5: Working with the activity_main.xml file
Navigate to the app > res > layout > activity_main.xml and add the below code to that file. Below is the code for the activity_main.xml file.
XML
<?xml version="1.0" encoding="utf-8"?>
<!--in this we are displaying a nested scroll view-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/idNestedSV"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<!--recycler view for displaying our list of data
and we are making nested scroll for our
recycler view as false-->
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/idRVUsers"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@Layout/user_rv_item" />
<!--we are adding progress bar for thepurpose of loading-->
<ProgressBar
android:id="@+id/idPBLoading"
android:layout_width="wrap_content"
android:layout_centerInParent="true"
android:layout_height="wrap_content" />
</RelativeLayout>
I think the URL has to be in somewhere for the above to work.
can anyone help?
I may have figured out what I was doing wrong with the code but the emulator is just sitting there spinning as if wait for the data in json format.
The only thing that I may not be doing right is I have not added the URL, I think I have all the parts added other than that but the error suggests to me that the class UserModal is empty. error reports all point to UserModal which is there and as I understand it is used to store the json format data.
I think I found the correct place to put the URL but the app will not run in the emulator.
The app I'm working with is found here
How to Read Data from Google Spreadsheet in Android? - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
www.geeksforgeeks.org
I have included a snapshot of the screen showing the errors I now get trying to run the app.
MakemOne said:
I think I found the correct place to put the URL but the app will not run in the emulator.
The app I'm working with is found here
How to Read Data from Google Spreadsheet in Android? - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
www.geeksforgeeks.org
I have included a snapshot of the screen showing the errors I now get trying to run the app.
Click to expand...
Click to collapse
I'm still struggling with these errors, as this code is copied & pasted as per the instructions in the tutorial unless AS has changed and some of the commands are not in the newer version then I would expect the code is correct and it is something I have done wrong.
I have attached a PDF of the tutorial. Can anyone give me some help?