yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] TMartin:
Check this thread out.
[General Questions and Answers] shreya_ann:
I have a C# dll that makes use of sms.dll and cemapi.dll to send sms from pda...

I want to use the dll in a java application (which is in a j2me standard) using jni...I m new to the concept...

I dont know how to call a smart device Windows Mobile C# dll from java using jni,through i have seen samples for calling simple 'helloworld' dlls from java..

I wud like somebody who has done this before to help me in writing the wrapper

classes to call the dll..

Please also suggest the method to test the dll in pda.

The C# code is given below:

public class Util

{

private static bool SendMessage_WM2k3(string destination, string message)

{

// SEND = 2, RECEIVE = 1

IntPtr handle;

IntPtr intPtr = IntPtr.Zero;

if (SmsOpen("Microsoft Text SMS Protocol", 2, out handle, ref intPtr) == 0)

{

byte[] array = new byte[0x204];

if (destination.StartsWith("+"))

{

BitConverter.GetBytes(1).CopyTo(array, 0);

}

Encoding.Unicode.GetBytes(destination).CopyTo(array, 4);

int dwProviderSpecificDataSize = 0xa4;

byte[] buffer2 = new byte[dwProviderSpecificDataSize];

BitConverter.GetBytes(1).CopyTo(buffer2, 4); // messageclass = 1

int messageId;

if (SmsSendMessage(handle, null, array, null, message, message.Length * 2, buffer2, dwProviderSpecificDataSize, 0, 0, out messageId) == 0)

{

SmsClose(handle);

return true;

}

}

return false;

}

private static Thread m_SendSMSThread;

private static string m_sRecipientPhone;

private static string m_sSMSContent;

private void SendSMS()

{

bool bSuccess;

if (Environment.OSVersion.Version.Major < 5) // WM 2k3 and previous

{

bSuccess = SendMessage_WM2k3(m_sRecipientPhone, m_sSMSContent);

}

else

{

bSuccess = SendSMSMessage(m_sRecipientPhone, m_sSMSContent, false) == 0;

}

if (bSuccess)

{

MessageBox.Show("SMS message was sent successfully!", "SMS",

MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1);

}

else

{

MessageBox.Show("Error when sending SMS message", "Error",

MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1);

}

}

public static void SendSMS(string recipient, string sContent)

{

m_sRecipientPhone = recipient;

m_sSMSContent = sContent;

m_SendSMSThread = new Thread(SendSMS);

m_SendSMSThread.Start();

}

[DllImport("cemapi.dll", EntryPoint = "#48", SetLastError = true)]

private static extern int SendSMSMessage(string RecipientAddress, string MessageText, bool DeliveryReportRequested);

[DllImport("sms.dll")]

private static extern int SmsSendMessage(IntPtr smshHandle, byte[] psmsaSMSCAddress, byte[] psmsaDestinationAddress, byte[] pstValidityPeriod, string pbData, int dwDataSize, byte[] pbProviderSpecificData, int dwProviderSpecificDataSize, int smsdeDataEncoding, int dwOptions, out int psmsmidMessageID);

[DllImport("sms.dll")]

private static extern int SmsOpen(string ptsMessageProtocol, int dwMessageModes, out IntPtr psmshHandle, ref IntPtr phMessageAvailableEvent);

[DllImport("sms.dll")]

private static extern int SmsClose(IntPtr smshHandle);

}

Please reply as early as possible.

Thanks in advance.
[Desire General] nully:
2.2 brings the wonderful bbc iplayer something I use all the time. However I'm really disappointed with the quality, all the videos suffer from a really strong green tint, and noticeable blur, the same videos watched on an old iphone are far better in colour and detail when held at a normal viewing distance.

There also seems to be an issue with the videos failing to stop and playing in the background with no way to stop them.
[Desire General] Tiznom:
Just tried it

I just tried it, too and I didn't see any odd colors. I just played about 2-3 minutes of "The Deep" which was the first video on the main page. The quality was okay for my 2Mb connection here, with only a tiny bit of stuttering at first. I think BBC adjusts your stream bitrate according to your connection. Try a different video, or a different connection to the internet.

The video does keep playing in the background if you press the back button. I think I pressed it three times before I heard the audio stop and I was looking at the main iPlayer page. I think this is on purpose, so you can browse other content or program listings without interrupting the video in progress. It's a little awkward to figure out, mostly because there is no keyboard or mouse. You just have to hit different buttons and see what happens.
[Desire General] nully:
My test was a side by side comparison - playing the same videos at the same time. The video on the old iphone is superior.

