yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] xmonster:
some comments...

hi

nice app. thanks....

for your version (v0.1), you mention

"app is no more a "dialog" but a window now, so it can be minimized. It also responds to the red hang-up button."

So how do you close the app? By using the red hang-up button also dont close it. Only minimize it.

My personal opinion is that the previous version that closed it immediately is better for me. Using finger to scroll then close. No point keeping it in the background.

just my thoughts.....
[Windows Mobile Development and Hacking General] larna:
Hi,

glad you like the app.

Answer is simple. You don't close it :) It uses very small amount of memory, something like 25 kB. But you get faster loading. It's a fair trade in my opinion.

larna
[Windows Mobile Development and Hacking General] toblo:
@xmonster:

If you really really want to close it, you can use task manager app for it, e.g. Wisbar, SPB Pocket Plus, iLauncher, etc.

I use Wisbar Advance, which allow me to set then I tap and hold the close button, it will close the application.

@larna:

It's a great small application! Thanks. Would be much greater if you can rename the name in task list from PoomMaster to Contacts or something. At first I thought there's an illegal app running :)
[Windows Mobile Development and Hacking General] larna:
Hehe, yes, that is definitely something I'll have to do. :) The code is actually based on PoomMaster project from WM5.0 SDK, which is actually a list of contacts. With scrollbars. So it was a perfect victim for my experiments :)

larna
[Windows Mobile Development and Hacking General] Cifer:
I dont like v0.1 because the sliding-animation does not countining like in your first draft. The idea of tapping on the screen to stop is good, but for me it does not make a lot sense if its just sliding about 5-10 entries and not like in the first one about 20 entries.... but stil good work!!!
[Windows Mobile Development and Hacking General] larna:
I thought it would be a problem to some ppl. I'm still not sure about what would be best way to go. I hope that will come with time...

larna
[Windows Mobile Development and Hacking General] toblo:
Actually I also prefer the previous version in this matter. You'd have no idea how many times I just sit and play around with the contact scroller. :p

Why don't you put it inside an option in the future? Scroller speed or sensitivity or something else.
[Windows Mobile Development and Hacking General] larna:
I use scroller as an anti stress therapy :)

I think the friction parametar will make its way into options :) As soon as i finalize scrolling code. :)

larna
[Windows Mobile Development and Hacking General] ohmdoreamon:
Umm.. O2 mini it not working :(
[Windows Mobile Development and Hacking General] geovass:
version 0.1 is very good!

Thanks !
[Windows Mobile Development and Hacking General] larna:
Sorry, app is not working on wm2003 devices, at least not yet.

larna
[Windows Mobile Development and Hacking General] daxliniere:
Just installed it on my Hermes (WM5) - Love it!

Fantastic work, Larna!

Thankyou!
[Windows Mobile Development and Hacking General] remofo:
Great work larna

My 2 cents..

The scroll speed should be somewhere between the original and 0.1 or adjustable scroll speed would probably be best.

The non-selecting tap stop is a great improvement. This makes it easier to fast scroll & estimate when to tap to get close to the contact you want and then edge up or down before the final tap.

I can think of only 2 possible improvements for future releases, scroll-wheel operation and make it skinable (so long as it doesn't slow down or become a memory hog).
[Windows Mobile Development and Hacking General] xpking:
a great program, larna

This is my suggestion:

1. Can you add pictures i the contacts? (You may let users choose to display pictures or not if this affect performance)

2. Display Categories of contact, i think this is very important

3. The scroll speed can be customized by users (people have different numbers of contacts, default speed is slow for long contacts and is fast for short one)

Hope this may help your great programs.
[Windows Mobile Development and Hacking General] Guybrush:
I'm learning very much... today how to use a listbox as owner draw control...

I wish you like it, please tell me if it works well and if u found some bugs. I'd like to try to add a small image in rows... but i'm not so good yet :)
[Windows Mobile Development and Hacking General] Cifer:
Good work, the new version has a good smooth animation and works quickly =)
[Windows Mobile Development and Hacking General] victoradjei:
This version does not show any contacts on Ameo! Are you just testing the template? It only has numbered lines. And the copyright thing on the about page :eek:
[Windows Mobile Development and Hacking General] Guybrush:
yes it's quick but i have still troubles with owner draw listbox... I don't like much how it's working... I think i wrong something on WM_DRAWITEM event.. if someone have some tips how to adjust it, I'll be great :) Maybe I'm doing wrong something...

