Jump to content

AnDE - Android Design Editor


Recommended Posts

Guest BigBearMDC
Posted (edited)

Hi gyus

I'm very proud to present you the new version of AnDE.

AnDE 2.1.3

It has really many improvements!

It's for example now possible to place files, with which you want to replace images in the framework, in a seperate folder.

AnDE then automatically replaces the files in the archive with the files from the folder ;)

Of course the files in that folder must have the same names that the files in the archive have :D

Also, I fixed the crash-bug that sometimes happened when you quit AnDE.

Current Version: 2.1.3

Requirements:

.NET Framework 3.5

Screenshot:

70670e4441.png

________________________________________________________________________________

_

Manual

AnDE is an application, that is able to replace files from ZIP - Archives.

*.apk files are ZIP - Archives that store additional information.

So its possible to replace files in the archive using a ZIP - Library for C# - thats what I did.

There are 3 ways to replace files int the *.apk archive:

- Manual Replacement

- Automatic Replacement

- both

Whichever you want to use, you have to load an archive first:

Click on "File" -> "Open Archive"

AnDE the unpacks the archive and stores the files in a directory that has the same

name that the archive has + "_temp". If this directory already exists when you open

an archive, you will have to delete it (or at least rename it). Once that is done,

You'll see a directory tree in the white box on the left side called "Archive Content".

If you check "Show PNG's only", you will only see *.png file in "Archive Content".

If you uncheck it, you will see all files. You can expand the directorys in the directory

tree by clicking on the '+' Symbol. A expanded directory will collaps if you click on the

'-' Symbol. Now you can choose a file by just clicking on it. If you choose an *.png file,

the image will appear in the left picture frame named "Selected File". Here's the point

where i want to mention that you can replace all files in the Archive, not only *.png

files. Anyway, once you have chosen a file that you want to replace, you can continue.

From now you can choose on of the free ways.

I'll start with

Manual Replacement

Once you have loaded a file you want to replace, click on "Open File".

A window will appear that lets you choose a replacement file. If you choose a *.png file,

it will show up in the picture frame named "Replace with". Next, click on "Add to Queue".

In the "Queue" window beside tha main AnDE window an item will be added. Now the file

is added to the queue. You can delete files from the queue by clicking on one item and

pressing the "Delete" key on your keyboard. When you added all the files you want to the

queue, click on "Process Queue". AnDE creates a backup of the archive file you opened

named "archive + _old". If this file already exists, you will be asked to delete it. If you

don't want to delete it just click "No" and Ande will add a randomly generated number

to the name of the archive. As an example, if your original file's name is "archive-a.apk",

the backup could be called "archive-a_12345_old.apk". After that the files in the archive

get replaced and thats it :D

Automatic Replacement

Once you loaded the archive, click on "Choose Folder". A window will appear that lets

you choose a folder. Copy all replacement files into this folder. The files must have

the same name that the files from the archive have, which you want to replace. As an example

there is a file called "a.png" in the archive, then the folder must also contain a file called "a.png".

If there's only a file called "b.png", nothing will be replaced. Its not necessary to keep the folder

structure of the archive. As an example if you want to replace the files "a.png" and "folder_b\b.png"

of the archive, you can just copy "a.png" and "b.png" into the replacement folder. AnDE automatically

searches the files in the archive and adds them to the queue, if the file names match. Once thats

done, click on "Process Queue". If you want to replace many files (I tried it with ~700), AnDE

might look like it freezes and windows might tell you "Not Responding", but thats normal.

Both

You can also combine this two methods :D

Additional Information

If you click on a picture frame while a picture is loaded, a window will show up, showing you the

picture in original size.

You can hide and undock the Queue and Output windows if you click on "View".

The whole application has ~700 lines of code and is fully written in C# using .NET framework 3.5.

________________________________________________________________________________

_

For updates an never versions, just have a look at this thread :(

Have Fun!

PS: please report your bugs and send me a PM with them.

Greetings,

BigBear

AnDE_V2.1.3.rar

Edited by BigBearMDC
Guest BigBearMDC
Posted (edited)

Changelog:

AnDE V2.1.3:

backup files now saved with timestamp

AnDE V2.1.2:

bugfixes

AnDE V2.1.1:

bugfixes

AnDE V2.1:

re-added preview feature

AnDE V2.0:

major bugfixes

added automatic file replacement

AnDE V1.1:

added queue feature

AnDE V1.0:

initial release

Edited by BigBearMDC
Guest HunteronX
Posted (edited)

Thanks, this works perfectly ;) , i'll put up a screenshot of my test.

There's just one request - please could you include batch adding/replacing of files to the framework-res.apk.