The video failing to stop was definitely a bug - I was at the iplayer page and could not select any other links and the browser was unresponsive with the audio still playing.
[Android Software/Hacking General [Developers Only]] Sylvaner:
Hi, i have try to upgrade my LG GW620 (eve) to V10F and my phone don't want to reboot.

Android Screen Loop to infinity

I can't access to fastboot with the V10F.

But i can open adb shell, browse my phone and do everything i want.

I have the logcat with some errors but i don't find the way to unlock my phone :'(

(logcat join with my post)

I have read sometimes problem with the userdata without fastboot, i can't erase it, perhaps with shell ?

If anyone have any idea ?

Thks

PS : Sorry for my bad english
[Android Software/Hacking General [Developers Only]] themidnighter:
just flash another firmware
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] KapiteinKoek007:
Hi all,

I Purchased a 8 gb sd card Class 4, and i used it as a "bootdisc" for flashing my vga bios.

But when i format it back to ntfs, my hd2 doesnt detect the sd card, the weird thing is, Windows had no problems reading it when i put the sd card in the card reader.

I reinstalled several Roms including the standard 1.66.xxx from HTC, but with all roms, it just wont read the sd Card.

please help.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] tom62:
hello,

insert SD card into computer, go to My Computer, right click on the sd card > Format, select FAT32, and format the card. and try to read it in the HD2
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] southie:
Yes right. I think HD2 is unable to read NTFS 'cause its desktop windows file system and not windows mobile.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] KapiteinKoek007:
Alright!! It worked, Much Appreciated.
[Touch Pro2 CDMA] subtleaggression:
so i have been hiding on various places reading up on and installing roms on my touch pro 2. as of the last 5 roms some part of all of them functions incorrectly or locks up, or just generally doesn't work. now i have a hard time believing all these roms have problems. some of these have been very popular and stable roms like mighty and energy. my device has been properly unlocked. right now im using a rom called Gdub i think it is and although no big deal im unable to change wallpapers nor will my computer connect ( im thinking that problem is unrelated and might be my computer) now, one thing i have done ever time has been use pim backup for my contacts but i cant understand how that would mess anything up. the only other thing i can find on this issue is someone said the device might not be completely writing over the data before and causing issues. i have searched all i can but not sure exactly what to search for. and ideas would be appreciated.

Thanks!
[Touch Pro2 CDMA] subtleaggression:
really? no ideas?
[Touch Pro2 CDMA] mboguc:
Task29 before you flash your phone w any custom rom.
[Touch Pro2 CDMA] indagroove:
Really, you have to give people a little more time to respond.

I would also suggest a Task 29 before flashes. More importantly however may be your PIM backup. Are you restoring backed up reg settings when you do PIM backup? If so, that is your problem.
[Touch Pro2 CDMA] mboguc:
I personally dont use PIM backup.. i either sync it with my comp or use Microsoft My Phone App... but some people have issue with keeping their stuff in the cloud.. but definetly if using PIM backup make sure that reg entries are not being transfered.. even then Task29 will not help you.
[General Questions and Answers] Teddykhil:
G'day, I've got a Dopod 868 Pro which I think is a great PDA/Phone that I've had since new. Never let me down. It is currently running Windows Mobile 6.1. Is it possible to update the ROM software so to upgrade it to Windows Mobile 6.5?

If so, how is it done. I'm not a genius with all this type of thing so would appreciate where to down load it from and how to install the upgrade.

Any help and advice will be much appreciated.

Cheers, Teddy. :)
[HD2 Windows Mobile 6.5 Themes and Apps] fivezan:
Dear Xda-developers,

I love your proficiency in developing apps . But i am saddened by the fact that i just cant find any Ticker app for HD2 or winmo to display notifications rolling on the desktop.

When i was a symbian user i had Stoeger ticker .. Any 1 can develop same kinda app or any1 can suggest a similar existing app??

Love you ALL,
[HD2 Windows Mobile 6.5 Themes and Apps] Manos_Arriba:
Are you using Sense at all? Do you only want the message ticker to appear when messages arrive?
[HD2 Windows Mobile 6.5 Themes and Apps] fivezan:
exactly bro.. i want ticker to appear for any sms/rss feeds/alerts !

