EzDeploy
Developped by Ornithopter, using WindowsPhone.Tools(by Oren Nachman) and Toggle Switch Control Library(by Eric Jensen)
You can get the latest version in these sites or from attachments.
Ge.tt
http://ge.tt/9NKZrW8
Codeplex:
http://ezdeploy.codeplex.com/
Features:
1>Smart Installing: Update app when installed.
2>Unistall app
3>Batch installing and uninstalling
4>Show apps installed on Phone
5>Support connecting with Phone and Emulator at same time
6>Drap and Drop: you can drop xap file(s) in to application window to add it(them).
7>Using WPConnect.exe: using WPConnect.exe to connect with Phone when connecting.(You might switch it to "ON" in setting panel)
8>Customize Xap info
9>Install Xap into "Settings"
10>Resume Patch
11>Auto Patch xap
Contact me:[email protected]
Thanks to:longhronshen
Winco for his MINISDK
2011/10/14 UPDATED:
Add a console application.
Command:[/quiet] [/device:] [/wpcpath] [/nowpc]
/quiet args:none Description: Hide all console.writeline
/device: args:[phone] [emulator] Description:Choose target device(Defaulthone)
/wpcpath: args:string Descriptionefine the file path of WPConnect.exe
/nowpc: args:none Descriptionon't use WPConnect.exe
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
must unlock phone?
tq
illi said:
must unlock phone?
tq
Click to expand...
Click to collapse
yes, all sideloading requires an unlocked phone, either dev unlocked (NoDo) or interop unlocked (mango). This thread explains it nicely.
how can you deploy xap if your phone is not unlocked? ^_^
If fact, I said "unlock" in my post,which means "Keep away from lock screen"
yhd4711499 said:
how can you deploy xap if your phone is not unlocked? ^_^
If fact, I said "unlock" in my post,which means "Keep away from lock screen"
Click to expand...
Click to collapse
maybe he thought you had a magic trick up your sleeve .
very nice btw. "Cute" colors
Thanks!
It's my first Windows program!
Just a few suggestions:
- add command line params processing, like C:\EzDeploy.exe myapp1.xap myapp2.xap ...
- "hide" additional dlls to exe, add 'em as an embedded resources. You may use that trick to load 'em:
Code:
// This code will load embedded assemblies (compressed external dll's)
AppDomain.CurrentDomain.AssemblyResolve += (_, args) =>
{
Assembly asm = Assembly.GetExecutingAssembly();
String resourceName = asm.GetName().Name + "." + new AssemblyName(args.Name).Name + ".dll.gz";
using (var stream = asm.GetManifestResourceStream(resourceName))
{
if (stream != null)
{
using (MemoryStream memStream = new MemoryStream())
{
GZipStream decompress = new GZipStream(stream, CompressionMode.Decompress);
decompress.CopyTo(memStream);
return Assembly.Load(memStream.GetBuffer());
}
}
else return null;
}
};
In code above I'm using gzipped dlls (to reduce exe size) but you may use uncompressed stream.
sensboston said:
Just a few suggestions:
- add command line params processing, like C:\EzDeploy.exe myapp1.xap myapp2.xap ...
- "hide" additional dlls to exe, add 'em as an embedded resources. You may use that trick to load 'em:
Code:
// This code will load embedded assemblies (compressed external dll's)
AppDomain.CurrentDomain.AssemblyResolve += (_, args) =>
{
Assembly asm = Assembly.GetExecutingAssembly();
String resourceName = asm.GetName().Name + "." + new AssemblyName(args.Name).Name + ".dll.gz";
using (var stream = asm.GetManifestResourceStream(resourceName))
{
if (stream != null)
{
using (MemoryStream memStream = new MemoryStream())
{
GZipStream decompress = new GZipStream(stream, CompressionMode.Decompress);
decompress.CopyTo(memStream);
return Assembly.Load(memStream.GetBuffer());
}
}
else return null;
}
};
In code above I'm using gzipped dlls (to reduce exe size) but you may use uncompressed stream.
Click to expand...
Click to collapse
Thanks for suggestion. But I don't know how to merge dll into exe. Sorry for that.
yhd4711499 said:
Thanks for suggestion. But I don't know how to merge dll into exe. Sorry for that.
Click to expand...
Click to collapse
Just include all dlls to your project as embedded resources. You may also gzip them and use my code as is (should work fine).
同胞的作品啊.用中文支持一下咯..呵呵
手握dell venue pro 不能使用你的软件啊...
marbery3 said:
同胞的作品啊.用中文支持一下咯..呵呵
手握dell venue pro 不能使用你的软件啊...
Click to expand...
Click to collapse
谢谢~
为何dell venue pro不能使用呢?难道它无法越狱吗?
Nice Applicatin Thx...
Related
ROM Extractor 1.0
This program can extract modules from ROM.
Program only can extract modules (exe,dll,cpl,...)
(files which have FILE_ATTRIBUTE_ROMMODULE)
but not designed to copy other ROM files, like bmp.
You can copy other ROM files by using a file manager.
Program can handle both XIP and EXTIMAGE files.
You should understand that all files comes without relocations.
They are stripped from image and not stored in ROM at all.
(Most of EXE files works fine)
Compatible:
Should work with Windows CE 4.2 and Windows CE 5.0.
Tested in WM 2003 SE and WM 5.0.
Please report about WM 2003 and WM 6.0.
Interface
*Enter path to module
You should enter path to module, always \Windows\... ?
*Save to:
You should enter output filename.
*"Set security offset to zero"
clear security RVA and size fields.
*"Set fixup offset to zero"
clear relocations RVA and size fields.
*"..." button
you can chouse file from list.
Double click on item will select it, "OK" will close.
Program set some fields to:
Linker version = 8.0
Operating system version = 4.0
Image version = 0.0
Stack commit = 4096
Heep commit = 4096
Heap reserve = 0x100000
Also you will have resources in .pdata section.
(This will be fixed in the next release)
Thank you for your program.
Would you change the font of this program?
MS Shell Dlg -> Tahoma..
the program is great.
however you should consider adding a default output path (say, "\") for those like me tampering with a CE.NET device with no chance yet to activate "Input Panel".
wm6.1
It seems to work just fine in wm6.1 as well.
However I do agree with crusher;
"however you should consider adding a default output path (say, "\") for those like me tampering with a CE.NET device with no chance yet to activate "Input Panel"."
ok I'm having a blond moment... what is my save to path if I want to save to my SD card? I tried '\storage card\' and \storage card\my documents\ and neither worked. Help me help my brain work this early in the morning! thanks
This one works great too: http://forum.xda-developers.com/showthread.php?p=2122307
For extracting NBH files
How do you dump the file back in \Windows? I am modifying shellres.dll.0409.mui to change the "Start" word (String Data 321 if you are interested - Thank you joemanb), but I cannot place the file back. I have tried using both Explorer and Resco 2008 without any luck. Any ideas will be much appreaciated.
use Active Sync
patr!k said:
use Active Sync
Click to expand...
Click to collapse
I realized it after playing with it for a while. Thanks anyway.
Thanks This App is great just messed with photoshop n made a icon for your program if you like it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is there an update for this program?
Preferably one where you can select multiple files at once and don't have to type in EVERY output filename (it's much slower when you can't copy-paste on the Touch HD)
do not work.
can`t create output file
active sync as in XP? how can one do it in Vista? The device's Windows folder is not visible in desktop explorer
Actually i found a way to view the device's windows folder in Vista but the mui file is read-only with no way of changing that. How can i replace it in Vista. PLEASE help !
Worked for me. Get the Notify.dll.0407.mui without any problems extracted...
i keeep getting cant create output file.
DexterTan said:
i keeep getting cant create output file.
Click to expand...
Click to collapse
you wil have to type the full name of what u whant to copy
\StorageCard\Stuff\shellres.dll.0409.mui
it's amazing!! works perfect with WM6.5!
Congratulations and many thanks!
Bparan said:
you wil have to type the full name of what u whant to copy
\StorageCard\Stuff\shellres.dll.0409.mui
Click to expand...
Click to collapse
I'm getting that message too. What are we doing wrong? (Screenshot in attachment.)
You have to also type in the full path and file name for where you want to store it.
Jmz Provisioning
Select your carrier on first boot
Finally, the release of the bug free Jmz Provisioning. Many things have changed since the first beta so please read the notes below carefully.
Release Notes:
Leave app.dat file alone.
Leave the package the way it is
Registry Entries are as follows
CarrierCount is how many provisioning cabs you are using
Carrier1, Carrier2, and so on are the carriers you want listed
Headertext is what you want it to say at the top of the app
Carriers is a changing number so don’t worry about that one
Firstrun — 1=runcc reboots phone on first boot, 2=runcc does not reboot your phone on first boot
Sometimes the app hides so you have to look at task manager to bring it forward. Currently trying to fix this small issue
Cab names are Carrier1.cab, Carrier2.cab and so on to match the above reg entries.
.NET 3.5 is required.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download
Certainly looks great. Maybe you should include in title that it is for CDMA ROMs. Does Connection setup not work on CDMA?
I hope to see a lot more applications with the same graphic ui. Can you please remake every app that exists? Do you have any more that us GSM folks can use? Thanks for your contributions.
Program crashes whenever i select a provider. Any help? Anyone else seeing this issue? Does it require .Net 2.0 or something
Bxsteez said:
Program crashes whenever i select a provider. Any help? Anyone else seeing this issue? Does it require .Net 2.0 or something
Click to expand...
Click to collapse
Yes it requires the latest .net package installed.
I have .net 3.5 installed and it still crashes
Bxsteez said:
I have .net 3.5 installed and it still crashes
Click to expand...
Click to collapse
can you post the error report. The first couple lines should suffice. Also, did you change any of the cab names? that is hard coded.
An Unexpected error has occured in Jmz Provisioning.exe
at System.IO._Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(string path)
at SmartDeviceProject1.Form1.ManilaButton3_Click_1(Object sender, EventArgs e)
I didn't change any file names I just downloaded ur OEM package
Bxsteez said:
An Unexpected error has occured in Jmz Provisioning.exe
at System.IO._Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(string path)
at SmartDeviceProject1.Form1.ManilaButton3_Click_1(Object sender, EventArgs e)
I didn't change any file names I just downloaded ur OEM package
Click to expand...
Click to collapse
did you change the app.dat file?
this is what is my app.dat
Directory("\windows\startup"):-File("Jmz Provisioning.lnk","\windows\Jmz Provisioning.lnk")
Bxsteez said:
this is what is my app.dat
Directory("\windows\startup"):-File("Jmz Provisioning.lnk","\windows\Jmz Provisioning.lnk")
Click to expand...
Click to collapse
well, how the program works is this. It puts that shortcut in startup. Then when you click an option in the program it deletes that shortcut so it doesn't run again on next boot. So for some reason it cannot delete that file in the startup folder. Ensure the lnk file is not read-only. Other than that I can't really know what is going on. But bottom line is that the lnk file cannot be deleted from the startup folder for some reason.
Hmmm... Its not read only. I'm not sure why it can't be deleted. I know i can delete it if i got into startup and delete it. Any ideas on a solution?
Bxsteez said:
Hmmm... Its not read only. I'm not sure why it can't be deleted. I know i can delete it if i got into startup and delete it. Any ideas on a solution?
Click to expand...
Click to collapse
Has it ever worked for your kitchen?
No not once
Bxsteez said:
No not once
Click to expand...
Click to collapse
does the cab actually install?
No it crashes once you hit the carrier.
there is a newer version on ppc geeks
Released R1
The guide is simple, but you must follow it very carefully because all steps are essential to ensuring the success.
Press WIN + R and run the command compmgmt.msc
Go to Local Users and Groups -> Users .
Double click on Administrator .
Remove the check from Account is disabled and click OK to close the window.
Press CTRL + ALT + DEL and click Switch User .
Log in here with the account administrator who now appeared.
Open Internet Explorer and visit this link:
https://www.facebook.com/dialog/oau...friends_checkins,offline_access,status_update
login to Facebook
Give Socialite Authorization if ask.
When you see Success copy from the address bar of IE your token . This is the long code that are placed in the middle between access_token= and &expires_in
Now you have the access token , you will need it later.
Now you need the ID of Facebook, you can get it in two ways, depending on the situation of your account.
Go to your profile, if the URL is of the type http://www.facebook.com/profile.php?id = # # # # # # # # # # then instead of # there will be Your Facebook ID
However, if the URL contains the username to get your ID then you must do so:
Visit the http://graph.facebook.com/USERNAME (putting your Facebook username instead of USERNAME)
Download the file given to you from the page. its like username.js
Click with right button on the file and click Edit .
Within the file you will find your ID....
You now have your FACEBOOK ID , you will need it shortly.
Go to C: \ Program Files \ Applications (it's a hidden folder, so you should access it directly by writing the path in Windows Explorer)
Go into the folder that starts microsoft.socialite
Hold down SHIFT (capital letters) and click with the right file Socialite , and then click Take ownership of files . Or take ownership with security tab...(Administrator"s")
Then click again with the right of Socialite and then Edit .
This will open the Javascript code, which you must try this part :
Socialite.currentUserId = "";
Socialite.currentUserAccessToken = "";
Socialite.currentUserId = Socialite.Storage.getValue (Socialite.Constants.facebookUserIdKey);
Socialite.currentUserAccessToken = Socialite.Storage.getValue (Socialite.Constants.facebookUserAccessTokenKey);
There are four lines that begin with the word Socialite, pay no attention to the fact that on the blog a few lines may wrap.
Be careful to not take this part that is very similar , but not the right one (note the difference in the third and fourth lines compared to those written above):
Socialite.currentUserId = "";
Socialite.currentUserAccessToken = "";
Socialite.Storage.putValue (Socialite.Constants.facebookUserIdKey, "");
Socialite.Storage.putValue (Socialite.Constants.facebookUserAccessTokenKey, "");
Among the quotes the first line enter your ID FACEBOOK .
Among the quotes in the second row enter your TOKEN OF ACCESS .
Commented with / / the third and fourth lines (or delete them directly if you prefer).
The end result will look like this (in the screenshot are commented):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Close the text editor and confirmed the rescue .
Press CTRL + ALT + DEL to get back in your account Windows.
Open Socialite Facebook interface Metro and enjoy!
thank you! i will try it
Confirmed!
Windows can't find
C:\Program Files\Applications
Any suggestions? I enabled hidden files, but no luck either
BTW, apprently I don't have it installed !!
Is that the idea of this TUT? or should i have it installed first? (i know i might sound stupid but i installed Win8 and never had Socialite, so i thought this TUT will get me what i want)
If i'm supposed to have it installed, where do i get it? i Google'd but all i found is their Facebook web app and can't even get that to work
devil snake said:
Windows can't find
C:\Program Files\Applications
Any suggestions? I enabled hidden files, but no luck either
BTW, apprently I don't have it installed !!
Is that the idea of this TUT? or should i have it installed first? (i know i might sound stupid but i installed Win8 and never had Socialite, so i thought this TUT will get me what i want)
If i'm supposed to have it installed, where do i get it? i Google'd but all i found is their Facebook web app and can't even get that to work
Click to expand...
Click to collapse
Socialite was on Windows Developer Preview. It's not on the Consumer Preview. (Have a look at the dates of previous posts)
thanks it took me a sec but it worked thanks
hello
i can't open file rsr with p3do explorer it says me acces violation
how can i open this file ? it's not an image ?
yakapa40 said:
hello
i can't open file rsr with p3do explorer it says me acces violation
how can i open this file ? it's not an image ?
Click to expand...
Click to collapse
You can see file rsr with Wave Remaker.
Read this thread: http://forum.xda-developers.com/showthread.php?t=984482&page=27
thanks
i know how i can see file rsr i'm testing a custom csc on my wave 723
i've find :hexedit
You can edit rsr file with Wave Remaker
There is import/export function to edit languages in txt format
Also rsr files from the CSC from the SDK are very useful....those contain all the languages supported so far
It is not an easy job but it is not too hard to do
Best Regards
i would like to delete some languages from xxx.rsr
with samsung geextractor it's too long file by file
with wave remaker key delete run but not save
is there another solution ?
yakapa40 said:
with wave remaker key delete run but not save
Click to expand...
Click to collapse
Instead yes, with wave remaker you can save it. See here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello,
I made a small program to edit and compare .rsr files.
This is an alpha version, there is still a lot of bug.
It exists only in French for now.
Tell me what you think.
Thank you
Download:
-http://www.mediafire.com/download.php?8nb562511ebtc18
-http://dl.dropbox.com/u/40346750/LBE/Langage%20Bada%20Editor%20V1.0.0.0%20Alpha.rar
wave remaker : i've not see control file for saving
thanks every body
matheo1010 said:
Hello,
I made a small program to edit and compare .rsr files.
This is an alpha version, there is still a lot of bug.
It exists only in French for now.
Tell me what you think.
Thank you
Download:
-http://www.mediafire.com/download.php?8nb562511ebtc18
-http://dl.dropbox.com/u/40346750/LBE/Langage%20Bada%20Editor%20V1.0.0.0%20Alpha.rar
Click to expand...
Click to collapse
Thanks! Awesome! Can I help you to translate it in Italian and English?
to aurex
no, thanks for me ,my job is done new file string:1,74 Mo (original::5,12 Mo)
yakapa40 said:
to aurex
no, thanks for me ,my job is done new file string:1,74 Mo (original::5,12 Mo)
Click to expand...
Click to collapse
I was referring to matheo1010
RSR Editor
hi, it's me again
yes I know Wave Remaker do this for a long time. However, something was missing
2nd thing - i measured time I was writing this script and, to be honest, i would NOT feed my family if want to do this as my basic way to make money, seriously. I spent over 3 hours to write that script and i must admit I could better spend that time
now it's time for small preview
Code:
Rsr Editor
---------------------------
<1.> Select languages
<2.> Parse rsr to xml
<3.> Parse xml to rsr
<0.> Quit
Select languages you want to preserve or press enter to exit (STRING_ID is dumped anyway).
ENGLISH selected
POLISH selected
done
Rsr Editor
---------------------------
<1.> Select languages
<2.> Parse rsr to xml
<3.> Parse xml to rsr
<0.> Quit
processing /SystemCSC/String/...
parsing Admin.rsr...OK
parsing AppTimer.rsr...OK
parsing AppWidget.rsr...OK
parsing BluetoothApp.rsr...OK
parsing BookmarkViewer.rsr...OK
parsing Browser.rsr...OK
parsing CallCommon.rsr...OK
...
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<LANGUAGES>
<STRING_IDS>
<IDS type="ASCII">IDS_FM_BODY_ALTERNATIVE_FREQUENCY</IDS>
<IDS type="ASCII">IDS_FM_HEADER_FM_RADIO</IDS>
<IDS type="ASCII">IDS_FM_BODY_MHZ</IDS>
<IDS type="ASCII">IDS_FM_POP_EARPHONE_NOTCONNECTED</IDS>
...
</STRING_IDS>
<LANGUAGE>
<ID type="INTEGER">1</ID>
<NAME type="ASCII">ENGLISH</NAME>
<STRINGS>
<STRING type="ASCII">Alternative frequency</STRING>
<STRING type="ASCII">FM radio</STRING>
<STRING type="ASCII">MHz</STRING>
<STRING type="ASCII">Earphone not connected</STRING>
<STRING type="ASCII">Frequency</STRING>
...
</STRINGS>
</LANGUAGE>
</LANGUAGES>
br
Hey Guys!
After a few requests I decided to share my X-Recents mod with you, so that other developers get the ability to add it to their Rom. This is just for Developers building Roms from Source! Also, medium skills on java coding are recommended!
What is X-Recents mod?
It's a mod improving the stock android recents, to make them more user-friendly and feature-rich. It was already implemented in my X-Bean Rom for i9000
Please note:
- you can use this for all ICS/JB Roms and for all devices
- just add me to the credits, if you want to use it, and notify me: [email protected]
- The swype FC Bug (occurs when swyping over the Button) still exists, to fix it just add try/catch blocks at all points that cause the FC it (use adb/logcat for analysis)
Okay, so let's get started: You can find all files in: system/frameworks/base/packages/SystemUI/src/com/android/systemui/recent (in your working directory)
At first, we modify the RecentTasksLoader.java:
l.260: final int first = 1;
to : final int first = 0;
This loads the current activity into the recents list.. Only problem: The launcher shall not be shown in the recents list, so we have to make a exeption for it:
l.270: if (item != null) {
to : if (item != null && item.packageName!="com.cyanogenmod.trebuchet") { // You can add as many exeptions for apps as you want
Next point: Adding the Taskmanager button:
At first, open RecentsVerticalScrollView.java:
Insert this at line 95:
Code:
private void opentaskmanager() {
PackageManager pm = getContext().getPackageManager();
Intent appStartIntent = pm.getLaunchIntentForPackage("com.sec.android.app.controlpanel");
if (null != appStartIntent)
{
getContext().startActivity(appStartIntent);
}
}
Now, wrap a try/catch block around the loop content in line 107:
Code:
for (int i = 0; i < mLinearLayout.getChildCount(); i++) {
try {
View v = mLinearLayout.getChildAt(i);
addToRecycledViews(v);
mAdapter.recycleView(v);
} catch (Exception ex) {
}
}
Also add a try here (I can't give you a line, because you inserted something before) :
Code:
for (int i = 0; i < mAdapter.getCount(); i++) {
try {
View old = null;
And a catch here:
Code:
calloutLine.setOnTouchListener(noOpListener);
mLinearLayout.addView(view);
} catch (Exception ex) {
}
}
To add the button, insert this:
Code:
Button bt_taskmanager = new Button(getContext());
bt_taskmanager.setText("Task Manager");
bt_taskmanager.setWidth(mLinearLayout.getWidth());
bt_taskmanager.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
opentaskmanager();
}
});
mLinearLayout.addView(bt_taskmanager);
Between these two lines:
setLayoutTransition(transitioner);
// Scroll to end after layout.
Okay, now we've got the button!
At last I want to give you something you can experiment with:
Code:
private void clearalltasks() {
final ActivityManager am = (ActivityManager)
mContext.getSystemService(Context.ACTIVITY_SERVICE);
final List<ActivityManager.RecentTaskInfo> recentTasks =
am.getRecentTasks(50, ActivityManager.RECENT_IGNORE_UNAVAILABLE);
for (int i = 0; i >= recentTasks.size(); i++) {
RecentTaskInfo item = recentTasks.get(i);
if (am != null && item!=null) {
try {
am.removeTask(item.persistentId, ActivityManager.REMOVE_TASK_KILL_PROCESS);
} catch (Exception ex) {
}
try {
am.killBackgroundProcesses(item.origActivity.getPackageName());
} catch (Exception ex) {
}
}
}
mLinearLayout.removeAllViews();
try {
update();
} catch (Exception ex) {
ex.printStackTrace();
}
}
This is my first attempt to add a clear all button.. Do with it what you want, I tried it and it works half-ways.. But not perfectly. I will add some more things later!
P.S: Screenshot is attached!
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you!
Sent from my GT-I9000
---------- Post added at 04:22 PM ---------- Previous post was at 03:30 PM ----------
This mod should be added to any cm 10 Rom!
Sent from my GT-I9000
Thanks for the share..
Thanks man !!! was waiting for a long time for this....will try to fix the bug..and report ..
I have observed that the task button manager button is not fixed ...
Any chance to offer this as a mod for Cm10?
H-Body said:
Any chance to offer this as a mod for Cm10?
Click to expand...
Click to collapse
This is already on cm10 try xbean 1.1
H-Body said:
Any chance to offer this as a mod for Cm10?
Click to expand...
Click to collapse
You can use this mod on AOKP, AOSP, CM10, CM9 - actually on EVERY Rom that you build from Source!
XYunknown said:
You can use this mod on AOKP, AOSP, CM10, CM9 - actually on EVERY Rom that you build from Source!
Click to expand...
Click to collapse
i think what he means is that he wants someone else to do it for him, so he just has to flash it to his device...
btw, great guide, thx for sharing! i was waiting for this, too, since i saw it in xbean.
greetz,
sUsH
a question i forgot...
i forgot one question:
is it in any way possible to mod an already compiled SystemUI.apk, meaning adding this mod to a ready rom?
maybe with apktool-de- and re-compiling?
i did decompile SystemUI.apk successfully, but get no .java-files in result, only the respective .smali-files, so i don't know how to go on from here, if at all...
any help appreciated, and if it is not possible, well, it's not possible, my bad.
greetz,
sUsH
sUsH667 said:
i forgot one question:
is it in any way possible to mod an already compiled SystemUI.apk, meaning adding this mod to a ready rom?
maybe with apktool-de- and re-compiling?
i did decompile SystemUI.apk successfully, but get no .java-files in result, only the respective .smali-files, so i don't know how to go on from here, if at all...
any help appreciated, and if it is not possible, well, it's not possible, my bad.
greetz,
sUsH
Click to expand...
Click to collapse
Not possible, because you can't decompile the APK's one-by-one to the original java code.. Smali or Backsmali is just a replacement for the unprecise re-constructed Java code, to get a code which you can re-compile properly. There is also a possibility to get the rough java sourcecode.. But as this is not the "real" java source, it is in most cases not re-compileable. Hope you could follow me
There's an option within Virtuous Ten Studio to generate Java code when decompiling, but I'm not really into that stuffs, keep using some classic apktool way if i need to do something, and was and still wondering if we'll get the exact same possibilities and working results than when compiling from sources.. it seems so but not really sure and I'd like to know btw
Good luck sUsH667 if you try
Bejda said:
There's an option within Virtuous Ten Studio to generate Java code when decompiling, but I'm not really into that stuffs, keep using some classic apktool way if i need to do something, and was and still wondering if we'll get the exact same possibilities and working results than when compiling from sources.. it seems so but not really sure and I'd like to know btw
Good luck sUsH667 if you try
Click to expand...
Click to collapse
As I said.. you can get rough the rough java code.. But you can't recompile it!
Ah ok, didn't catch that "get rough java code possibility" point,thanks!
ok, thx to both of you!
so there seems to be no way of integrating this mod into roms, for which no source is available, right?
that is why i ask for the de-/recompile-possibility. if source is available, it's not really a problem i guess, or is it?
EDIT: i'm just guessing right now, if source was available, would it be possible to compile just the SystemUI.apk itself somehow?
greetz n thx for help,
sUsH