[Q] Samsung 357 [email protected] java installs locked - General Questions and Answers

Welcome, i got that phone, Samsung 357, and codes like this doesn't work, *#8999*8378# Test Menu,
it's changing after second "*" numbers into "-", so i can't execute it, java code menu also not working.
I need to unlock java.
This code *#7465625# showing every locks is off. CSC is S3570OXAMF1
Is there simple solution? I want to unlock java so i can install java apps like nescube or others, Regards.

Related

Entering password with one hand

Hi, my company uses GoodLink for corporate e-mail, and they require I enter a password whenever my device is unused for 30 minutes. The password has to be 6 digits with alpha and numeric. Since my Hermes doesn't have keys, it's very dangerous to try to do this while driving. Can you give me some suggestions for making this easier (without hacking the password out completely)?
I'm looking into: SIP that allows me to create a custom keypad with just a few keys (letters and numbers) or SIP that will play macros.
Please give me your suggestions! Thanks.
You could use MortScript. Write a script that opens the required program & then inputs the required password ect & map this script to a shortcut or a button.
Plenty of info on MortScript if you do a search, we have a script collection in the Development forum.
I think PQz (PQz key code sender, PQzII keyboard helper) might be another option. Have not used them myself so not sure what they are capable of.

Programming/Development question

I hope this doesn't get lost in the sea of other questions.
Im working on a little program for my Visual Basic 08 class. Im going a bit further with it and making a windows mobile version of it. (currently using the WinMo 5 SDK) The program works fine in the windows platform, however when i copied the code over to the WinMo version, there was a few issues with the code. Most of it i manage to find the new syntax for and get it working on the WinMo emulator, however there is one problem that persists. TabControl.focus. This function does not seem to work in the WinMo development. Any Code i input that looks for what tab has focus, is ignored, like it doesn't know to look for the focus. Here is what im trying to do.
I have a program, with 2 tabs, and one button. I need that one button to execute two separate code blocks, depending on which tab is active. However i cannot get it to recognize, or do not know the proper function to get it to see which tab has focus, and execute the proper code accordingly.
Now, the simple fix for this would to just make another button, and place one each inside the tab, but i wanted to avoid that for as much as possible, and since it workers fine on the windows end, i know there has to be a way to get it working on the winmo end. By the way, im doing this in VB because im learning VB for a class, and the more coding practice i get the better ill do in class. Im sure there is a better way to do this in C# or whatever else.
Anyone know the workaround for this?
Im currently using Visual Studio 2008 Pro with the WinMo 5.0 SDK.
Your two tab pages are already part of a tabcontrol object. Use that to find the active tab with its property tabControl1.SelectedIndex This will return a zero based index integer for each tab paged attached to it. The object names used here are the default ones created by the IDE
Sorry, I only code in c#, but the VB code will be almost identical.
In the code for the button click event -
if(tabControl1.SelectedIndex == 0)
{
// tabPage1 active
}
else
{
// tabpage2 active
}
c sharp's double equals is the same as VB's single equals, in the sense that it means 'is equal to'.
There is not "active" property in vb (atleast not in vb mobile code) so that doesnt work
Im somewhat fimiular with c++, so i can atleaast understand the code when you put it in C format, but i have a bit of trouble converting C code to vb format. In this case, in normal (non-mobile) the .focus would be enough to make it work...
Here is what i tryed to make work..
Code:
'Changes what the "Roll" button does depending on which program tab is selected.
Select Case True
Case xTabPageCombatRoll.Focus
Call RollCombat()
Case xTabPageRandomRoll.Focus
Call RollRandom()
Case Else
MessageBox.Show("The Tab Control code didnt work")
End Select
both tab pages are part of xTabPageCombatRoll object
I'd suggest asking Development questions in the Dev&Hack section.
(yes, new rules)
Here's the screen shot and the c# application to go with it. Its in VS2005 but VS2008 will open it and convert the solution and project files to 2008 format. Once that happens VS2005 will not be able to open it.
The lines starting // in the code in the previous post above are comments. Same as VB's ;
thanks steph, i have 2005 installed along with 2008 so i just ran 05 . That code does work. But i still cant find anyway to translate that into VB (as .SelectedIndex is not valid in VB code)
ugh.. the more i work with VB the more i like C based code. But im in a VB class so im trying to keep doing stuff in VB so i can pass the class.
SelectedIndex is a property of the TabControl, a .NET framework object It does not matter which language you use to access it. VB, C#, C++, take your pick .
To prove the point here is the same project in VB. I had had to do this on another machine, as I only have C++ and C# installed on this one.
It only had the WM 2003 SDK on it. If your machine has the .NET CF 2.0 the .EXE should work, if you drop it on your device.
Another trick is to use Red Gate's .NET Reflector. If you point it at the original exe generated by the C# project in the previous post above, it decompiles it in C# as
Code:
private void button1_Click(object sender, EventArgs e)
{
switch (this.tabControl1.SelectedIndex)
{
case 0:
this.label1.Text = "Page1 is active";
break;
case 1:
this.label1.Text = "Page2 is active";
break;
}
}
If you decompile it as VB instead you get :
Code:
Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs)
Select Case Me.tabControl1.SelectedIndex
Case 0
Me.label1.Text = "Page1 is active"
Exit Select
Case 1
Me.label1.Text = "Page2 is active"
Exit Select
End Select
End Sub
Ahh..
I got it to work now.. My problem was i wasnt specificly using Case 0 and Case 1, but instead using Case Tabpage1, and Case Tabpage2, which wasn't working.
Thank you VERRRY much.. The program is working like it should now and it makes me verry happy

