|
What's the best way designing animated web content for a mobile friendly website?
|
|
|
|
|
What sort of animations? Simple animations on the web page can be performed using jQuery (or JavaScript itself). Even CSS can do these things, such as animating the elements and their properties of view. JavaScript Animation[^], Using CSS animations - CSS | MDN[^].
If you somehow want to run animations that are other than simple ones like HTML element based animations, then OpenGL would be where you should go. Most of the browsers support it, Three.js[^] is also one of such framework which support animations using JavaScript. But note that however you write, whichever framework you support, JavaScript is based on an engine that interprets the script and runs it, and that is going to take a lot of CPU power and RAM, so basically JavaScript would be a monster eating: 1) CPU, 2) RAM, 3) Battery. If your animations are promising, don't worry about these.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
For mobile friendly website whatever your content is. you should compressed all high resolution images & banners. It is increase you user experience, it is the best way to optimize your animated design for mobile devices.
|
|
|
|
|
This is my first attempt evet at Xamarin or Mobile Apps. Using VS2015 Enterprise on Win 7.
I'm following this page[^].
I select Blank App (Xamarin.Forms.Portable) and click OK. It then starts creating 4 projects.
- I get prompted to connect to a Mac. No.
- I get prompted for the target (Win 10 is the only choice)
First Issue
I get the message "A problem was encountered creating the sub project 'App1.Windows'. This project requires a Visual Studio update to load. Right-click on the project and choose "Download Update"."
VS is still busy creating things so I can't click Download Update yet so I click OK
VS finishes creating things.
Second Issue
I look for "Download Updates" on the Windows project - it's not there
All 4 projects are there - PCL, Droid, iOS, and Windows. So I try to compile.
Third Issue
Now the fun begins. I get 37 compilation errors, all in the Android project.
There are a bunch of thses:
"Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\Me\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3 directory.
There are a bunch of "Please install package...." messages - When I go to NuGet, they're already installed.
I also get a bunch of "The remote server returned an error: (407) Proxy Authentication Required." errors.
All I did was try to create the projects? Any ideas on what's wrong?
If it's not broken, fix it until it is
|
|
|
|
|
Have a look at the Android SDK manager and try removing and re-installing the API 23 stuff, and make sure the Preview Channel stuff is firmly in the bin where it belongs. For the X86 emulators, you'll need HAXM, which doesn't update itself so grab the latest version from Intel to make sure (my VS 2015 installation added HAXM 1.0 which isn't good enough, it demands V 6.0 IIRC).
For the "download required" problem, have a look here: c# - “This project requires a Visual Studio update to load” error when creating a Xamarin.Forms Cross-Platform Application - Stack Overflow[^] - the Marakai solution may help.
It's all a bit flaky and rushed, I think.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Thanks I'll give it a try
If it's not broken, fix it until it is
|
|
|
|
|
If it doesn't fix it, then give me a shout tomorrow when I've got the PC on, and we'll see what the differences between our two setups are.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Will do
If it's not broken, fix it until it is
|
|
|
|
|
OriginalGriff wrote: try removing and re-installing the API 23 stuff,
OK, so I opend the SDK manager and removed them... um, how do I now reinstall them? THE SDK manager doesn't seem to have a way to do that?
If it's not broken, fix it until it is
|
|
|
|
|
Tick them - the "Install 'n' Packages" button will be enabled.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
My SDK looks like this[^]
Except, the Install Check Box is already checked when the SDK opens. The Install button is disabled. Everything listed is already installed. There are no items marked "Not Installed".
If it's not broken, fix it until it is
|
|
|
|
|
Um...you have an enabled button labeled "Install 16 packages..."
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
No, I was just confirming with you that what I have is the correct SDK manager. My SDK app looks like the one I posted, except I have no packages to be installed.
I just restarted it as Admin and same thing.
If it's not broken, fix it until it is
|
|
|
|
|
Addendum: did you run the SDK manager in Admin mode? If not, it'll fail to update (or mine does)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
See this[^].
This is what I'm seeing
If it's not broken, fix it until it is
|
|
|
|
|
|
OriginalGriff wrote: Can you share pics of yours?
I wish I could. Can't access Dropbox/Onedrive, etc, from this PC. Company network restrictions
If it's not broken, fix it until it is
|
|
|
|
|
|
How do I upload a file? Don't see an upload area in my profile
If it's not broken, fix it until it is
|
|
|
|
|
Been onto something else for the last few days. I want to again try to get this working. I have your email address so we can exchange pics if needed.
I would appreciate your help.
If it's not broken, fix it until it is
|
|
|
|
|
OK - today isn't the best day - I'm in and out a lot - but lets see what we can do.
Where are you are the moment?
What is installed, what is working, what isn't?
(Just to recap so we know where we are)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OK, I recreated the project as I did in my original post. Same issues as I posted then..
I emailed you a pic of the SDK Manager.
In Visual Studio, when I compile, I get
Severity Code Description Project File Line Suppression State
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.0.1.3 directory. Phoneword.Droid
Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.0.1.3 directory. Phoneword.Droid
and
Severity Code Description Project File Line Suppression State
Error Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Android resource directory C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3\embedded./ doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Java library file C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3\embedded\classes.jar doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Android resource directory C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.0.1.3\embedded./ doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.0.1.3\embedded\classes.jar doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.0.1.3\embedded\libs/internal_impl-23.0.1.jar doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Android resource directory C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.0.1.3\embedded./ doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Java library file C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.0.1.3\embedded\classes.jar doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v7.CardView' available in SDK installer. Android resource directory C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.0.1.3\embedded./ doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v7.CardView' available in SDK installer. Java library file C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.CardView\23.0.1.3\embedded\classes.jar doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Android resource directory C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.0.1.3\embedded./ doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.0.1.3\embedded\classes.jar doesn't exist. Phoneword.Droid
Error Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file C:\Users\mok2sba\AppData\Local\Xamarin\Xamarin.Android.Support.v7.MediaRouter\23.0.1.3\embedded\libs/internal_impl-23.0.1.jar doesn't exist. Phoneword.Droid
Thanks
If it's not broken, fix it until it is
|
|
|
|
|
OK, just looked at your pics on my phone. I don't see most of that you have, and I don't see anything that needs to be installed.
Any idea what's wrong here?
If it's not broken, fix it until it is
|
|
|
|
|
Damnit - gotta go for an hour, Herself is yelling about "getting a life" or something...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
If it's not broken, fix it until it is
|
|
|
|