yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Decad3nce:
Decided to stay away from linear layout. I like the flexibility of relative, allows me to put things anywhere. Also reverted back the commits you did do the login layout.

The issue on a 2.7in MDPI screen was this:

That's fixed easily by just pushing up the padding to 5dp. See commits for it.

Thanks for the translation updates, btw.
[Android Software Development] Decad3nce:
Version populates into a textview
[Android Software Development] SferaDev:
I've seen you take out from my code to implement the Buttons, android:drawableRight and deleting the Height.

In my own apps I usually use LinearLayout for quick settings, because you create the layout put the items and you are done, everything fit inside. But in RelativeLayout you must be very careful with the margins, positions and when viewing the text code it's not in the order as what app shows so in github without a visual editor code can be difficult to read to others.

My opinion... Every dev has his owns tricks.

Trick: Instead of posting the image in dropbox make a issue, solve it and attach a photo. Then get the URL of the github servers!

See you!
[Android Software Development] Decad3nce:
Forcing it into a linear layout doesn't allow for the second child (button) to scroll with the scroll view; which is what one of my biggest deterrents were to that layout. Good note on the idea of using github servers for image hosting, didn't think of that!
[Android Software Development] SferaDev:
Sure but if you intent that, implement for example:

1. ScrollView

2. RelativeLayout / LinearLayoutVertical (Container)

3. Each LinearLayoutHoritzontal with the Items

It's because ScrollView can have only one child control so you use a container as relative or even another linear.

Doesn't matter as the user can't see the code in normal use!
[Android Software Development] HaYaHa:
When you activate aeGis locate, and the person typ's the correct password, he can directly disable the tracking, without typing the password for the aeGis app.

Could you change that?
[Android Software Development] SferaDev:
I think is in src/com/decad3nce/aegis/SMSReceiver.java in line 129:

if (locateEnabled && body.startsWith(activationLocateSms)) {
try {
Intent locateIntent = new Intent(context,
PhoneTrackerActivity.class);
locateIntent
.addFlags(
Intent.FLAG_INCLUDE_STOPPED_PACKAGES)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.addFlags(
Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS)
.putExtra("address", address);
context.startActivity(locateIntent);

Instead of receiving the sms open the PhoneTrackerActivity change to LoginActivity.
[Android Software Development] HaYaHa:
Where do I need to change that?

Do I need to change it on my phone?

Sorry for this question, but I really don't now how I can do it.
[Android Software Development] tadzio:
You'd need to get the complete source code from github, change it, and compile your own version of aeGis. You don't want to do that. :) Better let the developer make the changes as he sees fit, and wait for a new version from him.

Cheers

tadzio
[Android Software Development] SferaDev:
Sorry for the confusion it's in the source, don't do nothing wait till a official update. The previous post was for the developer.
[Android Software Development] Joshmccullough:
I use Google Voice and seem to be having the same issue. Just a comment for future use is all :)
[Android Software Development] HaYaHa:
Thank you very much, for your help.

I will wait on the next update
[Android Software Development] meethere:
hi

will it work if Go SMS installed?
[Android Software Development] Decad3nce:
Actually, doing that would never trigger location tracking. Instead, I can wrap the login activity to check for a tracking extra(bundles ftw?) and do the entire tracking procedure in a separate thread in the background. On unlock from the tracking extra, resume tracking activity and we have the winnering.
[Android Software Development] Decad3nce:
Google voice is an entirely different monster. There's no way for me to parse incoming Google voice SMS without requiring login.

Yes, see my response earlier in this thread. You just have to disable the nuisance feature in Go SMS that aborts broadcast.
[Android Software Development] Decad3nce:
Couple of days hiatus, but back into the swing of things.

Im crunched for time the next week, so I leave it up to a vote on which feature I should focus on the most:

1. SIM-card whitelies for approved SIM serials.

2. Install to system/app. Would only require a background thread for superuser commands.

3. Take picture of person attempting to unlock device on every n failed attempt.

Let me know. Also just added option to remove device administrator via advanced settings menu so people don't seem completely confused when they can't uninstall aeGis.
[Android Software Development] SferaDev:
Those are for me the most important and I think that su is the easier option. Also for the photo instead of sending a MMS I'll prefer a email!

Thanks!
[Android Software Development] hisname:
I vote for number 3!:thumbup:

