Suggestions on what to include in System Check app - Android Software Development

Dont what to call it so I dont know how to search for it, (mods, please dont ping me, I looked through the categories and figures this was the right place to post)
I'm thinking about creating an app that checks different functions to verify that they work as my first Android app. The purpose of this is that I'm constantly buying and selling phones and installing ROMs and I would like to speed up the process of checking to make sure calling works, MMS, SMS, data, SD Card, GPS... etc. I need a few suggestions if you guys would be so kind.
Suggestions on what to call it, would be great as well as what checks to put in it. This will be great to install on ROMs to make sure everything works before you take the time to restore your settings.
If you comment, please put your suggestions in List format then expound later to make them easy to read. Thanks a lot. Also, should this be a terminal script or is it better as an app. I havent jumped into development yet (I'm starting tomorrow) so I dont know which would be more suitable. Thanks for your input.

Well, if you're not sure yourself what it should be and should do, one great way is to look what open-source apps exist with similar functionality and try to extend them to your needs.
One such app is "android analyzer", you can google for it and see if it looks good for you. It is essentially a "sysinfo" style application which collects and shows all the info about the device.

Thank you. I was looking for something like this
Sent from my overclocked LG G2x

Related

[Q] Rooting Advantages and Disadvantages

I have been reading this forum for some weeks now and wanted to thank you all for the great info here. I got my first Android phone (Vibrant) a few weeks ago.
I found out about rooting just yesterday. Since I really don't want to spend a lot of time troubleshooting the phone, I had a few questions to figure out whether I should root or not:
Will rooting my phone be overall worth it? Will I have to troubleshoot it a lot as a result? It works well now.
How will the updates work in the future? For example, I won't have to worry about Android 2.2 because it will be included in Cyanogen? Will my phone notify me when it's time to update?
This one is important: are there any instructions that tell me how to backup my current phone so that I can restore it to the original condition in case something happens?
Is Cyanogen accepted to be the best for rooting?
Will all my applications become uninstalled? Will anything else change besides my access level? I read some conflicting into on this.
Can you think of any disadvantages to rooting (other than possible voiding of warranty if you can't hide it)?
Do you guys have a list in this forum as to which applications are bloatware and should be removed (and are safe to remove)? I don't know anything about Android, so I have no idea
And finally, is there a thread/list where all the most important/useful applications that should be installed after rooting are listed? I know titanium backup is one. I couldn't understand what BusyBox does. So a list with explanations would be great.
I haven't liked the battery life of this phone and I am hoping that after removing all the bloatware from it that issue might be fixed as well. My phone starts with 160M+ memory. Even though I keep killing open applications, the performance keeps dropping over time until I can't get more memory beyond ~90M. This is when I have to shut down the phone and turn back on. Other than tethering, my main reason for rooting is 1.performance gain and 2.battery life extension.
Thanks for all the help. A lot of talented people on this forum.
There is no reason to not root this phone in my opinion. You can unroot it. You will get OTA updates using the stock ROM. Many of the recommended apps, guides, useful information is in the sticky at the top. Please read that, then ask any more detailed question you may have.
edit: when you root, there will be NO change to your apps/contacts/settings/etc.... you will reboot and be like "well, am I rooted?"... look for the superuser app in your app drawer, there? Good, you were successful.
Ok, you got an excellent thread there that pretty much answered all my questions! I will root my phone and get back here if I have any more questions, with a cleaned up list. Thanks.
will applying the RyanZA fix stop the OTA update?
A lot of people have this misconception that rooting means modifying their phone. Rooting by itself is not really modifying anything on your phone, all it does is give you super user privileges.
Think of your Mac or Windows PC, you have administrative accounts and you have user accounts. Admins can do anything, user accounts are typically limited.
When you have root access to your phone, you are the admin. You can access features that default account can't.
With that said, once you do have su you step into a whole new world with many different paths. You can can simply stay rooted and use apps that required root access and leave it at that.
Or you can dive into custom ROMs. This is where you step off the manufacturers intended path and follow community developed versions of the operating system.
Alternatively, in between those two extremes above you can do many things in between. You can stay with stock rom but have custom (modules or programs) APKs, or other modifications that change or expand on stock ROM.
Always keep in mind that once you choose to root, what happens to your device is your responsibility. Once again, your responsibility. If you are not willing to accept that, then stay non-rooted/stock and responsibility will be on Samsung to add/remove features, provide updates, fix bugs, etc.
Ok, so a few questions:
I bought Autostart and hid the system apps. Now what? I don't know what to disable from this list. There are applications, but they are listed under several categories. For example, "Application Removed." I have no idea what that category is for. Should I just worry about "After Startup"? Please elaborate.
You don't recommend AppKiller. Won't all those open applications just drain the battery? For example, if I have TeleNav open, how can I close it after I am done using it without AKiller?
There is an entire thread of various people posting various things, but I still would like to see just ONE combined list of all the "safe" bloatware to remove and "risky" ones. That thread did not help me at all since various people are reporting various things.
You recommend Root Explorer, which is kind of expensive. Is there any reason why I can't use the uninstall function of Titanium Backup? Is it any less thorough?
Where is the restart function?
How can I disable those annoying power down and power up sounds of the phone? Can this be done without lowering system volume?
Thanks!
Awesome, Glad to hear your root went well.
1. I bought Autostart and hid the system apps. Now what? I don't know what to disable from this list. There are applications, but they are listed under several categories. For example, "Application Removed." I have no idea what that category is for. Should I just worry about "After Startup"? Please elaborate.
I remove almost all non-system apps unless it is logical wht said app would need to function, aka, text received you would not want to block messanger/handcent..... if there is something you are questioning, just let me know.
2. You don't recommend AppKiller. Won't all those open applications just drain the battery? For example, if I have TeleNav open, how can I close it after I am done using it without AKiller?
Now that you have root, remove all of the bloatware and it will not be an issue. These run in the background and very likely are not using ANY of your resources.
3. There is an entire thread of various people posting various things, but I still would like to see just ONE combined list of all the "safe" bloatware to remove and "risky" ones. That thread did not help me at all since various people are reporting various things.
I used that thread because a lot of people posted the apps they removed. Almost all of them can be removed, if there is one you are questioning, let me know.
4. You recommend Root Explorer, which is kind of expensive. Is there any reason why I can't use the uninstall function of Titanium Backup? Is it any less thorough?
I mentioned in the sticky that I do not use TB. I know it allows you to remove apps, but Root Explorer does this and a lot more. For example..... #6
5. Where is the restart function?
Not sure I know what you mean? if you want a reboot option you can get Quick Boot from the market.
6. How can I disable those annoying power down and power up sounds of the phone? Can this be done without lowering system volume?
In the sticky I show where the files are located. With Root Explorer you can navigate to them and delete the files.
I agree with a lot on this thread. A master Guide for rooting/unrooting and usage should be made. The FAQ currently stickied is informative for the most part but it focuses on far too many things to be able to go into enough detail on each. Personally I would like a "All things root" guide or something sticked which is comprehensive and focuses JUST on that, with the most common root usage apps and things posted (including safe disabling or removal of bloat, backing up, flashing roms, etc.) so that people who have NO idea whatsoever and it is their first phone or something can just read that and feel at home. I may start working on one if no one else does it, we'll see.
}{Alienz}{ said:
so that people who have NO idea whatsoever and it is their first phone or something can just read that and feel at home.
Click to expand...
Click to collapse
I'd say that if someone has no idea what they are doing, the last thing they should be attempting is flashing firmware on their phone.
The layer of obscurity and technical difficulty associated with rooting/modding is of benefit in terms of preventing people from doing things they should not be doing without sufficient knowledge base.
There is plenty of info here and online in general to start someone off if they are interested in learning about this in general.
IMHO, creating a trail of bread crumbs for someone who doesn't know what they are doing is more likely to hurt them or community in general rather than help them.
In my experience rooting your could be fun and a nightmare, if not done properly and, you have of time on you're you could become a rom switching addict cyanogen is currently available for the vibrant you can still root, but you will be on stock vibrant rom.till samsung release the source code so no froyo.and the rumor is that they won't release the source code.
Sent from my Nexus One using XDA App
s15274n said:
Awesome, Glad to hear your root went well.
1. I bought Autostart and hid the system apps. Now what? I don't know what to disable from this list. There are applications, but they are listed under several categories. For example, "Application Removed." I have no idea what that category is for. Should I just worry about "After Startup"? Please elaborate.
I remove almost all non-system apps unless it is logical wht said app would need to function, aka, text received you would not want to block messanger/handcent..... if there is something you are questioning, just let me know.
2. You don't recommend AppKiller. Won't all those open applications just drain the battery? For example, if I have TeleNav open, how can I close it after I am done using it without AKiller?
Now that you have root, remove all of the bloatware and it will not be an issue. These run in the background and very likely are not using ANY of your resources.
3. There is an entire thread of various people posting various things, but I still would like to see just ONE combined list of all the "safe" bloatware to remove and "risky" ones. That thread did not help me at all since various people are reporting various things.
I used that thread because a lot of people posted the apps they removed. Almost all of them can be removed, if there is one you are questioning, let me know.
4. You recommend Root Explorer, which is kind of expensive. Is there any reason why I can't use the uninstall function of Titanium Backup? Is it any less thorough?
I mentioned in the sticky that I do not use TB. I know it allows you to remove apps, but Root Explorer does this and a lot more. For example..... #6
5. Where is the restart function?
Not sure I know what you mean? if you want a reboot option you can get Quick Boot from the market.
6. How can I disable those annoying power down and power up sounds of the phone? Can this be done without lowering system volume?
In the sticky I show where the files are located. With Root Explorer you can navigate to them and delete the files.
Click to expand...
Click to collapse
1. What I don't understand is that the category says "New Outgoing Call" and GVoice beneath it. So I should NOT disable it, right? Because it has nothing to do with startup? But if so, then almost every other category has nothing to do with startup either. It is only the first listing that says "After Startup" and it misses A LOT of applications that do start up, like TeleNav. I don't even see TeleNav anywhere in that list. Same is true for "Email," Gallery," "Voice Dialer," and a bunch of other apps that I don't want to start on startup. I don't see any way of killing these other than by ATKiller. Am I missing something here?
2. See the problem is this: right now I have Telenav and I use it sometimes. However, I don't want it to run just whenever. So if I don't want to uninstall it, isn't my only solution ATKiller? There are other programs like this. And I can't disable them from the Autostart menu either since they're not there (Filtered out System files).
3. That site does not list what each of the bloatware does. For example, I am not sure I want to remove Account and Sync because I might need it for my bills. Same thing with "MyFiles." I don't even know what "vvm" is.
4. I am not able to tether the phone. I already tried Barnacle and it said "Running..." after I disabled supplicant, used channel 6, and disable ad-hoc. Then I tried this: http://forum.xda-developers.com/showthread.php?t=739147&highlight=tether, but I am still not able to connect. My laptop detects the phone as "computer-to-computer network," but when I click connect, it keeps trying to connect and then doesn't. I am not sure where to go from here.
Thanks.
One more thing I still don't know: how are the updates going to work from now on? Whenever an Android update comes out, like 2.1update or Froyo, do I have to come here and do everything manually? Or is there a way from within the phone to find out with one click? I am assuming whatever update is available for the phone will also be available for custom download (otherwise I could unroot, update, reroot?).
Thanks.
By the way, I also agree about a complete guide. It's not that it will enable the clueless to mess up their phone, but rather the opposite - it will allow the clueless to become cluefull. Such a guide would be very helpful. Meanwhile I am having to jump from thread to thread and then to Google trying to find out about this or that. That's not to say that the guide available isn't very helpful already.
I've already contacted a few people about starting said guide. I have not got much feedback from people willing to help....
^ you've asked a lot man... I can try and answer some, but you need to keep doing some reading. I feel like I've offered up a lot as is.
Just b/c you have root, does not mean you will not receive the OTA updates. If Froyo is released, you can update from the phone, you will lose root though. Most of us, will wait for the developers to have a stock froyo + root that we can flash.
why use telenav? I am not familiar.. just curious why not use google nav?
autostarts, just b/c you have it set to not start an app on boot, does not mean when you click the icon to open it will cause an issue. Really not that big of a deal. If you notice an issue, just set the app back to enabled.
Do not use a task killer.
The thread I linked has plenty of information for what you can remove from the phone, with instructions.... same for the barnacle tether app. If you want, download Wireless Tether, google it... the source code is on google.
http://code.google.com/p/android-wifi-tether/downloads/list
androidaddict23 said:
In my experience rooting your could be fun and a nightmare, if not done properly and, you have of time on you're you could become a rom switching addict cyanogen is currently available for the vibrant you can still root, but you will be on stock vibrant rom.till samsung release the source code so no froyo.and the rumor is that they won't release the source code.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Cyanogen is not yet available for the Vibrant. It will soon.
Froyo-cooked ROMS are already out for the Vibrant (alas with some bugs) so I don't think there's a reason to think Cyanogen won't be on Froyo.
Also: Never having done a root/rom flash does not make someone stupid or signify they should never try it. It just means they should READ some documentation and be technically up to the challenge before they do. I don't think having a clear guide on most of the process will hurt anyone who is coming into this but doesn't yet know all the details and steps of what to do.
Excelsius said:
Ok, you got an excellent thread there that pretty much answered all my questions! I will root my phone and get back here if I have any more questions, with a cleaned up list. Thanks.
Click to expand...
Click to collapse
glad the root went well for you. I am wanting to root my phone too, but not sure which root method is easiest and best.
Which root method did you use?
I had a mytouch rooted before the Vibrant, but they are way different and I dont want to screw up
s15274n said:
I've already contacted a few people about starting said guide. I have not got much feedback from people willing to help....
^ you've asked a lot man... I can try and answer some, but you need to keep doing some reading. I feel like I've offered up a lot as is.
Just b/c you have root, does not mean you will not receive the OTA updates. If Froyo is released, you can update from the phone, you will lose root though. Most of us, will wait for the developers to have a stock froyo + root that we can flash.
why use telenav? I am not familiar.. just curious why not use google nav?
autostarts, just b/c you have it set to not start an app on boot, does not mean when you click the icon to open it will cause an issue. Really not that big of a deal. If you notice an issue, just set the app back to enabled.
Do not use a task killer.
The thread I linked has plenty of information for what you can remove from the phone, with instructions.... same for the barnacle tether app. If you want, download Wireless Tether, google it... the source code is on google.
http://code.google.com/p/android-wifi-tether/downloads/list
Click to expand...
Click to collapse
I appreciate all your answers. I don't mean to say that anyone else can't answer as well. I am still unclear on several things I asked and would appreciate if someone could chime in, at least about the exact procedures for using autostart and the reasoning behind not using the task killer. I am new to Android, but I am pretty good at computers, including building them. So when I am learning about doing this or that, I would like to know about the reasoning behind that. I am sure that all of the questions I ask here I can find out on my own, but I was hoping that I could utilize the purpose of the forum and learn something from the veterans rather than reinventing the wheel myself.
I am using Telenav because I have a one month free trial. I discovered Google Nav just yesterday. I just want to compare them myself, even though it is unlikely I will pay $10/month in either case. But remember that Telenav is just one of the applications causing issues.
Thanks for all the answers. Please don't feel pressured to answer all the things I might ask. If I don't get enough answers, I'll just do a quick thread search and if that's not fruitful, I'll create a specific thread for autostart usage.
androidaddict23 said:
till samsung release the source code so no froyo.and the rumor is that they won't release the source code.
Click to expand...
Click to collapse
Isn't this illegal? I thought the whole point of Android was opensource and under the GPL License, they are required to post the full source code, right? Or I could just be way off base here.
kboater said:
glad the root went well for you. I am wanting to root my phone too, but not sure which root method is easiest and best.
Which root method did you use?
I had a mytouch rooted before the Vibrant, but they are way different and I dont want to screw up
Click to expand...
Click to collapse
I used the first procedure recommended in the sticky: http://forum.xda-developers.com/showpost.php?p=7150299&postcount=1
I am not sure why it said that you have to restart several times. Here are some clarifications on the steps there that I think were not too clear:
1. When you connect your device, you need to pull down the message area, click on the USB, and only then you will see the option to MOUNT your phone. I had to experiment to figure this out.
2. The guide doesn't say, but if your USB debugging mode is on, I would disable it, just to be safe: Settings (this is that leftmost button on your phone when you're at your desktop)-->Applications-->Development-->USB debugging (uncheck). This might be unnecessary, but I did it just to be safe.
3. When you are copying the Update.zip file into your phone, make sure you check the size of the folder. It must be your internal storage - it will be 12GB+ and will have your system files. If you have trouble identifying this, simply remove your SD card!
4. When you are restarting the phone, make sure you press the volume button in the MIDDLE so that it is entirely pressed (up and down). While holding it, press and hold the power. Do not let go of the volume button until your enter the recovery menu.
Anyway, that's what I did and rooted from the first time without any issues.
t0phux said:
Isn't this illegal? I thought the whole point of Android was opensource and under the GPL License, they are required to post the full source code, right? Or I could just be way off base here.
Click to expand...
Click to collapse
It could be that Samsung has modified the code for their own phones making the code their property, while the "regular" 2.2 (unmodified) would be available to everyone. I could be wrong, but I think this how it would work.
Excelsius said:
I used the first procedure recommended in the sticky: http://forum.xda-developers.com/showpost.php?p=7150299&postcount=1
I am not sure why it said that you have to restart several times. Here are some clarifications on the steps there that I think were not too clear:
1. When you connect your device, you need to pull down the message area, click on the USB, and only then you will see the option to MOUNT your phone. I had to experiment to figure this out.
2. The guide doesn't say, but if your USB debugging mode is on, I would disable it, just to be safe: Settings (this is that leftmost button on your phone when you're at your desktop)-->Applications-->Development-->USB debugging (uncheck). This might be unnecessary, but I did it just to be safe.
3. When you are copying the Update.zip file into your phone, make sure you check the size of the folder. It must be your internal storage - it will be 12GB+ and will have your system files. If you have trouble identifying this, simply remove your SD card!
4. When you are restarting the phone, make sure you press the volume button in the MIDDLE so that it is entirely pressed (up and down). While holding it, press and hold the power. Do not let go of the volume button until your enter the recovery menu.
Anyway, that's what I did and rooted from the first time without any issues.
Click to expand...
Click to collapse
thanks
10 char

