yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] stephj:
In reply to 2) VS 2005 Pro onwards targets code at ARMv4I, basically generic ARM processors also capable of running the Thumb (16 bit) instruction set. Thumb represents a limited set of ARM 32 bit instructions coded as 16 bit instructions. It allows much smaller code sections, but with megabytes of memory available these days who cares? If you code in .NET none of this matters anyway, as the code is created as IL byte code, the .NET runtime sorts it out.

If you code in Embedded Visual C++ 3 or 4 the target chipset is ARMv4. When you use the IDE to create the code on a WinMo 5/6 machine it complains that the target machine cannot run the code. It's lying, what it really means is it does not recognize the processor class. As it is ARM 32bit code only it will work.

It is not worth targetting the code for a specific, (read non generic), ARM chipset. You are just making a rod for your own back when it won't work on something else.
[General Questions and Answers] CosmicDan:
Thanks for the reply stephj. There will indeed be a bit of research for me to do as to which language and/or IDE I decide to choose to train myself in then it seems. Specifically though...

...what I was referring to is - I've seen some freeware PPC software, mainly emulators, that have two versions - a 'generic ARM' one and an 'XScale Compatible' alternative version. On the ARMv6 based phones, assuming the software was released back when XScale was the newest ARM family, would both work on the Raphael? If so, which would be faster?

Obviously though, for a developer, creating the most compatible/generic code to work on the widest range of devices is the main focus - later possibly implementing optimiziations or hacks that are specific to a certain platform - but I'm just wondering if these already built, older 'specifically optimized' builds are compatible with the succeeded chipsets.

P.S. Do you know where I could find some resources on choosing between Visual C++ or .NET? I.e. pros and cons of each?

Thanks a lot!
[General Questions and Answers] allelimo:
Since you have VS2008Pro, C++/win32 if you want fast and lightweight applications :)
[General Questions and Answers] Rudegar:
"P.S. Do you know where I could find some resources on choosing between Visual C++ or .NET? I.e. pros and cons of each?"

.net pros

easy to get something running fast even if one is a n00b

got a lot of components meaning less time to develop

can be programmed with c# and c++ and even eeeeewww basic

.net con

slow as in sloooooowww

require one to install the framework if the app

require a newer version then what ones phone came with and the framework is pretty big

and people don't seem to have success with installing it on sd cards

compact framework is also limited in features vs. .net on pc so apps don't just port always

limited in features unless one do unmanaged code

c++ pro

fast

require no extre stuff

small in size and again fast

have access to every feature in the phone

c++ con

one have to do everything and that mean msg loop

and a lot of leg work just to get a dialog with a button

steaper learning curve

more risks of mem leaking

harder to debug as stacktrace is not just there

like on .net
[General Questions and Answers] CosmicDan:
Very nice, thanks for the replies guys :)

So from what I can gather, a basic .NET application would be ideal for RAD (quick and dirty), particularly GUI-centric applications, but tend to be bulky; whereas C(++) is a more native / low-level language and is thus faster, but very hardcore as most functions need to be done from scratch.

I should have assumed it's pretty much the same as a Windows PC :rolleyes:

What about C++ versus C#? And does VS2008 have a decent API/IDE set for mobile development i.e. does it have many libraries for C(++/#) already included or are more easily available?

Thanks again for the answers guys... it's obvious i'm keen to learn about it, but i'm a little worried that someone like me going from stuff like PHP and VB to C might be biting off more than I could chew....? Ah well if .NET is gonna cause problems down the line, then I guess I have no choice :p
[General Questions and Answers] stephj:
Don't bother with the C++ version of .NET, the casts that you have to make, to get it to work makes the code very hard to read, and besides it only compiles to the IL level anyway, it's just not worth the effort.

So, under .NET use C#, or VB if you prefer, there is not much difference between them, but in my opinion, C# is a bit more elegant.

Under C++ you have the choices of WIN32, ATL (Active Template Library), or MFC (Microsoft Foundation Classes), programming models.

WIN32 is the simplist but the hardest to code, the other two add progressively more objects to make things easier, but you need to distribute the run time libraries with them. A simple WIN32 app can be distributed as a single .EXE if the DLLs it already uses are part of the CE/PPC operating system.

