Samsung Mobile SDK / G-Sensor and VB.Net - Windows Mobile Development and Hacking General

As you know, Samsung has released a SDK for mobile phones (search Samsung Mobile Innovator on your prefered search engine).
I wrote a VB.Net class using this SDK.
I find Samsung API it is better than HTCEmu because each position goes from -1 to 1, and does not need any specific DLL.
Just have a look and tell me what you think about it.
Public Properties :
- X, Y and Z : coordinates of the vector (it was easier for my need than the vector itself => i should add a vector property)
- EventEnable : if you set it to true, an event "Refresh" will be sent every 200ms
PS : first line "Imports System.Runtime.InteropServices" is useless but I forgot to delete it.

I'll give it a go and let you know
Thanks

how about it, is everyone think Samsung will be faster than before with it?

elfii said:
how about it, is everyone think Samsung will be faster than before with it?
Click to expand...
Click to collapse
I do not think it is faster.

Hey i need some help
hey Every body....!! Any body knows which Samsung Mobile Phones are best for using office and for home... which have a long bettery time....
Thx in advance...

Can anyone write a tutorial on how to use this?

What is the question ?
you shall import acceleromtre.vb in your visual studio project. (Samsung SDK has to be installed before)
you shall declare "Dim aaaaa as new Accelerometre"
and then to have coordinates you can use aaaa.X, aaaa.Y, and aaaa.z

OK, so how would I write a simple code to detect that the omnia was tilted slightly to the left. Can you provide a sample for that?

Yeah so I DIM the thing and did what you said.
I got this: aaaa.Accelerometre.SmiAccelerometerGetVector
So in order for me to do some work, I will need to put code in like this:
If aaaa.Accelerometre.SmiAccelerometerGetVector.x = aaaa.Accelerometre.SmiAccelerometerGetVector.x -1 then
PUT ACTIONS HERE.
Does that sound right?