Assistance with final year college project

Hi all!
I'm in my final year and we're supposed to do a project which is worth 200 marks overall. Most of us in our field have chosen to develop either android or iphone applications. My group and I have chosen adnroid.
Now, I'm in need of simple ideas for the apps. We have absolutely no idea on how to go about with the process. I've seen lots of people here develop stunning applications here! We're in need of ideas for developing simple apps.. which can be completed in a max of 2-3 months (considering the fact that we don't have any background knowledge on android development/programming. All we know is Java)
I'd initially suggested an automatic mobile credit recharge system, where in the app monitors you prepaid account balance from time to time and recharges the account once the credit falls below a user set value.
Although this seemed interesting at first, it can only be simulated with 2 databases (one for the mobile credit and another for the bank account)
After going through the type of apps here, I really want to develop something much better than this.
I'm open to all ideas, in fact, we don't mind developing an app that is already existing (for instance a profile manager or a data wallet etc) All we want is to have a fully complete app at the end of 2 months.
Please assist.
Thanks!
Secret Santa?
That's something that I thought up over winter break and whipped it up over a few days in the App Inventor. If you guys take your time, you can probably learn Android programming and design/code it in a month or so.
There are some "special" features that I added to make the app more useful but I'll leave that for you to think up.
I'll post back if I come up with anything else. I also need some app ideas, but just for recreational programming.
Thanks! I'm currently checking out appInventer.. I somehow find it hard to come up with ideas which is why I'm trying to find help from here :|
I think the credit recharger is a pretty cool idea, personally. But I understand that you might want something with more "impact"
I think part of the key to this would be figuring out what has not already been done to death. There are so many apps with 5, 6, 7, etc versions of the basically the same thing. I would try to find something to develop with less competition, even if it's more of a niche product. I'm trying to think of the things I've previously thought "I wish I had an app for ____" but I'm drawing a blank right now.
If I think of anything I'll be sure to post it back in here
DrDubzz said:
I think the credit recharger is a pretty cool idea, personally. But I understand that you might want something with more "impact"
I think part of the key to this would be figuring out what has not already been done to death. There are so many apps with 5, 6, 7, etc versions of the basically the same thing. I would try to find something to develop with less competition, even if it's more of a niche product. I'm trying to think of the things I've previously thought "I wish I had an app for ____" but I'm drawing a blank right now.
If I think of anything I'll be sure to post it back in here
Click to expand...
Click to collapse
Thanks! I checked out google appInventer tutorials.. theres one which says "no text while driving" -- basically sends back an sms to the sender that ur driving.. It seems interesting so I'm gonna see how best i can use it and pack some more useful stuff along with it.. and see how it all works out.
The reason why I'm giving the auto recharge a back seat is because it can't be implemented in real time.. it can only be simulated in a virtual environment.
You might want to think about doing something that takes advantage of the maps api. It's easy to do but it looks impressive and might help you get high marks.
A great idea?!
Graphics artist here,
Something I just thought of and just started searching for (literally) when I came across your thread, would be: Using the phone as a touch sensitive.. control for editing software, ie photoshop or paint.net. Basically turn the phone into a touchpad control for a computer.
Just an idea!
mirrorhelix said:
Graphics artist here,
Something I just thought of and just started searching for (literally) when I came across your thread, would be: Using the phone as a touch sensitive.. control for editing software, ie photoshop or paint.net. Basically turn the phone into a touchpad control for a computer.
Just an idea!
Click to expand...
Click to collapse
This would be great! I'd definitely pay a couple/few dollars for something along these lines if it was user-friendly
Thats a really awesome idea!! Converting the touchscreen into a tablet input for PS or any other photo manipulation software.. But the problem is that I don't know where to begin! :|
This is a college project so the idea isn't to make a unique and sell-able application... it's to demonstrate that you can work as part of a team to make an application from design to completion.
I'd try and think of a fun app (i wouldnt care if it's been done 100 times before) that everyone on your team wants to contribute to. If it's unique, brilliant, if not nevermind you've got some good experience working as a team and making an android app.
I do like the sound of the phone touchpad app, it's been done on iPhone by Logitech but i've not seen something for android. If it helps, http://blog.logitech.com/2010/01/29...-touch-into-a-wireless-trackpad-and-keyboard/ .
There are a ton of them on the market: Gmote, MyRemote, UnifiedRemote, etc.
It might be a good idea to email this developers to get a better picture of what to do.
Problem is that all of those tools rely heavily on WiFi so you'll have to understand networking.
biggler said:
This is a college project so the idea isn't to make a unique and sell-able application... it's to demonstrate that you can work as part of a team to make an application from design to completion.
I'd try and think of a fun app (i wouldnt care if it's been done 100 times before) that everyone on your team wants to contribute to. If it's unique, brilliant, if not nevermind you've got some good experience working as a team and making an android app.
Click to expand...
Click to collapse
Bingo!! Which is exactly what my instructor said. I tried out the tutorials on appInventer.. I was toying with the idea of integrating more features into those itself. Is that a good idea? Although the concept is from Google, would it be ok to build on it? i'm particularly interested in "No texting while driving" and "Broadcast Hub" -- both these apps are awesome! Are there any notable features that I can add to make them better.
How about an app for the quick oil change places. It could show your last service and what was done. Show any upcoming maintenance and when your next oil change is due.
Maybe integrate Google Maps to show locations of service centers. Maybe offer a "e-coupon" if they use the app. Pretend they offer online scheduling and maybe show them "2 customers in bay, one waiting" - Estimated wait time 20 minutes" yada, yada
As an "older" programmer with 2 degrees, it's nice to see your college offering the mobile platform as a programming choice. Hell, all we got to write were COBOL and CICS mainframe applications and some semi-cool C++ projects.
Good Luck and Congratulations on getting your degree!!
What about a bluetooth hack to where u would be able to hack into someones phone and use their service for texting and calling. I heard of something like that when i was on my blackberry and was really into it. But it would be nice to get something like that on my Incredible
Sent from my ADR6300 using XDA App
I think it would be a good idea to make an app that uses an existing web api for a popular website, could be facebook, ebay(do they have an api?) etc etc.
It's a good way to learn a lot of aspects of android development, with a useful product as the outcome.
It doesn't matter if there is already an app for that site, think of a different way of using the site on the mobile, and go from there.
I would like to see a program that reads the weather API and reflects the current weather and location on the wallpaper. This app would require graphics design, code to parse the weather feed, writing to the OS. When I was on Windows Mobile there was a skin for Weather Panel that did this but with Android's live walpaper it could be really cool.
Thanks for the ideas you guys! I really appreciate it. Everything seems interesting.. but the problem is we don't know where to begin or how to go about it.
I did the broadcast hub tutorial present in the app inventer page. It turned out good. Is there any way I can add functionality to this itself?
blueren said:
Thanks for the ideas you guys! I really appreciate it. Everything seems interesting.. but the problem is we don't know where to begin or how to go about it.
I did the broadcast hub tutorial present in the app inventer page. It turned out good. Is there any way I can add functionality to this itself?
Click to expand...
Click to collapse
Do all the tutorials and learn the blocks, you can create lots of stuff. There is a app in the market that adds more features to the app inventor, app inventor extender
XDA App
A couple of suggestions:
- A chess PGN editor
- A simple picture/document management app where you take a photo using the camera, add some tags or other info, and save all details in a database. You can also provide search functionality and a viewer to retrieve pictures using the index you've built.
Sent from my SAMSUNG-SGH-I897 using XDA App
I did some homework on topics and came across this.. A multilingual speech translator.
Talk in a language, it converts the speech to text, translates that text to a target language, and reads the translated text aloud.
Is this feasible? What is the difficulty level?
Also, is it possible to develop a call blocker app? I looked around but wherever I search, I only find fully built apps but not pointers on how to go about creating one by yourself.
Please assist.