Sent from my supercharged tank
[Android Software Development] Decad3nce:
Installing to system is done, I'll get started on number 3 here later this week.

:D
[Android Software Development] ezio84:
I vote for 2 or 3 :laugh:
[Android Software Development] Decad3nce:
Lots of updates in v1.3.2.3

Release v1.3.2.3

-- Added option to install aeGis to system/app allowing it to survive a factory reset. (REQUIRES ROOT)

-- Added option to disable device administrator from the advanced settings panel.

-- Added hebrew translations(thank you translator!)

-- Hierarchical gui interface streamlining.

-- Implemented libsuperuser from chainfire.

-- Various other little fixes.

It'll be up on the playstore servers within a few hours.

I better get to bed, not feeling well and have first day of classes tomorrow.

Enjoy!
[Android Software Development] SferaDev:
Thanks for the update! Can I make a recomendation?

For translation work can you add the new strings below the older in values/strings.xml? It would be easier to add all new strings in the translation. Also dialog.setMessage must be in a string.

Thanks!
[Android Software Development] Decad3nce:
Fixed that and stringified some things.

Also added a better check for device admin active to remove the preference.

Also added a dialog that shows when super user access isn't granter or isn't found.

I still need to do a check for busybox.
[Android Software Development] ezio84:
IT translation updated ;)
[Android Software Development] Decad3nce:
Pushed an update with all the translation changes.

Thanks again guys :)

Currently working on:

- Figuring out how to send email silently from default gmail account with auth token login.
[Android Software Development] NOFATCHX:
Hi guys..the app looks fantastic ..but its not working for me at the moment...

Suppose my AeGis Login password is : abcd

i set a passphrase: 1234 lock to lock the device

now when i text 1234 lock to my phone ..nothing happens..it doesnt lock...i just get an sms which reads: 1234 lock!

tried this on my Samsung Galaxy S gt-i9000..didnt work..as mentioned above

then tried it on my Htc Desire V...same thing..doesnt lock the device...

please respond and tell me if im doing something wrong and how to get it working.. i really love this app

---------- Post added at 10:23 PM ---------- Previous post was at 10:21 PM ----------

Hi guys..the app looks fantastic ..but its not working for me at the moment...

Suppose my AeGis Login password is : abcd

i set a passphrase: 1234 lock to lock the device

now when i text ''1234 lock'' to my phone ..nothing happens..it doesnt lock...i just get an sms which reads: 1234 lock

tried this on my Samsung Galaxy S gt-i9000..didnt work..as mentioned above

then tried it on my Htc Desire V...same thing..doesnt lock the device...

please respond and tell me if im doing something wrong and how to get it working.. Great n Essential app
[Android Software Development] tadzio:
You're doing something wrong. :)

You need to send exactly the text that you configured as lock SMS in aeGis. The default text is "aeGis lock", but it is highly advisable to change it to something that includes some sort of PIN or password. Note that this is completely independent from your lockscreen PIN.

Hope that helps.

Cheers

tadzio
[Android Software Development] Decad3nce:
Pushed an update (1.3.2.6) for both versions

Release v1.3.2.6

-- Fixed NPE on ICS device orientation change

-- Added dialog to request location services be enabled before allowing locate feature

-- Layout fixes thanks to pgschk

-- Translation fixes

Thanks again guys. I just had to get these bugs out of the way before implementing more features.
[Android Software Development] NOFATCHX:
tried that...still doesnt seem to work...sms the exact lock sms but still it does not lock the device...hope the dev can somehow give somewhat more clear instructions
[Android Software Development] Decad3nce:
Instructions are fairly clear, you set a passphrase, you enable the option with the switch in the top right, then you text the passphrase.

If you're doing all these, and still not getting the device to lock then:

1. You're using a 3rd party messaging app that hijacks the incoming sms before aeGis can read it.

2. You found a bug and should list your device details here.
[Android Software Development] polobunny:
Hey two small graphical issues, when first starting the app you can set a password for aeGis.

I couldn't figure out why it didn't take my password, saying both passwords were different.

Turns out the box for the password confirmation isn't very noticeable (white on white) while the first password box has an underline because you're already focused in it. Might be worth making both boxes outlined or a different shade.