PS When it comes to running code compiled for a specific ARM class on your device, just give it a go. If the CPU hits an instruction it can't run, it will throw an exception and stop anyway.
[General Questions and Answers] CosmicDan:
Fair enough. So C++ in VS2008 is a bad idea :(

I thought VB was dead? Wasn't VB6 the last one they made? Or is VB just what they call generic/common .NET Framework apps? Anyway, yeah i've read good things about C#, especially compared to .NET in general. EDIT: Oh, .NET is not the program language but VB is *facepalm* I get it, nevermind :P

Ah, same as a Windows PC. That makes sense.

Thanks for the answers :) I think I might take a look at C sharp.
[General Questions and Answers] stephj:
C++ in VS2008 is fine, use the smart device WIN32 ,ATL, or MFC models take your pick.

Sorry my mistake, the C++ .NET version is not available for smart devices. Its the three models above only.
[General Questions and Answers] CosmicDan:
After additional research, I don't really want to be tied down with the proprietary C# system. So is VS2008 a decent IDE for WIN32 C++ development on Windows Mobile? Or are there better alternatives?
[General Questions and Answers] stephj:
VS 2005/2008 Pro takes some beating. After you have installed about 3 CD's worth of MSDN libraries all the help is on tap. The IDE also looks at MSDN online if you have an internet connection to see if there are any forums on the same topic you are inquiring about.

The code is generated as ARMv4I and can be tested/debugged on the images provided by the WinMo 5 or 6 SDK. The emulators are that good you only put it on your phone when you have tested it to death on the emulator.

EVC 3 and 4 use a previous method where the emulators run a x86 version of the code. I still use EVC 4 for code that has to run on anything, Windows Mobile 2003 for example.

It's all pretty proprietory, when it comes down to it, but I guess we're stuck with it.
[Windows Mobile Development and Hacking General] childe9:
- Its for my own CHS ROM

- but im happy to share it

- Its OEM

- have fun.

- 6.5 Battery Icons by Evis

-
[Windows Mobile Development and Hacking General] MrDSL:
Screenshot doesnt work.
[Touch HD General] Luxatr:
Hello, I looks for a program, similarly as S2U2, which indicates a preview of a received message immediately to me, so that I not always must unlock my phone to see the SMS.

Is there an alternative to S2U2 there?

Thanks for the help.
[Touch HD General] garyjmobey:
Just to check

s2u2 does do that (I have switched it on on my HD)

are you after another program ?

or doesn't your s2u2 do this ?
[Touch HD General] Luxatr:
My S2U2 does it, but I don't like S2U2, so I search an alternative program.;)
[Windows Mobile Development and Hacking General] Kopite83:
Hello all, I'm a software developer (VB/C#) but new to WM. I've recently bought SPB MS3 and fell in love with it instantly. Looking at the widgets currently available, am I correct in thinking creating new ones is just restricted to modding existing ones?

With this in mind I thought about how a facebook notification widget could be created (coming from a blackberry it’s the only thing I miss) I came up with the idea of:

Clone the excisting email notification

Change the picture and name of it Facebook (obviously)

Set up a dedicated email address and enable Facebook email notifications on facebook.com (this would be the only downside as it would also require the user to change their login email)

Develop a simple program which the "facebook" widget links to

The program will simply clear the email inbox and then launch the Facebook application if installed, if not then launch http://m.facebook.com

First of all, being new to SPB I’d just like to check if this is plausible or perhaps I'm missing something and there would be a simpler way to go about this?
[Windows Mobile Development and Hacking General] nahid569:
Hello sir,

It is plausible and doable BUT there are so many great facebook applications out there like FIM that work so well when SPB is running. Yes I would love to see a facebook widget for SPB, but I really used the chat interface alot with facebook so if you can implement that it would be really good. Other than that just emails for notifications, that would be boring ;).

Let us know what you are thinking in more detail, and I can help you out.