Programming help with views

I could use some help with an app I'm working on. I need to know how to control the views and work with which things are in focus. I also want it to work even while in the background so using a handler or something else is knowledge I could use help with. I've been sifting through the javadoc and multiple other forums and am pretty much stuck. Anyone with decent knowledge that would be willing to help me out should message me. Thanks in advance.
First I would move this to the Android dev forum
Android uses Intents to display and run processes. Activities are Intents (views)that you can actually see on the screen and Services are Intents that can be run in the background.
Starting on the Android dev site is really the best place to find the answers to the problems.
That and using the Android examples that come with the SDK. Good luck and I hope you were talking about Android! XD
I was talking about android so here's what i'm trying to do. I want to take in trackball movements and pretty much make it so they don't affect my program or others. I'm not sure how to make it so that requestFocus() will take whatever view is currently on the screen, capture it, and pretty much revert right back to it if the trackball is used. I've tried a lot of different things, but I have been stuck on this forever. Anyone know how to accomplish this because for the most part I think that the trackball is not documented all that well. Any suggestions would be great!
I would look at the http://developer.android.com/guide/topics/ui/ui-events.html , onTrackballEvent(MotionEvent) . You should be able to override that in your service, and just process the motion however you want and not call super.onTrackballEvent();
The problem is that although onTrackBall does captures events, it does not capture all of them. In the docs it says that the method will handle all events not already handled by a view. So I guess my question overall is how do you do just that? Take in every trackball movement no matter what view is reading it? Whether it be another app or anything else. How would I capture the remaining movements?
So after a bit more research here's what I've come up with for what I need to do. Either access the event queue or make it so any time the trackball is used, whether on the homescreen or something else, my application will be able to take these events and manipulate then as i need to. So anyone willing to help with this? I figure I need to make a thread, but how do I get it to read in other applications readings? Is this even possible?

