What i want is to build an app that reads very long text from database and display it into lot of pages. And i also wanted to have onTouchEvent i think for the First screen. And will be shown like this, http://imgur.com/BZ6FC3m,ja0qNX5#1. When its touched it will like this http://imgur.com/BZ6FC3m,ja0qNX5#0. Can you help me with this, i just wanted to know where should i start from here. Maybe some link which is just like this or something like this one, just something i can refer to and get started
u can use "SystemUiHider"
for example create new project in android studio , in "Add an Activity " Select FullScreen Activity and run :)
Related
Apologies for the rough sketch.
Basically I want, the first time the user opens the app, is to draw their attention to a button and have some text like "You can click me for more information!" or something like that.
Does anyone know what this is called? Is there a name for this sort of thing - and can it be done in native Android or would I need a third party library? Thanks
I think what you are talking about is called ShowCase View
Example Library : https://github.com/amlcurran/ShowcaseView
Edit : Note there are other libraries too. You can check android-arsenal for more
I think you can do it on your own with android's relative layout and it's textbox, by inflating the container(Relative layout) whenever you want to show, in this case at the first time of the activity and hide it later.
Try to keep the boolean value in shared preference so that your activity knows about when to show dialogue, since you would have changed the value to true at first run it will obviously hides.
However for the first time experience try the code in the given link, proof read, track and build your own later
http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/
Hope it helps.
You can design an overlay screen for first time instructions.This tutorial might help -http://www.christianpeeters.com/android-tutorials/android-tutorial-overlay-with-user-instructions/
Im kinda new on developing for Android, and now i have decided to make a simple apps for my frens and me.
I know how to design the layout, but when it comes to the "activity" I always messes things up..
So now to my question - I'm creating a app to show my college schedule so I have 6 buttons (monday tuesday wednesday etc.) Then when I click each button I want to get to another screen with todays schedule..
How to I create new screens in an easy way? please answer steps by steps with screenshot...
Here are the steps:
What you are calling a new screen is Activity. Read what is Activity and its Life Cycle.
Read How to create activities: Best way to add Activity to an Android project in Eclipse?
Since you've mentioned that you've already created the Buttons do this:
See How to set a listener on Buttons, so that you can perform some action on it (eg: start Activity) when Button is clicked. Read Android: how to handle button click
See How to start a new Activity: How to start new activity on button click
Its turns out that rather than steps by step pictures, what is required is breaking the problem into multiple small problems and try to search if anyone has solved it before.
This would be the starting point. Hope it helps.
I am new to Android development, I need to show user manual like Flip-kart app on start-up of app.
Please refer the image below, You will get an idea about, What actually I want to achieve....
Is there any standard way to achieve this?
You can do the whole stuff manually.
Or use a prebuilt library called ShowcaseView.
You'll find details, code and guide here http://www.xda-developers.com/android/create-holo-themed-demo-overlays-with-showcaseview/
Here is my suggestion
Get the semi-transparent images of manual pages. Keep the Images in your res/drawable.
Use sharedpreference to maintain the status whether this manual is shown to user on startup or not (Depending on your requirement). Check the status when the app is launched, to decide whether to show this to user or bypass it.
Use a fragment or Activity to display this manual images in sequence one after another.
for this you can use viewpager, swipe animation or simple buttons.
just use one Gallery view and skip button on it.Show that gallery on the first installation.For that you can set flag value in sharedpreference.Also shows a button for virtrual tour in Left drawer,
I would like to edit the application menu in Android (where all apps and widgets are displayed).
Like this:
I would like to create an app where you can select how the icons (applications) are shown in this menu. I'm not sure if it is even called "application menu" so I'm having some trouble to find some more info about this matter.
If anyone could help me find a way to override the original layout or point me in the right direction, that would be awesome!
Thanks in advance!
What you are showing in the pic, is called a Launcher.
You can create a custom Launcher. Check this question to get started.
I am developing an application in android. I have an Activity where I have a couple of buttons. Among them when I click on one button, I want to get dropdown like iPhone default picker.
To achieve that, I am using Android wheel concept. I have implemented like this, when I click on the button, it is calling another activity where my required custom layout is shown. Problem is custom layout should come from bottom of the screen in the same activity where the button I am clicking exists.
I have attached a screenshot. I want to achieve as shown in the screenshot (missing).
Please help me providing the required solution. Pardon me if there any mistakes in my question. This is the first time to ask a question.
Since the lack of a screenshot that helps to understand your issue, this is more some kind of guess: Are you known to the concept of Spinners in Android? They provide a dropdown mechanism and are easily implemented.