What I would like to do is have the OS keep track of app execution time.
In other words, I want the OS to store times of when an Activity is created, resumed, and paused for all Activities.
Eventually I wish to send this data to a website for the ultimate goal of knowing how long the app was used for.
I've tried looking for an Activity Manager on AOSP under projects/platform/frameworks/base.git/tree with no luck. Then there's still have the issue of storing and sending the data.
I've done some app development but I'm new to the Android source. So any information on explaining how exactly the Android OS is structured and explanations of the source code would be greatly appreciated since there are plenty of tutorials on app dev but few on modifying the OS.
Related
Hi all,
i am working for a german car manufacturer as test lead for telephone car kits.
I often have problems with testers reporting not enough data for network related problems/errors.
My idea is to supply them with any Android device with a little application recording the track they were driving and as additional info also gives me relevant data of the mobile cells they were booked in during the testdrive.
Recording the track data is the easy part with apps like "My Tracks".
There is also an app called "Antennas" in the market which give me basic cell infos.
Problem is I only need the cell data from cells in which i was registered, i dont need tons of data from neighbouring cells etc...
Since some very experienced devs are around here i'd like to ask how much effort it would be to develop such an app which i.e. generates a *kml file which i can overlay ontop of my track information (i.e. sets a flag everytime i change to a new mobile cell on my way with its relevant data (Cell-ID, network type, fieldstrength etc...))?
Or does anyone knows an app which already does this?
Sorry for my english
effort
prototype could be done fast (several days). but it will take you way more effort to create a stable app which runs on all android devices. does your department already have some experience in android development? some experience in java/eclipse/embedded programming would help a lot.
-didi
We have no one with particular android experience, but we have several ppl with much eclipse/java knowledge and experience.
I'll just ask them, they have to try it in their free time lol, because this app development is not covered by my project and far from official
Basically for my final project were working with an external company that want stuff done for free or very close, this includes an android app.
The app I'm going to try to make will be private for the company to give out locations using google maps and gps/geolocation.
The app will be distributed through the site we are developing to certain users and not featured on the marketplace due to privacy issues.
Problem is I've never developed for android or any mobile platforms and have an extremely basic knowledge of Java but i mainly develop for web and windows using c# so naturally I have a few questions for people with experience in android development.
And it will be compatible from android 2.0 onwards
1. Is it possible to have the app powered by google maps?
2. Any suggestions of how one user will be able to upload gps coordinates to this app?
3. Rough idea of how long it would take e.g. few hours, few days, few months?
4. Overall is it possible, any problems I might run into?
5 Any Advice, tips,or better suggestions?
Thanks a lot for reading this far, any answers or help would be greatly appreciated.
Hello,
I'm new here and just starting to dabble with Android app development.
I've installed android studio and began playing around with it making a few Activities just to try it out and begin building my knowledge. I want to make an app where users will need to authenticate then pull data from a server (via an API). I followed this guide (google how-to-build-mobile-app-with-app-engine-backend-tutorial to find, can't post link) to add the app engine backend to it, but I couldn't finish it because I couldn't find the RegisterActivity so I decided to take a break and come ask here.
I'm very new to this, trying to warm up to the Android activities/layouts/things so I'd appreciate it if someone could link me some tutorials or guides on setting up a backend that will be able to interact with my app to perform things like registering, logging in and fetching data? Instagram would be a good example (I'm not making a photo sharing app but the functionality in terms of signing in then fetching your photos from the feed is a similar idea of what I want to do).
I have solid knowledge in web development languages and Java but am still trying to grasp this all.
Thanks for any and all help!
Daniel
This is some hobby project i want to accomplish with, i have decent experience in programming java. But after quite a lot searching around and asking professors and anyone with experience in android development i got no clear vision of how this is accomplishable. The thing is, i want to develop an application that runs for a given amount of time(there´s a timer the user sets), during this given time certain applications will be blocked(or rather killed, or intents changed so they won´t even start to run). This selection will be done from a list given of third party applications installed.
As mentioned, ive searched everywhere i can, and the only leads i could ever find was the following:
1. Have continous check which kills the given application if it detects the specific applications running and will kill it. Downfall of this will be cpu-usage, optimalization and battery use. And also the device has to be rooted.
2. Have an alternative launcher, somehow this should help me a bit on the way to accomplish my goal. But here i sit thinking: Will i need to develop my own launcher to be able to succeed?
Nothing pointed me in any direction whether there are some native methods or similar in the android that perform similar tasks and how to implement it at all. Those who are saying there are plenty of applications our there similarly: No, they give you choices like block apps with a password and similar which is not what i´m after. I need some application that blocks it for the given time it´s set to(even though it is possible to go on your own in task manager and kill this application i want to develop, but that is out of the scope for now). This is to increase productivity without reaching for your cellphone all the time(yes, it might sound silly, but i´m quite sure it will help.
Any help is greatly appreciated as i´ve researched for over a month without any success.
Bring up your activity no matter which app starts. Make it a transparent activity and kill it as soon as it starts.
Hi, .
I am trying to figure out the best approach for an upcoming big project. Except doing small projects for Android (no web backend), most of my experience is with java, C++, and drupal programming.
The app I am looking at involves storing location for each user and a bunch of user data.
The app then needs to visualise/sort based on the nearby users on the map.
I've been reading up on current mobile technologies, which brought me to phonegap and drupalgap, although I am slightly afraid of being overly complex, and the delay of js rendering.
So I am also considering using a simpler restful service for login and user data storage (any recommendations? Do I build this myself?) and just building 2 native apps that communicate with this.
Drupalgap seems overly complicated to me and doesn't offer a good UI (would I use intelliJ and then just build a simple site in Drupal that is being rendered?). Or using the rest full services by hand (without phonegap) to do it native, as described at varunity.github.io/Drupal-Services-Android-App. Maybe there are libraries for this?
Sorry for the many questions, I just want to save myself time and do it right from the beginning. I am still very much in the process of reading up on existing libraries.
Thanks,
Do