Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
Create a Notes App in Android – Full code and simple explanation
Project Requirements:
The project should have the following advantages:
Develop a master Activity that displays memos or tasks in a list that the user adds.
Develop an Activity that enables the user to enter a new memo or task. This activity sends data entered by the user as a result of the activity you called. Note: Do not allow the sending of blank data.
Use the activity you developed by adding a button to add a new memo within the main activity that contains the list.
This application provides three types of memos, and the item for each memo in the list must be displayed in a different CardView format that contains data to express the type of memo.
For the view, you can use StaggeredGridLayoutManager. It is used to replace both GridLayoutManager and LinearLayoutManager in the RecyclerView to display items in a distinctive way.
The user can click on any note to modify its content. So you'll need to develop Activity to view the memo details. A note can also be removed by long pressing.
A class must be created to represent the data of each type of memo. These classes will be used in the list to display data. Note: You can use the concept of inheritance and if statements to be able to use more than one class to display data in a single list.
Extra points: Change the important background that has been accomplished to green.
Correct and learn from mistakes
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 months ago.
Improve this question
I want to develop an android app and my app must show a matrix of elements where some are connected by a line (like paths). I'm programmer but I don't have a clear idea on how to do this (the graphical part) because still I'm starting in android development, but if you have an idea please to resolve this graphical problem, give me some help then I would research more about it.
Note: I want to create an app for my college, where an student could mark their passed courses, and there are courses that must be marked (passed) to mark others and know their progress on the career.
Like this image..
Use Grid View because GridView is a ViewGroup that displays items in a two-dimensional, scrollable grid. The grid items are automatically inserted to the layout using a ListAdapter. to Achieve your goal you must use custom grid view to make that but am not sure about the lines.
check out this tutorials it would help to make that .
Example 1:
Example 2
Example 3:
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to create an landing view for my application a user log in they need to land on this activity page (Image 1) if they click on any of the icon they will be take to the activity page of that activity. I want it needed to be change when user turn their screen to vertical or horizontal. But I don't know where to start.
Below I have added two images to show what I want to implement in my application. This is for my college project. In the landing view it have alert box and another box text from MySQL database but I am stuck in all points.
Image 1
Image 2
what you need is a dashboard activity/ fragment...
something like this.
the rotation of the screen is not a big problem, in fact, with the sdk you can design your activities and define behaviours of completely other layouts depending on the screen size, orienttation etc...
The work to do is not complicated but you need to do couple of stuff first, (define some layouts, classese etc,)
my recomendation is to take a look at this tutorial, and develope your app by following this steps
1 -
you can do it by set ImageButton in your main layout when click in any image will open new layout
show this link is simple code but he use button you can make some code and use ImageButton not Button only convert type name from button to ImageButton
this is link= : https://stackoverflow.com/a/10936133/4967569
2 -
screen to vertical or horizonta
i think you need use any size by Formula "dp"
3 -
sorry i cant help you in Database I have No experience
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I developing a android app where i have to show a list of product. I am using a custom adapter for this . Each row of list showing a product image with add to cart button when user click the button i want to change the cart menu that i show in my action bar . to do that i need the view that showing the number but it is created on onOptionsMenuCreated() function of my activity.
so my question is how can i access this textview in my adapter class to change it on on clicklistner in my custom adapter i pass context of my activity with product arraylist.
In your Main Activity class make your action bar menu related function public so that you can access from any other class like MainActivity.yourFunction();
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
In my application i have requirement to implement tag functionality, like we tag particular user in stackoverflow/facebook.
For Example if i press #a... on that time i will get list of suggested items for that character from server,and i will show a list of items , selecting any item from list i need to display that on edit text, with some highlighted portion and cross shape on the button.
For example while asking questions on stack overflow site, if i write ruby-on-rails and select ruby-on-rails from the suggested tag than it will shown as below
And when i press back press or cross button of that tagged button, entire text should be disappear,
I need to implement same functionality in my application, the only difference is that i will write anchor tag like #ruby-on-rails than will get suggestions of keyword from server.
Any guide or suggestion is appriciated
Thanks,
Aamir
Try this https://github.com/ApmeM/android-flowlayout Using this FlowLayout you can create token views like you want.
Have a look on this SO answer by Romain Guy https://stackoverflow.com/a/4474533/3020568
You can check this links also
https://github.com/splitwise/TokenAutoComplete
http://www.kpbird.com/2013/02/android-chips-edittext-token-edittext.html
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to create a program that uses a set of checkboxes and numberpickers/number input regions to work out the price of an object.
I am just starting out with android, and I can't figure out how to do this, despite looking around a lot.
Here is a dropbox link to the image of what I have created and ideally want in xml
This is basically what I have set up using the XML. The checkboxes at the top relate to different grades of foam which all have different prices, and then the numberpickers will allow selection of the size and thickness of the foam.
So obviously I imagine there will be a fair amount of code to make this work, but I first off I really need to know how to get the values of the sizes, and get which box is checked.
Then how to use the checked box and the values to work out a price. I suppose I might need to start a new activity for each of the checkboxes?
You for sure do not need an activity for each component.
In general, what you will want to do is wire up the components to the main activity (e.g. EstimatorActivity or whatever you are calling it) such that as each one's values are changed, methods on the activity are triggered. The controller in an MVC design is a coordinator. The gang of four pattern Mediator is often used to explain this role: the model should not know the specific details of the ui and the ui components should not be bound to the model. (Also, the eventing of the components is really not part of the model.)
When you do interfaces like this, generally you will have some class that produces the estimate. You will create an instance of that when the activity is created, then as the change events occur, you will invoke the calculator again with the new values and update the result field.
Really not that complicated.