Thanx for response
[HD2 Windows Mobile 6.5 Themes and Apps] Manos_Arriba:
When the ticker appears should and you click on an item, (a message for instance)should it open the email in Pocket Outlook or should it show you the HTC Sense message screen, or are you not bothered about that?
[HD2 Windows Mobile 6.5 Themes and Apps] fivezan:
Not bothered if it opens the mail or sms . but it should keep rolling on the screen till i open it from the outlook and mark it as read ...

thats it ... Just the new notifications should roll on the screen ..

are u trying bro ??
[HD2 Windows Mobile 6.5 Themes and Apps] fivezan:
no 1 ?????
[HD2 Windows Mobile 6.5 Themes and Apps] Manos_Arriba:
Hi sorry dude been busy on another project. Whereabouts do you want it to scroll on the screen? I wouldn't imagine that you wouldn't want it half way down the screen.

Matt
[HD2 Windows Mobile 6.5 Themes and Apps] yinyan47th:
good idea me wants to :}
[HD2 Windows Mobile 6.5 Themes and Apps] p107r0:
have you tried StatusTicker?
[Vibrant General] Shagman68:
On my G1 there was a menu setting for re-calibrating your touch screen matrix. I have not found that settings page on my Vibrant. I think I may have a faulty phone, cause when I'm charging my phone and try using the XDA App, I scroll the screen a little, and it takes off at high speed to the end of the posts. It does this only while charging. Playing games while charging is nearly impossible, as I hit one spot on my screen, and it triggers a whole other area. Sims 3 is a really good one for it to mess with me. Is anyone else having these probs? I just want to know if it is hardware or software related.
[Vibrant General] Goog1e Phone:
You have to use a better charger. The cheaper chargers tend to do these with touch phones.
[Vibrant General] floepie:
Coming from an iphone, there does seem to be a slight difference in terms of the area on the screen my fingers activate. On the iphone, a touch registers slightly higher up on the screen than the Vibrant. I suspect that Apple raised the area of activation on the screen in order to compensate for the fact that the pad of your finger is lower than the area just under the tip of your finger so that it would feel more as if you are pointing to the link and not have to worry about making contact with the bottom of your finger. I hope that made sense. Now, on my Vibrant, I have to focus on raising my finger ever so slightly because I am constantly selecting the link below the one intended.
[Vibrant General] Shagman68:
Um, not my problem. When charging, my phone will sense a touch up to 1 inch away from where I actually touch it. But when not charging, it works perfectly fine. I think it is a heat or magnetic field issue messing with my touch screen only during the charge cycle.
[Vibrant General] fragimar:
I use the charger that was included with the phone and it works fine.

Sent from my Samsung Vibrant using the XDA app
[Vibrant General] iunlock:
Very well could be.
[Desire General] strazicic:
hi,

I had a bricked device (USB and SD unmount)

I resolved the "brick" but now I can not instal rom from Rom Manager or from recovery

Rom manager is not puting device to recovery at all, I go throu all steps and when it says to push OK to go recovery nothing hapends

Eny thoughts on this :confused:
[Desire General] jahnile:
Try booting into recovery manually, see what happens. That is by powering of the phone and using the vol down and power button.
[Desire General] strazicic:
Tried but pc is not recognizinh it.

... is it posible that it got unrooted?
[Desire General] strazicic:
Resolved - done a trick with file "update" in rooting procedure, packed recovery image in it and flashed it from recovery (when in triangle screen press vol up and power)

After that flashed new rom and now everithing works as charm - well usb sync is not but I do not need it :)
[General Questions and Answers] adamrob69:
when i signed up to be a developer in marketplace (may time) i am sure i read that you could submit as many applications as you like, as many updates as you like and in as many markets as you like.

I have just been pointed to a little bit of text when you submit a new app that says you have x of 5 submissions left by a friend. Now i carnt ever remember seeing that.

Can some one just confirm that what im sure i read was true or did i miss-read it?
[Desire General] Cleargrey:
Hey people,

I've noticed this strange effect (which I notice using the Battery Graph app to observe how my usage drains the battery). When charging the phone, the phone will increase in charge constantly and gradually as expected. However when the phone is charged, I have seen it drop approximately 10% of charge. I've seen this in 2 situations:

1. When I disconnect it from the charger.

2. On on instance before I disconnected it from the charger when I had left it for an overnight charge. However, according to the graph, it had dropped 10% charge from full while connected to the charger then simply gone back to 100%. When I took it off the charger it stayed at 100%.

