Android picture gallery (slideshow), for newbies - android

I'm almost a complete beginner at programming (only did some basic a long time ago).
I want to learn how to make Android apps. My goal is to make a simple app that would be some kind of a picture gallery with a slideshow function.
The app would for example integrate ten pictures, there would be two arrows at the bottom of the screen to switch to the next (or previous) picture.
That's about it for a start.
Would any one be kind enough to list the main steps to follow in order to make this app ?
So far I'm learning the basics through various tutorials, but I'm kind of struggling...
Thanks in advance !

Make main activity that contains ImageView and two buttons
Make function that loads images into array or list
Implement listeners for button clicks
Is that enough or You want me to write more about this ?

Related

create live wallpaper in viewpager android apps

Hi i have a app contain 3 page. and i want to set one page as background like android home screen. I search in google and i found this and this
tutorial's but i couldn't use it for my target can anyone show me another better example thanks.
i mean How can i create app like android home screen which have one picture for 5 pages background (in my phone).
at last i found my answer and that was so simpler that i think.
that was not a live wallpaper that was simple trick using scroolview for background of main layout and listen to onPageScrollStateChanged.
that's it.

Showing text gallery on application first time start up in Android

I am posting this question because I never worked on this and I am not aware which component is used to implement such functionality.
See this screen-shot. This is an sample image. It is not my work, this is taken from Google Images:
Now on application startup I am reading Android sd card and updating my database. In the meantime, I am using ProgressDialog like this
Now what I want is to show 5 image slides. Not Image slide I want a single colour backgroung and the text should have to be change every two seconds on the same backgroung with five small circles I downside.
Now I am not able to get what is it. A image slide show or other native component. I asked in chat rooms they asked me to post here.
If it can happen without image it will be better because there is a lot of complexities with different device sizes.
How can I implement this?
Try with android smartimageview or with Viewflow

General android layout questions

I should begin by saying that I'm brand new to android development, although I have a good understanding of the fundamentals of java. That being said, I usually learn best by doing, so I'm writing an app for a campus magazine I work for and trying to learn through the process of making it.
At the top of the screen is a bar with two spinners labeled "issues" and "sections," which allow the user to filter the articles shown to only those in the respective issue / section. The rest of the screen is taken up by what I will describe as a vertically-oriented gallery, which shows the headline for each story underneath an image associated with it. The user can then "flip" through the stories in the magazine by scrolling through the "gallery." Selecting one of the stories will open the full story up in ViewPager.
I have two main questions at this point:
1) Initially, I planned to place the "issues" and "sections" spinners in the ActionBar. However, as I understand it, ActionBars are not displayed to users using Android 2.x. Given that these elements are critical to navigating the app, and that a majority of android users are still using 2.x, this seems unacceptable. As a result, I'm using an ActionBar-less theme and essentially drawing my own action bar via a linear layout on top of my main activity. Am I correct in my understanding that ActionBars do not display on Android 2.x devices? If so, am I correct in including my "tool bar" as a part of the main activity, or is there a better way to implement it? (Perhaps as a fragment? I don't really understand how those fit in yet...).
2) I am aware that the gallery widget is deprecated, so obviously I'm not going to use it. What alternative widgets would best achieve the same visual goal of having the user "flip" through the stories in the magazine by scrolling through the widget? Is there a way to animate a ListView to achieve this goal?
Again, any help - particularly which helps me to understand the wider issues involved here - will be greatly appreciated.
Thanks in advance.
You can use ActionBarSherlock - it is compatible down to Android v 1.6.
ViewPager might help you

Android UI layout: How to create a "stacked" gallery

I've followed the tutorial at http://developer.android.com/guide/tutorials/views/hello-gallery.html
to create a basic gallery. My ultimate goal is to use a gallery as the main menu for my app but I want the images to be stacked and scrollable. I've downloaded the code for the gallery 3d app but its just too much to analyze. Eventually thats what I'll do if I dont find an easier route. Any pointers?
Android Docs provided you a way to Arrange images like a stack. Take a look at this sample:
Images as Stack

How To Create An Android App To Cycle Through Backgrgound Images On Home Screen?

I need a little bit of help and I'm hoping that someone can point me in the right direction. I want to do something that I thought would be simple.
Keep in mind that I'm new to Android development so this answer may seem clear and apparent to some.
I want to create a slideshow of my images that people can download from the app store. The images should change every few seconds and the images will be installed on the home screen. I know how to create animations and I know how to create an application that displays images that change after a few seconds. However, I do not know how to set this up so that it can be displayed on the home page!
What I have right now is an app whose icon you have to click on to launch it. How can I modify my app so that the user could install it and have the slideshow display in the background of the home screen?
I have looked all over and I find examples of Live Wallpapers, but my images are all static. I would REALLY appreciate it if someone could point me in the right direction or offer the location of a tutorial I can read through.
Thank you so much!
You want a live wallpaper: see http://www.codeproject.com/KB/android/AndroidLiveWallpaper.aspx for a guide.

Categories

Resources