Problem with choosing activities - Android Q&A, Help & Troubleshooting

Hi,
New to android programming, I try to build this game where the player hops between a number of ropes. For now; in addition to my main activity that I kept empty, I built two additional classes:
Ropes.java storing the coordinates of the ropes and their movement
Player.java storing the player's details
Can you advise me about the next step to join them ie (where to include the "attach function" that links the player to the rope in case he reaches it) as well as how to populate the main activity to organise the game.
Thank you.

Related

Time tracking app with parallel timers needed

Hello,
I need a time tracking app. There is a lot of time trackers on Google Play and I've tried a lot of them, but in every app I missed one important feature: parallel timers for different clients and jobs.
I need:
- to define my clients, to define my jobs I do for the clients, to define projects.
- to simply choose client, project and kind of job and then start the timer
- to simply start and stop MULTIPLE timers (start and stop one timer, while second timer is still running)
- to export all data in usable form (for billing my clients)
Example of what I mean:
- My job is phone support. I am sitting at home and answering phone calls. I am payed for hours, so I need to start timer and leave it running almost all day untouched (except of lunch time).
- Because I spent most of the time by waiting for calls, I simultaneously do other jobs. I write articles, compose music and do some other work for other clients. So I need to start and stop timers according to actual work - but the "phone support timer" has to be also running. When I am - for example - writing an article and someone calls me, I need to stop "writing article timer", pick up the phone and solve customer's problem. When I drop the phone, I need to start "writing article timer"... etc...
This kind of app with parallel timers I've used on my Psion PDA back in 1998, but I can't find similar app for Android phones. Can anybody recommend me the app I am searching for? Thanks a lot.
Hoi,
i am using for nearly the same actions the App StopWatch.
On an older device i used Multi Timer PRO, but for some reasons? it isnt availabale at the Store any longer, and i didnt find my Backup.
Doei
Franz
Which StopWatch exactly? There is a lot of apps called StopWatch on Play Store, maybe hundreds. 8^)
Hoi,
its this one: https://play.google.com/store/apps/details?id=com.sportstracklive.stopwatch&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5zcG9ydHN0cmFja2xpdmUuc3RvcHdhdGNoIl0.
Doei
Franz
TSheets Time Tracker
Check out TSheets Time Tracker (tsheets.com) you can set up multiple job codes for your clients and projects and click to start and stop each one. When you set up your account just make yourself two people (!!) - "Mr/Mrs scalex.cz Phone" and "Mr/Mrs scalex.cz Article Writer" so the clocks can run simultaneously...
Check out the free app Timesheet from LlamaLab. It can handle multiple tasks active simultaneously.
See this post:
http://forum.xda-developers.com/showthread.php?t=2217159
Hi
Try out with the time tracking apps from Replicon. I have been using the same from a very long time and have got cool experience with the same on my work schedules.
EKetlinski said:
Check out TSheets Time Tracker (tsheets.com) you can set up multiple job codes for your clients and projects and click to start and stop each one. When you set up your account just make yourself two people (!!) - "Mr/Mrs scalex.cz Phone" and "Mr/Mrs scalex.cz Article Writer" so the clocks can run simultaneously...
Click to expand...
Click to collapse
Good idea.
Quickbooks Time Tracking Software is really awesome
Go ahead with Quickbooks Time Tracking Software from Replicon. Its been hassle free, cloud based, designed quite impressively with UX/UI and manages to navigate well. I am sure there will not be any cool tool than this.

Changing Eclipse Default Templates

When you create for instance a new Activity in Eclipse, the new class is added with a small bit of code inside it - in the case of an Activity an almost empty onCreate method and related imports. I was wondering if there was a way to change the default templates for Activity, Service and some more, to make some of it easier. Basically adding all the lifecycle methods, and maybe even some custom things I always use.
But I can't seem to find out where Eclipse gets that info from? Could someone point me in the right direction?
PS. Didn't know whether to put this in General or Software Development, but since I still get the thread of being banned every time I consider posting in SD, I chose General ;-)