Second, still on that same page, when the keyboard pops out, the Confirm button at the bottom gets behind the text right under the disable password box. Doesn't seem to do that on any other config page.

Another thing, the French translation isn't very good. The words are right, but the sentences lose their meaning, making it somewhat hard for someone to understand what they mean. Do you have someone translating it for you or is it automated? Do you mind if I suggest a few translation changes or even retranslate it for you? Do you believe it would be possible for you to add an option to force a certain language too?

Keep up the good work!
[Android Software Development] Decad3nce:
How's this?

As for the french translations, it is done by users. I will add an option to force a different language.
[Android Software Development] HaYaHa:
That looks pretty nice

Will we see this in the next update?

I still like the app. I couldn't found any bugs.
[Android Software Development] Decad3nce:
Yes. I just have one more thing to add before I push an update.
[Android Software Development] polobunny:
Re: [APP] aeGis v1.3.2.5

You're a pro. If you don't mind I'll try to submit some changes to the translation that would help make sense. Do you have a translation file of some sort I can use? Thanks, really dig the app. Simple, just works, that's what I like. :)
[Android Software Development] NOFATCHX:
Umm ..well i do have Go SMS Pro installed

Also i followed the instructions clearly..but it doesnt work

Phone: SGS gt-i9000

Cyanogenmod 10 latest nightly with Semaphore Kernel 2.6.6
[Android Software Development] Decad3nce:
Go SMS Pro is aborting the messaging broadcast, look at earlier in the thread. One of my replies has your answer for having it work with Go SMS Pro.
[Android Software Development] NOFATCHX:
Unchecking "Disable other message notifications'' in Go SMS Pro>Recieve Settings did the trick!!

The app works great now! Love it

Also..im willing to support development cuz i looovee this app...problem is..im still in school! Will support when i get a job..after finishing studies...in about 5 years..hopefully..
[Android Software Development] SferaDev:
Re: [APP] aeGis v1.3.2.5

Mate, there's no age for developing! I'm just 16! And I've learned android and Java development!

Best regards!
[Android Software Development] andybfmv96:
Re: [APP] aeGis v1.3.2.5

How do you do this?! Lol I'm 16 and I haven't learned a lot. I certainly have the mind for it, and in fact my IQ is college level. But I haven't found an efficient way to learn it. Let me in on your wise secrets of wisdom?:P
[Android Software Development] SferaDev:
Re: [APP] aeGis v1.3.2.5

1. My bro it's a wonderful source of knowledge!

2. You must have lots of ideas and if something doesn't works Google it!

3. For android use Google's reference!

4. Learn the basics of object designed programming, you'll see that Java and Android are similar!
[Android Software Development] NOFATCHX:
A little O-T but

Thumbs up to you bro! I'm 17...i started self-learning on Java basics...but too much pressure from school...you know...good grades lead to a better future..so once i get into a university...first thing ima do is start learning to Program! :)

and also..what i actually meant was to support Decadence's development..if you know what i mean :) but yes if someone on xda is willing to teach us noobs some programming!! that would be awesomee!!
[Android Software Development] SferaDev:
Re: [APP] aeGis v1.3.2.5

I'm building a project about it!

http://xdaforums.com/showthread.php?t=2104750

It's in very early stage...

See you!
[Android Software Development] Decad3nce:
So I've been working on backwards compatibility(to get support from 2.2 onwards), but I've run into a problem implementing preference fragments. I can either just dump the idea of using preference fragments all together, or I can use some reflection techniques like here; http://xdaforums.com/showpost.php?p=19719977&postcount=1

Not sure what to do yet, I've implemented both ActionBarSherlock and a switchStyle that can work on older API revisions.
[Android Software Development] Px80:
AW: [APP] aeGis v1.3.2.7

Must i reinstall aegis if i full wipe, clear cache my phone for a new Rom? I installed the system Integration.
[Android Software Development] Decad3nce:
As long as the next ROMs install doesn't format /system you should be fine.
[Android Software Development] Decad3nce:
Also pushed backwards compatibility branch under "backwarscompat". It's WIP while I finish some other things.
[Android Software Development] Decad3nce:
So I've been really busy all night. Integrated Google Drive API, and rearranged some things .

Check the pictures:

I'll release once I fix a few last bugs. :)

Still all SMS driven.
[Android Software Development] polobunny:
Re: [APP] aeGis v1.3.2.7