case WM_DRAWITEM:
DrawItem = (DRAWITEMSTRUCT *)lParam;
hdc = DrawItem->hDC;
rc = DrawItem->rcItem;
if (DrawItem->itemID == -1) return 0;
SetBkMode(hdc,TRANSPARENT);

switch (DrawItem->itemAction)
{
case ODA_DRAWENTIRE:
switch (DrawItem->itemState)
{
case ODS_SELECTED :
hbrush=CreateSolidBrush(RGB(0,255,0));
FillRect(DrawItem->hDC,&DrawItem->rcItem,hbrush);
SetBkColor(DrawItem->hDC,RGB(0,255,0));
SetTextColor(DrawItem->hDC,RGB(0,0,255));
DeleteObject(hbrush);
break;
case ODS_FOCUS :
break;
default :
line = CreatePen(PS_SOLID, 1, RGB(208,208,208));
SelectObject(hdc, line);
Rectangle(hdc,rc.left,rc.top,rc.right,rc.bottom);
DeleteObject(line);
SetTextColor(hdc, RGB(0,0,0));
SetBkColor(DrawItem->hDC,RGB(255,255,255));
}
SendMessage(lsthWnd,LB_GETTEXT,DrawItem->itemID,(LPARAM) buf);
hfont = CreateFontIndirect(&font);
SelectObject(hdc, hfont);
DrawTextW(DrawItem->hDC,buf,lstrlen(buf),&rc,DT_LEFT|DT_VCENTER);
DeleteObject(hfont);
break;
case ODA_SELECT:
break;
case ODA_FOCUS:
break;
}
break;
[Windows Mobile Development and Hacking General] larna:
Why do you think there is anything wrong with it? Flickering?

larna
[Windows Mobile Development and Hacking General] Guybrush:
my app have nothing to do with the great larna work :) I'm just learning and need some reports and help.. so I'm posting here because I think, code and type of application is similar and maybe in some way it could help me to learn and larna to make a better app, if someone try to give usefull tips :)
[Windows Mobile Development and Hacking General] Guybrush:
yes... too much, i hate it... with simple listbox flickering was much much less than now...
[Windows Mobile Development and Hacking General] larna:
Research double buffering. You'll have to process listview WM_PAINT event and draw everything into memory DC and then blit it on the screen hdc. Lots of interesting stuff in that area ;)

larna
[Windows Mobile Development and Hacking General] Guybrush:
thanks larna ;) I'll have a look... Do you know why WM_DRAWITEM can be intercepted only in parent callback and not in control callback ?
[Windows Mobile Development and Hacking General] larna:
I wouldn't call it interception. I guess it's just the way windows messages work.

From Microsoft Platform Builder 5.0

"This message is sent to the owner window of an owner-drawn button or menu when a visual aspect of the button or menu has changed."

larna
[Windows Mobile Development and Hacking General] Guybrush:
i read about Double Buffering but now i don't see items of list...

i used WM_DRAWITEM to create my Items into a copy of device context

and WM_PAINT, to create a compatibleDC a compatible Bitmap and after

use BitBlt to copy the memDC into real DC... don't seem to work... first i see black screen and during scrolling white :/
[Windows Mobile Development and Hacking General] Guybrush:
Hi larna, tell me if I'm right...

hdc = BeginPaint(hCtl, &ps);

memDC = CreateCompatibleDC(hdc);