[Q] Open a Programm twice parallel?

Hi everybody,
is it possible to open a programm twice parallel? I want to open the coreplayer twice, one time for music and another time for audiobook. Is that possible?
thx, mic
It's probably not too hard to write a script for it.
trying talking to either vijay or oldsap.
Depends on the code in the program itself. In the shell code created by Embedded C++ in the InitInstance function there is the following code:
Code:
hWnd = FindWindow(szWindowClass, NULL);
if (hWnd)
{
// set focus to foremost child window
// The "| 0x01" is used to bring any owned windows to the foreground and
// activate them.
SetForegroundWindow((HWND)((ULONG) hWnd | 0x00000001));
return 0;
}
In other words when the application starts, it looks for another active process with the same name as itself. If it finds one, it activates it, then kills itself.
thx for try to help me - that means it is not possible?
The original PPC programming guidelines by Microsoft stipulated that only one copy of a program should be running at any one time. In later versions of Windows CE/PPC a lot more processes are allowed to run simultaneously. They may have changed their tune over this since. Try and launch it twice, then go to Settings->System->Memory and see if there is more than one copy in Running Programs. If there is only one, then I'm afraid the answer is no.
P.S. If you create a Windows Mobile Win32 program in C++ under Visual Studio 2008, it still has the process checking code in it by default.

[Q] Samsung Focus Inter-Op Question, XAP compatibility

**NOOB ALERT**
This is my first post, however this is following 2 days of scouring the forums and trying about a million things so please bear with me.
First my phone info:
Samsung Focus
AT&T
Rev 1.3
OS: 7.10.7720.68 (Mango)
Developer Unlocked Using Official Chevron Token
I am trying to get any of these 3 XAP's to work: Advance Config. OR Accent Changer OR Custom Theme
(Yes I payed $9 to make my dumb squares grey as opposed to the hipster vomit rainbow on offer)
I realize that my device needs to be Interop-Unlocked for these to function, I followed the directions in the Easy Samsung Method, that bundles the unlock with the 3G repair, I then tried the manual heathcliff method (the long stickied post), i then found (through the focus specific board), the Provxml where you hold down on interop unlock and internet sharing to execute thos XML's.
I think, regardless of method, that I am indeed unlocked as WP7 root tools works just fine, However Advanced Config. launches for about 3-4 seconds and then quits, Custom them shows a clock then immediatly closes, and Accent Changer, spits out 4 error messages in a row then closes.
Has anyone encountered this problem? Is there a way to verify I am interop unlocked?
Whats most frustrating is the image on the accent changer post is on a samsung focus!
I have followed the steps to their most minute detail and am stuck. Other XAP's I've downloaded that don't require interopUnlock are crashing after a launch as well, however screen capture, root tools, wario's jewels, and the sharp snes port work great.
The latest Advanced Configuration tools (1.5) work's. Must be an app to app compatibilty issue.
Interop
I also have a Mango Focus and have successfully ChevronWP7 unlocked and interop unlocked and have been able to install and use the Advanced Configuration Tools 1.5, Registry Editor, Screen Capturer, and many other Xaps. Don't know what your problem could be but wanted you to know it can work.
I am having the same issues... some XAP's work, and the majority don't.
Phone information:
Samsung Focus
AT&T
OS - 7.10.7720.68
FW - 2103.11.8.1
HW - 3.1.0.7
BL - 5.8.0.2
If there is a solution, please keep me posted too!!

Adding a screenshot feature in Android 2.3

Hi; hopefully I'm posting this question in the right subforum. I'm sorry if that's not so.
I'm adding a screenshot feature to Android 2.3 for a given device. The goal is to have something similar to what the Galaxy Note does: take a screenshot from anywhere in the phone by pressing a couple of keys, and then start an image editor to edit the screenshot.
I've been using the Android Screenshot Library for this, although I've had to rewrite a few parts because it wasn't working as it should have. So far, my project has the following parts:
1) A native daemon running as root, which captures the framebuffer and saves it into an image.
2) An Android Service that apps can bind to in order to take screenshots.
3) An app that works as an image editor.
All of these parts are already working. My problem now is that I'm not really sure how to integrate this into Android.
The daemon and the editor are easy: both can be integrated either in source code or as prebuilt binaries/packages into the Android source and then generate a system image, and modifying init.rc to start the daemon at boot. But I can't figure out how to integrate my service.
I need to be able to capture a screenshot from anywhere, and that means being able to catch key presses system wide. I've been looking into the Android source code for the component that takes care of this, but I'm at a loss. I need to bind the service somewhere, and then I need to be able to catch the keys and access the service from anywhere.
I'm not even sure whether I'm using the right approach for this or not. As far as I know, key presses can only be caught from activities, so it's not as easy as having a service running indefinitely in the background that can catch key presses. My guess is that I have to modify something in the Android framework but I'm not sure what.
So, my questions are the following:
1) How can I catch key presses system-wide? What do I have to modify in the Android source code in order to catch my desired key press combo whenever I want?
2) What would be the best place to place my service? Is there such a thing as a "system-wide app" that my service can be added to?
3) Is my approach even possible at all?
Thank you in advance for any replies.
bump
I'd really appreciate any clues or maybe some pointers about how the Galaxy Note or Android 4.0 do this.

Categories

Resources