That sounds awesome. I like how simple aeGis is, and hell, it's free!
[Android Software Development] Decad3nce:
Pushed the update to the play store.

v1.3.3

Release v1.3.3

-- Implement Google Drive API

-- Create new "Data" tab that allows you to upload call log and sms log to a folder created on google drive

-- Allow aeGis to be started via a secret code in the dialer(so you can hide the app)

-- Translation updates

-- Various other updates

Thanks again, all!
[Android Software Development] Lock-N-Load:
Great app been using since day 1.

I noticed a small petty bug but a bug nonetheless. When I click to set my SMS trigger text for each option i want to use and then long press on my text to copy it (as I use the base first piece of my text for each SMS trigger word) the white cut & paste system bar at the top pops up that is suppose to show the select, copy, cut, select all icons but it does not. If you know where to press on that bar it functions but the stock system icons are missing and the only one shown is the check mark on the far left.
[Android Software Development] Decad3nce:
Re: [APP] aeGis v1.3.3

I'm probably going to completely move away from preference fragments in the tab adapter. They're incompatible with actionbarsherlock and aren't flexible with allowing functions like text copy/cut.
[Android Software Development] adwinp:
Doesn't this somewhat defeat the purpose? The first thing a thief would do is replace the sim card, & thus sending an SMS is of no use.
[Android Software Development] Decad3nce:
A lost device isn't always stolen.

And people aren't smart, as I've noticed; especially thieves.
[Android Software Development] Decad3nce:
Releasing another update, to fix some bugs and oversights.

Release v1.3.3.1

-- Fix issue with data backup, handle separate threads fileURI's.

-- Rewrite a lot of the outputstreamwriter logic.

-- Updated Italian Translations(THANKS!)

-- Added progressbar.

-- Reintegrated proguard, cut down application size by 0.5mb!

-- Obfuscated code.

-- Optimizations.

Now with the Google Drive API integrated, I can add the features like "taking a picture of person attempting to unlock device after n failed attempts"

Good to get this out of the way.
[Android Software Development] Decad3nce:
It's so nice when you can just use the same methods ;D
[Android Software Development] Decad3nce:
Dropbox API integration is done. I just have to wait for Dropbox to allow me to use it in production.

Source is on github
[Android Software Development] Decad3nce:
Dropbox API has been approved. Lots of updates(again).

Release v1.3.3.2

-- Integrate Dropbox API for backup accounts

-- Streamline backup accounts management

-- Fix logic for data tab

-- Fix logic for backup accounts log in/log out

-- Create "Help" menu option

-- Initiate help splash screen on first launch

-- Translation updates

I'll be spending my time now working on a GCM solution that allows triggers via something other than sms.
[Android Software Development] polobunny:
aeGis is really shaping up well if you ask me!
[Android Software Development] Px80:
AW: [APP] aeGis v1.3.3.3

I tried the dropbox Option and after the log in i allow the .API access and than it fails loading on the next page with something about oauth_tokens.
[Android Software Development] shoutokuyaki:
Re: [APP] aeGis v1.3.3.3

Can i use this app in gingerbread?
[Android Software Development] Decad3nce:
Dropbox error?

If you're seeing any kind of message from dropbox, its an error on their end.
[Android Software Development] bender.h:
Very pleased with the simplicity of the app.

One question, not sure if it is a bug or not.

After testing the Lock functionality and logging back in to my phone with the aeGis Lock password, it keeps bringing up the password screen after every normal screenlock going forward. I thought it was only supposed to ask for the aeGis Lock password once, and then normal operation would resume. Did I miss something?

Cheers!

UPDATE:

Scratch that, I realized that the app actually changes the phones normal "Screen Security" setting. Hence, I need to change that after using the aeGis Lock function (if I don;t want to continue to use the password).
[Android Software Development] Px80:
Hm, still the same.

I check the dropbox option and than i need to log in on the dropbox page. This works fine and it requests a permission to add an api to aegis.

But after that the page cant be loaded. Always the same. Now ive got an folder on Dropbox called Aegis. But in aegis options the box is unchecked.

that so far.

I tried to locate my phone with my gfriends one. On my phone there was a screen that my phone will be located and if i'd like to deactivate this option. (Why is this shown?! :D if someone has stolen my phone he/she could always disable this function...)