thanks
[Windows Mobile Development and Hacking General] Kopite83:
Hey, think you may of misunderstood what I'm hoping to achieve. I'm not going to create a new facebook application just a simple SPB widget to show when you've got new facebook notifications, for example:
[Windows Mobile Development and Hacking General] nahid569:
Oh thats cool you should do that, please go for it. I will be the first one to use it :)
[Windows Mobile Development and Hacking General] khurr:
WOOOOW, just the widget I was looking for, can u send it to me??
[Windows Mobile Development and Hacking General] khurr:
Are you done with developing this widget??
[Windows Mobile Development and Hacking General] BrooklynZoo:
Yeah its a great idea! Did you end up making this?
[myTouch 3G, Magic General] maxxur:
Hello.

I received my HTC Magic today. First thing i wanted to do: put some music on it.

So my instincts got me to plugging it into the laptop with the USB cable. Great; a removable disc appears. Happiness ends when clicking it; it says: "please insert removable disc", as if it doesn't recognize the SD card.

Any suggestions?
[myTouch 3G, Magic General] theskillster:
Once you hook up your Magic to the PC, you need to click Menu>Notifications and then press the button to mount the sd card.

Make sure you unmount it before disconnecting it from the pc.
[myTouch 3G, Magic General] maxxur:
thanks a lot man! Couldn't be simpeler.

Where could I have found this? I searched my manual and some google hits, but didn't get anything.

Cheers.
[myTouch 3G, Magic General] theskillster:
No idea if it is in the manual, I didnt read it. :)

When you hook it to the machine you get a notification in the title bar on the phone, gives a hint there.
[General Questions and Answers] blainethemono:
Hi all, i'm new to this forum :)

I got a question that keeps me awake during nght(maybe not lol):

I own an old handheld(or palmtop) acer n30 that i've always used to read ebooks on. Now i'd like to buy a phone to substitute the n30 as ebook reader(so that i can have both the phone and the reader in one machine) but i need a phone that has a couple of specific functions. These functions are:

- adobe reader or similar, but it has to have the reflow function(like acrobat reader)

- a scroll button that i can use to scroll pdf files one page at a time(not one line at a time) while reading, without using my fingers or the pen

I had the htc diamond for a few months and i couldn't read any ebook because it didn't have any scroll button, not even a configurable one.

I don't care about the operating system, wm, android, symbian....

Any idea? Thanx :)
[General Questions and Answers] dirlan2001:
Hi,

Look here

For ROM look here

Not the newest one, but IMHO one of the best still ....

:D

Dirk
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] topsecret:
Hello Guys,

I was reading the post of fellow member gcBerling (http://xdaforums.com/showthread.php?t=520494)

And the bootloader command for the Diamond2 (Topaz) does work for the Touch Pro2 (Rhodium).

Instructions:

- Turn off your device using the power button

- When the device is turned off press simultaenously the volume down button + Power button

- Your device will startup in Bootloader mode

Have Fun!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] DaveShaw:
Already wiki'd a few days ago : http://wiki.xda-developers.com/index.php?pagename=HTC_Rhodium/Resets

Dave
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] topsecret:
Developers,

This is the information that I get when I entered my HTC TP2 in the bootloader mode:

----------------------------

RHOD100 32M SS-BC

SP-0.79.0000

MicroP-Rhodium (LED) vA

MicroP-Rhodium (KEY) v4

TURBO HW/TURBO SW

TP MFG DATA

505,527 803,850

805,201 203,200

205,852 Calibrated

---------------------------

I hope that the developers can do something with this information.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] DaveShaw:
Sorry mate, there nothing the cmonex / Olipro need to get the development of this HardSPL started other than a device to test on (unless they have one now).

I'm sure that once the issues with the Topaz Hard SPL are iron'd out, work will start here :D.

Dave
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] MartinTHRD:
Bootloader info

Gents,

Maybe someone can do something with it... This is the info in the bootloader of my unbranded TP2:

----------------------------

RHOD100 32M SS-BC

SP-0.79.0000

MicroP-Rhodium (LED) vA

MicroP-Rhodium (KEY) v4

TURBO HW/TURBO SW

TP MFG DATA

524,532 816,854

817,204 204,207

205,855 Calibrated

---------------------------
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] l3v5y:
Cmonex has one now...
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lhwparis:
oh jeah! thats very great news!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] l3v5y:
Though HardSPL takes ages at the best of times!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lhwparis:
yes i know but its good to hear that they have a device and can start working on it:)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] terryd1980:
Bootloader issues

