Professional Documents
Culture Documents
Cit 238 - 2
Cit 238 - 2
Midterm Activities
I have learned about how to develop a welcome app using android studio. First, I
download android studios from the link attach in the module and then I created a
project name welcome app and I select the android target and available activities then I
edit and interact the project folders. The project includes the following folders Android
Manifest (AndroidManifest.xml). Java source code of the created activity
(MainActivity.java). Drawable, layout, mipmap, and values of the project under res. I
have learned also how to add images to the project. To add images to the project we
need to locate the location of the drawable folder (right click on the drawable folder
then select Show in Explorer). Copy and paste the selected image inside the folder
(image extension supported in android studio are PNG, GIF, JPEG and BMP). Drag the
Image View from Images under palette then drop it in the project interface then select
the Image. I learned also the relative layout. Under the Component Tree, Click on the
created Layout (like Relative Layout). Under the Properties, edit the required properties
i.e., ID, layout width, layout_hoght. Adding Text View and Edit Text to the project.
Create connections between the project materials. • To build and run the application
using the Emulator: Click on the green run button in the top of the android studio
window (). To build and run the application on your smartphone device: – Connect the
smartphone to the PC. – Activate the USB debug. – Click on the run button
I have learned about android activity. It is the code that works with a UI screen defined
by the View. An Android app is made up of one or more Activities Activity layout is
determined by: - the View- XML layout file contains a definition of the initial UI of your
app (in res directory). - the behavior is determined by the Java code in the Java
directory. Similar like: a web page complete with HTML to determine what to displays,
and JavaScript to determine what it does. I also learned Java and also different
methods. on Create (bundle): to initialize the activity and passing a Bundle object called
savedInstanceState. on Pause (): to deal with the user leaving the activity. – The Main
Activity by default has no data (savedInstanceState is null), but user still have to pass it
on to the inherited on Create method. setContentView: to pass an integer indicator to
specify the described XML layout to be viewed. The R object (library object of resources)
is constructed by the system, were R. layout. activity main allows the setContentView
method to find the activity main XML layout file by returns an integer value. I also how
to use method using sample program.
I have learned in this module how to create an application using radio box and text box
button in android studio. Beginning with Android Radio Button, A Radio Button is a
button that has two states, that are either check or uncheck. This means if we click on a
Radio Button it gets into Checked state and by default, it comes in Unchecked State. In
the Android Radio button, one thing to be noted is, once it gets into the checked state,
we cannot undo it. Generally, we use them in our application to let the users select one
option from a set of options. Radio Button is one of the important Android UI controls,
as it provides an interactive User Interface for the users. Checkbox is also a two-state
button, it can have either checked state or unchecked state. The major difference
between Android Checkbox and Android Radio Button is that checkboxes can be
unchecked manually. It is important for you to change the id of each
view(layout/widgets/etc.) inside the xml file corresponding for the GUI design. This id
will be used to link between the widgets in xml file with the widget objects declared
inside of java file.
I have learned how to pass and receive data between different activities. Most android
application comprises one or more activities. In order to launch another like B Activity
from A activity, programmer have to use Intent. Intent is a way (like a message) to
communicate between Android components and requesting an action. In case there are
multiple apps are capable of responding to the Intent, then Android enable the user to
made a choice from a list of those apps. I also learned the two types of intent available.
First, Explicit Intent: Lunching an activity and passing information from one to another in
the same application. Second, the Implicit Intent: In this case programmer can avoid
coding his own activity and let Android automatically handle the activity by firing up the
component from same/other applications that can do the job on our app’s behalf. I
learned returning data launched activity. There is no way for transferred data to be
returned form the B Activity to the first activity. However, launching the B Activity as a
sub-activity of the first Activity can achieved returning the data. •To do so, we have to
start the first activity as a sub- activity by calling startActivityForResult() method instead
of using startActivity(). This method enables us to identify the returned data from the
sub-activity by passing a REQUEST_CODE value. Returning data to the first activity:
Calling the finish () method in the sub-activity. finish () method creates a new intent
object contains the returned data. – Calling the setResult() method of the enclosing
activity to pass through it the return data. The result code is typically RESULT_OK: the
result sent correctly – RESULT_CANCELED: will be received in the parent activity if the
event of sub-activity is crashed – May also be a custom value subject. I learned also the
implicit intent. Implicit intent identifies the activity to be launched by specifying the
action to be performed and the type of data to be handled by the receiving activity.
When execute the following implicit intent on an Android device, it will result in the
designated web page appearing: Intent i = new Intent (Intent.ACTION_VIEW Uri.parse.
Android system will search for activities on the device that have registered the ability to
handle ACTION_VIEW requests. User will be prompted to choose from the available
activity options in case of finding more than one match.
CIT 238 – UNIT 8
I have learned how to create a ListView and how to build an embedded database, add
edit and delete information using SQLite in Android Studio. When programmer need to
display a data in the form of a scrollable list, ListView can be used to displayed a List of
scrollable items in Android. ListView helps users to select any list item by clicking on it
to do specific action. Adapter uses to fill data in a ListView. Where Adapter pulls the
items content from a source such as an array or database and converts them into a view
then placed into the list. I have learned to used ListView using the code in the module. I
also learned the SQLite. SQLite database management system is bundled with the
Android operating system. SQLite named as embedded database because it is forming
as a library linked into applications. In this case, there will be no standalone database
server running in the background. All operations of the database are handled internally
within the application and a high- level language (Structured Query Language) uses for
data accessing. I learned also the Android SQLite Java Classes. The C programming
language is used to write the SQLite while Android applications are primarily developed
using Java. The Android SDK includes a set of classes are used to bridge this “language
gap”. I learned that SQLiteOpenHelper is a helper class is designed to manage the
created database and update it. The following callback methods implement within that
subclass: (MANDATORY). I learned also how to implement SQLite.
I have learned about PHP and MYSQL based android concepts and how to connect to
MYSQL database in Android Studio. I learned also the HTTP Library. The HTTP library
uses to Handle the following activities: managing the HTTP connection to remote
server, JSON data, and Images. There are two main libraries at the level of HTTP
handling: Volley, OkHTTP, while there are other libraries use for more specific tasks, i.e.,
handling image over HTTP, handling JSON data and extra. I have learned also to convert
a string written in JSON format, into JavaScript using the codes in the module. I learned
that the AsyncTask class uses with HttpUrlConnection to support thread. AsyncTask is
an abstract class which Android provide it to enable programmers to use the UI thread
properly. AsyncTasc will be created when a user launches the android application. • To
overcome the awaited case and to avoid the long-running operation on UI thread, there
is a need to create a new thread and implementing the run method (UI remains
responsive). There are step by step in the module on how to connect android with PHP
and MySQL first, install and run WAMP server then create and run PHP project. To
create this project first, create a new project folder inside (www folder) and place all
your project files inside it. Create a folder called” android connect”, then create a new
PHP file “test.php” and try out a simple PHP code to test the connection. Next create
MySQL database and tables then connect to MySQL database using PHP.
2. Select an existing mobile apps discuss the following:
Mobile App Info (Name, Purpose, Size, Platform, Type of Mobile App etc.)
Name: Shopee
Purpose: Shopee provides consumers an easy, secure, fast, and enjoyable online
shopping experience that is enjoyed by tens of millions of consumers daily.
Size: 322.1 MB
Platform: e-Commerce
Type of Mobile App: Mobile-centric Marketplace
Background
Features
1. Shop with ease with Shopee Guarantee - Ever felt restless when you’ve ordered
an item online but it’s taking too long and you feel like you’ve been duped by
sellers? Well, Shopee has a way to settle that issue for you. With Shopee
Guarantee, it gives assurance to buyers by releasing the payment to the seller
once you have confirmed to have gotten your item. With it, shoppers can expect
to receive the orders within the 10 days after their payment has been
confirmed.
2. Free shipping-Shopee has a Free 5KG Shipping program. With it, you’ll get
shipping fees subsidized and is capped at a maximum of 5KG for deliveries in
West Malaysia and 1KG for those at East Malaysia.
3. For every order that you make with a minimum spend of RM25 per store, the
program reimbursements will be capped at RM2 for deliveries to West Malaysia
and RM4 for East Malaysia, thus saving you money in that section.
4. Lowest Price Guaranteed Deals-Let’s just say somehow that you found a
cheaper deal from another e-commerce channel. Well, Shopee has got
something for you. They are so confident that they offer the lowest priced items
that’s on the market that if you find a cheaper product on another e-commerce
platform, they’ll give you 125% of the total price difference between the two.
5. Tons of deals- Remember to tread lightly here fellas, the deals here are not for
the faintest of hearts. Deals are a must here in Shopee and they came around
often and they come strong, blessing the things you may have in your wish list.
So, if you’re looking for something for a long time, most likely than not, Shopee
has something special on offer there.
Advantages
Customers can purchase items from the comfort of their own homes or work
place. Shopping is made easier and convenient for the customer through
internet. It is also easy to cancel the transactions.
2. No pressure shopping
Generally, in physical stores, the sales representatives try to influence the
buyers to buy the product. There can be some kind of pressure, whereas the
customers are not pressurized in any way in online stores.
Customers do not have to stand in queues in cash counters to pay for the
products that have been purchased by them. They can shop from their home or
work place and do not have to spend time traveling. The customers can also
look for the products that are required by them by entering the key words or
using search engines.
4. Comparisons
The mall is open on 365 x 24 x 7. So, time does not act as a barrier, wherever the
vendor and buyers are.
6. Online tracking
Online consumers can track the order status and delivery status tracking of
shipping is also available.
Disadvantages
1. Delay in delivery
Lack of touch-feel-try creates concerns over the quality of the product on offer.
Online shopping is not quite suitable for clothes as the customers cannot try
them on.
Physical stores allow price negotiations between buyers and the seller. The
show room sales attendant representatives provide personal attention to
customers and help them in purchasing goods. Certain online shopping mart
offers service to talk to a sales representative,
The traditional shopping exercise provides lot of fun in the form of show-room
atmosphere, smart sales attendants, scent and sounds that cannot be
experienced through a website. Indians generally enjoy shopping. Consumers
look forward to it as an opportunity to go out and shop.
A customer has to buy a product without seeing actually how it looks like.
Customers may click and buy some product that is not really required by them.
The electronic images of a product are sometimes misleading. The color,
appearance in real may not match with the electronic images.
People like to visit physical stores and prefer to have close examination of
good, though it consumes time. The electronic images vary from physical
appearance when people buy goods based on electronic images.
User Feedbacks
Shopee has a consumer rating of 1.64 stars from 170 reviews indicating that
most customers are generally dissatisfied with their purchases. Consumers
complaining about Shopee most frequently mention customer service, many
times and wrong item problems. Shopee ranks 408th among Marketplace sites.
Storyboard (create a storyboard or interaction flow of the app)
o Storyboard could be presented through drawing /screenshots
o Properly label each step/procedure
BACK
BACK TO
TO
NEXT
DONE
NEXT
START
START
NEXT
NEXT
BEGIN NEXT
NEXT NEXT
NEXT
3. Design a Mobile app that you would like to produce, and provide the following:
Mobile App Info (Name, Purpose, Size, Platform, Type of Mobile App etc.)
Name: iBarter
Purpose: iBarter provides users an easy, secure, fast, and enjoyable online trading
experience that is enjoyed by traders daily.
Size: 90.1 MB
Platform: e-Commerce
Type of Mobile App: Mobile-centric Marketplace
Background
In 2022, iBarter launches in Philippines
In 2022, iBarter was launches in Philippine online market.
Features
2.POSm
Any trade marketing campaign must include POSm, or point of sale materials. A
leaflet containing a marketing mechanism for an outlet, for example, might also be
termed POSm. This category also includes promotional goods like as shelf talkers,
shelf stoppers, yellow/red price tags, lightboxes, and other items that are often
exhibited within a point of sale.
Many trade marketing operations include or should be aimed toward the end
customer. Retail chain sales and gift-for-purchase promotions are two common
examples.
Nowadays, a large portion of trade marketing is digital, with Big Data being used in
certain cases. For example, a product may include a code to advertise a digital add-
on, or it could provide a consumer with additional benefits for e-commerce
activities, such as a discount if they purchase a product via an app rather than
visiting to the shop. A retail chain, on the other hand, may use an e-mail newsletter
to notify consumers of fresh deals. In this approach, trade marketing and internet
marketing are combined.
Advantages
1. Lower fees
One of the clearest advantages of online trading is the reduction in transaction costs
and high fees associated with traditional brick-and-mortar brokerage firms.
2. More control and flexibility
Time is often of the essence when you trade stocks, so the speed of using online
trading portals is a benefit to many investors. With online trading, you can execute a
trade almost immediately. Traditional brick-and-mortar brokers might require
appointments, either online, over the phone or in person, just to initiate a trade.
Disadvantages
iBarter has long been one of the most popular online barters. The company's 0
commissions and strong trading platforms appeal to active traders, while beginner
investors benefit from a large library of educational resources.
1. Select a Mobile Game and create a power point presentation that will discuss the following
a. Game Type
b. Elements of the Game (Characters, objects, etc.)
c. Storyline/ Sequence of the Game
d. Procedures (How to Play the Mobile Game)