hMemBmp = CreateCompatibleBitmap(hdc, rectWin.right, rectWin.bottom);

hOldBmp = (HBITMAP) SelectObject(memDC, hMemBmp);

/*

Here i should write all current draw items on memDC

*/

BitBlt(hdc,0,0, rectWin.right, rectWin.bottom, memDC, 0, 0, SRCCOPY);

SelectObject(memDC, hOldBmp);

EndPaint(hCtl, &ps);

DeleteObject(hMemBmp);

DeleteDC(memDC);

On WM_PAINT of my list control, I always take a "copy" in bitmap of my screen that is currently show and remap this with memDC. In my memDC i should draw all items that listbox is currently showing... but i don't understand how, because on WM_DRAWITEM i manage on DC of single items and don't understand how to copy all i design on my items to the memDC portion that should be copied in read hdc... or maybe i don't understand nothing :)
[Windows Mobile Development and Hacking General] larna:
Hi Guybrush,

You should use SetWindowLong to set a callback for listview events. There, on WM_PAINT message, you should start your double buffering routine, but before BitBlt you should call CallWindowProc with memDC as 4th parametar. After that you blit memDC onto main DC.

larna
[Windows Mobile Development and Hacking General] Guybrush:
thanks larna I already tried it but it works very very bad!

subclassing listbox

lplstWndProc = (WNDPROC) SetWindowLong(lsthWnd,GWL_WNDPROC,(LONG) lstWndProc);

on lstWndProc

HDC hdc;
HDC memDC;
PAINTSTRUCT ps;
HBITMAP hMemBmp;
HBITMAP hOldBmp;

case WM_PAINT:
hdc = BeginPaint(hCtl, &ps);
memDC = CreateCompatibleDC(hdc);
hMemBmp = CreateCompatibleBitmap(hdc, rectWin.right, rectWin.bottom);
hOldBmp = (HBITMAP) SelectObject(memDC, hMemBmp);
CallWindowProc(lplstWndProc,hCtl,message,(WPARAM) memDC,lParam);
BitBlt(hdc,0,0, rectWin.right, rectWin.bottom,memDC, 0, 0, SRCCOPY);
SelectObject(memDC, hOldBmp);
EndPaint(hCtl, &ps);
DeleteObject(hMemBmp);
DeleteDC(memDC);
break;

on main WindowProc

HDC hdc;
case WM_DRAWITEM:
DrawItem = (DRAWITEMSTRUCT *)lParam;
hdc = DrawItem->hDC;
rc = DrawItem->rcItem;
if (DrawItem->itemID == -1) return 0;
SetBkMode(hdc,TRANSPARENT);

switch (DrawItem->itemAction)
{
case ODA_DRAWENTIRE:
switch (DrawItem->itemState)
{
case ODS_SELECTED :
hbrush=CreateSolidBrush(RGB(0,255,0));
FillRect(hdc,&DrawItem->rcItem,hbrush);
SetBkColor(hdc,RGB(0,255,0));
SetTextColor(hdc,RGB(0,0,255));
DeleteObject(hbrush);
break;
case ODS_FOCUS :
break;
default :
line = CreatePen(PS_SOLID, 1, RGB(208,208,208));
SelectObject(hdc, line);
Rectangle(hdc,rc.left,rc.top,rc.right,rc.bottom);
DeleteObject(line);
SetTextColor(hdc, RGB(0,0,0));
SetBkColor(hdc,RGB(255,255,255));
}
SendMessage(lsthWnd,LB_GETTEXT,DrawItem->itemID,(LPARAM) buf);
hfont = CreateFontIndirect(&font);
SelectObject(hdc, hfont);
DrawTextW(hdc,buf,lstrlen(buf),&rc,DT_LEFT|DT_VCENTER);
DeleteObject(hfont);
break;
...

it's like blink all the screen during scrolling and it's very very very slowly
[Windows Mobile Development and Hacking General] larna:
Hi Guybrush,

I've attached my source code, so i don't have to explain everything line by line.

I hope you and other developers can add things to it, and share your advancements with community.

Have fun,

larna
[Windows Mobile Development and Hacking General] Guybrush:
larna thanks for share it, but i still want use my code :) I saw of your code for double buffering to understand it but i still have troubles on mine. For the rest i'm using a different way to calc speed and end of scrolling.
[Windows Mobile Development and Hacking General] larna:
That's fine with me :)