Hi Guys,

can anyone tell me how to get out of the bootloader, I rebooted my phone and it's gone straight into it, I must have pressed something by accident but I cant get it back.

Anyone got the know-how?

Thanks guys.

Terry
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] DaveShaw:
See your other thread ;)

Dave
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Olipro:
the text on the front of the SPL is about as interesting as John Major and useful as a chocolate teapot
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Inc:
In that case I'll post mine too ;-)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cmonex:
yep..though, it's nice to know the calibration numbers. (which is a new thing since topaz)

but usually thatis not interesting either, only in some cases, so don't start posting any such info please!
[General Topics] nir36:
hah! you rock.

thanks :)
[General Topics] orb3000:
Thanks a lot mate!

As always very usefull:)
[General Topics] Menneisyys:
UPDATE (06/21/2009 1:36 CET):

1.)	There are some other scriplets HERE (thanks to “AttackOfThePwned” at TouchArcade for pointing this out); among other things, another highlighting one even capable of counting the number of hits and scrolling to the first occurrence. I haven’t tested it for compliance. Note that the tutorial only states synching these bookmarklets via a desktop Safari; of course, they can also be (directly) deployed on your iPhone - or, if they’re compatible – again, I haven’t checked – under other operating systems.

2.)	As has been explained in many of my iPhone- and Windows Mobile-related articles, the built-in Safari has a shortcoming compared to for example Opera Mini: it doesn’t allow for quickly scrolling to the bottom of the page. (Without external help like this, it may be VERY hard to scroll down to the bottom of a long page to, say, check out the latest posts in a forum like that of DPReview). I’ve managed to fix this issue too. All you need to do is use the following scriptlet:

javascript:window.scrollTo(0,100000)

To quickly deploy it, just click THIS and do what’s explained in my former article.
[General Topics] cyberhern:
Works well

Thanks
[General Topics] qazzi76:
Just Saw this!!

Epic WIN!!!

Thanks very much!
[General Topics] Menneisyys:
Glad you like it :)
[General Topics] cheeseus:
Problem in Opera 8.5

Hi,

The JS does work. However, I found a problem of a sort with the webpage being searched - the top image contained in the page was replaced by the "<font size=10 style='color:blue; background-color:yellow;'>" part and CSS formatting was removed.

Triple checked it for typos, couldn't find any.
[General Topics] Menneisyys:
That's pretty normal - as it's a very small code, it doesn't check whether it's injecting HTML markup into other markup. This is why i may mess up some other markup,
[General Topics] quicksite:
It's a great joy in life to see people sharing ingenious little (and big) solutions to problems. I've been especially glad you still participate on this site and for Windows Mobile platform now that you've been principally using the iPhone. It's just a great thing to see, and thank you much.
[General Topics] erickbryce:
fyi, on WM IE 6, maybe earlier Ctrl+F on plain old WM sip brings up native WCE (guessing cuz it doesn't work) dialogue box. Haven't had time to comb the reg to try and get working. stumbled across it a long time ago, just figured it was WM showing her CE bra strap :)
[General Topics] Putra:
Tried on my notebook with Firefox just for fun - and it works too. Thanx for sharing!
[General Topics] fatmonk:
A genius bit of lateral thinking!!!

And now for my contribution...

I've tweaked the javascript, particularly the regular expression, to NOT try to highlight matches in the HTML markup - this basically means that this version of the javascript shouldn't mess with the page layout too much and shouldn;t expose code that shouldn't be exposed.

Here you go:

javascript:var searchText=prompt("Enter the text to search for","");document.body.innerHTML= document.body.innerHTML.replace(new RegExp(searchText + "(?=[^<>]*(<|$))","gim"),"<font style='border-top: 1px solid blue; border-bottom: 1px solid blue; font-weight: bold; color:blue; background-color:yellow;'>"+searchText+"</font>")

It also adds a bit more formatting to the highlighting, but other than that you may just find this further tweak useful.

In fact - here's a zip file with the required file in it... just extract this and from the zip then place in your /Windows/Favourites folder to use with PIE.

-FM
[Windows Mobile Development and Hacking General] erikvario:
he a lot of guys say to me that my wizard is a refregerator.