[Q] Stealth timer for educational purposes

I have a bit of an odd request. I need a specialized timer app that: 1) begins timing as soon as it is launched, 2) launches in the background, and 3) logs the time stamps in a local device database.
This app is needed for an educational reading program to monitor changes in the amount of time a student spends reading (to see if it increases as they progress through the instructional reading program). The plan is to use Tasker to automatically launch the timer app as soon as the designated reading app (for example, Repligo) is opened on the tablet. Ideally, Tasker will then close the timer app as soon as the screen shuts off or the reading app is closed, and the stop-time will be logged in the database (seems like that part may be more difficult?).
I've looked at many timer apps, but haven't found any that quite had this functionality. I'm not sure how easy point #2 will be to achieve. Alternatively, a basic PDF reader that possesses these same capabilities would work too! I would appreciate any help that could be offered, either in directing me toward an app that will work or if you have the skill to craft the app.
Thank you in advance!

[Q] Context Simulation: Decision Help

Hello together,
I`m writing currently my master thesis with the topic "Context Simulator For Mobile Business Application". The goal is, to test how an Android application reacts during changing context conditions: How reacts an application, if the battery is almost empty? How reacts an application, if internet connection breaks down during data transmission? How reacts an application, if a SD-Card is available/not available? ...
I want to simulate all of these factors on the PC and send the data to my android device. Some more examples:
- Simulating sensor data for accelerometer, gyroscope, ...
- GPS
- Camera and microphone (if an application requests a camera image, it should receive a image from my simulator)
- Fake connection for Wi-Fi, HDSPA, EDGE
- Fake time, time zone and date
- Simulate a specific battery level
- Fake calendar entries
------------------ My approaches ------------------
No 1:
Extend an existing custom rom with my features => Some calls should not transfer to OS (example: GPS) but to my simulator on PC. Also send data (example: battery level) to android OS. For example to pretend a low battery level.
No 2:
Write my own sandbox application (I haven`t found information to this topic so far). In this sandbox application, I`m going to start my application to test. So it is possible, to fetch all request from this System under test and I can decide if I want to transfer them to Android OS or to my simulator.
No 3:
Develop my own library, which will be included from my system under test. This library extends some android classes (e.g. Activity, Location Manager, Sensor Manager). My extensions classes will transmit the request to my simulator instead to the OS.
I`m afraid, I only have limited functionalities when I`m using this approach.
No 4:
Take sensor simulator from open intents as basic and extend it as good as possible.
-------- About Me --------
I only have few experience in Android development, but a lot experience in Java development. I know, I should read now a lot about custom roms, ... Unfortunately this thesis should be finish at the end of march.
------- What I want from you -------
Advice. I hope you understand my problem. Which is the best way to realize this project? I would like to have as much functionalities as possible. My prototype doesn`t need to support all context factors, but I should consider all factors in my system design.
I wanted to attached two graphics, but unfortunately I`m not allowed to. These are two possibilities and I`m not sure, which one is better (and also, if they are possible):
http ://s7.directupload.net/images/131212/bnpuo8gh.png
http ://s7.directupload.net/images/131212/e7u8dv4r.png
Thanks a lot,
Michael

[Q] feasability / Idea for an app

I work at a branch of BASF (chemical plant) and we have these lists of things that need to be checked regularly .. (valves and their state (open or closed), values for temperature, pressure, ...)
I was wondering if it would be possible to tag each valve/measurement with a QR code and have a device (tablet, or whatever..) that has a library of these valves/measurements and when a valve's/measurement's QR code gets scanned you could assign an open or closed attribute or a value.
This would make it much easier to get an overview of the entire situation, and would create a standard for the registration (one person does this differently then the next which sometimes leads to miscommunication)
Does anyone have an idea if this would be possible ?
I myself do not have the knowledge to create such an app, but I feel it should be fairly simple for someone who does.
If you can offer me any information on this matter It would mean a lot to me ! thanks in advance !

Categories

Resources