Point is, the list should be refreshed 50 times per second when scrolling. That means that anything that can be calculated once should be left out of WM_PAINT. Like making a memory DC and bitmap for list drawing. There are errors in my code, and i just realized wy it doesn't work in landscape, but i created memDC and bitmap in list creation code. And bitmap should be the size of window and not the whole list. Because the list is very high and takes a lot of memory transfer when you are creating bitmap each time the list refreshes.

I posted the code not because you can take somthing out of it, but for you to understand how to work, and maybe add features to it. Or to help you write application that is better, faster etc...

I've struggled with that double buffering thing for quite a while and time doesn't have to be wasted twice ;)

Good luck,

larna
[Windows Mobile Development and Hacking General] Guybrush:
i think your app don't work rotating screen because you created this

hdcMem = CreateCompatibleDC(hdc);

hMemBmp = CreateCompatibleBitmap(hdc, rc.right - rc.left, rc.bottom - rc.top);

hOldBmp = (HBITMAP) SelectObject(hdcMem, hMemBmp);

on ListView creation procedure :)

put them on WM_PAINT for listview after u have to add on WM_SIZE of main Window a new calc of Window Rect and set a repaint of control :) that's all and should work in landscape :)

i did on mine and worked it :P
[Windows Mobile Development and Hacking General] Guybrush:
my problem is another... when i rotate screen don't seem to update content of memDC but i saw a bad drawing text!!
[Windows Mobile Development and Hacking General] larna:
Yeah, something similar crossed my mind minutes ago :)

larna
[Windows Mobile Development and Hacking General] Guybrush:
good I wish you solved ;) but should work :)
[Windows Mobile Development and Hacking General] Guybrush:
Anyone can try this new version ?
[Windows Mobile Development and Hacking General] bombzhome:
How's the progress going for Windows Mobile 2003?
[Windows Mobile Development and Hacking General] asci:
Hi,

I was testing it on HTC X7500 with italian rom. Scrolling wors very fine but no contact is desplayed...only string with sequenzial number. Why this?

THX!
[Windows Mobile Development and Hacking General] freeyayo50:
He is just putting it out for testing purposes to test out the scrolling.
[Windows Mobile Development and Hacking General] asci:
Scrolling works fine, how to get full app?
[Windows Mobile Development and Hacking General] Guybrush:
you should use larna application, you can found it on first post on this thread, I'll not code a contact app, larna already doing it ;)
[Windows Mobile Development and Hacking General] vsa:
Hi Guybrush,

TestApp works fine on my xda orbit. Great work!

Greetings

vsammy
[Windows Mobile Development and Hacking General] Guybrush:
new scroller version

I need reports, about it. Anyone can test please ? I take two versions one with and one without double buffering
[Windows Mobile Development and Hacking General] cyberalfa:
I had tested Contacts v0.1 with HTC Hermes (XDA Trion). Can't close it over "X"... :confused:

...just with "OK"-Button.
[Windows Mobile Development and Hacking General] larna:
Hi cyberalfa,

When you press "x" app should minimize, not close itself. That way it stays in memory and occupies a really small amount of it, so it shouldn't be a problem. But, advantage is shorter loading time for app.

larna
[Windows Mobile Development and Hacking General] cyberalfa:
i'm using iLauncher, so it should close when press "X", but nothing happens
[Windows Mobile Development and Hacking General] daxliniere:
Clean is great,

Double buffered is choppy, almost unusable.

Happy to keep alpha testing!
[Windows Mobile Development and Hacking General] SHAHS:
ANY NEWS ?

