App Development W. Eclipse - N00B In Need - Java for Android App Development

I need to link 6 buttons to 6 different activity's for navigational purposes. I've tried some example blogs and tutorials but nothing works!
I'm on API 17 (Latest), and my target and minimum SDK is Froyo(2.2), but it's compiled with 4.2 Jelly Bean, of course.
A few extra questions:
How do I add Holo theming on a Froyo(2.2) device?
Can I get this simple app done in less than 3 days?
How do I add a splash page BEFORE my main_activity?
How do I save inputs (Entered text, setting, etc.)?
Thank you so much! You guys on XDA have been life savers for me. This class im in is pretty much the only one im passing(Bearly though) and if I don't have something to show my teacher i'm screwed!
Thanks for the help, but I didn't get it finished due to personal reasons. I still passed the class though! ....with a D-....

Check the HoloEverywhere library and maybe ActionBarSherlock.
A splash screen? Just call startActivity for the new one after some time.
You can use a Timer with a TimerTask and the schedule method of timer for making it wait some time.
Read about SharedPreferences for short texts.

crazy4creationstudios said:
I need to link 6 buttons to 6 different activity's for navigational purposes. I've tried some example blogs and tutorials but nothing works!
I'm on API 17 (Latest), and my target and minimum SDK is Froyo(2.2), but it's compiled with 4.2 Jelly Bean, of course.
A few extra questions:
How do I add Holo theming on a Froyo(2.2) device?
Can I get this simple app done in less than 3 days?
How do I add a splash page BEFORE my main_activity?
How do I save inputs (Entered text, setting, etc.)?
Thank you so much! You guys on XDA have been life savers for me. This class im in is pretty much the only one im passing(Bearly though) and if I don't have something to show my teacher i'm screwed!
Click to expand...
Click to collapse
Just let us know what exactly you want to achieve. You can display a splash screen using Thread and run it for say '5 seconds' then start main activity using an intent.

crazy4creationstudios said:
I need to link 6 buttons to 6 different activity's for navigational purposes. I've tried some example blogs and tutorials but nothing works!
I'm on API 17 (Latest), and my target and minimum SDK is Froyo(2.2), but it's compiled with 4.2 Jelly Bean, of course.
A few extra questions:
How do I add Holo theming on a Froyo(2.2) device?
Can I get this simple app done in less than 3 days?
How do I add a splash page BEFORE my main_activity?
How do I save inputs (Entered text, setting, etc.)?
Thank you so much! You guys on XDA have been life savers for me. This class im in is pretty much the only one im passing(Bearly though) and if I don't have something to show my teacher i'm screwed!
Click to expand...
Click to collapse
1. ActionBarSherlock
2. yes u can..
3. edit manifest.. call ur splashactivity as launcher.. and then on java splash file.. make some thread..
4. setting.. use sharedpreferences.. or sqlite :good:

Create one main activity in your project. Add 6 buttons and 6 activities to it. Launch the particular activity on a particular button's click . that's it, as simple as that.
Sent from my HTC Desire S using xda app-developers app

Related

[Widget]blue neon clock done, batt. meter help needed - public dev

