Environment set-up android mobile application - java

I have to create an android mobile application for college. On paper I have adequate modules completed to be able to do this, however I struggle with coding and simply need to complete this module to graduate.
I am going to use java to code my android application. I now need to set up an environment that can connect to a database. I have some experience using netbeans but did not pay a whole lot of attention over the years the database connectivity and usually had someone else do it for me.
My app is going to be a lottery purchasing ticket app.
My question is: What is the best IDE to use and what is the best db to use for my lottery application.
Thanks in advance.

For Android, you can use Android studio: https://developer.android.com/studio
and for database android itself provides database: https://developer.android.com/training/data-storage/sqlite

Related

MongoDB with Android Studio

ALL questions I saw here is too old for understanding so I'm asking a new one.
Im building a social media app that stores data, and will ,at the end, send notification even when the app is offline.
Is MongoDB is a good choice to use with Android Studio to my project ?
I understood that I need first to connect it to Realm and by Realm I use MongoDB.
Do you think its a good DB to use with Android? if it is, do you have any good guides for it?
If not, is there any other DB to use that is easy to learn\use?
PS
I dont want to use Firebase, because of its pricing.
Thank you .
MongoDB is also available for android
The only problem is that it does not have well-structured documentation for android..
I recently managed to connect my android application to the remote database
here is a sample unit application
https://github.com/i-sachinkumar/MongoDB-for-Android
Its readme file contains all the steps to be followed in the back-end as well as in the android studio
Enjoy

Prevent Uninstalling application in Factory Reset

I have tried to search it but couldn't find proper solution. So Posting question here to seek help.
We have developed an application for Android platform. It's already developed and in working condition.
Please note : Application is already designed to be system application, we
just need to prevent app from uninstalling while factory reset.
Our basic requirement is, if someone formats or factory reset their phone, still the application will not be removed.
We are not sure how to make this possible and looking for an expert to help us out on this.
NOTE:
we have mi Y2 phone with us for testing purpose, and willing to purchase other device if needed.
We want this to work on Android version 6 and above.

Tracking andorid API's used by other application installed on phone

I am building an android application, but i am very beginner to this.
I want to track the API's used by other applications installed in phone, for example i want to know which applications are used or using camera. like this i want to know what other applications are doing?...so please help me to achieve this
Here are two open-source projects that might provide what you are looking for:
OSMonitor, and
Android Device Info

How to turn java game code into an android application to play on a phone

Heyyy,
I was recommended this site by a friend who does Computer Science and he said it was the place to go to.
I have the following code for a 'Java' breakout (brickbreaker) game:
http://pastebin.com/fN8WBKpW
A group I am working in needs this code to run as an application on an android device so we can do surveys on it for our work project.
I know little about 'Java code' but one of the guys in our group has android studio + eclipse and has run it on his computer using one of the programs. He doesn't know how to get this code to be an application that he can transfer on to his phone.
If anyone can help us it would be much appreciated.
thankyouuu
xx
Android operates slightly differently than Pure Java. If you want your application to work natively on android, you are going to have to use android specific libraries and classes.

Developing Android outside of the SDK

It seems as if every Android application I really want to make is impossible to make with the current SDK. It doesn't give me access to certain things I would like to work with. This is an example of one of these things.
I know it is possible since I've seen apps in the market that do things that the SDK cannot do. My basic question is can someone point me in the direction of how to create such an application. I've searched around, but all of the links I've found are for developing with the SDK. A simple link to a tutorial that can show me how to access Android elements that aren't available through the SDK would be great.
Thanks.
You will not find a tutorial on it because the NDK is in flux..
What I have found is ..
One of the Eclipse CDT has blog posts on how to setup NDK projects in Eclipse.
The people who know Android Embedded C and frameworks are usually on certain IRc channel.
Plenty of code documentation..
Google search for android jni wrapper blog posts.
But keep this in mind several areas require state management as hey interact with hardware buffers in a certain way..ie audio..video..etc.

Categories

Resources