I'm sorry but it looks wrong.
- You have to use aaaaaaa.X, not aaaaa.accelero.smistufff.X
- in your exampe (if a.X = a.X -1), your condition will never be true (the condition (a.X=a.X) is always true but is not really interesting !
- you should use a list of values (for example, you record the value each 200ms) and compare them in order to detect the device has been tilted.

Ah! I see. Thanks.

I think you will have to try different values in order to find the best values to confirm a tilt.

Yeah I figured. It stinks that I have to compile the software over and over and install it on my WM pda just to test it.
Oh well.
Thanks again.

forum.xda-developers.com/showthread.php?t=497514
forum.xda-developers.com/showthread.php?t=497514

Related

Free T9 like dialer Program

03/09/2004
ExtendedPhone has gone Cemercial.
You can download a trial version from the leading PPC software sites.
There is still an old free version on page 4 in this thread but keep in mind that this is an old version and there and will be are many improovements in the comercial one.
I have developed a T9 like dialer using .NETCF.
(That means you need Pocket 2003 ,or Pocket 2002 with .NETCF SDF installed)
The dialer works very nicely on my device.
I plan to extend the features but first i need some feedback from you people.
They both work fine on my SX56. (May be the XDA II needs the ARMV4.)
If you have other processors i'll upload the appropriate files by request.
Any feedback or suggestion is welcome.
P.S For now it works only on Latin Alphabet
Anyone?
Whats the matter people .
No one is coming in here.
May be this is not the right forum to release a new software?
I'm interested, but was waiting for someone else to try it first! (You could be anybody releasing a virus or something )
Have you mapped the green 'Answer' button to your program like PhonePlus2 does?
Not yet
The software is still in alpha stage.
I just need some feedback on what i did so far.
(search algorithm, performance bugs etc...)
PhonePlus2 is a commercial software and has been around for a while.
I don't have the time to work full time so go easy on me.
i installed it & it says could not read service provider, getservice bla bla, so looks like its not made for us, what could be the prob;em?
Xda I
Rom: 4.05
Radio 4.01
wm 2003
Tried it on my SPV M1000, WM 2003, ROM 1.72.
Works, but, as you said, it's definitely in its alpha phase. Here are my initial thoughts:
- not very responsive, slow.
- no possibility to scroll through contacts if more than 3 options are available.
- same very mediocre (I'd say ugly, but it's a matter of taste) design, from the interface to the buttons.
- Operater doesn't show up
- What's with the 'Cool Stuff'?
Anyway, thanks for your efforts. Will definitely stay tuned on the developments.
- not very responsive, slow.
Click to expand...
Click to collapse
is that not just the bane of .net ?
First of all thanks for the feedback.
i installed it & it says could not read service provider, getservice bla bla, so looks like its not made for us, what could be the prob;em?
Click to expand...
Click to collapse
I have uploaded a version without the "Service Provider" although it works on my sx56.
Works, but, as you said, it's definitely in its alpha phase. Here are my initial thoughts:
- not very responsive, slow.
- no possibility to scroll through contacts if more than 3 options are available.
- same very mediocre (I'd say ugly, but it's a matter of taste) design, from the interface to the buttons.
- Operater doesn't show up
- What's with the 'Cool Stuff'?
Click to expand...
Click to collapse
As for the design I'll support skins later.
If you have more than three contats starting with the same Letter then press another button and if still have more yet another,
I could add another one or two options for contacts but then you could say why 5 , why not more?
Cool stuff is just a logo.
As for the speed i'm trying to optimize and i think this version is a little less slow (you are right Rudegar) but untill the next release of .NET CF the one we have bundled with windows is no match for NATIVE code hence the slow startup.
There is a newer version (1.1BETA) on later post.
its working good you first need to work on the speed then on the interface & would be grate if you link it to the messages since we can use it as a keyboard layout also, sorry i don't have much time to write a full description but i will do that tomorrow
since you are a programmer why don't you develop a sw for sending scheduled sms's, i would defenatly be intrested & make no mistake such sw has never been made for PPC yet so make & sell it
new dialer
looks great but is very slow it would be great if it was faster also could you add on some thing to make it easier to send sms,s when you are busy.
well done keep up the good work
regards kevin :lol:
new dialer
looks great but is very slow it would be great if it was faster also could you add on some thing to make it easier to send sms,s when you are busy.
well done keep up the good work
regards kevin :lol:
Thanks guys .
I'm working on the speed problem but for now all solutions make the size a lot biger with not much improvement.
As i see there are two problems:
1 Loading time:Loading time is a bit of a problem in .NET (because of it's nature)
I'm trying different techniques but with no significant improvement.
So in the mean time just minimize the program and don't close it.
2 The first letter of the contact:
I'm working on that and i'm geting somewhere.
As for the SMS i'll have to resolve the speed problem first but i'm thinking about it.
Stay tuned
elir,
Found some issue.
- USSD code not supported. E.g. press **21*xxxxxxxxxx# to make call forwarding but it's not support in your software.
- Only 3 slots in the searching result. Maybe I have 10 contacts match the result but fail to show the 4th to 10th
- Unable to enter "+" to dial a IDD call.
Cheers,
Paul
Source code?
Elir, what about releasing this piece of nice work under any open source licence? I'm a developer in .NET for 4 years, so maybe I can help you.
Is it in C# or VB.NET?
Suggestion for faster searching:
What about creating tree from Contacts in memory on the start of program? If my assumption your dialer searches in Contacts directly is right...
Found some issue.
- USSD code not supported. E.g. press **21*xxxxxxxxxx# to make call forwarding but it's not support in your software.
- Only 3 slots in the searching result. Maybe I have 10 contacts match the result but fail to show the 4th to 10th
- Unable to enter "+" to dial a IDD call.
Click to expand...
Click to collapse
I'm working on international and ussd calls but as i said before want to resolve the speed issue first.
As for contacts slots , the whole point for an application like this is dialing one handed when bussy(driving etc...) , so adding slots will not help on that.
The only problem i see with this design is when you have more than three contacts with exactly the same first name.
This can be solved by adding search by last name but again i'm having speed problems as it is.
Elir, what about releasing this piece of nice work under any open source licence? I'm a developer in .NET for 4 years, so maybe I can help you.
Is it in C# or VB.NET?
Suggestion for faster searching:
What about creating tree from Contacts in memory on the start of program? If my assumption your dialer searches in Contacts directly is right...
Click to expand...
Click to collapse
I don't know yet about open source but i can tell you thats written in c# with a lot of native code (.NET CF lacks all the phone and outlook functions)
Thanks for the suggestion but If i copy the entire phonebook to memory at startup :
It will add another 2 seconds (and i have only 180 contacts) and it is slow as it is.
It will allocate a big chunk of memory and as you probably know we don't have a lot of it.
More than that if you add or change a contact you'll have to restart the program for it to appear.
How about bugs?
Nobody has reported any.
What do you not know about open source?
Or you mean, that you are thinking about releasing final version as commercial software? Com'on man...
In C#? Nice one brother...
Hm... In my QTek 2020 is about 80MB of free memory, so what is problem? :wink:
About refresh of tree: Isn't possible to add some event handler on changes at Contacts database?
Bugs will follow very soon...
Hm... In my QTek 2020 is about 80MB of free memory, so what is problem?
Click to expand...
Click to collapse
Most of us have XDA I so the memory problem is real.
About refresh of tree: Isn't possible to add some event handler on changes at Contacts database?
Click to expand...
Click to collapse
As far as i know (and i have done some research) that is not possible.
Re-write in in C++ (or even with MFC) for much better speed. .NET sucks ass on a PC let alone a poor ikkle PPC!
New version
Hi all!
New version 1.0.3
Fixes:
1 International dialing
2 Now you can use pound key just for #
3 Less slower (at least in my xda)
Added a module to send SMS .
A little clumsy but .... .
I didn't check the Sms module thoroughly but for some reason it doesn't dial international numbers ( i think is the "+")
PS The sequence of characters can be changed( for now i just went by the abc)
There is a newer version (1.1BETA) on later post.
SMS
I found out that numbers begining with "+" cannot be used to send SMS.
I'll fix this bug tomorrow so wait for the next version.
Any suggestions for my qwerty keyboard are welcome.
Has anyone noticed a speed increase?

Yet Another CellID Application

yes, but based on a flexible set of methods
-Using RIL (GSMTestMode)
-Using RIL_GetCellTower
-Using RIL Notifications
-Using RIL (fieldtest) -> reply structure has to be found
-Using offset method (few structures included)
-Using COM port
The project is based on:
-cellguardian.dll and cellguardian.xml : How to get CELLID on devices
-cell2latlon.dll and cellDb.xml : Calculate lat/lon using CELLID
-gsmcelluloz.exe : the main exe
-gsmcellulozCF.exe : the same, as PoC, in CF, but very simple
http://usuc.dyndns.org/tv/gsm/gsmcelluloz/
DEBUG mode creates a lot of log in \Temp
The device method configuration is in a file called "cellGuardian.xml"
Offset version works only with the "ALL" parameter (I don't know what defines the offset, which component version?)
Many things should be incomplete (like documentations )
Here is a google map (result from logging) made using a GSMTestode compatible device:
http://usuc.dyndns.org/tv/gsm/releve_poly.php
I'll write a quick documentation on how using cellguardian.dll (the brain from the cellid-getting), and cellguardian.xml.
I'm also working in antenna position interpolation but it's an harder process... (for now the cell2latlon works but uses a very simple barycentric algorithm)
Sample walk:
http://usuc.dyndns.org/tv/gsm/testParcours.php
Have fun, I hope to have some fieldtest compatible device log in order to decrypt the structure
If your device is still not working... Tell me!
The source will be released as soon as the modaco challenge will be finished (I hope to win a device with cellguardian.dll... or a sticker )
Did not work for me Tornado with Crossbow-Rom, i think you may ask maniac for the Offsets, he created CellProfileSwitcher, an very useful SmartPhoneTool with a huge list of compatible devices.
In Combination with your Tool it may be useful to create my own "CellMap", to see my Homezone or some other kind of zones, switched by CPS,yea.
But the Screenshots looks nice,...
Thank your for another nice way to waste my time with my lovely Phone,hehe...but i need the offsets...dont know how...
Have you tried "Find offset" in the 8FFB0000-8FFC0000 range?
8FDC0000-8FDD0000
8F1D0000-8F1E0000
8A3B0000-8A3C0000
8A4B0000-8A4C0000
8C0D0000-8C0E0000
Are other possible ranges.
The result will be contained in a file located on \Temp
Possible structures (if you define your configuration in cellguardian.xml)
TORNADO
TYPHOON
IPAQ
MPX220
WIZARD
Offset method will be activated once you'll have removed other options (COMPORT...) from the config file.
Remember that as long as I don't know what defines the offset, the only version that works is "ALL". This field will be used once I'll be quite sure the component version defines really the offset.
I hope to improve it, but also to let a chance to the user to configure it by himself.
Quick help page
I made a quick help page to help ppl finding the offset until I find some cleaner way to find it...
http://usuc.dyndns.org/tv/gsm/help/
After this, just modify \Program Files\cellguardian.xml
and replace
<device name="HTC Tornado">
<OEMID>Qtek 8310</OEMID>
<method type="RILHTC1"></method>
<method type="RILTOWER"></method>
<method type="COMPORT"><port>COM9:</port></method>
</device>
Click to expand...
Click to collapse
by
<device name="HTC Tornado">
<OEMID>Qtek 8310</OEMID>
<method type="OFFSET">
<offset version="ALL" structure="TORNADO">YOUROFFSET</offset>
</method>
</device>
Click to expand...
Click to collapse
Where YOUROFFSET is the offset you found (try the adresse ranges I suggested above)
Let me be your tester
Hello!
I have found your excellent project and I am going to test it and share with you results. My phone is smartphone - HTC S310 (know also as HTC Oxygene, SPV C100).
When I am launching the application I get error:
Cannot load \Program Files\GSMCelluloz\CellGuardian.dll:0x7e126
Is your app suitable for smartphones? I have downloaded the
GSMCelluloz_SP5_R.CAB.
Maybe I should use:
GSMCelluloz_WM5_R.CAB?
What offsets sould I put to test my phone and which method?
Best greetings and congratulations for your job!
RA
Solved
abramq said:
When I am launching the application I get error:
Cannot load \Program Files\GSMCelluloz\CellGuardian.dll:0x7e126
Click to expand...
Click to collapse
Hi again!
The problem was because I've installed app on card, not on device memory.
Cell searching works excellent, on my phone works GSMTestMode method (I am going to find out the differences between methods, but don't know where).
By the way - user interface for smartphone (non-touch display) looks like not fnished - 'backspace' keys doesn't work and it is difficult to leave edit mode too.
Will test it more and make some enhancement
Best greetings and please keep working
JA
P.S.
What Compact Framework needs the CellulozCF? I have the 2.0 and the app doesn't work (I get the unexpected error: Microsoft.AGI.CommonMISC.HandleAr() in System.Windows.Forms.Control._InitInstance.
I think the best cell id application from all times ever would be that which can change phone profile depending from location. I saw someone here is trying to do it, but will not be free, so no use. An app like that will eclipse all other... it will be like the next step in mobile evolution. Probably japanese already have it.
You are outDated...this idea is really old...lookat maniacs Homepage;
Maniacs SmartPhoneTools
...but for now not useable on devices without TiOmapProcessor
But PhoneAlarm by PocketMax supports different [email protected],too.. but cost money and hard to configure,no learningfunction,no neighbourcells and you have to add every Cell one by one...
but youre right,too; Actions by Locations are always missed in Apps with Notifications or ProfileChangingFunction.

[Q][Help] Need code for editing and saving file in VB.NET

Hay,
i'm trying to develop a program, in VB.NET. i call it wDiary stands for Workout Diary.
The purpose is to let the user choose 4 (or more) sports to save progess/daynotes of, and to view the txtfiles, like a dayly diary in a calendar.
i have comed to that part where i'm want to save a file in a spesific directory.
like save:
"Jogging - " + date".txt in %MyDocuments%\wDiary\Jogging\
print textbox1.text in line one and so on
like the this code
Code:
FileOpen(1, My.Application.Info.DirectoryPath & "\Jogging - "+date".txt", OpenMode.Output)
PrintLine(1, TextBox2.Text)
PrintLine(2, TextBox3.Text)
FileClose(1)
But thats a code i used for an Windows app. I want the same function for my Touch pro (WinCE 6.1) :/
Fraction
Reserved..
Just a quick one, and I understand English might not be your first language but a Dairy is where they bottle milk, and make other dairy produce like cheese and cream.
I think your app should have been called wDiary - as in a diary of events
I'm not taking the mick here, just offering a bit of help As for the file editing, what language are you doing it in? C++.net, C#.net, VB.net?
If it's vb.net you're using - this site has some decent basic file routines (checking if it exists, adding text, appending, closing etc)
Hope this helps
Doing a quick search, it points out to be VB.net indeed. Try stating which language you use next time.
The link in the above post should give you sufficient info.
FrederickUK said:
Just a quick one, and I understand English might not be your first language but a Dairy is where they bottle milk, and make other dairy produce like cheese and cream.
I think your app should have been called wDiary - as in a diary of events
I'm not taking the mick here, just offering a bit of help As for the file editing, what language are you doing it in? C++.net, C#.net, VB.net?
If it's vb.net you're using - this site has some decent basic file routines (checking if it exists, adding text, appending, closing etc)
Hope this helps
Click to expand...
Click to collapse
****, now i'm embarrassed. no, english is not my primar language. hehe.
Visual basic.net
EVILRipper said:
Doing a quick search, it points out to be VB.net indeed. Try stating which language you use next time.
The link in the above post should give you sufficient info.
Click to expand...
Click to collapse
i have edit the topic, and the first post. thanx, i forgot.
Fraction
You should be able to use the standard System.IO.StreamReader and System.IO.StreamWriter Functions. I can code this in c# if you can translate to VB.net.
Change of direction
Actually let me make another suggestion. Sometimes when writing a small app to collect data I use a very lazy yet very usefull feature of .net DataSets.
I databind the controls to the dataset by dropping the dataset on the form and assiging the bindings via autogenerated bindinsource component. All I do now to read and save are the following lines of code
Read:
Code:
dataSet1.ReadXml("mydb.xml");
Write
Code:
dataSet1.WriteXml("mydb.xl", XmlWriteMode.WriteSchema);
It might not be pretty but it does the trick. Also less code and no need for parsing XML
yes please
cornelha said:
You should be able to use the standard System.IO.StreamReader and System.IO.StreamWriter Functions. I can code this in c# if you can translate to VB.net.
Click to expand...
Click to collapse
Yes, please
I have one more thing, if sombody can help. the Design seems perfectly in Visual basic. put when i deploy it to the emulator it looks smal and rubbish. the buttons (png.files) gets streched in width and pressed in the height. so, how can i design in 480x640 (VGA) for my Touch pro :/
I've set my emulator settings to USA WM 6.1 Classic and it works fine when deployed to my touch pro. If your screen resolution is fairly high (I use 1280x1024) you could use USA WM 6.1 VGA but it filled my entire screen. You might have better luck if you use 1600x1280 or whatever (or run multi-monitor)
Hope this helps
FrederickUK said:
I've set my emulator settings to USA WM 6.1 Classic and it works fine when deployed to my touch pro. If your screen resolution is fairly high (I use 1280x1024) you could use USA WM 6.1 VGA but it filled my entire screen. You might have better luck if you use 1600x1280 or whatever (or run multi-monitor)
Hope this helps
Click to expand...
Click to collapse
i Also use 1280x1024, and i (usa?)VM 6.1 profesional.
and yes it it fills my hole screen ;P

Developing Auto-DisableRefresh-When-Dragging App [New Video Added]

I know some people have already discussed this in the noRefresh App thread.
But I got a new idea
I don't wanna create a module and embed that to applications
Instead, I created a new Input Device in the kernel
After that, I set the device ( dev/input/event3 ) permission to allow read / write for others.
Then, write an app using JNI to catch the Input Device and set the mode of refreshing.
The prototype proved that this idea works, as i worked out it already, but not very perfect, still in experiment
I am just in some problems of threading, as I am not a professional programmer
This is wt i have now:
http://www.youtube.com/watch?v=GkFyvRR6In8
NEW!! : http://www.youtube.com/watch?v=cucG03rg3tg
I know that my method is a bit dirty,
but at least it works XD
I hope that someone would like to help
Upload those code soon
By the way, why can't i change content of init.rc ?
It removes my changes after reboot..... How to solve?
wheilitjohnny said:
By the way, why can't i change content of init.rc ?
It removes my changes after reboot..... How to solve?
Click to expand...
Click to collapse
You need to modify uRamdisk to change init.rc.
Would you like to tell me how to unpack the uRamdisk? I use both Windows and Ubuntu, any methods on these two platform is ok. Thanks!
Try the script from this post http://forum.xda-developers.com/showpost.php?p=24135886&postcount=72
This is simply amazing. Since you already have it working, polishing it shouldn't take too long (I think, I'm still a beginner programmer).
I don't think /dev/input is a good place to park that.
There are any number of things that could show up there and affect order.
Why not put it in its own directory?
Maybe I'm missing something, but if we use your method you still expect applications to have to be modified to read/write from event3 to control display mode?
As it is now, you only need a single function call to switch display modes. Yes, there is a little bit of housework to do before that, but what could be simpler than a single function?
I think no place else is more suitable than /dev/input.
As /dev/input is the linux kernel's input system.
In the driver, I would only use the input report system but not use the I/O system.
Maybe even setup a input/event searching function to solve the problem later.
The case now is that, the touch screen originally just provide event2,
but if we need to extract move and fingerup information on upper level, it may waste some time.
In order to make the whole algorithm easier and faster, I added 1 more event in the zForce driver,
to only output FingerMove and FingerUp state.
As the reporting system is starting from the kernel, this hack would need to change uImage + uRamdisk + Add an App. The project is quite huge.
My final target is to make the application remembering your choice on what mode u need for the focusing application.
AlwaysOn / OnlyWhenDragging / AlwaysOff, so on.
Of coz the click-to-call function still work.
Isn't it a better workflow and more intuitive, isn't it the thing that we would expect?
I already have an dev/input/event3 on my system and sometimes event4, 5, 6.
That's why I don't think that whatever it is you are doing belongs there.
Is the point to allow coders for user applications to interface with your driver?
Is this supposed to work without modifying user applications?
What information would be going in/out of event3?
Clearly I am missing something here.
Actually not necessary to be event3, the system will auto-ly create a new eventx, just in normal case, without any extra USB devices, a nook should only have up to event2. So, I use event3 as an example here.
We can later make the program auto-ly search back which is the needed eventx.
Yes, u r right, we no need to modify any other applications and this is exactly the point y i am creating this!
Anyone know how to call a FullScreen Refresh in a service?
always on?
Look really great. Since blinking after scrolling is incomfortable is it possible to have also "always on " mode using your new ideas?
My final target is to make the application remembering your choice on what mode u need for the focusing application.
AlwaysOn / OnlyWhenDragging / AlwaysOff, so on.
Of coz the click-to-call function still work.
Also an Over-Ride mode, for more flexible using.
But the most basic part need to be handled well now, as it is not very perfect now.
I still don't figure out how to call the e-ink driver to refresh the screen =-=
wheilitjohnny said:
I still don't figure out how to call the e-ink driver to refresh the screen =-=
Click to expand...
Click to collapse
Have you tried
Code:
echo 1 > /sys/class/graphics/fb0/epd_refresh
?
wheilitjohnny said:
Yes, u r right, we no need to modify any other applications and this is exactly the point y i am creating this!
Click to expand...
Click to collapse
Are you saying that your idea does not require modifying user applications?
If it doesn't, then there is no need to have a public interface.
It will be only your code talking to your code.
What is the point of this /dev/input/event3? You say that it will be writable. What's going in and out?
Some apps will be using gestures, some dragging. How are you going to keep track of that all?
I have one application that works perfectly fine now, one activity uses swipe gestures to page up/down while another activity uses drag with a user choice of A2 and display while dragging or else only panning at ACTION_UP.
All this requires less than 10 lines of code.
With multitouch, many applications don't even need A2. Even normal panning in Opera Mobile works much better now that Opera doesn't try to display while panning.
Maybe my english is too bad, cannot express the idea well.
I know, we can make such an application with noRefreshDrag working on its own well.
But how about other applications, it is impossible for us to change all applications.
So, my idea is making it system based.
My prototype is very good now, after several adjustment.
Not limited to only 1 application, but the whole system.
The approach is like this:
1. zForce driver provide extra information to InputEvent
2. A JNI catch the InputEvent
3. A service get the data and set the update mode
We only need to write 1 application to handle the setting of this chain.
This is what i mean, hope that u get what i mean now.
mali100 said:
Have you tried
Code:
echo 1 > /sys/class/graphics/fb0/epd_refresh
?
Click to expand...
Click to collapse
Let me try it now!
wow, it works great
wheilitjohnny said:
zForce driver provide extra information to InputEvent
Click to expand...
Click to collapse
I guess that this is the part that I don't understand.
What is this extra information?
Renate NST said:
I guess that this is the part that I don't understand.
What is this extra information?
Click to expand...
Click to collapse
It created an extra Event, l called it Event3 before.
Driver reports only move and finger_up to Event3.
Just providing a channel to pass an information from driver to user-space.
You may ask why not directly using the existing Event, need to create another one.
That is because, the original one only have touch and position information, parsing them back to move information need a bit of work. As the hardware provided the move information, then don't waste it.
Code:
public boolean dispatchTouchEvent(MotionEvent event)
{
switch(event.getAction())
{
case MotionEvent.ACTION_DOWN:
break;
case MotionEvent.ACTION_MOVE:
break;
case MotionEvent.ACTION_UP:
break;
}
return(true);
}
}
Isn't that everything that you could ask for?

[REQ] Alert notification sound changer

hi there
i need a tool that can change my alert/app/notification sounds like on windows phone 7 : Advanced config tool
see: http://www.touchxperience.com/advanced-configuration-tool/
Offcourse this tool DOES NOT WORK on windows phone 8
with this tool you can set almost every alert/app/notification sounds
i did my homework and found this :
go with registry editor or the GDTD webserver to :
\HKLM\SOFTWARE\Microsoft\EventSounds\Sounds
here you can see alert/app/notifcation directories with the sound string.
for example :
\HKLM\SOFTWARE\Microsoft\EventSounds\Sounds\Alarm
Values Type Size Data
Sound String 88 C:\Programs\CommonFiles\Sounds\Alarm-01.wma
Category String 12 Alarm
So its NOT that easy to change this value....
Is someone busy with such a tool like Advanced Config to change the sounds ???
or is someone willing to make such a tool ?
mayby an option for -W-O-L-F- tool ???
many thanks
Me! :good:
megasounds said:
hi there
i need a tool that can change my alert/app/notification sounds like on windows phone 7 : Advanced config tool
see: http://www.touchxperience.com/advanced-configuration-tool/
Offcourse this tool DOES NOT WORK on windows phone 8
with this tool you can set almost every alert/app/notification sounds
i did my homework and found this :
go with registry editor or the GDTD webserver to :
\HKLM\SOFTWARE\Microsoft\EventSounds\Sounds
here you can see alert/app/notifcation directories with the sound string.
for example :
\HKLM\SOFTWARE\Microsoft\EventSounds\Sounds\Alarm
Values Type Size Data
Sound String 88 C:\Programs\CommonFiles\Sounds\Alarm-01.wma
Category String 12 Alarm
So its NOT that easy to change this value....
Is someone busy with such a tool like Advanced Config to change the sounds ???
or is someone willing to make such a tool ?
mayby an option for -W-O-L-F- tool ???
many thanks
Me! :good:
Click to expand...
Click to collapse
I actually posted this registry tweak in the Samsung ATIV S registry hacks thread over a month ago. Isn't news though. Its already in GDR3 so its kinda pointless to add one since alot of us have GDR3.
AlvinPhilemon said:
I actually posted this registry tweak in the Samsung ATIV S registry hacks thread over a month ago. Isn't news though. Its already in GDR3 so its kinda pointless to add one since alot of us have GDR3.
Click to expand...
Click to collapse
Thats TRUE
but is easier if we have a tool to change them like advanced config for wp7
i asked jessenic (the maker of WPH Tweaks ) and maybe he can implement it in his tool.
see his tool : http://forum.xda-developers.com/showthread.php?t=2486387
Michael
To edit that value in a sideloaded app would require a capability unlock; the capability exists and it's easy to edit those strings using my NativeRegistry library or something similar, but only Samsung phones can be capability-unlocked right now.
As pointed out though, this is an official feature of GDR3 and anybody who wants it can get the update now, so it's not personally a priority now (the requested feature, not unlocks in general; those are my main priority).
GoodDayToDie said:
To edit that value in a sideloaded app would require a capability unlock; the capability exists and it's easy to edit those strings using my NativeRegistry library or something similar, but only Samsung phones can be capability-unlocked right now.
As pointed out though, this is an official feature of GDR3 and anybody who wants it can get the update now, so it's not personally a priority now (the requested feature, not unlocks in general; those are my main priority).
Click to expand...
Click to collapse
I already implemented the feature, however I'm not able to write those registry values with your NativeAccessLibraries, but I am with the Samsung diag component. What might be the problem? I think I have all possible capabilities in the app.
This is implemented in WPH Tweaks build #8. Head over to http://forum.xda-developers.com/showthread.php?t=2486387 to download.
For access to HKEY_LOCAL_MACHINE\Software\Microsoft\EventSounds\Sounds, you need ID_CAP_SOUND_CONTROL.
The Samsung library works fine (for Strings and DWORDS only) because the RPC service executing those operations already has a ton of permissions.
GREAT
jessenic said:
This is implemented in WPH Tweaks build #8. Head over to http://forum.xda-developers.com/showthread.php?t=2486387 to download.
Click to expand...
Click to collapse
YOUR THE BEST
thanks !
michael

Categories

Resources