Simple first app - image from url - Android Studio

hello,
I would like to create the following app:
- A simple menu showing images loaded from remote url
I know the basics of java but am new to android.
I saw that "Android studio" has a convenient drag and drop, but if in the src of "imageview" i insert url of a picture, says that it is impossible to convert it into a Drawable
can you help me?
thank you

Use library for loading image from remote.
hi ,
You can use Universal Image Loader for loading image from remote. This is really simple .
For example , imageLoader.displayImage(imageUri, imageView);
There are also other methods and libraries available.But i think this will really help you. Without library it become complex for beginners.
Check out androidhive [please google it] for without library.
I think this is helpful. Comment if it doesnt resolve your problem

Related

Trade: build simple image viewer app (comics)

Help!
I'm wondering if any interested developers out there could help me build a very simple application that shows a series of .jpg or .gif / .png images in sequence.
Essentially, I'm looking to publish a comic book in the market, but I lack the programming skills to create the application to shunt my images into!
[I could to this in flash, but we don't have flash on android .. yet. ]
My app would essentially be a reader for my comic. It would contain all the images for the comic, and a right swipe would load the next image and display it, a left swipe, would go backward.
I'm a professional animator, and I'm willing to trade flash animation lessons, or do some animation or illustration work for you or your app in trade.
Get in touch!
Thanks!
C
I am looking for the same thing. Let me know if anything pops up here.
Thanks

How can I make a simple game or app?

I've been programming for 3-4 years, about 1-2 of those years in C++(the rest in html, php, gml, js, and crapy stuff like dat). No Java, but I've heard its really easy to learn especially if you already know C++.
anyways, I've read the google tutorials and they haven't helped me since they make you download code instead of writing it (like the notepad tutorial).I've also seen all the videos that explain how android works, and I've read the stuff about it. I just want a tutorial that walks you through the process of programming an application.
basically what I want to learn is:
- How to tell if the user pressed a button, or interacted with a view
- draw an image to the screen
- open and close activities, like for a game you switch from the 1st level to the menu
- How to save data to a file, or database(whichever is best)
and things like displaying a list of items, or an alert and stuff like that.
I already setup eclipse and ran the Hello, Android application in the emulator AND my G1 with adb. So I just need to learn how to write the code
My goal(currently) is to make a picture on the screen move to the right when the user presses something(button, key, trackball, screen), but with my code, not cut & paste. I'll just turn that into a game later.
please help me with this, I've always wanted to develop apps for android(ever since I heard of it ). sorry if this sounds like a retarded question, but I've searched everywhere and I haven't found a good tutorial, and I cant buy a book
PS. I use the eclipse plugin for visually designing the layouts
http://java.sun.com/docs/books/tutorial/
I don't exactly remember from my HTML java applet days, but you can write straight to vm's frame buffer and write a simple program to change the position of the element scrolling it either way you want. Also, java input in html applets can be aided with javascript, so i used javascript to listen for user input and then have java respond to it, but that was over 10 years ago and I dont remember now T_T
really? thats helpful...
EDIT:
I've already read these tutorials on java: http://www.freejavaguide.com/corejava1.htm

[bootanimation] ABOOTA : make your own the easy way

Dear all my fellow android lovers.
I would like to present to you the alpha2 version of bootanimation maker:
http://aboota.devbro.com/
You can use any animated gif of your choice to create your very own bootanimation.zip to install on your very own custom boot animation.
you can look up fun gifs on sites such as 4gifs.com or senorgif.memebase.com
Current features:
1. upload any gif
2. rotate or flip the picture
3. stop on last frame
4. control animation speed
5. resize
future features:
1. browse section for all created bootanimations
2. add for custom initial animation
3. pre-made initial animations
4. see preview before downloading
5. a native android app to go with the site
6. add audio for boot
License:
It is free to use for everyone as long as my server doesnt crash
please do not use gif files that you do not own the license to.
notes:
1. I do not take any responsibility for any damage that using this site, or files generated on my site, may cause to you, your phone, your family, your cat(s), .... in short use it at your own risk
2. At this point I only support atrix phones, that is why I am posting here.
3. I use bootanimation utility for now to change the created aboota.
If you have any suggestions or found any bugs let me know please.
Some notes for some people that are interested to make their own aboota:
1.adobe flash can export gif instead of swf.
2.there are apps that convert avi to gif, just google
3.it is also possible to convert flv(youtube) to gif files
Hi, I noticed on your link that the "Terms of Service" do nothing. Is there a link this is supposed to got to? When clicking on it nothing happens.
Also, I think this is a good idea for boot animations, but looking through your previous posts, you seem to be requesting help a lot, (not that that is bad, but none of it is relative to this). How did you come up with this site, and where are the uploaded files going to?
CaelanT said:
Hi, I noticed on your link that the "Terms of Service" do nothing. Is there a link this is supposed to got to? When clicking on it nothing happens.
Also, I think this is a good idea for boot animations, but looking through your previous posts, you seem to be requesting help a lot, (not that that is bad, but none of it is relative to this). How did you come up with this site, and where are the uploaded files going to?
Click to expand...
Click to collapse
Thanks for reminding me about that link. I removed it
My background is mostly web development and system managements in php and linux(most redhat and suse). So making this site was not that hard. I had the idea for a while, I only decided to get it done about two weeks ago. I found a few documents describing the bootanimation.zip structure and found a very nicely detailed document inside the atrix bootanimation which gave me a lot of details I wanted. The rest was simply playing around in php and linux to create a simple version of aboota.
For now I am keeping the files on my server so in near future when search and browse are complete we can share our creations with others, and hopefully on other phones too.
Cool. Thanks. I'll try your site when I have time at my pc.
Beamed from WinBorg 4G via XDA Premium

help with homebrew bootanimation

Hi I' a web designer and graphic artist, not much android developer, I've made this intent of a bootanimation.zip, even make the zip with KEKA for mac osx ppc and photoshop, but somewhat it is just showing a black screen. I'm attaching the zip file, could you check it out and tell me what would be wrong with it?
I cannot attach the file, so I've uploaded, if someone can download it and check it, I would appreciate letting me know why this is only showing a black screen on my tablet.
Thanks.
Gus
p.s: here is the file http://gusduenas.leftandrightsolutio...tanimation.zip
any help.
;(
What device?
----------------------------------------------
I'm full of great idea's, but don't have the time to create them or learn the coding to create them. If you want to make one of my ideas a reality just message me and I will give you my idea as specific as possible.
ideas:
Spoiler
-launcher/lock screen
-line rider type game where you control the character
-2d fighting game like art of fighting for the SNES
-multiplayer fps where you create your own map with a creative mode (minecraft style)
-roller coaster tycoon style game
-many more!
Just message me which idea you want info on and I'll tell you!
----------------------------------------------
check on the link I've posted and see what would be the problem, thanks for your help.
gusduenas said:
check on the link I've posted and see what would be the problem, thanks for your help.
Click to expand...
Click to collapse
link is broken...
Homebrew animation [SOLVED for Mac users]
Finally! I've just solved, many threads were correct the problem with the bootanimation.zip is the compression so I've downloaded the stuffit plus and I set the preferences to no compression and expert mode to the middle between faster and smaller compression level 8 and I've opened in the stuffit archive manage one of the many bootanimation.zip files I have from original and finally I got it good! :good:
Now it is working this solution is specially for all mac users (like me) with photoshop and stuffit archive manager. When in the window of the stuff archive manager, you are able to navigate the files inside the zip, so the better is to erase the originals and replace by yours, don't forget to have the desc.txt written good.
As an extra precaution, when you finally have all your files made in photoshop jpg, go and open preview and re-save them as jpg again in order to have a regular jpgs, maybe is nothing but I've just wanted to be sure since the bmp from photoshop is not read as a boot_logo by android, so my those are my two cents.

Slide from one html page to another

Hi
I am making an android book app with java using one web view and my pages in html files.
I created an assets folder , under src- main and store my pages in there
Now all I'm missing is a navigation method.
As I am new to this, I am trying to find how to slide from one html page to another instead of clicking buttons. please if you know how , set an example because like I said I am new to this.
here is a link to the app I made if you want to have a look(its very small for testing purposes, with 3 pages).
https://github.com/Philip2021-Gr/book-app-sliding-between-html-files
So far no one gave me any reliable answer that refers to a rookie like me in coding nor I find a video tutorial that saws how to do that with html pages that are stored in your assets folder.
Thank you in advance
Philip

Categories

Resources