PUBLIC DEV
============
dont call me a windows fanboy, but I really wanted this windows widget on my phone. I have the same clock on my wall. Something to work with any clock app... I like alarmclock Xtreme.
EDIT: original .pngs attached
EDIT 2 : V1 of neon clock posted (thanks to Kaik541)
EDIT 3 : V2 attached "alarmclock xtreme with modded clock" and "deskclockgoogle" versions (below) post 11 for details
EDIT 4 : V3 (final??) attached. stand alone 1x1 clock. MicroNeonClockWidget (below) post 12 for details.
**TO DO: *****HELP NEEDED
- find artist/programmer to change neon "ring" into battery meter...
- add second hand.
View attachment 533210
EDIT: added original .png images. shouldnt be hard from here..
Unfortunately, the source images are pretty tiny (130 px by 130 px) and upscaling them creates an obnoxiously blurry image so I have included here a widget that will work (though looks a bit tiny). Push the apk to /system/app (it may work in /data/app, didn't test though) and add the widget like any other
note: the above image was created with a DPI setting of 200 instead of the standard DPI of 240, may look a bit different on your screen. also, the widget in this apk does not use a seconds hand, that's why there isn't one shown.
thanks man actually that will work perfect see screenshot of where i put it...
but i think you forgot to attach the file, thank you again
Trusselo said:
thanks man actually that will work perfect see screenshot of where i put it...
but i think you forgot to attach the file, thank you again
Click to expand...
Click to collapse
then this may not actually be all that helpful to you. I plugged it into the deskclockgoogle.apk which makes it take a 2x2 square even if the actual image isn't that big and I'm unsure of how to change it
either way, thank you.
Trusselo said:
either way, thank you.
Click to expand...
Click to collapse
no problem, just hit me that you could, of course, be using a launcher that supports resizing widgets dynamically (launcherpro plus/adw) and it wouldn't matter, so good luck with it, hope it fits your needs.
actually using launcherpro plus i was able to re-size the widget and it didnt scale the image, so i have 1x1 perfect.
EDIT: gotta love timing...
is there any way to Untie it to alarm? so i can use it with alarmclockextreme?
Trusselo said:
actually using launcherpro plus i was able to re-size the widget and it didnt scale the image, so i have 1x1 perfect.
EDIT: gotta love timing...
is there any way to Untie it to alarm? so i can use it with alarmclockextreme?
Click to expand...
Click to collapse
hmm, to be honest I have no experience with modifying market apps. I know that standard taking apart and putting back together doesn't work because it breaks the key signing. there are probably some guides on how to resign the application properly, but for now it is beyond my grasp, sorry =/
Kaik541 said:
hmm, to be honest I have no experience with modifying market apps. I know that standard taking apart and putting back together doesn't work because it breaks the key signing. there are probably some guides on how to resign the application properly, but for now it is beyond my grasp, sorry =/
Click to expand...
Click to collapse
we're all learning, thats what we're here for.
thanks again
here is a version of the free alarm clock xtreme available on the market with the above neon clock as the analog clock. remove any version installed from the market before attempting to install this and then install like any normal apk.
ok, I think I finally have something that could suit anyone's needs. Here is a widget that is permanently 1x1 (which can be scaled up with a launcher that resizes, but it looks best at this size given the resolution of the PNG's anyway, so it'd be kind of pointless). This is a modded version of this app:
http://www.appbrain.com/app/micro-clock-widget-1x1/factory.widgets.Micro available for free on the market. I have changed the name so they can be installed side by side in case you wanted multiple clocks. Unfortunately, clicking it doesn't open anything, so it's just a standalone 1x1 widget analog clock. Install like any other standard apk.
edit: wow I spent too much time on this, but now I know how to edit market apps yay learning experiences.
a few hours in a single night is fast for learning, it would have taken me at least 2 or 3 days to get there. i dont even have the sdk installed.
your work is really appreciated.
just thought of a great final feature, but it is out of the scope for me and Kaik541,
need to find an artist/programmer to convert the neon ring into a battery meter.
bump... due to |OP| update...

			
				
Wow...very nice Kaik. Great work.
sent using a phone.
very nice Kaik. a keeper.

[MOD][HOWTO] Common Sense Modifications

So every custom ROM seems to have a couple mods in common...
This thread is to (hopefully) help anyone looking to learn to do them
and yet after doing a ton of searching, the only thing I have found is links to prebuilt files without much direction on how to do this myself. What if I don't want your red themed market? (No offense) What if all I want is a stock ROM that I customized with these generic modifications? What happens when a new build of Android is leaked and only two people know how to do the modifications manually and one releases a version claiming they are done when they aren't and the other appears to have used it as a base and then has to go back and manually do the edits and re-release? (Not saying it happened...)
How to Compile a Kernel
http://forum.xda-developers.com/showthread.php?t=1039854
More in-depth guide here:
http://forum.androidcentral.com/htc...how-build-your-own-kernel-package-source.html
How to Deodex a ROM
http://forum.xda-developers.com/showthread.php?t=1082749
Advanced Power Options
http://forum.xda-developers.com/showthread.php?t=1023960
(No Howto - but there are edits in android.policy.jar)
Remove GPS Reticle
http://forum.xda-developers.com/showthread.php?t=1001838
(No Howto - but there are edits in services.jar)
(Gingerbread edits are in the systemui.apk)
6 Bar Service Indicator
No direct download
(No Howto - but there are edits in services.jar)
(Gingerbread edits are in the systemui.apk)
Power Control Widgets
http://forum.xda-developers.com/showthread.php?t=1024220
(No Howto - prebuilt package with other edits already made)
Radio Info in Settings
http://forum.xda-developers.com/showthread.php?t=1018159
(Contains instructions on doing modification - Kudos!)
Wake on Volume Keys
/system/usr/keylayout/mecha-keypad.kl
Add "WAKE" to desired key down values:
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_DOWN WAKE
Remove the "WAKE" to disable again.
Disable End Call Button
http://forum.xda-developers.com/showthread.php?t=1058072
(No Howto - prebuilt modification package)
Increase Max Alarms in HtcClock
http://forum.xda-developers.com/showthread.php?t=1052843
(No Howto - prebuilt modification package)
Install Ubuntu to Sdcard Ext Partition
http://forum.xda-developers.com/showthread.php?t=1104983
Install Ubuntu to Loop Device Image File:
http://code.google.com/p/android-cruft/wiki/LucidWithAndroid
(Loop device support for the common method is included in most kernels, but does not seem to support the process)
I am not asking anyone to write out explicit instructions on how to do each and every one of these modifications, but any help that can be offered is appreciated. Even if I can track down the original instructions for another phone, it will help those with the ability to do these things to help get them out there.
its a great idea, but some of them, the advanced power controls one for example -that one was a ***** to do lemme tell ya- require an in depth knowledge of how and why things work the way they do. many how-tos would just be passed right over.
I wrote a massive write up on how to work out the sensation resizing issues, and a few people did actually read it, though nobody actually did anything with it.
and smali is so difficult to begin with...geesh
great idea though, and if you want to write a how to of your own for some of them, i would be more than happy to get you started and answer what questions you run into.
r2DoesInc said:
its a great idea, but some of them, the advanced power controls one for example -that one was a ***** to do lemme tell ya- require an in depth knowledge of how and why things work the way they do. many how-tos would just be passed right over.
I wrote a massive write up on how to work out the sensation resizing issues, and a few people did actually read it, though nobody actually did anything with it.
and smali is so difficult to begin with...geesh
great idea though, and if you want to write a how to of your own for some of them, i would be more than happy to get you started and answer what questions you run into.
Click to expand...
Click to collapse
I know a lot will pass them over, and honestly it is like i explained to the gf today. Everyone who started with Android had a G1, some of us moved to myTouch, some of us moved to Droid, some of us moved to Thunderbolt. With each move, we brought our mods, but in the process left behind how we did them and just DID them. When I wrote kernels, I used a script on AndroidWiki that is now a 404 error. Instead I ended up with some preconfigured gui and a bunch of premade update.zip files.
It isnt really about whether anyone reads it in my opinion, its knowing the information is there for that one person that does. I appreciate the offer. The main thing is anymore if you want a mod, you have to take the theme, additions, removals, ect of the modder.
Sent from my DROID2 using Tapatalk
I have to agree. It's been a while since I have posted anywhere regarding Android, but the whole purpose of this forum (any android forum) as far as I am concerned is for developers to share not just the finished product (and the betas, alphas, pre-alphas, etc) but also the details of how they did what they did.
Sent from my ADR6400L using Tapatalk
Thanks
I was actually looking for some of these MODS
I like to stay stock rooted, but their are some MODS that are too tempting to pass up.
I would love to have a how-to for the power controls.
I'm gonna try to pull it apart, it's the last one I haven't done by hand.
I didn't make any sort of docs about what I did though, just diffing stock from the provided package.
But that one is big.
Anyway, good list to have in any case.
D
Very handy. I would also love to learn how to create a 5 row icon app drawer. Thats the only thing im missing in my current rom im using. Any tutorials, then I could do it myself?
dukins said:
Very handy. I would also love to learn how to create a 5 row icon app drawer. Thats the only thing im missing in my current rom im using. Any tutorials, then I could do it myself?
Click to expand...
Click to collapse
That is done with a layout modification in the home app. That is from way back in G1 days and I know there is documentation somewhere. I'll look for it.
What I am trying to accomplish is something like http://forum.xda-developers.com/showpost.php?p=13969789&postcount=585 without having to dig for parts. Often it is harder to find working parts than to simply modify the ones that are already running.
Sent from my ADR6400L using Tapatalk
I for one would love to learn how to create themes and eventually my own roms. I found a theming guide in these forums that had a lot of information in it, but felt it was missing a lot of whys's for example when you can just modify a PNG to produce a particular look and when do you have to edit XML files. Be nice if some documented maybe there creation of a rom/theme and explaned everything along the way. Then someone could build the same rom/theme and learn by doing. I know when I got my active directory Certifications I learned at home on my own and used some training videos. I built the network right along with the training videos in Vmware. Best way to learn in my opinion is by doing.
Sent from my ADR6400L using XDA Premium App
twistedumbrella said:
That is done with a layout modification in the home app. That is from way back in G1 days and I know there is documentation somewhere. I'll look for it.
I will be releasing a Jane Bamf Ginger ROM later that is semi stock. It has extended power options, bamf toolkit, removed gps icon, 3.0 weather, 6 bar, Google talk with video, but stock theme, animations, sounds, and the weather will be optional.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
Can we remove the Gps icon? So at I've only seen it being hidden. Thanks.
Is there any instructions, or is anyone willing to send me instructions, on how to do the 6 bar modifications myself? Also trying to find the information for the accurate/smooth battery indicator but coming up empty handed.
thanks for posting twisted
Thank you for the thread!
I would really love a write up of manual removal of 5 row app drawer back to 4. That is the main reason I'm not trying any themed stuff right now because everyone has it and I'm not a fan. It must be similar to the lead that was said about adding 5 rows a few posts back...
Sent from my ADR6400L using XDA App
I agree completely. JCase had promised us in the Fascinate forum a step by step on how to mod an .apk (specifically, a Car Dock one that Adrynalyne had made) to customize it. Then, alas, our beloved Thunderbolt came out, and he became preoccupied...
The HOW is deff needed for those up and coming devs and those that just like to tinker.
New kernel making guide added
Testing and finishing a guide on ubuntu for android without loop support
Working on some other guides
Sent from my DROID2 using Tapatalk

AOKP - Requests for development (Th3Bill's rom)

Well guys we have a pretty good chance to include everything (...what is possible) we ever wanted on our Atrix...
in an other thread th3bill (the dev. behind AOKP milestone 6 port) opened there were alot of request for features on the next builds, th3bill offered to open a discusion which include all requests in one place.
** Th3bill, we love your work and your willing to do for others. your private time "wasted" on porting and developing is not ovious and we do appriciate it. keep on the excellent work and again a major thank, us - the users.
since nobody did it so far i'll start:
i whould like the next build to include:
1. call recording option.
2. video call option.
3. webtop interface?
4. google music.
5. led color control in order to customize notifications.
6. o.c kernel.
7. some other cpu governors.
8. google's android jellybean featuers? espacially build-in voice recognition.
things to fix (what i've noticed):
1. video cam - known problem.
2. browser issus (fc when changing ls and portrait).
3. edit custom brightness levels (fc).
4. can't change signal and wifi colors.
5. also battery bar won't show up.
6. wifi direct won't work.
7. wifi hot spot works and immidiatly stops(maybe it's just my device).
-By now your port is the best rom my atrix had so...big thanks !!!
-I know you working too hard already (DON'T FORGET TO HAVE FUN !!, i wrote all of the things i think can be added. with or without them it is still almost perfect.
guys it is your turn now...make some suggestions for improvement:
Hey Everyone!
I'm sure most of you know me by now. Those of you who do not, I am NOT the type of rom porter who gets upset by questions/requests/PMs. Just understand that I build 3 builds of MIUI (Photon, Atrix, Infuse), 2 builds of AOKP (Photon, Atrix), 2 builds of Paranoid Android (Photon, Atrix), as well as help Jokersax11 with various projects, including our Kitchen Sink. That being said, it might take me a little bit to respond...but I will.
---------- Post added at 10:02 PM ---------- Previous post was at 09:53 PM ----------
toomaiv said:
Well guys we have a pretty good chance to include everything (...what is possible) we ever wanted on our Atrix...
in an other thread th3bill (the dev. behind AOKP milestone 6 port) opened there were alot of request for features on the next builds, th3bill offered to open a discusion which include all requests in one place.
** Th3bill, we love your work and your willing to do for others. your private time "wasted" on porting and developing is not ovious and we do appriciate it. keep on the excellent work and again a major thank, us - the users.
since nobody did it so far i'll start:
i whould like the next build to include:
1. call recording option.
2. video call option.
3. webtop interface?
4. google music.
5. led color control in order to customize notifications.
6. o.c kernel.
7. some other cpu governors.
8. google's android jellybean featuers? espacially build-in voice recognition.
things to fix (what i've noticed):
1. video cam - known problem.
2. browser issus (fc when changing ls and portrait).
3. edit custom brightness levels (fc).
4. can't change signal and wifi colors.
5. also battery bar won't show up.
6. wifi direct won't work.
7. wifi hot spot works and immidiatly stops(maybe it's just my device).
-By now your port is the best rom my atrix had so...big thanks !!!
-I know you working too hard already (DON'T FORGET TO HAVE FUN !!, i wrote all of the things i think can be added. with or without them it is still almost perfect.
guys it is your turn now...make some suggestions for improvement:
Click to expand...
Click to collapse
Enhancements:
1) Call recording, I need to play around with this rom some more...see if it has the capability...maybe I can pull from MIUI...can't guarantee, though
2) That will be tough until Moto gives libs
3) Loki and I have talked at length about this...we're trying to figure out a way to do it, but it will take a hybrid kernel and a lot of work. Not that we won't TRY...
4) This will be in the next release
5) Have an app in mind that I can include? Beauty Aroma is that I can include almost anything
6) I am working with Jokersax11 on making some that are compatible with our base. I know that some are kinda compatible, but not all....
7) By governors, I am assuming you're talking about some form of setcpu?
8) I have the apps on my PC...well some of them.
With respect to fixes, 1 and 2...those won't be till Moto plays nice with me and gives me drivers for ICS.
3) I need a logcat on this one please
4 and 5) Not too sure about these ones. I'll try them with my phone if I get a chance. If you can logcat, that'd be great
6) I think this is an ICS thing. Don't know that any of them do Ad-hoc at the moment
7) You need to forget whatever network you are near if you're connected...and make sure that wifi is ON before beginning tether
Sorry if I am a downer on some of it, but I would rather be honest with everything I tell you all. I have much love for the Android Community
I know of you and your builds well Th3Bill, unfortunately I'm just now working on my 10 posts, I have flashed everything for Atrix and Photon.
Much thanks
My Phone
log file
3) I need a logcat on this one please
4 and 5) Not too sure about these ones. I'll try them with my phone if I get a chance. If you can logcat, that'd be great
7) You need to forget whatever network you are near if you're connected...and make sure that wifi is ON before beginning tether
Sorry if I am a downer on some of it, but I would rather be honest with everything I tell you all. I have much love for the Android Community [/QUOTE]
Hi,
3+4+5) attached .txt file. (tried to make it shorter as possible.cleared log then did 3 then 4 then 5 and saved it)
7) you are right - worked.
tomer
really???
hey guys / girls,
there is not a single thing you would like to see on the next builds??
***DOESN'T MAKE ANY SENSE***
SO COME ON AND MAKE A WISH!!!
p.s
i defenetly would like a mod (or better - a buildin solution) that will trick the google play to show me all apps. (not the ones comptible with my specific device/settings).
tomer
toomaiv said:
hey guys / girls,
there is not a single thing you would like to see on the next builds??
***DOESN'T MAKE ANY SENSE***
SO COME ON AND MAKE A WISH!!!
p.s
i defenetly would like a mod (or better - a buildin solution) that will trick the google play to show me all apps. (not the ones comptible with my specific device/settings).
tomer
Click to expand...
Click to collapse
You can try changing the build I'd in the build.prop...but I'm not sure if that would work even...
Sent from my MB855 using xda premium
Just installed latest build an wanted to say thanks for bill's an jokers hard work..
I personally use the car dock alot an the transitions between audio playing and incoming call tends to be troublesome. When calls answered the phone doesn't port it over the USB. Usually speaker/headset and have to redock in call for it to work... also DSP manager doesn't have effect over the USB audio out. Only reason I revert to original moto rom.
That aside best cm9 based rom yet.
Sent from my MB860 using xda app-developers app
Also AOKP states it now supports adhoc.... tried on 2 different setups and no joy...
This is wifi direct I gather..
LS support also varies through various android tasks.
Sent from my MB860 using xda app-developers app
On paranoid android for the atrix when in tablet mode it won't allow me to make the recent apps the Sense htc style one, is there a fix for this?
Question/Report
Not sure if this is the right place to report issues. My luck, probably not. Here it goes..
I had your build 40. worked great!
updated to milestone 6 7b. worked better (yaay)
tried to update to milestone 6 revision. No wipe, same as previous, sent atrix into bootloop. tried few more times, same thing.
tried again with full wipe. Bootloop. tried again. bootloop. flashed 7b full wipe, works great again (yaay).
Just curious if you have any idea why my phone doesn't like the new one. saw in the rom thread a few others had same issue or similar, no answers there as of yet. i'm hesitant it try again unless you can think of something i could possibly be doing wrong somehow. Anything i can send or tell you that could help, let me know. Thanks
As for requests, i prefer Apex launcher over Nova. Maybe include it? it would be nice if i could uninstall Nova also
You Rock!
*So i tried installing again and it works now. not sure what the problem was*
Closer
hi,
not really worked...users didn't cooporate and besides cm 10 (JB) is already here and not bad, so this is closed!!
i wanna thank Th3Bill for his effort and wish you will continue develop for us.
tomer
CAN CLOSE THREAD
Hello
Hello One asks what is the kernel that I have to install
Call Recording and if possible hardware acceleration
paarkhi said:
Call Recording and if possible hardware acceleration
Click to expand...
Click to collapse
Hwa is in the ROM under advanced.
Call recording isn't yet supported by kernel. Funny you posted this as joker and I are discussing how to fix now
Sent from my MB855 using xda premium
Problems
I'm not sure if this is the right place to ask this. If not, i apologize.
I flashed your AOKP build 3 on my international atrix. The ROM doesn't recognize internal and external storage for me. When my phone boots it says that is safe to remove sd card. I used the two options EMMC and SD with or without build.prop tweaks. Also i flash this with FULL wipe (system, etc) The other thing that i cannot find are GApps. Can I use CM10 GApps for this rom ?
Thanks in advance.
So, are there options for an OCed kernel yet?
* Moved to development thread. *
I would really love to see an option to "Show only contacts with phone numbers" on Contact list settings...MIUI has this option and this is super usefull for me
MIUI SMS app is great too, but it doesn´t show smileys
Thanks
I have a good one! WebOS and Sense style multitasking (with long press home).
Sent from my MB860 using xda app-developers app
Facebook Sync
If this has been answered then i missed it and i searched first .
Is there a fix for the facebook sync
__________________________________________________________
MB860 running 4.1.2