so i thaugt maybe someone can make a flash file or something for the background that looks like a refregerator.

i can take a inside picture but it look funnyer when its empty with food that you can move around the refregerator .

erik

(sorry for my bad english and the different sorts of refregerator its such a hard word)
[G1 General] Ozxobez:
What troubles me these days is that a lot of new phones have such poor video recording capabilities. My years old Nokia 6233 can film VGA @ 15FPS. This was, for it's time quite amazing. Soon the Nokia N series followed with VGA @ 30FPS.

Last week Apple introduced the Iphone 3G S. One of it's key features is the capability to record video at VGA 30FPS. This was a biggy for everyone, but I thought: WTF! What's so amazing about this?

Both HTC Android phones can now also film. This however is in very poor quality. I checked spec's from various different phones and noticed both the G1 and Magic have relatively the same spec's as Iphone's, Nokia N series etc. I got me wondering... Why is the video recording quality so poor? Is this a software issue, or is the hardware simply just not capable enough? This last thing would really surprise me when I compare the Android phones with my years old, 2 megapixel, Nokia 6233.

I'm in the market to buy a new phone. I want Android, but I also want a decent video recording capability. My question: Will the HTC G1 or Magic ever get VGA @ 30FPS recording, or is it simply not possible? :)
[G1 General] corp769:
This needs to be moved to the general section. This is NOT a development question.
[G1 General] ivanmmj:
A lot of those phones may have a dedicated built-in video processor that can keep up with the intense amount of processing required for video processing.
[G1 General] Kllian:
dont respond to the posting until it gets moves, people need to fing learn where to post.
[G1 General] Ozxobez:
I think my question actually is a development question since I'm wondering wetter this is hardware capability issues or software/programming. What better place to ask then the place were people make the software and (hopefully) have knowledge of the hardware there programming on? :)
[G1 General] papito2181:
Hmmm, i wonder what the Dream applications and games section is for..? Oh, for things like this that doesn't involve ROM building and/or hacks possibly. Move the thread please
[G1 General] liamhere:
post moved

please post in the correct threads or your post may well end in the trash!
[G1 General] RPG0:
To finally answer your question:

There's different types of VGA @ 30 FPS. There's the "Hey, this is actually a movie" kind, and the "Hmm, what was that ? Why is it ghosting?" kind.

The camera in the G1 (and the iPhone 2G and 3G, not 3GS) is closer to the second kind. You could shoot 30 frames per second @ VGA resolution, but it would look like crap.

So if this is important to you, get another phone.
[G1 General] navdroid:
there should be a way you could do at least sharp non ghosted 320x240@30 or 160x120@30, i have no idea how open the camera is on this phone though. it would be nice to get it less shakey at a cost to resolution. like most webcams
[HTC Excalibur] #2!:
Just tried playing full episodes of Southpark from Southparkstudios.com using Skyfire and it works pretty good. Lip sync goes a bit in and out but it doesn't matter too much on those shows. I decided to try it after trying to get it to work on a PS3 without any luck. I would have never thought it would work because even my old P4 has problems browsing that site.
[Touch Pro, Fuze ROM Development] 10kredline:
For all of those who have been using the imap pusher service by gmurray, this might help. the app itself works awesome, but i was having a problem with it starting automatically when i put it in the startup folder. it would cause an error. i wrote a simple mortscript that delays the startup of the app for 20 seconds ( you can make it whatever you want ). My file is named "imap.mscr" ( for purposes of running mortscript.) Now, Right click the desktop, go to new, create new text file. Save as "whatever.mscr" . Make sure you install mortscript to your ppc, its free! Here's what the code is:

sleep(20000)

run( "\my documents\imappusherservice.exe" )

sleep, denotes the delay in milliseconds ( 20 seconds ) this can be changed to whatever, just do not make it longer than the phone's sleep timeout or else it will not execute.

run, denotes the path of the file. i keep it in my documents

i also saved the file to my documents, created a shortcut and placed it in the startup folder. now the service starts flawlessly, no need to manually start the program upon hard reset. Just make sure the file is saved as "YOURTITLE.mscr" , not "YOURTITLE.mscr.txt." The .txt extension will put the keeebosh on what you just created. hope this helps someone.