Edited by HunteronX
Guest HunteronX
Posted
What do you mean with "batch adding"?

;)

I mean that you could be able to have a list of files that you want to replace, you choose the files that you want to replace them with, and it can replace each of them in succession, without you having to manually add one at a time.

The filenames of the png's replacing the original ones could be checked to see if they match the original filenames, to see which png would be replaced or not.

I hope you understand what I mean, as I think I may have not explained this properly - and sorry if i'm being too demanding, as this sounds like something that would take a lot of work to do.

Guest BigBearMDC
Posted

Yap that should be possible ;)

I'll hav a look at that tomorrow :D

Stay Tuned!

Greetings,

BigBear

Guest HunteronX
Posted
Yap that should be possible ;)

I'll hav a look at that tomorrow :D

Stay Tuned!

Greetings,

BigBear

Thanks! :(

Guest BigBearMDC
Posted (edited)

Hi guys

New version available!

See first post ;)

Greetings,

BigBear

Edited by BigBearMDC
Guest John Hamelink
Posted

I managed to get ahold of a windows machine to test AnDE from, and it looks pretty good! Does it automatically fix .9.pngs? That'd be pretty cool. Also, if the app could be pointed to a folder structure with the replacement images and it would cycle through the directories and upload them to the apk that way, that could lead to a pretty awesome little theme packaging system, IpodWizard style :D

Guest BigBearMDC
Posted

I already tried it with Mono.

But i got an error because mono doesn't recognize some of the functions in the dll.

Also, Mono does not support .NET Framework 3.5, which is necessary (because of the 'Directory' functions).

But when i finished my final version, I'll try to make it cross-platform using Java.

BTW a 'choose directory' feature which automatic searches for files and replaces them is coming :D

Greetings,

BigBear

Guest BigBearMDC
Posted (edited)

AnDE 2.1 available :D

Have Fun!

PS: AnDE is now reliable enough to be maybe *pinned*... maybe :D

Greetings,

BigBear

Edited by BigBearMDC
Posted
Any chance there could be walkthrough?

A step by step tutorial/newbie guide would be really nice.

BigBearMDC thank you for your efforts!

Guest BigBearMDC
Posted
A step by step tutorial/newbie guide would be really nice.

BigBearMDC thank you for your efforts!

Added manual to the first post :D

Greetings,

BigBear

Guest robot1000
Posted (edited)
Added manual to the first post :D

Greetings,

BigBear

Cheers Mate

Keep up the good work!

btw. Would you be able to post up some templates for us to try out?

Edited by robot1000
Guest BigBearMDC
Posted
Cheers Mate

Keep up the good work!

btw. Would you be able to post up some templates for us to try out?

I haven't made any custom designs yet, I just replaced the files in the archive with

my images i have lying around on my harddisdk just to see if it works :D . Thats

why my framework now has nearly 10MB :D

Greetings,

BigBear

Guest HunteronX
Posted

Great stuff BigBearMDC, thanks a lot for this great bit of software - maybe you could publish it on xda-developers?

Posted

very nice software bigbear - one error I got with the newest version was a small glitch when the backup file already existed, perhaps it could rename the oldest backup and make a new one instead of just erroring?

Guest BigBearMDC
Posted
very nice software bigbear - one error I got with the newest version was a small glitch when the backup file already existed, perhaps it could rename the oldest backup and make a new one instead of just erroring?

Well, thats what its ment to do :D

I'll have a look at this.

Could you tell me the exact error message please?

Greetings,

BigBear

Guest BigBearMDC
Posted (edited)
It doesn't look like a well handled exception at the moment, a more native error box would probably be better than the .net default.

RofL :lol:

Seems like my random = rand.next(0, 9999999) does not work.

The name of the file should be "framewor-res_xxxxxxxx_old.apk" instead of "framewor-res__old.apk".

I guess I accidently cut " + random" from the filename :D

Thanks, I'll fix that immediately :D

Greetings,

BigBear

Edited by BigBearMDC
Guest BigBearMDC
Posted

Ah, I see what the problem is.

If there is already a file with that name AnDE should randomly generate a number and paste it into the filename

like this: "_xxxxxxxx"

But it looks like this "xxxxxxxx" without the "_".

Instead I add the "_" to every filename.

So when theres a file with the name "a.apk" the backup would be saved to "a__old.apk" with two "_".

But when AnDE searches now for a file named "a_old.apk", it won't find it, because its name actually is

"a__old.apk" - thats causing the file already exists error :D

Fixed it, uploading it to first post :D

Greetings,

BigBear

Guest BigBearMDC
Posted

Okay, works now.

But theres still the chance that Random generates the same number 2 times...

well... 1:99999999 ... but anyway :D

Greetings,

BigBear

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.