FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

 View Poll Results: What does u want in the next version?

Ability to read/write the device contacts?
 
1 Vote(s)
50.00%
Ability to read/write device sms/mms?
 
1 Vote(s)
50.00%

[DEV] AndroidCtrl.dll [0.0.0.13] (AAPT/ADB/Fastboot/(apk/zip) Signer - Framework)

177 posts
Thanks Meter: 118
 
Post Reply Subscribe to Thread Email Thread
25th May 2015, 02:51 PM |#81  
OP Senior Member
Flag Delmenhorst
Thanks Meter: 118
 
Donate to Me
More
Quote:
Originally Posted by squabbi

Hey dude! Long time! Umm I think you already said something about this. But if I wanted to get the adb and fastboot files to extract to another folder? Eg. "./Data/adb"

Heyho

no problem, i'll write later today also an little "How-To" article about that stuff. Currently u can't change the extraction directory. But u can deploy the files to the default directory and then move them to ur location. Then u can change the paths inside the dll like the following examples.

Code:
(string) PATH_AAPT            = (PATH_DIRECTORY_AAPT\aapt.exe) Hold the final aapt path (can't be changed)
(string) PATH_DIRECTORY_AAPT  = (DLL_PATH\adb\) Here u can change the directory (but only the directory)

(string) PATH_ADB
(string) PATH_DIRECTORY_ADB

(string) PATH_FASTBOOT
(string) PATH_DIRECTORY_FASTBOOT

(string) PATH_SIGNER
(string) PATH_DIRECTORY_SIGNER
Hope this helps for the moment.

PS: I'll add an extraction method which will extract the files where u want.

Regards,
Sebastian
Last edited by k1ll3r8e; 25th May 2015 at 08:45 PM.
The Following User Says Thank You to k1ll3r8e For This Useful Post: [ View ]
 
 
26th May 2015, 06:14 AM |#82  
squabbi's Avatar
Senior Member
Flag Sydney
Thanks Meter: 1,104
 
Donate to Me
More
Quote:
Originally Posted by k1ll3r8e

Heyho

no problem, i'll write later today also an little "How-To" article about that stuff. Currently u can't change the extraction directory. But u can deploy the files to the default directory and then move them to ur location. Then u can change the paths inside the dll like the following examples.

Code:
(string) PATH_AAPT            = (PATH_DIRECTORY_AAPT\aapt.exe) Hold the final aapt path (can't be changed)
(string) PATH_DIRECTORY_AAPT  = (DLL_PATH\adb\) Here u can change the directory (but only the directory)

(string) PATH_ADB
(string) PATH_DIRECTORY_ADB

(string) PATH_FASTBOOT
(string) PATH_DIRECTORY_FASTBOOT

(string) PATH_SIGNER
(string) PATH_DIRECTORY_SIGNER
Hope this helps for the moment.

PS: I'll add an extraction method which will extract the files where u want.

Regards,
Sebastian

Thanks bro! I look forward to it
27th May 2015, 04:00 PM |#83  
OP Senior Member
Flag Delmenhorst
Thanks Meter: 118
 
Donate to Me
More
Info 2
Quote:
Originally Posted by squabbi

Thanks bro! I look forward to it

Hey bro
-
Just an update, i decided to write an "Config" class which will hold all "init", "default", "fallback" values. This class can be configured before u start working with the dll it's self. So u have the ability to implement the dll a bit deeper in ur program.

Also, all values will have the current defaults.

I hope that i get it today done.

--- EDIT ---

@squabbi, update is online! - Have a look at this article.


Regards,
Sebastian
Last edited by k1ll3r8e; 28th May 2015 at 08:34 PM.
The Following User Says Thank You to k1ll3r8e For This Useful Post: [ View ]
28th May 2015, 11:06 PM |#84  
squabbi's Avatar
Senior Member
Flag Sydney
Thanks Meter: 1,104
 
Donate to Me
More
Quote:
Originally Posted by k1ll3r8e

Hey bro
-
Just an update, i decided to write an "Config" class which will hold all "init", "default", "fallback" values. This class can be configured before u start working with the dll it's self. So u have the ability to implement the dll a bit deeper in ur program.

Also, all values will have the current defaults.

I hope that i get it today done.

--- EDIT ---

@squabbi, update is online! - Have a look at this article.


Regards,
Sebastian

Thanks! I'll check it out soon!
The Following User Says Thank You to squabbi For This Useful Post: [ View ]
13th July 2015, 01:09 AM |#85  
squabbi's Avatar
Senior Member
Flag Sydney
Thanks Meter: 1,104
 
Donate to Me
More
Hello!

Is it possible to exclude the connection monitor's logger output? and also can I wait for device to go into recovery or a certain state?

Thanks!
Last edited by squabbi; 13th July 2015 at 02:44 AM.
13th July 2015, 02:04 PM |#86  
OP Senior Member
Flag Delmenhorst
Thanks Meter: 118
 
Donate to Me
More
Quote:
Originally Posted by squabbi

Hello!

Is it possible to exclude the connection monitor's logger output? and also can I wait for device to go into recovery or a certain state?

Thanks!

Heyho

I'm just downloading MSVS 2015 Enterprise... This will take a while... 21 GB^^

After this, i'll have a look at the "Logger".

But so far i can say, i implement an option to exclude some logging points.

- EDIT -

About the "wait-for-device", currently u have the following method which will do this for u.
Quote:

ADB.Instance().WaitForDevice()

This will wait for an ADB device, so u can use it to wait for "DEVICE" or "RECOVERY". Remember, this call will block the current thread until a device is connected.

- EDIT1 -

@squabbi the logger changes are a bit more complex as i thought... So i need a bit more time to do all the changes.

Regards,
Sebastian
Last edited by k1ll3r8e; 21st July 2015 at 12:11 PM.
The Following User Says Thank You to k1ll3r8e For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
adb, androidctrl.dll, dll, fastboot, framework
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes