Related
OK, Here is the deal.
I have created a working XdaLive Screen Lock for the XdaLive Live Wm6.
This is similar to the iphone with a working Sliding Unlocker. Only I put the sliding unlocker on the top and used XdaLive image as the Background & put the Digital Clock and Date at the Bottom as you can see in the Image I attached.
FINAL WORKING LIST:
1. Battery Life
2. NEW SMS Counter
3. Active Tasks
4. New Emails
5. OWNER NAME DISPLAY.
(TODO: A LOT OF THINGS LIKE ADDING MORE FUNCTIONALITY, FIX A LOT OF LITTLE THINGS & NEED TO FIGURE OUT HOW TO READ REGISTRY KEYS with SPACES in BETWEEN ANY HELP? ONE THING IS TO NOT HAVE THE APPLICATION QUIT ON END BUTTON (FIXED!).)
Another thing:
----------------------
Does anyone know how to replace the default Lock with this one? I tried replacing the DeviceLock.exe with this one and it does not work. BSDeviceLock.exe does not exist in WM6 either.
WAS A LITTLE OUT OF IT BECAUSE OF JACK DANIELS. HENCE THE BLACK SLIDER
DUE TO A LOT OF PEOPLE WANTING TO TEST THIS, I DECIDED TO JUST PUT THE FILES IN THE OPEN AS I WORK WITH THEM. LIKE DAILY SNAPSHOP OF THE EXECUTABLES (WHENEVER I WORK ON THEM)
THIS IS A PRE-PRE BETA OPEN TEST RELEASE AND NOT PACKAGED.
UNZIP AND PUT THE FILES IN A FOLDER. THE DLL & THE EXECUTABLE HAVE TO BE IN THE SAME FOLDER
REQUIREMENT: FLASH ACTIVEX (NOT FLASH LITE)
ZIP FILE DESCRIPTIONS:
--------------------------
1. xdaLiveScreenLock.zip (XDA LIVE UNLOCKER)
2. SliderLock.zip (JACK DANIELS BLACK SLIDER)
*****MORE IMPORTANCE WAS GIVEN FOR LOOKS RATHER THAN FUNCTIONALITY WHEN STARTING THIS.****
not responsible for anything that might happen by using this little useless application. There are a lot of small glitches usability wise, else works good. preference was given to aesthetics more than anything else. The size is big due to the sliding component being created in flash.
ADDED A 240X240 SLIDER. THIS HAS NOT BEEN TESTED AS I DO NOT HAVE A 240X240 Device.
.
this looks excellent, good job! I have been wondering about that also, devicelock is signed is it not?
Anyone know of a generic wrapper with basic API calls that I can call from within this Flash Application?
edit: compiled own from source code found, change adopted and compiled.
Hi,
i don't really use the device lock... because when turning the phone in standby all key's are locked and i don't want that the screen is always on...
or is there any other significance about using the device lock??
cyberdrakula said:
NEED TO FIGURE OUT HOW TO READ REGISTRY KEYS with SPACES in BETWEEN ANY HELP
Click to expand...
Click to collapse
don't really know it helps... but just test too but the string in " " like in commandline when using spaces... maybe you can just try to use double bslashes \\windows\\system32\\
this looks awesome. the people on this forum never cease to amaze me. Pure Genius
WOW the progress of this is really good sir, youve managed to implement a few more features since i last looked. This will definatly be in the Extras wiki page once it is fully working
I thought about what you could do in respect to replacing the standard lock, disable the lock in the today settings and map this program to a hardware button (5??) How does it fair after a power off (just standby not fully off) as it would be a good way to check the time etc... in the night?
keep up the good work CD, quite a few people are waiting for something like this.
Heya all gurus, give tha man a little help with issues maybe?
Thanks Ppl.
This is something I have been wanting to do for a while now but just got around to doing it. Hopefully in a couple days I will have everything squared out.
I am wondering if I should let ppl test this out. I will also have changeable backgrounds for this.
.
futureshock said:
Hi,
i don't really use the device lock... because when turning the phone in standby all key's are locked and i don't want that the screen is always on...
or is there any other significance about using the device lock??
don't really know it helps... but just test too but the string in " " like in commandline when using spaces... maybe you can just try to use double bslashes \\windows\\system32\\
Click to expand...
Click to collapse
To read the registry I had to actually use \\\\ to get to different levels. But I am NOT able to read the Value Names with spaces.
.
CCRDude said:
Since not even Sbp Mobile Shell was able to replace the lock screen (and that while they basically have something to show then ready with their new Intro screen), I guess it could get quite complicated to replace it...
Does anyone know if the fake iPhone things that were or were not around are able to replace the lock screen? I especially remember that last one were only videos existed, it had a real good fake, but I'm not sure if the video showed it really in action as a lock screen?
Click to expand...
Click to collapse
I am able to Execute it on "Device Wake" via notifications (thanks KYPHUR for the suggestion.) I also actually was able to replace keylock @ Install time and an installation induced reset. The icon also shows up in the Setting folder.
I am also thinking about doing a Today Plugin. Let's see how that goes.
Looks nice..cant wait till its released..
open Pre-pre Beta Test Release On The First Post.
.
Where to download?
Yeah!!
Would love a slider unlocker as a today plugin. I use the WMP plugin since I use my phone as an mp3 player a lot so the device lock function on the today screen is a must for me.
Great work and look forward (hopefully) to a today plugin.
S.K.
cyberdrakula said:
To read the registry I had to actually use \\\\ to get to different levels. But I am NOT able to read the Value Names with spaces.
.
Click to expand...
Click to collapse
Could you use %20% AND %40% to represent the space and other special characters as they do on other windows products? MS has a list on its knowledge base for these...I think %20% is the space, but not sure
eagle 1 said:
Could you use %20% AND %40% to represent the space and other special characters as they do on other windows products? MS has a list on its knowledge base for these...I think %20% is the space, but not sure
Click to expand...
Click to collapse
yes, in html and such it is, maybe you could use \%20%\ as space , but I am just a webprogrammer, and not a very good one
Looks fantastic, can't wait to see this released, should be a good little utility!
Could you make the slide on the bottom because I have short thumb
cybertron said:
yes, in html and such it is, maybe you could use \%20%\ as space , but I am just a webprogrammer, and not a very good one
Click to expand...
Click to collapse
Actually, in HTTP requests it's %20 w/o the percent sign at the end, and it simply means 0x20, which is hexadecimal 20 or decimal 32, which indeed is a space. I highly doubt that it would be useful in accessing the registry, though.
I don't see why a space doesn't work as just a space when accessing the registry. Perhaps escape it with a backslash (or two)?
Where to download?
Where to download?
Hi all,
@ruqqq (aka arctu, author of HelixLauncher) tweeted me a whole bunch of stuff this afternoon, and to be honest, this is 99% his credit, I only changed the required line in framework to help him test, so I get 1% . Anyway, @ruqqq did some searching online, and the one of most importance was this:
http://www.mail-archive.com/[email protected]/msg21135.html
After looking at the code, we simply uncommented the following line in ActivityThread.java:
Code:
//info.thumbnail = createThumbnailBitmap(r);
With it commented, it thumbnail will always be null, with it uncommented, well, we may be able to get actual thumbnails. @ruqqq then went on to write a quick (and ugly ) app to find out if thumbnails of running apps can be retrieved, and the result is, yes, it can be retrieved. The screenshot I posted only shows 2 apps cause of the lack of ScrollView, but I believe he's writing a better proof-of-concept as we speak, while I'm rushing to go out once I end this post (else the girlfriend's fury ).
Screenshot: http://twitpic.com/1w1p6t
New Screenshot (Still ugly ): http://twitpic.com/1w1v6k
So what's the point of this post? Nothing, really. It's just that the commented line has apparently been in there as early as 1.5, but it was always commented out. We removed the comment, and it actually does return thumbnails. With this, it means that if future ROMs are compiled with that line uncommented, it will be possible to actually write apps to emulate/simulate the cards system, possibly even on a system level (by overriding the recent applications dialog).
That's all .
@ruqqq's concept app source: http://github.com/ruqqq/ActivityThumbnailPrototype-Application
framework source: Come on, it's just a line .
Very interesting. Looking forward to seeing/hearing more! =)
yay! experimentation succeed.
just to add on:
the idea is that third-party developers can implement this in their apps without any breaking codes. the api has always been official. if thumbnail doesn't exist, it returns a null. so, a dev simply has to write a code that checks for this property and carry out 'instructions' based on the availability of the thumbnail.
implications:
what we learn is that the reason they disabled the code is to prevent wasteage of resource (CPU and Mem) as the thumbnail code runs everytime the onPause of an activity is performed. This means that enabling it may or may not cause slowness in the system. Conclusion? Need extensive testing.
wow this is great news looking forward to seeing cards like on web os
the wonders of Android!
Pretty cool stuff. Perhaps you can make it so only if the app is running is that variable on and generating thumbnails ? Regardless cant wait for what developers do with this, im sensing the app taskos with live thumbnails it already has the fling up to end task.
Also to prevent this from being rom specific, maybe you could compare the hexcodes of 2 framework-res.apk's one with uncommented and one without, that way it could be added to any existing rom ?
Daneshm90: This has to be baksmali/smali-ed in.. ^^
Cyanogen Please Put this in you next ROM! Android is just awesome! thanks for the post!
Daneshm90: This has to be baksmali/smali-ed in.. ^^
Click to expand...
Click to collapse
Is that even possible ? it doesnt have a classes.dex (Nvm, u have to push the classes.dex of framework.jar into framework-res and decompile)
can u give me a modded and unmodded framework-res ? just wanna do some digging
Wow this has great potential!
I agree is this became stable Activity closer and switcher in the format + ADW + cyan or any other great developer + froyo = greatness
The bitmap can be used to make rotation and other screen changes faster. Load the bitmap before you load the real screen. This could be very important.
lsim001 said:
The bitmap can be used to make rotation and other screen changes faster. Load the bitmap before you load the real screen. This could be very important.
Click to expand...
Click to collapse
Thats actually true. The iPhone OS takes a screenshot of each app on exit, and then when you open it again it displays that screenshot until the activity is fully loaded. Could be implemented as such on Android too, but would take a lot of back end work.
Also, theres one thing I'm worried about. Since it takes a screenie on every OnPause of the activity, how will you stop it from displaying a "card" for every activity of an application. I mean for instance my game has 3 activities, one for each the play surface, the start screen, and the score screen, wouldn't I see a "card" for each of those the way this is now?
Sounds like that was put in to future proof the OS.
At the time it was probably too gpu reliant, and they decided to forego it.
Hello!
Please excuse my ignorance, but I have a few questions.
I am the developper of TaskOS and this feature is what I'm looking for months in my application.
Si, if I understand well this topic, the linecode to add must be done by ROM's developpers, is it true?
I really would like to have a list of compatible ROM's or please tell me if I am totally misunderstanding what you say.
Profete162
Profete, I don't think that any ROMs have this yet because it has just been discovered.
Je crois qu'il n'y a pas de ROMs qui utilisent ce code car il vien d'etre decouvert
Hi all, by uncommenting the line, you can then simply refer to the official API (oddly), and all the methods will work instead of returning null (for thumbnails). Check it out here: http://developer.android.com/reference/android/app/ActivityManager.RunningTaskInfo.html
According to Fede (developer of LauncherPro), the thumbnail resolution is 84dip by 63dip .
profete162: As of now, I doubt any ROMs include this. Hit me up on Twitter @Wysie_Soh !
profete162 said:
Hello!
Please excuse my ignorance, but I have a few questions.
I am the developper of TaskOS and this feature is what I'm looking for months in my application.
Si, if I understand well this topic, the linecode to add must be done by ROM's developpers, is it true?
I really would like to have a list of compatible ROM's or please tell me if I am totally misunderstanding what you say.
Profete162
Click to expand...
Click to collapse
this is at discussion stage currently and the first post is just my prototype to show it works.
basically, the current plan is to improvise the code to:
1. higher resolution + optimization (perhaps: a bit sensitive issue)
2. orientation detection (discussed with Fede on twitter, it's quite simple)
3. incorporate in custom rom (e.g. cyanogenmod)
...if you're using CyanogenMod, get in touch with Wysie to get his framework or .. you can compile yourself to test it.
i don't have my N1 with me right now and hence can't develop this any further than now. *irritated*
Any further developments with this, guys?
gee
gee willickers!
Hello all,
I'm new here. First post. I hope someone can help me out, please.
I'm looking at a complex web page which has a section on one side which scrolls information in contrast to the main page area which remains static. When I touch the screen and move my finger, it just moves the entire page up, as though it is all one static image.
What setting do I need to change or what add-on do I need to download to allow it to see all the information in this scroll?
The website ends in ".jsp" if that helps...
All help is greatfully appreciated!
Recheck, if javascript is enabled in options(icon top right)>settings>advanced
Try changing UID ( from android to desktop), search for it there are many threads on it, with instructions!
If still vain, Can you share the webpage? Will try a workaround.
Though, I believe, it should show up fine! Without any modifications except for javascript enabled!
Thanks for the reply!
Javascript IS enabled. I didn't have to change it.
Try changing UID ( from android to desktop),
Click to expand...
Click to collapse
This instruction, I do not understand. I've looked for a setting but still unsure. Can you elaborate a little, please?
I'm sure there are other threads out there. I had a quick look on this website but saw nothing. I'm not sure what keywords to use to describe what's not happening for me. New to Android...
Unfortunately, I cannot show the website as it is work-related.
Well, here it goes,
type this in browser address bar:
about:debug
than hit go
new options appear in settings,
Choose debug> uastring> change to desktop
plus rendering normal and disable wide page display, in case it helps.
UID is user identifier> implemented by browsers for web servers to identify the incoming client browser as dektop or mobile device for some good odd reason! Perhaps, ah never mind.
Lastly, try firefox browser from app market if all fails.
I got the bit about Firefox but I'm afraid I couldn't follow the rest.
I typed about:debug and it did nothing I could see. The third time, it took me to some google search results.
I could see nothing in the settings about debug... but then I'm not sur wchich part of the settings you refer to.
I tried installing flash 10.3 but this made no difference.
Does anyone have any ideas on this please?
It isn't suppose to load anything, the page remains same. New "DEBUG" option appear in "settings". Just hit the top right-corner "option" button and go to "settings" than "debug" is that complex?
Type this
about:debug
press enter
go option>Settings than debug >than uastring> than choose desktop
Well that post isn't complex, but the first one was not spelt out clearly - that's why I asked for clarification.
For some reason, even though I did the above actions the first time, the debug option never appeared. Now this time it worked but either way, selecting desktop has not fixed the main problem as per first post.
Anyone with any other ideas, please let me know. Neither desktop nor flash 10.3 has fixed the problem!!
I cannot scroll down a sub-section on an otherwise fixed web page!
Wasn't spelt correctly? Strange! As both the posts appear same to me the only addition I did in former was add firefox option. Since I can't access the webpage, have no idea about the issue perhaps discussing with your company's IT advisor may help!
"spelt out" - it's a figure of speech. Not to worry...
Yes, the IT advisor is my next option but I've always found certain IT forums have been helpful with IT issues in the past so I thought I would try this one.
Have tried the following site on native android browser, honeycomb 3.1, and all panels scroll very well with touch swipe independently from the main web page. There's a scrolling marquee panel at lower right and its auto-scrolling as meant to. Is your tablet updated to honeycomb 3.1?
http://www.visionjinx.net/?load=http://www-128.ibm.com/developerworks/views/web/rss/libraryview.jsp
mughalgxt said:
Have tried the following site on native android browser, honeycomb 3.1, and all panels scroll very well with touch swipe independently from the main web page. There's a scrolling marquee panel at lower right and its auto-scrolling as meant to. Is your tablet updated to honeycomb 3.1?
http://www.visionjinx.net/?load=http://www-128.ibm.com/developerworks/views/web/rss/libraryview.jsp
Click to expand...
Click to collapse
Hi, I've also experienced problems with the built in Android safari based browser and also the Skyfire browser app when perusing this site that has a scrollable text box within the main page. There are days when the content in the scrollable box is large and scrollable. This will cause these two mentioned browsers on Android 3.1 to improperly display the page. (note: if you view it on a day when that list box has a short list of news items and is not scrollable, then the Android browser will display it without scrambling text over text all over the place).
I just checked the site today and it is in a state that will cause the bug.
http://www.tabletpcreview.com/
I downloaded then Opera browser app today and tried this page and it seems to display all the contents on the screen instead of presenting it in a scrollable list box. At least Opera is not over-laying the list contents text over the main page text though. Go try it and see.
Hope they will fix the Android browsers to decode all pages in future update.
try the touchwiz stock rom, the scrambled text or over-laying the list contents text over the main page issue, at the bottom of the page, is completely fixed in android browser owing to samsung's native tweaks!
mughalgxt said:
try the touchwiz stock rom, the scrambled text or over-laying the list contents text over the main page issue, at the bottom of the page, is completely fixed in android browser owing to samsung's native tweaks!
Click to expand...
Click to collapse
Hi mughalgxt, what is this [/B]touchwiz stock rom[/B] exactly? I have a Samsung Galaxy Tab 10.1 locked retail model which I have rooted and have already applied Pershoot's Overclock to 1.4Hhz kernel flash. The tablet is running fine as it except for the mentioned quirks.
Will overlaying this [/B]touchwiz stock rom[/B] directly on top of my already modified kernel and rooting mods upset anything?
Do you have a direct link you can provide here to get the exact version of this [/B]touchwiz stock rom[/B] that you recommended?
Edit Update: I just read a bit on that touchwiz stock rom modification and I does not seem perfect enough for me to risk messing up my tablet environment right now. I will wait for Samsung to release an official version for my Wi-Fi only tab 10.1.
Thank You!
[stock][eur]touchwiz rom, its directly from samsung, unmodded, on android development page posted by me! The browser displays the complex webpages unscrambled! The only notable issue is the UAstring! It tends to return to android mode from desktop on reboot! I have failed to note any notable speed boost from 1 to 1.4ghz overclocking more prone to freezes so far!Like to remain stock! If browser is your main priority than gotta try the stock rom and may revert back!
At the very least I found the png for the screen cap button that I can blank out, but I'd really love to remove the functionality that's running in the background.
Is the ScreenCaptureService.apk the only related file? Anyone try removing this?
(forum won't let me post under development, so I'm posting here)
gseseske said:
At the very least I found the png for the screen cap button that I can blank out, but I'd really love to remove the functionality that's running in the background.
Is the ScreenCaptureService.apk the only related file? Anyone try removing this?
(forum won't let me post under development, so I'm posting here)
Click to expand...
Click to collapse
Making the PNG transparent will look like the button is gone, but it will still be there when you tap that area. Removing screencaptureservice.apk will cause fcs when you tap the screenshot button, for me anyway.
Sent from my Galaxy Tab 10.1 via Tapatalk
Well I just removed the apk, and I'm not getting any visible fcs when I press it. The button still clicks, but nothing happens.
I guess the next question is...where do I look to try removing the actual button? Presumably a layout file somewere?
(If it isn't already apparent, I'm new at this. Experienced developer, but new to android.)
gseseske said:
Well I just removed the apk, and I'm not getting any visible fcs when I press it. The button still clicks, but nothing happens.
I guess the next question is...where do I look to try removing the actual button? Presumably a layout file somewere?
(If it isn't already apparent, I'm new at this. Experienced developer, but new to android.)
Click to expand...
Click to collapse
A a starting point: decompile the systemui.apk, check the smali/com/android/statusbar/tablet: MiniModeAppsPanel.smali et al.
No sources so its reverse engineering task.
PhantomHacker said:
Making the PNG transparent will look like the button is gone, but it will still be there when you tap that area. Removing screencaptureservice.apk will cause fcs when you tap the screenshot button, for me anyway.
Sent from my Galaxy Tab 10.1 via Tapatalk
Click to expand...
Click to collapse
Opps, mispost, sorry.
DocRambone said:
A a starting point: decompile the systemui.apk, check the smali/com/android/statusbar/tablet: MiniModeAppsPanel.smali et al.
No sources so its reverse engineering task.
Click to expand...
Click to collapse
Thanks for the direction. Found the code in smali\com\android\systemui\statusbar\tablet, but I think I'm in over my head in these files for the amount of time I have to commit to this. I'll mess with it a bit later today and see where I end up.
gseseske said:
Thanks for the direction. Found the code in smali\com\android\systemui\statusbar\tablet, but I think I'm in over my head in these files for the amount of time I have to commit to this. I'll mess with it a bit later today and see where I end up.
Click to expand...
Click to collapse
The screen capture references I was looking for are in TabletStatusBar.smali. The easiest thing to do would be to just add a 'return' at the top of the onclick handler for the button (in conjunction with blanking out the png)...but obviously the button would still be there. I'm think getting rid of it cleanly would be over my head, but if anyone else has any interest in picking up from here please post with your findings.
gseseske said:
The screen capture references I was looking for are in TabletStatusBar.smali. The easiest thing to do would be to just add a 'return' at the top of the onclick handler for the button (in conjunction with blanking out the png)...but obviously the button would still be there. I'm think getting rid of it cleanly would be over my head, but if anyone else has any interest in picking up from here please post with your findings.
Click to expand...
Click to collapse
hmm, i try it.
Getting errors in compiling after i try to change the smali
Why remove it? Lets remap it to a custom activity... The same can be done with the TW mini-app bar. Those can all be custom activities...
If you really want to remove the functionality, the quick and dirty would be to simply delete the ScreenCaptureService.apk from your system apps. Then make your icon transparent. Removing the blank space between the multitasking and menu (within apps) buttons may require a tiny bit of smali and/or XML layout tweaks.
ok i will try to explain as precise as possible
I made Android Kotlin app for learning chemical compounds. My app has a full UI where user can add his chem compounds( and they are stored in a file "compounds.txt" in the app's folder) and also app is kinda testing user by asking some questions. When you open that file "compounds.txt", it looks something like this:
Ethanol=C2H5OH
Methanol=CH3OH
Hydrogen Peroxide=H2O2
Baking Soda=NaHCO3
etc...
So... I made all this, and it works and is ok.
What I would like now?
I would like to make a home screen widget which will be like a "random test" (or "random reminder") for a user when he is not even using my app.
Example: I add my widget on my home screen next to a clock...My widget is sitting there on home screen... and I am like... I take my phone.. I make a phone call... finish the call.. and then i see on my widget written "H2SO4"..
If I know what is a H2SO4.. then cool.. I dont do anything... i just continue my life...
But... if i cant remember what is H2SO4 i would just like to click the button on my widget (or not even a button. I can click directly TextView field) and then instead of "H2SO4" will be written "Sulfuric acid"
But... I would not like when I click button on my widget, that appears main UI of my app. Simple click on a widget should just toggle text between "H2SO4" and "Sulfuric acid"
Now... the question is... How to do this?
If i have 2 KT files MainActivity.kt and Widget.kt, and if i am able somehow with Widget.kt to load file "compounds.txt" then excellent. That would be the easiest way i think. Just load file... Split lines... and every 30 min..just change the text on widget...
But... If widget.kt can't load "compounds.txt" then what would be the next best solution for me?
I am very sorry for my long text. English is not my native language, so it is difficult for me to express myself