And also i didn't recieve sms with the location or activation on my gfriends phone. Have i done something wrong? All i have to do is to send a sms with the keyword and thats it?!
[Android Software Development] NOFATCHX:
Simply check the ''Lock Device" box in LOCATE tab. In this way when you send the location sms...your device will trigger the location sms to the sender and show the white "Disable Tracking" screen..but the lock screen will appear on top of it...so to disable tracking you would have to enter your pin!

And the for not recieving location sms part....its working fine for me...just check if you have balance(credit) in your phone...cuz you know...sms are not free of charge..standard rates apply to the sms sent by Aegis application.

Hope this helped :)
[Android Software Development] Px80:
AW: [APP] aeGis v1.3.3.4

I'll try and report back
[Android Software Development] A2Eric:
password

I'm an idiot and forgot my aeGis password. How do I get in?
[Android Software Development] SferaDev:
Re: [APP] aeGis v1.3.3.4

Do you have root acces?

If yes just erase the data with tb!

If not try to delete the data with android system app manager.

See you!
[Android Software Development] A2Eric:
Thank you, that worked!
[Android Software Development] JokerAce:
I think the Hint on default password should not be released on PlayStore

Either

1. Provide the information when first time install

2. Provide another way to recover passwords

It makes it easy to be unlocked..

But anyway, looking at those posts above me, it makes not much of difference aye? As long as the finder has root knowledge, most likely your phone will be compromised anyway.

However, I still think the general market has insufficient knowledge on rooting, and thus, removing the hint would be better.
[Android Software Development] Darkshado:
Finally got aeGis to work on my phone (Galaxy Note 2). Handcent was interfering (there are two settings which seemed to fix it: one about lowering the application's priority, and the other setting it as the default SMS and MMS app, which I switched to "none")

However the Alarm function plays its notification once (an old style phone bell), for about one and a half seconds. Consider some type of programmatically generated wave tone instead?

Also, recent Samsung stock ROMs have this "Blocking mode" which can silence the phone at night and block notifications. It happens to defeat aeGis's alarm feature. I recall Cyanogenmod also having something like this.

I got the impression that the SMS detection is case sensitive. IMO it shouldn't be, or otherwise have a setting for this. I first tested with the default "aeGis alarm" and since I hadn't typed aeGis with the proper capitalization it didn't trigger.

Potential feature idea: "brick" phone. (I'm thinking of scenarios where local authorities wouldn't bother helping even with the phone's location on hand.) This would require root access, and a customization database for different models/SoCs. Deliberately trashing the bootloader partitions would work. (e.g. dd if=/dev/random/ of=/somebootloaderpartition) Corrupting the EFS/NV settings/IMEI partition could also be an option. Milder solution: adding a reboot command to install-recovery.sh to create a bootloop.

Thanks,

Darkshado
[Android Software Development] Decad3nce:
I'm genuinely worried about giving people the option to brick.
[Android Software Development] Darkshado:
Yeah, upon further thought that's overkill.
[Android Software Development] Px80:
AW: [APP] aeGis v1.3.3.4

Ok, i now retried the APP.

I set two different words for lock and locate. In locate prefs i checked the "lock" box and that worked. I returned to lockscreen and the pw to unlock was sent by sms to the second mobile but without the location data. I set interval to 30sec and area to 10m. Lock does work but locating (gps was not enabled but data is) not. Must gps be enabled?! This would darin my battery very fast.
[Android Software Development] Decad3nce:
Re: [APP] aeGis v1.3.3.4

GPS doesn't have to be enables. The app does fall back. Your intervals of 30 seconds are probably too short for the mobile network to get a solid location. Also try disabling geocoding when using network location.
[Android Software Development] Px80:
AW: [APP] aeGis v1.3.3.4

Ok, i will try this asap.

Other thing, i checked if aegis still works when locked and rebooted. It works pretty well :D can't turn off the lock now !?
[Android Software Development] adwinp:
I'd like to see aeGis to accept keywords coming in an email subject or xmpp/google talk message

SMS will not work since one of the first things a thief will probably do, is remove/change the simcard.
[Android Software Development] tkdsl:
making aeGis sonnected to a Sim card number

Hey Decad3nce

Great app sir.

any updates on the first item on this list ?