Lengkap

JAVA_POSITION

The purpose of this project is to write a java class for use in the Android Studio environment (NOT ECLIPSE).

The java class to be developed will have to be structured using static methods, making the class in fact NOT INSTANTABLE, NOT EREDITABLE. It is necessary that the class constructor raises an exception in case you try to instantiate the class itself. In addition, you must correctly configure the non-heritability operators.

The class will have the task of interfacing with the positioning, geolocation [1] and sensor API [2] of Android. To participate in the selection you are asked to send an example of a PSEUDOCODE of one of the required methods.

TYPES RETURNED

The class shall use the following types of data. Note that float and decimal are used as synonyms as they come from different reference APIs. Therefore, use them as synonyms.

1. TimeStamp is a class that contains a date and time stamp (e.g., the Java Date class).

2. InstantPosition Indicates a triple composed of a Timestamp and a pair of floats. At the index one of the triple is available the current latitude, while at the index two the current longitude; The index zero contains the timestamp of the detection. Example of the returned value: (Timestamp, Decimal, Decimal).

3. TimeStart and TimeStop are considered two TimeStamp classes (use the standard java class).

4. StartPosition and EndPosition are of the InstantPosition type, to be used to maintain the start and end positions of the current SAMPLING. Sampling is a configurable time interval (using the setSampleInterval method).

5. Verse is a Boolean value that indicates with True the direction pointing to EndPosition. With False it indicates the direction pointing to StartPosition.

METHODS TO IMPLEMENT

The class, to be named UserPositionManager, must implement the following interface:

• method getCurrentPosition(void): InstantPosition

• method getDirectionVector(void): (StartPosition, EndPosition, Verse)

• method getInstantSpeed(void): Decimal

• method getAverageSpeed(void): (StartPosition, EndPosition, Decimal)

• method getAccelerometerAxisValues (Void): (Decimal, Decimal, Decimal)

• method getAxisOrientation: (Decimal, Decimal, Decimal)

• method setSampleInterval: (Integer) : void

getCurrentPosition method

It returns the last known GPS position with its timestamp. If the position is not available or some error occurs, it raises an exception. Exceptions must be defined to determine a general error (Exception) or a (InvalidDataException).

getDirectionVector method

It returns a pair of coordinates (with their timestamps) and a Boolean indicating if the device is moving to StartPosition or EndPosition

getInstantSpeed method

It returns instantaneous speed (see google API)

getAverageSpeed method

It returns the average speed in the current sampling range.

getAccelerometerAxisValues method

It returns a triple float that reports the current values of the x,y,z axes on the accelerometer (if available as hardware). If not, it raises the NoAccelerometer exception.

getAxisOrientation method

It returns a triple float indicating the current orientation of the accelerometer vectors (if available as hardware). If not, it raises the NoAccelerometer exception.

setSampleInterval method

It allows you to change the sampling interval (the interval of two consecutive readings of position values and sensors).

References

[1] [login to view URL]

[2] [login to view URL]

Kemahiran: Android, Java, Mobile App Development, Kejuruteraan Perisian

Lihat lagi: java find index of word, find location of word in string java, java coordinate pair, point class methods java, position java 8, find position of a word in a string java, java xy, setlocation method in java, java position peru, javascript calendar start end selected, calendar script start end date, php mysql start end time, netmask calc start end, upload video clip edit start end save, vba adjust project start end dates, parse start end, flex gantt start end, implementation path city start end, java position gridbaglayout, excel charts start end graph

Tentang Majikan:
( 0 ulasan ) Fisciano, Italy

ID Projek: #19289441

Dianugerahkan kepada:

kmozsi

Hello, my name is Krisztián and I am a software developer from Hungary, new to the freelance world. I have 3 years of experience in professional software development in Java, in multinational environment as well. Lagi

€80 EUR dalam 3 hari
(0 Ulasan)
0.0

11 pekerja bebas membida secara purata €105 untuk pekerjaan ini

KESHAVINFOTECH

Hi There, Thanks for your valuable time. :-) Please check below points : 1. The purpose of this project is to write a java class for use in the Android Studio environment (NOT ECLIPSE). The java class to be d Lagi

€83 EUR dalam 10 hari
(460 Ulasan)
8.6
prakash2813

Hi there, I am java developer with 7+ years of experience in web and desktop app development. I have strong expertise in OOP, data structure, trees, graphs, multi threading, cryptography, genetic algorithm implementa Lagi

€180 EUR dalam 2 hari
(123 Ulasan)
6.4
okzhang321

Hello I have read your description carefully and I'm sure I can complete it in time perfectly. I've rich experience in Android/iOS development over 5+ years. In both hybrid(Xamarin, Ionic, React Native) and native Lagi

€80 EUR dalam 10 hari
(96 Ulasan)
5.9
Beauty1409

Dear Client, Hope you are doing well. I just go through your job description & understanding requirements. I have great experience in mobile, web design & [login to view URL] involved are Java,Servlets, S Lagi

€111 EUR dalam 10 hari
(55 Ulasan)
6.1
ownmyserver

Hello Friend, I have read your project requirements. We are familiar with all required technologies and we have expertise resource to start with your project. We have 4+ year experience in design and development Lagi

€83 EUR dalam 10 hari
(24 Ulasan)
5.2
KOKTech

Hi! How are you? I am a senior software developer who has rich experience with Java, Android Studio . I am really interested in your project. I wanna work with you. Thank you.

€100 EUR dalam 10 hari
(8 Ulasan)
4.4
DianaAli0608

I can do this project. I have experience of Python, C & C++ and Java programming for 5+ years. I can satisfy you perfectly. Please contact me and discuss in detail.

€100 EUR dalam sehari
(20 Ulasan)
4.1
DianaBorisov

How do you do, brother. "Fast Speed + Loyal Quality + High Credit = Success". This is my slogan on working with client or employer. Please check my recent reviews. Though I am new in freelancer, I've done several Jav Lagi

€100 EUR dalam sehari
(6 Ulasan)
2.4
intelliworker

I am an Android Java developer. I'm willing to offer my services for this Android app with clean and efficient results. I look forward to long-term cooperation with you. Contact me for quick and quality work. I woul Lagi

€111 EUR dalam 10 hari
(1 Ulasan)
1.0
mohammadhaisam

HI there, We can help you to deliver the quality and fully functional app for any of the operating systems (Android) as per your choice. We have an expert command on Mobile application Development using the IDE "Andr Lagi

€130 EUR dalam 7 hari
(2 Ulasan)
0.7