[MOD] Ingress broot mod v1.26.1-broot-0.2.0 (2013.05.26) [CLOSED]

Unfortunately Niantic contacted me to abort this mod. More info: http://forum.xda-developers.com/showthread.php?p=42027875#post42027875
TL;DR version: I have created an Ingress app mod, it is awesome and will make you coffee. You can download it below.
OVERVIEW
Hi,
after more than a 2 years of inactivity in the modding field I'm back with a new mod. This time it's Ingress app. I think and hope it'll be much greater and more advanced than Google Maps mod. There are a lot of things to improve and I think some of them won't be ever added by Niantic, so it's a good idea to mod this app.
First I want to clarify I will never add any kind of cheating to this mod. My goal is to make Ingress game more enjoyable, not less. Questions about location faking, items cloning, etc. are not welcome here. I'm serious. Still if you think this mod is a bad thing and/or if you're from Niantic then please read a section about my motivations below and feel free to ask, suggest or criticize. I make it for Ingress players and I'm very interested in their opinions.
DOWNLOAD
First: you do this at your own risk! I'm sure it won't brick your phone, but remember you may be banned by Niantic. My mod doesn't do any kind of cheating behavior, it doesn't do anything that original app doesn't do, but there is always the risk.
Also if you downloaded apk from different site then check sha1 of this file to make sure it's ok. Unfortunately such mods create good opportunity to inject some malware, because users search for an application in the internet and anyone can redistribute it. I sign this app with my own keys, so if you have installed my mod earlier, now you have downloaded newer version from the internet and Android says it has different certificates then don't install it!
"Mute" variant has all sounds removed, so apk is ~2.5 times smaller and most likely it uses less memory.
ingress-1.26.1-broot-0.2.0-mute.apk
SHA1: 976342081c963998f8a6e56b735fe97581ab335f
ingress-1.26.1-broot-0.2.0.apk
SHA1: dce5399802c8f11287a7cf399c1bb5265f8251e2
Older versions:
ingress-1.26.0-broot-0.1.0.apk
SHA1: ea95d8e36324c6c4a175e0cf254cd65a4797049f
If you have original Ingress app installed then you have to uninstall it first. Same if you want to install original app over a modded one.
FEATURES / TODO LIST
I know simplifying and automation of too many things may be considered cheating, so I have divided all features into several categories: from the most "innocent" ones to some smart assistants. As I stated above, if you think some of them are just too much then feel free to write about it. For me features up to 3. category are ok. Category 4. may be controversial and I'm not sure if I want to implement it. I'm glad for your opinions. Some features (e.g. 2.11., 3.7.) aren't actually related to category descriptions, but I "feel" them as category 2., 3., etc.
I don't want to force people to use every modification, I'll try to make them all opt-in, so modded app will work exactly as the original one until you change this in the mod menu. If you see e.g. "Fullscreen" feature below then read it as "An option to enable fullscreen mode".
Below is just a list of features to make it clear. Descriptions, notes, statuses, implementation proposals, etc. are here.
Legend:
green - completed
orange - not sure about it
red - rejected
black - waiting / todo
1. Changes strictly technical and/or 4fun - they don't affect gameplay at all:
UI for small screens, but this is never ending task
Disable some graphics effects to make it less GPU consuming:
portal particles
xm particles
Fullscreen.
Remove globe intro.
Change colors of factions.
Exit confirmation dialog - it's good for low memory devices.
Keep sceen on.
Disable vibrator.
2. UI changes: new screens, shortcuts, etc. - it makes things easier, but it won't do anything for you:
New screen with mod settings, credits, etc.
New inventory screen with items presented as a clear table.
Number of all items in the inventory - it's very important because of items limit.
New portal keys screen.
Remove original items screen.
Shortcuts to various actions from the main screen.
Modify chat to make it easier to read and harder to accidentally send private message to public channel.
Link to portals from system messages in the chat.
Real-time distance to portal on details and upgrade screen - its necessity is obvious to anyone who played Ingress
Additional info about the portals directly on the map screen.
Logging and statistics.
Circles around the player similar to one at 40m - just for better feeling of the distance.
Number of keys on portal info, upgrade and linking screens.
Config: update interval.
Config: maximum scanner zoom out.
Deploy button uses highest available resonator, not lowest.
3. Automation of some more complicated or repetitive tasks - it delegates multi-clicking to the squad of highly trained monkeys, but it won't think for you:
Dropping/recycling multiple items of the same type at once.
Firing multiple XMP
Picking up all items in the range - with above it's very easy to give items to other agents.
Hacking all portals in range - not very useful because of timers
Auto deploy resonators using a template.
Templates specific to a portal.
Other agents presence detector.
4. Smart assistants:
Hacking timers for each portal: both 5m and 4h ones.
Auto hacking portals in range while moving (using timers).
Smart auto-deploy.
XMP damage assistant.
Linking assistant for optimum CFs in a specific area.
Continuous linking assistant.
Bugs:
The maps are gray when submitting new portals or reporting bad ones.
NEWS
v1.26.1-broot-0.2.0 has been released!
2013.05.26
Updated Ingress to 1.26.1.
Added layouts for small screens: Eugene's 1.26.0.20130526
Added mute version - for smaller size and likely smaller memory usage.
Added fullscreen mode.
Added option to disable portal particles and xm particles.
Added restart button - it's useful for reloading UI changes (fullscreen mode, layouts, etc.).
Fixed gray maps problem.
v1.26.0-broot-0.1.0 has been released!
2013.05.22
Initial version.
New screen with mod settings, credits, etc.
New inventory screen with items presented as a clear table.
Number of all items in the inventory.
CREDITS
Eugene Kartashov - layouts for small screens.
Of course Niantic Project for this awesome game!
Thanks!
FEATURES DESCRIPTION AND NOTES
1.5. Change colors of factions.
I did this before and it's kind of cool: https://plus.google.com/u/0/106080343103638200670/posts/a9krpWApjz5
2.4. New portal keys screen.
I have some ideas, e.g.:
keys grouping/tagging
group/tag keys manually or automatically by their location, name, etc.
filters and sorting by: name, distance, level, owner, etc.
, but I think Niantic want to improve keys management, so I wait for their move.
2.5. Remove original items screen.
For now even if you prefer new items screen the original one is still needed to access portal keys. We can wait for 2.4. or at least add an option to limit original items screen to portal keys and rename it accordingly.
2.6. Shortcuts to various actions from the main screen.
I think it's one of the most important additions, so it has to be well designed. I see it as a HUD-like buttons similar to "FIRE XMP" when you long-press on a map, but much smaller, probably square with icons. Things to consider:
toolbar at the top or the bottom of the screen - I think it's better than left/right
fixed with 5-6 icons (4" screen) or scrolling horizontally
fixed icons or customize them and their positions
an option to open a full semi-transparent menu with all available actions
Actions could be:
fire last XMP
fire highest/lowest XMP
fire XMP of specific level
same for power cubes
hack portal - click button then click portal. This way you don't have to enter portal details screen which is faster and you don't lose the map.
link portal - same as above
set target? It's in a long-press menu already, but we can add it here for consistency and maybe to remove long-press menu.
actions from other mod additions
2.7. Modify chat to make it easier to read and harder to accidentally send private message to the public channel.
Current problems are:
is there anyone who has never sent a private message to the public channel? Is there anyone who did this only once or twice?
it's hard to read conversations between agents, especially public ones, because they're mixed up with system messages
I was considering adding some kind of filters to select which types of messages you want to see, but it doesn't fix first problem. Now I think of something else - 4 tabs/channels:
faction - as normal
public - public conversation only, so system messages won't disturb you and you don't accidentally respond [secure] messages
system - you can't send a message here
all - all above, so it's similar to current "All", but you can't send a message here - you have to choose proper channel intentionally. It can have additional filters to select messages to show.
This feature may be hard to do or even impossible, because most probably Ingress server doesn't have API to filter messages as above. Of course I can read "All" channel and filter it on the app side, but it may not be that good.
Also I won't be surprised if Niantic itself will redesign chat in the near future, because it's definitely wrong.
2.10. Additional info about the portals directly on the map screen.
E.g.: level, if you have a key (how many?), etc. It could be customizable and there could be a shortcut to toggle showing this info.
2.11. Logging and statistics.
I love this one I can log all kind of actions like: hacking, attacking, dropping and picking up items and XM, deploying resonators and portal mods, adding custom "snapshot points" to organize above, etc. and then create a lot of various statistics:
how many hacks did you do (faction, enemy, neutral) today, in last week or month?
how many items did you get from these hacks?
what were the levels of hacked portals and items?
how many XM did you get?
how did you spend this XM?
how many resonators did you deploy and what were their levels?
how many resonators did you destroy, how many portals did you capture?
how many links and CFs did you create/destroy, what were their MU values?
which portals do you hack/attack/build most often?
how much time you was playing?
what items did you spend to build up a farm and what items did you get from it?
Statistics could be tabular, graph, pie and very flexible. I'm also considering two things:
sending some of above statistics to my server to create global statistics for all users. It would let us do some research, e.g.: what is the probability to get L7 item from L6 portal, etc. Of course sending these statistics would be fully optional, you would have to enable it by yourself.
optional paid application to read these statistics - in addition to the free one. It could let you remove ads or just say "thank you" (i.e. it would be the same as free one), but I don't want to piss off someone in Niantic. I think it would be fair, because statistics app would be quite complicated and time consuming and there will be free version, but you never know what's the opinion of other people.
What do you guys think about above two things?
3.5. Auto deploy resonators using a template.
Agent can configure multiple templates and choose one of them when doing an auto-deploy. Template could be defined by:
its name
minimum and maximum level for each resonator
prefer lower/higher level for each resonator
Examples:
"Lowest portal" - each resonator set to L1-L8 and prefer lower for all - it's the same as clicking "deploy" 8 times.
"Highest portal" - L1-L8 and prefer higher for all
"Highest <L7" - L1-L6, prefer higher for all
"Standard L4" - L1-L6, L1-L4, L1-L5, L1-L4, L1-L6, L1-L4, L1-L5, L1-L4, prefer higher for all - it's standard 4xL4 2xL5 2xL6 and it'll use lower resonators if you don't have all of them
another "Standard L4" - same as above, but L6-L6, L5-L5 and L4-L4 - it won't automatically downgrade resonators, but warn you about the lack of resonators
Also some templates could be predefined by default.
It won't work well with existing resonators, it won't choose optimal way to upgrade them, but this is how it should be - it's just: "do it using a template", not: "Calculate optimal situation".
3.6. Templates specific to a portal.
Extension to above: sometimes you know that e.g. NE resonator of some portal is harder to destroy, so you want to place highest resonator there. You can create a template specific to a portal, so it won't mess up main list of templates and it will be auto selected when doing auto deploy for this portal.
3.7. Other agents presence detector.
It read system messages log to find the last actions and positions of other agents (actually positions of portals they've built/attacked). This information could be used to e.g.:
show last position and action of specific agent
show a list of nearby agents: allied or enemy
alert if some other agent will show up below specific distance from you
4.3. Smart auto-deploy.
E.g.:
calculate max level of a portal that you can build alone - depending on your inventory and already deployed resonators
deploy minimum number and optimum resonators to get to specific portal level
prioritize excess resonators and save scarce ones
deploy high and low resonators evenly to make attacking a little harder
if upgrading existent resonators, prefer to upgrade ones with low XM
4.4. XMP damage assistant.
E.g.:
approximate damage dealt using specific XMP in current position
calculate the best spot to fire XMP of some level
4.5. Linking assistant for optimum CFs in a specific area.
You select a group of nearby portals, assistant build links and guide you through place to get as many CFs and AP as possible.
4.6. Continuous linking assistant.
You see an icon near the portal if it's possible to create a link(s) from it to create a CF. It let you create this CF with few clicks.
It may be not possible to do, because it would have to scan big area to know if there are a link between remote portals.
MOTIVATIONS AND FEW WORDS TO NIANTIC
As I stated above my goal is to make Ingress game better and more enjoyable for people. If you think it's evil then please read my motivations and explanation below:
There aren't and never will be features for cheating: location faking, sending same action several times, automatic passcode submitter, etc.
As I said above I have divided mod features into categories of different "dirtness level". I focus on "clean" features and I'm open to suggestions or criticism from players or even from Niantic itself.
I don't share my code and I obfuscate it to not make Ingress easier to hack by other people.
A whole game and world of Ingress is about hacking and reading between lines. I think my mod fits this world perfectly. There are some people who leak Ingress app from NIA and there is some guy somewhere in the internet who tries to get even more from it. It makes perfect sense
I think there are many good features that will be never added by Niantic. I see several reasons: statistics won't be added because it doesn't make much sense for storyline. Why NIA would add such feature? Intro skipping or new items screen won't be added because these features prioritize quick access over a nice look. Niantic can't do the same because Ingress would look like a game for nerds. But there are many people who don't care about the look because... they're nerds ;-P
And finally: I won't fight Niantic, so if they don't like my mod and decide to react then there will be no mod anymore.
If you're from Niantic then please think what is the best for Ingress users. If you don't like one or two of my features then I'll remove them and keep the valuable ones. If you still think this mod isn't good and it's a matter of time before you react then please do it sooner, not later. Mod won't be very popular yet, Ingress players won't be disappointed so much and I won't lose a lot of my time
FINAL NOTES FOR USERS
Once more: feel free to suggest new features or changes to existent ones. You can also criticize a whole mod idea. I want to know what do you guys think about it.
If you get a force close then post a logcat and mod version here.
If something doesn't look ok then post a screenshot. I have a 320x480 and 480x800 devices, but I can't test it on 240x320 and >480x800 resolutions.
You can also report language faults in the app or even here. English isn't my native and I often write something that doesn't seem natural even to me. I would be happy if someone would suggest better names or descriptions for configuration options, etc.
Of course you can redistribute this mod, but please don't do that if you don't have a good reason. I just want to know how popular it is. Also if you redistribute it then please add a link to this thread to give users a full context.
If you want to make a donation then link is in my signature, but remember that this mod may be killed by Niantic at any time.
[RESERVED]
[RESERVED2]
Very amazing
I'm gonna try it out on a new account just to be safe, but I love the work and holy cow you did a lot and I can't believe it.
Niantic better sit down and learn some must needed features and options. The globe one for sure
Sent from my MI 2 using Tapatalk 2
Keep up outstanding work. I just installed this mod and I confirm that it works flawless.
I'm looking forward to future updates.
iBotPeaches: I did a lot? But you have noticed that above features list is mostly a TODO and for now there are just new items screen and intro skipping? I'm not sure if this is clear from above posts.
I wanted to release it early to get some ideas from people.... or be banned
What about a nosound version? It reduces the app size and removes the annoying sounds for people that are tired of hearing those squeaks
Please find attached a nosound version prototype.
it will be possible to have screen: "exit. are you sure?" when accidentally using back button?
Brut.all said:
iBotPeaches: I did a lot? But you have noticed that above features list is mostly a TODO and for now there are just new items screen and intro skipping? I'm not sure if this is clear from above posts.
I wanted to release it early to get some ideas from people.... or be banned
Click to expand...
Click to collapse
Ahh, I thought you did all that stuff that was bolded in the features list Guess I didn't read it well enough.
Hi, on mine HTC Desire it crash suddnly..
EDIT: Reinstalled, work like a charm..
One thing possibly worth pointing out: I think this version will not handle the new push messages, as I believe those are restricted by the certificate used to sign the app. Are you able to confirm this?
Otherwise, very cool work
phyreskull said:
One thing possibly worth pointing out: I think this version will not handle the new push messages, as I believe those are restricted by the certificate used to sign the app. Are you able to confirm this?
Otherwise, very cool work
Click to expand...
Click to collapse
They do work for me, at least the "@" notifications
Needs further testing.
Jackos said:
What about a nosound version? It reduces the app size and removes the annoying sounds for people that are tired of hearing those squeaks
Click to expand...
Click to collapse
Usually more variants = more problems, but I think mute version may be worth it. It's almost 3 times smaller and space is crucial on many devices. It might also use less RAM and start up faster, because sfx are usually preloaded into memory. I'll do some benchmarks.
ataru said:
it will be possible to have screen: "exit. are you sure?" when accidentally using back button?
Click to expand...
Click to collapse
Sure, but what for? If you accidentally exit application, you can return to it in no time.
phyreskull said:
One thing possibly worth pointing out: I think this version will not handle the new push messages, as I believe those are restricted by the certificate used to sign the app. Are you able to confirm this?
Click to expand...
Click to collapse
I'm not sure about it. I got comm notification today, but I was using Ingress just moments earlier, so it might be background service, not push. We'll see.
Brut.all said:
Usually more variants = more problems, but I think mute version may be worth it. It's almost 3 times smaller and space is crucial on many devices. It might also use less RAM and start up faster, because sfx are usually preloaded into memory. I'll do some benchmarks.
Click to expand...
Click to collapse
Exactly my point of view
However it's a pity that the app uses this same amount of RAM. It might get better if you remove corresponding baksmali lines, I just removed the sound files.
Brut.all said:
Sure, but what for? If you accidentally exit application, you can return to it in no time.
Click to expand...
Click to collapse
I guess it's because on low ram devices the app gets closed instantly. So a back fail-safe button would save him the app loading time.
Impressions and suggestions
Nice mod!
I am an addicted Ingress player and I really appreciate your work!
The new item tab is awesome!!
I only want you to know that there is a G+ user that is modding Ingress too:
Have a look here.
He did a version even for 240x320 screen.
Maybe you can have a look at his work
I hope you can keep this up to date
Works perfectly!
I'll keep an eye on that, your features list sounds extremely promising!
ingress-1.26.1-broot-dev1.apk
It's muted and should work on all screen sizes. Layouts for 240x320 and 320x480 were created by Eugene Kartashov (thanks!), but I have integrated them into single universal apk. It's just ~0.5MB larger than Eugene's separate apks. I can't test it on 240x320 because I don't have such device. Please confirm if it's ok or not. I'll add fullscreen feature before 0.2.0 release, so upgrade button won't overflow on some devices.
Also I can confirm sounds are loaded on demand, they aren't preloaded, so muted version shouldn't boot up faster. It should take less memory though.
Is there anyone who miss these sounds? As I said I would like to avoid fragmentation and I think muted version is just better.
And if you have 240x320 device then please tell me if new items screen looks ok, especially if you have 100+ items of one type. 320x480 seems to be ok.

[Q] Multiple Home Screen "profiles"

Is it possible to create, save and switch between different sets of home screens and setting.
HTC Sense has "Scenes" that allows this, even my old Nokia E71 had two profiles that allowed for a completely different home screen and settings.
Is there anyway of doing this with the Nexus 4?
I would like to have a set of home screens and settings with the stuff I use at work, then be able to switch to another profile that has different home screens and settings for the road trips, and another for home.
I have seen apps that allow for all the settings to be switched, but have not had any luck with changing the home screen.
-BEGIN RANT-:crying:
Am I the only one that desires to customize my phone for completely different segments of my life and be able to switch between them with ease?
OK really, I need to learn to develop this stuff, because there are many basic tasks I thought would be standard issue by now on these little computers we carry with us, but not.
:angel:-END OD RANT-
So my Nexus 4 should be arriving today, so i guess I will start to play with it. I read about installing separate launchers and switching between them with Tasker.
Can more then one instance of a single app, like a launcher, be installed by changing something in some setting once I am rooted?
Any thought, ideas to give me another direction to search?
any good "learn everything there is to know about android development in one day" classes or books?
cjunk said:
-BEGIN RANT-:crying:
Am I the only one that desires to customize my phone for completely different segments of my life and be able to switch between them with ease?
OK really, I need to learn to develop this stuff, because there are many basic tasks I thought would be standard issue by now on these little computers we carry with us, but not.
:angel:-END OD RANT-
So my Nexus 4 should be arriving today, so i guess I will start to play with it. I read about installing separate launchers and switching between them with Tasker.
Can more then one instance of a single app, like a launcher, be installed by changing something in some setting once I am rooted?
Any thought, ideas to give me another direction to search?
any good "learn everything there is to know about android development in one day" classes or books?
Click to expand...
Click to collapse
Most custom ROMs have profiles for just this. You can easily switch between them by pulling down the notification bar and clicking on a quick tile. I know for sure that carbon does this and assume most of the major releases will as well.
Carbonized and francofied N4
Chameleon Launcher allows this.
Thanks for the suggestions.
ingenious247 said:
Chameleon Launcher allows this.
Click to expand...
Click to collapse
It seems to, but it seems to be not very reliable at the moment from what I read. It is also a big change from the standard android feel I like.
I still might give it a try though, I like that they are trying something different. Looks almost like a windows/android warp
Cuzz1369 said:
Most custom ROMs have profiles for just this. You can easily switch between them by pulling down the notification bar and clicking on a quick tile. I know for sure that carbon does this and assume most of the major releases will as well.
Carbonized and francofied N4
Click to expand...
Click to collapse
I have seen roms and launchers that promote their "profiles" feature, but all them do not seem to go as far as allowing me to save a whole set of home screen configurations, then change from one set to the other with ease. They seem to be just a collection of settings like volumes, sounds, radios on/off and such.
I will look into carbon to see if it can indeed do this.
I find it hard to actually find a detailed listing of what different roms can do. most of the info is just how to install, bugs and more technical development stuff.
My new baby was sitting all bundled up on the table when I got home today. I haven't even had a chance to turn her on yet. still admiring the curves
cjunk said:
Thanks for the suggestions.
It seems to, but it seems to be not very reliable at the moment from what I read. It is also a big change from the standard android feel I like.
I still might give it a try though, I like that they are trying something different. Looks almost like a windows/android warp
I have seen roms and launchers that promote their "profiles" feature, but all them do not seem to go as far as allowing me to save a whole set of home screen configurations, then change from one set to the other with ease. They seem to be just a collection of settings like volumes, sounds, radios on/off and such.
I will look into carbon to see if it can indeed do this.
I find it hard to actually find a detailed listing of what different roms can do. most of the info is just how to install, bugs and more technical development stuff.
My new baby was sitting all bundled up on the table when I got home today. I haven't even had a chance to turn her on yet. still admiring the curves
Click to expand...
Click to collapse
I'm sure you'll be happ. Best phone I've ever had. And you are right about the profiles being mostly setting. Carbon is like that too. The only work around I can think of is a launcher. I use nova it is rock solid. You can back up the configuration and restore in less than a minute.
Carbonized and francofied N4

Categories

Resources