So No News For Wm2003se ?

Larna You Can Work For Wm2005 But For Wm2003se You Have Job To Do!

Alright Good, Keep It Up
[Windows Mobile Development and Hacking General] freeyayo50:
The clean version works smooth, but the double buffer version is extremely choppy.

Also, did you change the scrolling settings. It's worse than the last version you put out.
[Windows Mobile Development and Hacking General] Guybrush:
yes i know i prefer the first one... it's more quick... but have a little bit of flickering... i have to find a solution between both... double buffering solve flickering... but it not give me good sensations
[Windows Mobile Development and Hacking General] alittlebitdifferent:
Works on my 02 Atom..suggestion..the WM5 ok icon is small to hit to close the app...perhaps your app could offer a bigger target to make using the app with one hand easier...say a top row line that closes the app.

Awsome work though
[Windows Mobile Development and Hacking General] wschom:
Nice app larna. I like your version the best. It is small, fast, and smooth. Since you were looking for suggestions.... the only big change I can see would be to add a bit of color :)

Thanks for the nice programming!
[Windows Mobile Development and Hacking General] p9939068:
Hi Larna, great work!

You can consider making the container slightly longer so that you can implement the "bouncing effect" when the scroll hits the top or bottom limit. Just like the original iphone ;)

Also, can you tell me how do you detect the "OK" button to close the app?
[Windows Mobile Development and Hacking General] daxliniere:
I have a few little issues with being able to open more than one contact at once, which locks the handset up a for a second or so.

Otherwise pretty good.

Hi alittlebitdifferent, do you have a hardware OK button on your phone/PDA? I can use that to close the app.
[Windows Mobile Development and Hacking General] cybersush:
Hey LARNA, great work. Any chance of adding letters from a-z (so i can quickly jump to the first letter of a contact i.e. if i'm looking for "frank", i tap "f" and then scroll down to frank) I think apples application works similar? Once again, great application! Made me delete my mobile contacts program...
[Windows Mobile Development and Hacking General] joecruz:
Hi Larna,

Excellent app. if u can make it look like the built in contacts app, that would be most excellent!!

Advice to guybrush - can u make a different thread for the app ur developing?of course,u may link it back to this thread. It's just that it gets kinda confusing when people comment/react, im not sure which app they're reffering to -yours or larna's? also, it'll be better in terms of monitoring development, beta testing, etc. anyway,i think it's great ur trying to do ur own version of this great app!
[One (M8) Q&A, Help & Troubleshooting] Alawiz:
Hi guys,

I need to go back to stock ROM and tried using the guide here on XDA but my phone refuses to allow me to add anything in the internal storage. I downloaded a Nandroid backup for my phone with the right cidnumber and version number but cannot copy it in to the internal storage! I would also add that for some reason my phone has almost use the entire internal memory so there is only 2GB left!?! When I open the camera, I get an error message saying that I can not save anything because I do not have any savings rights. Right now, I have flashed the Android Revolution HD 34.0 through ADB sideload with the toolkit. This my phone details:

HTC One M8 International version

Version-microP: None

version-main:

Version-misc: PVT SHIP S-ON

SerialNo: HT46KWM05504

MEID: 00000000000000

Product: m8_ul

Platform: hTCBmsm8974

modelid: 0P6B10000

cidnum: HTC__Y13

Battery status: good

battery-voltage: 0mV

partition layout: Generic

Security: on

Build-fashion: Store

boot fashion: fastboot

commitno-bootloader: 3aa067db

hbootpreupdate: 11

gencheckpt: 0

Any help for a relative noobie is appreciated!
[Galaxy Note 4 Q&A, Help & Troubleshooting] mariosraptor:
Hi. trying to install some large apk games from Amazon. Sorcery 2 and 80 Days.

they fail installing with an error ( The installation helper has crashed).

anyone else? thanks.
[Galaxy Note 4 Q&A, Help & Troubleshooting] calibre-not-output:
I'm having the same issue with the same two apps, except instead of an error message all I get is "The app did not install".
[Galaxy Note 4 Q&A, Help & Troubleshooting] mariosraptor:
I get the same thing app not installed and the helper crashed before that.

I find it not to install if apk is larger than 130mb. WTF
[Galaxy S 5 Q&A, Help & Troubleshooting] nalmarqab:
Dear all,

I used to run Omega rom, then I decided to move back to official firmware of lollipop, and After clean install and format the phone, I found out that MC5 is not working at all, all other games are working fine, even MC4 is working fine.

I have purchased these games, are not cracked apk or anything like that.

Can someone help me please.

When I start the game, first it will check the licensing, and then a msg will appear saying Modern Combat 5 stopped working.

I already report the error. But I am wondering maybe you guys can help me to play my favorite game.

Regards

Nasser
[Galaxy S 5 Q&A, Help & Troubleshooting] nalmarqab:
It keeps giving this error, unfortunately Modern Combat 5 has stopped. I hope you guys can help me out, I have paid money for this.

Please help me out.
[Galaxy Note 4 General] toofimoofi:
Im running its on 910F version. The battery time is amazing. Boot time is really quick. Its pretty smooth and looks great :)
[Galaxy Note 4 General] Ashatar:
We already have tons of thread about Lollipop, I don;t think there is a need for one more.
[Galaxy Note 4 General] un.droid:
This is interesting, i dont feel like my battery is great at all. could you post your battery consumption along with some details about your system? (root\greenify?)
[Android Q&A, Help & Troubleshooting] QA Bot:
Q&A for [Rom] Jelly Bean 4.1.2[QMobile Noir A9]

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [Rom] Jelly Bean 4.1.2[QMobile Noir A9]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Android Q&A, Help & Troubleshooting] toff007:
Qmobile A9 Upgrade