Listables

Just thought I'd let you guys know that Listables works great on Xoom. I figure that most people have probably manually installed a lot of the apps on their phones using apks and since we can't nandroid yet, this would be a good way to keep a list of all the apps you currently have on your device. Just check off your apps in the list, email/dropbox/bluetooth as html file(w/ QR codes,links to market,etc.),xml, or plain text. It can do a few more things as well. Anyway, check it out!
https://market.android.com/details?id=com.alostpacket.listables
Edit: Hmm...maybe this should have been put in the Themes and Apps subforum. Sorry about that!!

[Q] Going after minimalistic set of programms/feature on N7

Hi, a new guy here!
I recently became a happy owner of 32Gb wi-fi only N7. I’m familiar with software dev (windows developer for 20 years with some work on unix) and customization/modding/flashing process (mostly for satellite receivers). However this is my first tablet and my first Android device so I could use some help 
I successfully unlocked, rooted and installed custom recovery on my N7. I would like to get to a bare bones state of the N7 and then slowly add new features/programs to it when it becomes necessary for me. So I would like to remove all non essential parts that were preinstalled on my N7.
I was under impression that I could uninstall programs using N7 UI after device gets rooted. However it seems that for majority of the apps I still only have an option to disable.
I shelled into N7 and looked around. It seems that all (majority?) of the apps are in /system/apps folder. Can I simply remove the apps and their files from that folder? Does this folder only contain user apps or does it also have system apps that are essential for N7 to function? Is there a chance to brick it by removing something (everything?) from that folder?
I searched on a forum for a list of apps that are safe to remove. I thought it would exist since it seems to be something many of us would be interested in doing. I didn’t find the list. If there is such a thing and someone could direct me there, it would be great!
Given that I can remove apps by deleting them from that folder safely, I still have a question what each app does and how important it is. Is safe to assume that any app that has a wheel with a drive belt on it as an icon in apps screen on N7 is system app and has to stay?
I have two keyboard app installed – one is Android keyboard and one is ASUS keyboard. Judging by the name 2 of these are essential since Android is the OS and ASUS is the manufacturer. But do I really need two of them?
If there is a resource/thread that discussed something similar, please let know. I look forward to learn from anyone on this forum! 
_Diver said:
Hi, a new guy here!
I recently became a happy owner of 32Gb wi-fi only N7. I’m familiar with software dev (windows developer for 20 years with some work on unix) and customization/modding/flashing process (mostly for satellite receivers). However this is my first tablet and my first Android device so I could use some help 
I successfully unlocked, rooted and installed custom recovery on my N7. I would like to get to a bare bones state of the N7 and then slowly add new features/programs to it when it becomes necessary for me. So I would like to remove all non essential parts that were preinstalled on my N7.
I was under impression that I could uninstall programs using N7 UI after device gets rooted. However it seems that for majority of the apps I still only have an option to disable.
I shelled into N7 and looked around. It seems that all (majority?) of the apps are in /system/apps folder. Can I simply remove the apps and their files from that folder? Does this folder only contain user apps or does it also have system apps that are essential for N7 to function? Is there a chance to brick it by removing something (everything?) from that folder?
I searched on a forum for a list of apps that are safe to remove. I thought it would exist since it seems to be something many of us would be interested in doing. I didn’t find the list. If there is such a thing and someone could direct me there, it would be great!
Given that I can remove apps by deleting them from that folder safely, I still have a question what each app does and how important it is. Is safe to assume that any app that has a wheel with a drive belt on it as an icon in apps screen on N7 is system app and has to stay?
I have two keyboard app installed – one is Android keyboard and one is ASUS keyboard. Judging by the name 2 of these are essential since Android is the OS and ASUS is the manufacturer. But do I really need two of them?
If there is a resource/thread that discussed something similar, please let know. I look forward to learn from anyone on this forum! 
Click to expand...
Click to collapse
I don't have the energy right now to address every app one at a time, but I'll nudge you in the right direction. That should help you start tinkering.
The Nexus 7 is very popular in this community because it's intentionally more open, and less bloated, than much of the competition.
That being said, sure there are apps you could uninstall if you decide to. Some of the custom ROM's will have probably already have done this for you, but may create little unexpected quirks here and there.
The first thing you'll want to do is backing everything up thoroughly. I would use Titanium Pro (you'll see it referred to as Tibu a lot), to backup all apps and settings. Then I would use the Google Nexus 7 toolkit (found in the forums here) to do a backup, as well as make a nandroid backup.
Ok, so you're ready to tinker. Well, if you bought Titanium Pro from the app store, you've already got all you really need. First, use titanium to freeze an app you don't feel you need, and don't think is required. Re-boot, go about your daily routine, and see if all is ok. Continue on in this manner. Once you've frozen everything you're interested in, and made sure all is well, you can probably go ahead and uninstall them through Tibu. Freezing them should generally make them not start up anyways, so unless the tiny amount of space they take up is a concern, that's really all you generally need to do *.
* Ok, sometimes you have to fully uninstall things you don't want, but this should get you plenty to tinker with for now.
bladebarrier,
Thanks for your response. I understand the approach you suggested – disabling apps one at a time and then when they all disabled and device is working to my liking for a while I could uninstall them.
However, I’m somewhat frustrated with a sheer number of apps that I have out of the box and I can’t find a good description of what they do. For example:
Mobile Network Configuration
Google Partner Setup
Google Services Framework
Searching online doesn’t yield definitive answers if it’s something I need or will N7 work without them. I have google play store and google play services installed – does store app require services? Reading a bit about it doesn’t make it seem so, but I’m not 100% sure. So I was wondering if there is a list of apps that are required for N7 well being and that cannot be removed no matter what.
For example, Black Viper has an excellent example of what I’m looking for but for windows nt services: (can't post a link)
This page explain what each service is, what it does and if it’s safe to disable it depending on configuration you’re seeking – minimal set, typical, out of box of experimental. I would love to find something like that for N7 system apps 
I installed CWM recovery when I rooted and as far as I can understand I does NAND backups. I plan on moving the backup file from the device to my desktop and keeping it there for safety reason.
The Tibu process that you described, as far as I understand (and I might be wrong here) is basically equivalent of disabling the apps using native N7 setting app, rebooting, using it for a while and then removing .apk and .odex (or simply app_name.*) files from system/apps folder. Tibu just makes it easier. Did I get that right?
And it’s still removing one app/widget at the time. I’d like to clean it out completely first and start from that point. So Tibu will probably not help me there. So my main Q is still out there – can I brick it by removing everything from system/app? Are there only user apps there or essential system apps as well? With CWM back up file on hand will I be able to recover if my experiment goes bad? 
> * Ok, sometimes you have to fully uninstall things you don't want, but this should get you plenty to tinker with for now.
One of the reasons I want to have them removed is to clean up the list of apps I have on N7. Right now I have 5 pages of apps and I have little idea what they do and if I need them – I had Korean keyboard installed for example.
As I mentioned I’m a newb in this area, so maybe my approach is a bit dumb, so please be patient with me
_Diver said:
bladebarrier,
Thanks for your response. I understand the approach you suggested – disabling apps one at a time and then when they all disabled and device is working to my liking for a while I could uninstall them.
However, I’m somewhat frustrated with a sheer number of apps that I have out of the box and I can’t find a good description of what they do. For example:
Mobile Network Configuration
Google Partner Setup
Google Services Framework
Searching online doesn’t yield definitive answers if it’s something I need or will N7 work without them. I have google play store and google play services installed – does store app require services? Reading a bit about it doesn’t make it seem so, but I’m not 100% sure. So I was wondering if there is a list of apps that are required for N7 well being and that cannot be removed no matter what.
For example, Black Viper has an excellent example of what I’m looking for but for windows nt services: (can't post a link)
This page explain what each service is, what it does and if it’s safe to disable it depending on configuration you’re seeking – minimal set, typical, out of box of experimental. I would love to find something like that for N7 system apps 
I installed CWM recovery when I rooted and as far as I can understand I does NAND backups. I plan on moving the backup file from the device to my desktop and keeping it there for safety reason.
The Tibu process that you described, as far as I understand (and I might be wrong here) is basically equivalent of disabling the apps using native N7 setting app, rebooting, using it for a while and then removing .apk and .odex (or simply app_name.*) files from system/apps folder. Tibu just makes it easier. Did I get that right?
And it’s still removing one app/widget at the time. I’d like to clean it out completely first and start from that point. So Tibu will probably not help me there. So my main Q is still out there – can I brick it by removing everything from system/app? Are there only user apps there or essential system apps as well? With CWM back up file on hand will I be able to recover if my experiment goes bad? 
> * Ok, sometimes you have to fully uninstall things you don't want, but this should get you plenty to tinker with for now.
One of the reasons I want to have them removed is to clean up the list of apps I have on N7. Right now I have 5 pages of apps and I have little idea what they do and if I need them – I had Korean keyboard installed for example.
As I mentioned I’m a newb in this area, so maybe my approach is a bit dumb, so please be patient with me
Click to expand...
Click to collapse
Removing Google framework services is a big no-no. To be honest, the easiest way to accomplish what you want is installing a custom ROM like CyanogenMod, especially since you've done all the prep work for such a thing.
Once you install any official CM build it is as close to app-less as you can get on a modular OS like this.
littleemp said:
Removing Google framework services is a big no-no. To be honest, the easiest way to accomplish what you want is installing a custom ROM like CyanogenMod, especially since you've done all the prep work for such a thing.
Once you install any official CM build it is as close to app-less as you can get on a modular OS like this.
Click to expand...
Click to collapse
that's what i suspected! i thought that google framework would be something essential, but there is not much easily available information there to arrive at that conclusion
since i'm new to this, i thought i should stay away from any rom flashing until i get a bit more familiar with a device, terminology and stuff like that. i'm looking at the "[ROM] CyanogenMod 10.1 [OFFICIAL]" thread and i'm not sure about half of the terms - GAPPS, PSA, Nightlies i do know what ROM is, I do know what kernel is, virtual machine, etc. But it's applied to the platform that I have little experience with, so it makes me a little bit uneasy
_Diver said:
bladebarrier,
Thanks for your response. I understand the approach you suggested – disabling apps one at a time and then when they all disabled and device is working to my liking for a while I could uninstall them.
However, I’m somewhat frustrated with a sheer number of apps that I have out of the box and I can’t find a good description of what they do. For example:
Mobile Network Configuration
Google Partner Setup
Google Services Framework
Searching online doesn’t yield definitive answers if it’s something I need or will N7 work without them. I have google play store and google play services installed – does store app require services? Reading a bit about it doesn’t make it seem so, but I’m not 100% sure. So I was wondering if there is a list of apps that are required for N7 well being and that cannot be removed no matter what.
For example, Black Viper has an excellent example of what I’m looking for but for windows nt services: (can't post a link)
This page explain what each service is, what it does and if it’s safe to disable it depending on configuration you’re seeking – minimal set, typical, out of box of experimental. I would love to find something like that for N7 system apps 
I installed CWM recovery when I rooted and as far as I can understand I does NAND backups. I plan on moving the backup file from the device to my desktop and keeping it there for safety reason.
The Tibu process that you described, as far as I understand (and I might be wrong here) is basically equivalent of disabling the apps using native N7 setting app, rebooting, using it for a while and then removing .apk and .odex (or simply app_name.*) files from system/apps folder. Tibu just makes it easier. Did I get that right?
And it’s still removing one app/widget at the time. I’d like to clean it out completely first and start from that point. So Tibu will probably not help me there. So my main Q is still out there – can I brick it by removing everything from system/app? Are there only user apps there or essential system apps as well? With CWM back up file on hand will I be able to recover if my experiment goes bad? 
> * Ok, sometimes you have to fully uninstall things you don't want, but this should get you plenty to tinker with for now.
One of the reasons I want to have them removed is to clean up the list of apps I have on N7. Right now I have 5 pages of apps and I have little idea what they do and if I need them – I had Korean keyboard installed for example.
As I mentioned I’m a newb in this area, so maybe my approach is a bit dumb, so please be patient with me
Click to expand...
Click to collapse
Tibu requires root access, in order to perform what we're discussing. I'm relatively new to JB, but I can't imagine any stock settings replicating its capabilities.
As far as a whole bunch of apps being in your list, that's sort of the way Android works. Think of it like "superfetch", or whatever that term was in Windows Vista. Basically, two things happen when you boot. Android looks at a list of apps that are designed to start on boot, and also apps that it expects you may want to run in the future. Both of these are designed to make the device run smoother overall, and it will kill apps if extra ram is required and they are not in use. Certain Android apps require themselves to run at all times. Some of these are apps like Tasker (if you're using tasker profiles), some of these are system apps that make the device function, some of these are apps that maintain widgets or background monitoring (weather apps, gmail, calendar).
Now, there are two ways to go about sorting what is bloat, and what is there because Android decided to load it. You can install an app called Autostarts, that will give an insight into apps that start up when certain criteria are met. You can also use it to stop those apps from queuing up at those trigger points. This is another root required app, and while I purchased it long ago, may have a free version as well. It's time consuming to use, and not perfect, which is why Tibu is better for flat out locking down unwanted apps.
Back to my initial thoughts though, you will see apps in your system list that you haven't touched since boot, because Android tries to anticipate your needs. People used to use "task killers" to close the apps, and came to realize that unless one is causing a real problem, it's just going to go back into the cached app list again anyways, thus reducing battery life when it has to load it over and over again. "Task killer" is a dirty word around XDA, unless you're using it to close an app that doesn't just go into the background like a good little app should.
Basically, you're going to start playing whack-a-mole if you want your list to remain as small as possible, at all times, and yet still actually use the device for anything interesting. You can reduce it, via various methods, and if this were a device from say "insert-name" brand, and was loaded with bloat apps, by all means you should clean those out. However, I think you'll find that while google does install things that aren't needed, or even used by everyone, it's mostly not a big issue.
Check out Better Battery Stats, in the XDA forums. It's an app that shows a pretty good picture of what is actually going on when you're not looking, and can provide data on how to improve your performance. It's probably a better way to start delving into what processes are actually being used, and which ones are just basically harmless. You'll also learn a good bit about how Android works from the Dev's explanations of many of the processes.
---------- Post added at 08:36 PM ---------- Previous post was at 08:32 PM ----------
_Diver said:
that's what i suspected! i thought that google framework would be something essential, but there is not much easily available information there to arrive at that conclusion
since i'm new to this, i thought i should stay away from any rom flashing until i get a bit more familiar with a device, terminology and stuff like that. i'm looking at the "[ROM] CyanogenMod 10.1 [OFFICIAL]" thread and i'm not sure about half of the terms - GAPPS, PSA, Nightlies i do know what ROM is, I do know what kernel is, virtual machine, etc. But it's applied to the platform that I have little experience with, so it makes me a little bit uneasy
Click to expand...
Click to collapse
Make sure whichever ROM you use, if you decide to, supports your HSPA+ model. There is a separate development section in the Nexus 7 forums, for those of us that have the HSPA+ version. We are the minority, as the Nexus 7 was initially released as a wifi only tablet.
bladebarrier said:
Tibu requires root access, in order to perform what we're discussing. I'm relatively new to JB, but I can't imagine any stock settings replicating its capabilities.
Click to expand...
Click to collapse
i do have SU privileges, so what i was talking about was disabling an app thru N7 setting screen and then when i deem the app ok to remove, going to adb shell and removing the actual file.
i just did this:
mount -o remount rw /system
rm iWnnIME_Kbd_White.apk
rm iWnnIME.apk
and it removed the japanese keyboard. however when i go back to app screen under settings, i still see it but now it has a grey icon with a SD symbols in the corner. so it appears it recognizes that the app is gone, but it's still referenced in the list. i pushed the files back using NRT and it all back to the way it was. so looks like my idea of cleaning the list by removing the apk might not fly.
and now I wonder how Tibu uninstalls the apps.
bladebarrier said:
People used to use "task killers" to close the apps, and came to realize that unless one is causing a real problem, it's just going to go back into the cached app list again anyways, thus reducing battery life when it has to load it over and over again.
Click to expand...
Click to collapse
I understand the notion of apps being in the cache and being removed when more RAM is needed, however the purist in me just doesn't want the junk apps to be there in first place However there is a lot of validity to these of your words:
bladebarrier said:
Basically, you're going to start playing whack-a-mole if you want your list to remain as small as possible, at all times, and yet still actually use the device for anything interesting.
Click to expand...
Click to collapse
My wife got Kindle Fire HD recently and she's been using it happily. While I was thinking why would anyone want a closed up system (well, more closed up system then Nexus), she's been using it and I've been frustrated with my N7 so i might just let it go and enjoy the japanese and korean keyboards anyway
bladebarrier said:
Make sure whichever ROM you use, if you decide to, supports your HSPA+ model.
Click to expand...
Click to collapse
i'm wifi only
ngshniq every
i think i found what i was after: http wiki.cyanogenmod.org/wiki/barebones (url modified since i still can't post urls). this wiki page has the list of app with a short description and if it's safe to remove. it also has additional information that explains why i still saw the reference to the app in the list when apk file was deleted:
looks like i need to pay attention to 2 additional files:
/data/system/packages.xml
/data/system/packages.list
i bet I would find a reference to the apps in these and i would need to remove it in order to have the app disappear from the app list. i'll play around a bit more and report back
One thing, could you explain your reasoning behind wanting to delete everything but the essentials? Do you have a particular goal in mind or is it because of your windows background? Because if so, you should know that android operates very differently when compared to windows, and such, the requirements to keep your device working in tip top shape vary greatly.
In my opinion, with your current limited knowledge of each process/app inner workings, what you're trying to do surefire way to break something beyond repair and needing to use a factory image to get back to zero. A custom ROM will be much safer and yield the exact same results that you're looking for. (Eventually, once you understand what each thing does, then this manual approach could satisfy your needs)
Note: GApps are the basic Google apps to flash on top of the barebones system. Gmail, Play store, and the framework.
Nightlies are experimental builds compiled nightly by a bot with the latest CyanogenMod code available.
Sent from my Nexus 7 using Tapatalk HD
My goal was to simplify my approach to N7 by removing anything that I don’t need now and slowly adding all necessary components as I get familiar with it. But it seems at this point that this approach is a bit more complicated as thought it would be.
So I think I would leave it alone for now and revisit this later 
_Diver said:
My goal was to simplify my approach to N7 by removing anything that I don’t need now and slowly adding all necessary components as I get familiar with it. But it seems at this point that this approach is a bit more complicated as thought it would be.
So I think I would leave it alone for now and revisit this later 
Click to expand...
Click to collapse
From what you've done manually, you're clearly far ahead of a new user when it comes to understanding linux/unix.
If you want to lock down parts of what google implements, purely to keep it minimalistic, I would agree with the above poster. Go for one of the popular ROM options that are available, like CM, and work your way backwards. The Nexus 7 only has as much bloat as you allow it to have via the settings. This is another reason why Better Battery Stats is an excellent way to make sure your device isn't draining battery, yet isn't locked down. The other day I noticed an app that kept fetching my position, even though the case was closed (magnetic sleep mode). It turned out I forgot to disable the tracking in google maps (why it was defaulted to ON, I have no idea). BBS showed me what was running during the sleep phase, and I fixed it when I woke up the next morning after wondering why my battery dropped.
The Kindle Fire is a great option, because it doesn't require any of this fussing about. My woman loves hers. LOVES IT. Personally, I like to tinker a bit, and I'm too invested in Android apps to not have access to the play store. The Nexus 7, is for people like what you find here. We like to tinker, and make everything custom. At the same time, you could spend all day trying to figure out why EntriesRefresh_wakelock is your highest partial wakelock count, at 60seconds per 7 hours, or you can find that you just went 7 hours and only used 6% of the battery, even though you've been connected to wifi, texting, emailing, and checking the weather and news, the whole time. Not bad, honestly.
The biggest investment you can do for your Nexus, is probably getting a case that magnetically puts it to rest when you close it. After that, learn about the settings that drain battery in the background. Then, get Tasker and play around that (it's like programming, without the need to learn the code). After that, go to a custom ROM, or dig out Tibu, and basically start customizing which apps you will use. If that doesn't pass the time long enough, you can literally make your own ROM and put together exactly what you want. Whether the performance will be that much better or not, and whether you'll spend most of your day trying to look for coding errors, is up to you. I don't have the patience to code, but you're a coder, so what is broccoli to me, may be bacon to you.

Categories

Resources