I should not that neither situation happens all the time. But situation 1 is a bit more frequent.

This is also not a Froyo issue as I only upgraded to Froyo yesterday and it happened to me this morning, but has happened before Froyo. The Battery Graph app takes a reading every 5mins and it is within this 5min period that the charge has dropped 10% which would probably rule out most apps. And again, this can happen the instant I take it off the charger.

Any ideas???
[Desire General] AndroHero:
your asking to get slapped asking this question :eek: :eek:its been discussed in so many threads lol heres the score, when charging with the phone on, when ur charge reaches 100% it then discharges to 90, it will follow this cycle untill you unplug it, this is called exercising the battery, and i assume it a preventative method to stop you damaging your battery by overcharging it :)
[Desire General] Cleargrey:
I will consider myself duly slapped for not checking it up. I normally tell other people they should have checked! :(
[Desire General] strazicic:
hi,

I had a bricked device (USB and SD unmount)

I resolved the "brick" but now I can not instal rom from Rom Manager or from recovery

Rom manager is not puting device to recovery at all, I go throu all steps and when it says to push OK to go recovery nothing hapends

Any thoughts on this :confused:
[Desire General] AndroHero:
are you rooted :confused:
[General Questions and Answers] tgrantjr:
I currently use my vibrant as my daily phone. I do however have a garmin phone as a secondary device. When i turn on the garmin just to use it as a gps it asks for a code. I have to put a sim in it to use it. does anyone know a way to circumvent this process. I just want to use it as a gps. thanks all.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Chicura2:
Hi,

I have a HD2 with darkstones build on it and installed the new zImage of Cotulla (Version #103). Everything works (like GPS) and it is indeed a little bit faster then the former version. Here is a list of problems which are new and a second list of problems which were already there in the last version:

New problems:

+ After and while calls the screen turns into a very contrast-less mode. Everything is like covered with a white sheet. Nevertheless the functions of the OS seem to be working. But a reboot is neccessary to solve this problem.

+ The phone automatically reboots although I did nothing. It was just laying next to me and suddenly rebooted to WM

Old problems:

+ The phone hangs after a call so that it is hard to end the call by pressing the buttons. Also it hangs when waking up from energy-save mode.

+ ...and of course the known problems from other threads like: battery, not-working apps (like Google Sky Maps),...

Nevertheless this is wonderful and working great. I hope these problems will be solved in the near future and I'm really looking forward to downloading a new build from gamesquare. There wasn't much progress in the last days...

Bye
[HD2 Android Q&A, Help & Troubleshooting and Genera] cw-data:
The same problem I sometimes get when messing around with setCPU configuration, but that was also with old zImage. If I only once set my profiles and keep them as they are, I do not encounter this problem.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Agoattamer:
I too have issues with the 8/03 zImage file. First boot with the file and it loads fine. If I boot into android again it takes forever and after the HTC logo it goes to WSOD. No matter how many times I reboot I get the same result.

If I switch back to the 7/23 zImage android loads everytime with no SOD.

After loading with the 7/23 zImage I can then boot android with the 8/03 zImage file. But even after a successful boot at sometime the screen will go almost white (contrast issue you spoke of) and nothing fixxes it except for to soft reset the phone.

I really like the call volume with the new zImage but the WSODs are driving me crazy. Almost seems when it boots that it is going through some error checking process. Takes about 10 minutes or more before HTC logo then WSOD.

Guess I am staying with the 7/23 zImage for now.
[HD2 Android Q&A, Help & Troubleshooting and Genera] peetuhr:
I'm just chiming in to agree with sporatic restarts and random inverted xolors! Although my color goes back to normal after 5-6 refreshes of the screen. Keep up the good work though
[HD2 Android Q&A, Help & Troubleshooting and Genera] cfonseca1:
Issues with Cotulla Zimage 103

Clearing Cache and temp files in Android dir helps with SOD issues.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mr_billionaire:
Non of that has happened to me, I'm using same build & zImage, but earlier today my Wi-Fi had full strength but wasn't working, it is now but before it would just stop.

Sent from my HTC HD2 running DarkStone HD2Froyo v1
[Desire Themes and Apps] ephumuris:
Is it at all possible to make a white notification bar with correct icons and battery etc for the stock 2.2 sense rom?

I see all these mods for a black bar on non sense roms but i want it the other way around!

I remember someone made one for 2.1 sense roms. I'll have a look at the framework etc myself but i'm no good at this stuff!
[Hero, G2 Touch Q&A, Help & Troubleshooting] akuma24:
Hi Folks, I have copied my sim contacts over to google, within the People app, only the google contacts show, which is fine, but when searching for people in the dialer, it is showing both google and sim contacts,

Within People > Menu > View > Ticked Google only

Any idea how to show Google contacts only?
[Hero, G2 Touch Q&A, Help & Troubleshooting] nomnompie:
I think it is something that HTC overlooked in the update. I was not able to find a solution for this either other than deleting the contacts from the SIM.
[Hero, G2 Touch Q&A, Help & Troubleshooting] akuma24:
I feared that response, thanks mate
[HD2 Windows Mobile 6.5 ROM Development] texture:
OEM Packages: http://sharesend.com/unmju

Source: http://www.darkforcesteam.com.cn/thread-12956-1-1.html
[HD2 Windows Mobile 6.5 ROM Development] HD2Owner:
thanks for the link.
[HD2 Windows Mobile 6.5 ROM Development] HkDng:
Really a good news!
[HD2 Windows Mobile 6.5 ROM Development] HD2Owner:
tested most packages (except home wich is cht incompatible).

working good so far.

experienced a freeze when selecting call-history in people-tab.

settings page is showing two new options (security/ ip dial) but you can't open them.

people and music pages use colored tray icons already used by HDMini. nice...
[HD2 Windows Mobile 6.5 ROM Development] tkpamorn:
oh very good news !
[HD2 Windows Mobile 6.5 ROM Development] Nixeus:
Hello my friend,

Why home is cht incompatible ?

Manila is not multi lang compatible ?

Edit : Is there possibility to having the entire rom link ?
[HD2 Windows Mobile 6.5 ROM Development] HD2Owner:
i'm using core/music/starticonloader from this packages, others from 3.04 and cht1.8.5.

core - seems to work fine (ugly internet icon - replace 2b1c2bb3_manila/04abcd12_manila/4fca8b48_manila), colored music and people tab icons

home - 4x4 icons +other changes (cht1.8.5-incompatible)

people- call-history freeze

messaging - seems to work fine

e-mail - seems to work fine

internet - seems to work fine

calendar - seems to work fine

stock - seems to work fine

pictures - seems to work fine

music - seems to work fine

weather - seems to work fine

settings - seems to work fine (ipdial/additional options not working - dependencies)

hometab has 4x4 icons +other differences. i will send the packages to cookiemonster so he can take a look at them.

you have to add your lang-folders from another rom.

edit - here is the full-rom:

RUU_Oboe_Dopod_CHS_1.01.706.0_Radio_0.82.50.0729_Ship.exe (216.64 MB)

source:

http://xdaforums.com/showthread.php?t=744923
[HD2 Windows Mobile 6.5 ROM Development] jan-willem3:
Dialer and settings don't work since this package is from a dual sim phone.;)
[HD2 Windows Mobile 6.5 ROM Development] EpiphanyNL:
Thanks for the share!
[HD2 Windows Mobile 6.5 ROM Development] bouaroudj:
any pics please?
[Droid Eris Q&A, Help & Troubleshooting] Derrek7503:
Hey guys, hope you can help with an issue I'm having with my Eris. A while back I dropped it in a parking lot and the screen broke. I upgraded to a Droid, but I got the screen fixed so my wife could have the phone. Everything seems to be working great, except for one problem. When you make a call, the screen goes to sleep as soon as you press the call button. When this happens, none of the buttons wake the screen up or end the call. The phone will wake up for around a second if you cover the light sensor, then uncover it, letting you end the call and then the phone is back to normal. I tried using Shakeawake and Screebl, neither worked.

I tried several different ROMs to see if it was just a weird quirk, but that didn't help. Currently running Jcase's Plain Jane with a mild overclock (710). Is there a way I can prevent the screen from sleeping? Seems easier than trying to get it to wake up. Seems like I remember a ROM that didn't sleep during calls, Espresso maybe?

If anyone can help or point me in the right direction, I'd appreciate it. Gladtm see the Eris community still going strong, things had gotten a little ugly when I left. Sorry if my post ran a little long.
[Droid Eris Q&A, Help & Troubleshooting] Irieone:
Case?

Do you have a protective case on the phone? I had the same problem with my Eris after putting a case on it. The case interfered with the sensor on the top left of the phone.