hi dev, i want to ask you that is it necessary to root qmobile A9 for android upgrade ?? bcz my phone does not get start. when i press power button, it shows Qmobile brand name then go Off :( please help me.
[AT&T Galaxy Note 3 Q&A, Help & Troubleshooting] NOMIOMI:
i am sorry for Noob question but i want to know that can we flash the Galaxy note 3 sm9005 rom on galaxy note 3 sm900 At&t???
[AT&T Galaxy Note 3 Q&A, Help & Troubleshooting] twitchd8:
I also have this same question. Further, is there any technical difference between the 9005 and the 900A? Or is the A just with AT&t's added bloatware?
[AT&T Galaxy Note 3 Q&A, Help & Troubleshooting] CryptKilla:
Check in my signature :)

Other working ROMs on AT&T: http://xdaforums.com/showthread.php?t=2938919
[Moto E General] gaurav2009:
It's released :)

Thread link- here

I got it working..

Post #6
[Moto E General] Deleted member 5225837:
May be we should make a list of what modules are currently working on our lollipop moto e to keep a track.

Some one reported that xinternal SD is working.

This type of list will help all. What do u say??

Any one who got a module working can report here.
[Moto E General] gaurav2009:
I read the comments youtube adway was working,,I didn't tested it on my moto e,will report and update the status soon..

Sure if anyone finds it can report I don't have any problems..
[Moto E General] iTudorS:
Not working on moto e 5.0.2 tried it yeterday, it flashes correctly via twrp but when u try to install apk it never installs, system becomes very very laggy.
[Moto E General] gaurav2009:
That's sad,I will try it on mine and report here..

Edit:Not working op updated..
[Moto E General] gaurav2009:
Wait..what?!?
[Moto E General] T3snake:
It isnt working.... ie. framework not installing

and side effects are:

-All my apps on sd went missing(after restoring system partition i got it back)

-storage space was low it asked to clear out 250mb of space from system.....

-Lagged (maybe due to the storage issue in system)

anyway some 1 posted this:

and other post

Can some1 try this?