yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] OG:
Damn! 500+ Pages and for Beginners. I couldn't write that much if I had a whole life time to do it. And maybe Android Q&A.

And yeah dude Google then Learn. Or maybe, Google and Learn. OR! Google what you should do first. SMART!
[Android Software/Hacking General [Developers Only]] anarchyuk:
I would suggest you take a course on it then do some real world placement with seasoned programmers, you wont really develop all of the required skills using a beginners guide to programming.
[Android Software/Hacking General [Developers Only]] hadronc:
Android is Java not C++.
[Android Software/Hacking General [Developers Only]] janfsd:
I heard that a good Java introductory book is Head First Java. If you have some programming experience I would recommend Thinking in Java.

After you are confortable with Java, you could move to Android specific things. Good luck!
[Android Software/Hacking General [Developers Only]] haxxo:
thanks for the replies. the 500 pages of C++ are pdf, and the font is kind of big. im ganna keep learning from that for a couple of weeks to get the very basics. then ill move on to java.

PS: another nub question, what dose Linux have to do with android? is it better to develop on Linux or windows 7?
[Android Software/Hacking General [Developers Only]] janfsd:
Android is based on Linux. But you can develop in any platform you want. It is the same Linux, windows or OSX, whatever you have would work.
[Android Software/Hacking General [Developers Only]] haxxo:
im a little confused .

andriod uses the syntax java,while andriod is based off linux which uses syntax c, c++, java and fortan. so dose andriod use the java part of linux only or what?
[Android Software/Hacking General [Developers Only]] janfsd:
To be more specific, it is based on the Linux Kernel, which is written in C. All the apps are already Android specific, so written in Java. Google developed their own virtual machine (Dalvik) so the developers can use it. It is Java based (on the 1.5 version), but it doesn't support all Java classes. It is still possible to write in c++ with the NDK, but only if you need the extra performance or maybe write a game in OpenGL. So you would stick to Java.
[Android Software/Hacking General [Developers Only]] addre:
If you need to communicate with kernel, or your application has to do something with great calculation (Such as encoding or decoding), you may need to through Java layer and native layer by JNI, than you need C/C++. Else you just need to write your application by Java.
[Android Software/Hacking General [Developers Only]] haxxo:
okay that clears it up, thanks guys. now i just gotta give it time and dedication.
[Touch Diamond, MDA Compact IV General] gtavo:
Hi

I´m trying a new rom (WM 6.1 with iPhoneToday) in my HTC Diamond and It´s perfect, but a have a big problem, the Button 1 (hold) (Answer key) doesn´t work, I usually set this button to rotate the screen, but now, no matter what fuction asign, (Accept/Close, Open a program....), I make a soft reset after changing de configuration, and the configuration is ok, but It doesn´t work.....

I´ve been searching a lot, but I didn´t find the answer...

Thanks and sorry for my english... :p
[Touch Diamond, MDA Compact IV General] CyberDemonVZ:
I think I've seen somewhere that new version of one program solves "Answer key problem". Maybe S2U2? Or Showcase?

Do you have one of these programs?
[Touch Diamond, MDA Compact IV General] gtavo:
Yes, I use S2U2, I´m going to have a look to the new version....

Thanks
[Touch Diamond, MDA Compact IV General] CyberDemonVZ:
I've found it!

"fixed the long press Answer key problem introduced by v2.22.

if the long press Answer key function still cannot be assigned normally, stop iLock2 & then delete the \windows\long_send.lnk first"

http://67.43.3.117/~acs2co/S2U2-changelog.html
[Touch Diamond, MDA Compact IV General] gtavo:
thanks cyberdemonVZ, but it didn´t work..., I followed the instructions, but still doesn´t work....

Thank you very much anyway...
[Windows Mobile Software Development] bvone21:
I'm preparing to start a little side project, I have only very basic programming experience so I think I'm going to go with Visual Basic for the application.

What I'm having trouble with learning, is where to go to implement a custom UI if I'm not satisifed with the standard .net controls.

For example, how would I create a custom button control with my own images?

I'm struggling to find any windows mobile development tutorials around UI. Any ideas where to start looking and learning from?
[Windows Mobile Software Development] bvone21:
I found a few links that should be useful after all:

http://msdn.microsoft.com/en-us/library/dd630622.aspx

http://msdn.microsoft.com/en-us/library/aa446518.aspx#imagebutton_topic3

http://expression.microsoft.com/en-us/dd279543.aspx

Still open suggestions or tips for a beginner though if you have any, thanks!
[Windows Mobile Software Development] ajhvdb:
Don't use VB, use C#

Most examples snippets in open source I use are in c#. VB is just as good but ..

Search for UI in the WiMo forum. I opened some topics about UI also and with some answers I submitted there are some links in this forum for you to use.

Search for Sense SDK, fluid for a free UI or use controls from beemobile, resco, or myrabyte.
[Windows Mobile Software Development] bvone21:
Thank you for those tips. I've seen fluid and the Sense SDK in my searches, I'll be sure to give those a go. As it's just a small hobby, I probably won't go with the beemobile, resco route, but thank you for the suggestion.

I keep debating about diving into C# rather than VB, I'm just not sure I can devote the time to get anywhere with it. It seems a bit more complex to understand. VB is already fairly familiar with me and easy enough to learn more about. I also heard that we'll be able to use VB at some point for WP7S development, so that I wouldn't lose any knowledge learned here if I wanted to give WP7S a shot. At the moment WP7S development is C# only however....maybe another reason for me to change my mind...
[Hero, G2 Touch Themes and Apps] uackuack:
Hi,

had someone made a "quietly brilliant" splashscreen to go with this (/showthread.php?t=639628) bootscreen?

Thank you!

(unfortunately i'm on a mac so i can't use CreateG1Splash :( )
[Hero, G2 Touch Themes and Apps] bonesy:
MAde this a while ago, think its the right one :/

View attachment 301438

Extract then. fastboot flash splash1 ....
[Hero, G2 Touch Themes and Apps] RichardFHTC:
Bonsey is the VillianRom 5.01 compatible

Cheers
[Hero, G2 Touch Themes and Apps] bonesy:
Its compatible with any rom as it isn't the bootscreen it is the splash screen.splash screen is the one when u first turn phone on.it vibrates as it shows
[Hero, G2 Touch Themes and Apps] bonesy:
is it what you are looking for?
[Hero, G2 Touch Themes and Apps] Ace42:
Thanks didn't know it existed
[Hero, G2 Touch Themes and Apps] uackuack:
Great!

Thank you very much, i think it will be very usefull for a lot of people.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
My phone got wet and now it starts up but gives me the black screen where I can press volumeup to hard reset, but it doesn't respond when I do this. I'm trying to flash it or do something to fully revert it to a brand new state, but I obviously can't use active sync and cannot get access to the phone's internal memory. How can I do anything?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] mutantblack:
flash through sd card. good luck with that. Hope you did try the phone completely
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
I was hoping there was a way to flash with just the sd card. Would you be kind enough to at least link me to where I could find instructions for this?

The phone is dry. It starts up fine and keeps on, stuck at that black screen. It's been a while since I got it wet.

Thanks.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] jhernand1102:
Well it won't matter because it has water damage. Are the little stickers inside pink? If so then they will charge you for any repairs so it won't matter what ROM you have on..
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
Who will charge me for repairs?

I don't recall ever saying that I will give it in for repairs, because I am aware of the voiding of the warranty when the wet seal becomes pink. Because I realize all of this, I decided to give it a chance flashing the phone and starting it with a new install to see if that would work, as my last chance to get anything out of it.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] SonyEX1:
Try this way

http://xdaforums.com/showthread.php?t=550540
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
Thanks, but I checked those instructions out already, and they assume that I am able to use activesync with the phone. The phone doesn't boot far enough for activesync on my computer to recognize it. All I can do it insert the 16gb microsd card into my usb card reader and put whatever I want on it, and then back into the phone. I would think there is a way to just put the rom onto the sd card and put it into the phone, and then press some kind of bootloader startup key combination so that the phone goes straight to the installation.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] mcakar:
If you take a look a little further down the very same page that SonyEX1 provided, you will see this:

Flashing Via MicroSD Card

1. Make sure your microSD is Formatted to fat32 (you dont have to delete all files but it is safer if you do)

2. Download your prefered Rom from the Rhodium Rom Develpoment Page and unzip/unrar it to your PC

3. Goto the Roms Folder and rename the .nbh file to RHODIMG.nbh

4. Copy the RHODIMG.nbh file to the root of your MicroSD Card

5. Plug the MicroSD Card into the phone

6. Enter the BootLoader screen, you will first see a tri-color screen with the phone and SPL Information at the top

7. Follow the On Screen instructions to start the update

8. After flash has completed, press the reset button with the stylus to reset the device.

As has been stressed many a time on this forum, please make sure that you read through all of the instructions (entire page) very carefully prior to flashing.

http://xdaforums.com/showthread.php?t=550540

Good luck.

Mike.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
Thanks, I noticed that note at the end of the post, but the only rom that I think I would be able to flash is the stock one, because I don't have HardSPL. I can't get HardSPL because I can't activesync the phone to my pc. So I pretty much need the stock rom in nbh format to try anything at all.

I noticed that when I enter the bootloader and plug the phone in to my computer via usb, the computer detects something and says that an htc device is attached, but microsoft activesync still doesn't recognize it and the phone doesn't show up in my computer.

So I guess the search is on to find an .nbh format for the stock rom.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] pinoymutt:
I am not sure what carrier you are on, but if you download the stock ROM from whichever carrier you need (or the generic HTC ones if you have an unbranded one) it should be an .EXE file.

You should be able to right-click on the .EXE and extract the contents into a temp directory using any decent compression software (I use 7-zip). There should be a RUU_signed.nbh file that you can rename, copy to your microSD and manually flash from there.

(And if you already didn't know, you enter bootloader mode by first powering off the phone, hold down the VOL Down key, and power the phone back up while holding the VOL Down key. You should then see the tri-color screen above. This part isn't mentioned in the instructions above and assumes you already know how to get into bootloader mode.)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
Thanks. I didn't know that you could extract .exe's, so I have been searching and found someone's uploaded stock rom in .nbh format. I put it on the sd card and went to the bootloader with it. Right now, It's been at a white screen that just says "Loading...". This has been going on for the past 5 minutes without changing. I don't know how a successfull rom flash is supposed to look like, so I don't know if it's working or not.

Is it supposed to be moving or what? How long do I wait before snatching the battery?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
UPDATE:

I guess the stock rom that I tried previously was faulty or something, because it was hung on the loading screen, so I downloaded the TMOUSA one from their website, extracted the NBH, and put it on the SD card. Everything started looking really good because I had a progress bar and it said something like Radio OK and something else was OK and it was loading the ROM, and then all of a sudden it rebooted into the bootloader, gave some kind of error that I can't really read because it is written on top of the other text in the bootloader, goes into the Loading screen to begin installing the rom, and then reboots again. This is the loop that takes place right now.

It seems like the problem is a dead battery though, because it started flashing fine that first time, and now the phone won't even turn on unless I plug it into USB power from the wall or a PC. But when I do plug it in, it just goes through this bootloader loop. So here is where I'm stuck.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
It seems like I need a fully charged battery to attempt to reflash the stock rom or install any other rom because when the phone is in bootloader, it doesn't charge the battery, and I have no means of charging it.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] clauswl:
you should be able to charge te phone when it is completely off/ Pull the battery out, put it back in (do not power it up), and charge it over night (or at leastfor a couple hrs)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cjm1979:
If the phone was fine before you got it wet, what makes you think re-flashing the stock rom will make it better?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] trve_Charon:
I once crashed my ROM while flashing and wasn't able to do at least anything.

There was no USB-Connection or something else.

At last I entered the bootloader and there the USB-Connection was working and my Computer recognized the Mobile. So I suggest you to try this. To enter the bootloader look for any tutorials around here. ;)

Edit: Aaargh, havn't seen your last post, so forget about it ;)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
Because as I've mentioned previously, after getting wet, the phone boots up into a black screen where it tells me that I can press the VolUP button to hard reset or anything else to soft reset. Pressing any keys at that point doesn't do anything and I can only shut it down by taking out the battery. So I decided to at least try reflashing the rom. It looked like it was installing fine with the last power the battery had, but now I have no hope.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cjm1979:
i have heard of shops that charge batteries up but never seen one. I suppose you may be able to buy a stand alone battery dock if they do one for the Touch Pro 2. Dont you know anyone with the same phone that could charge it for you?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] 8gkl:
No I don't really know anyone with the same phone. I've called 4 shops and all said that they either don't have the same phone to put the battery in to charge, or can't perform this kind of service. I ended up taking apart a usb cable and formulating my own usb charger. Charging right now, will report on how this worked out.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cjm1979:
Ok. This is the kind of device i meant.

amazon.com/European-Desktop-Cradle-Battery-Charger/dp/B002JJC7OW
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Yes, I know what you mean, I pretty much just made something like that where I can connect the red and black usb cable wires to the positivge and negative terminals on the battery.

In fact, after just 5 minutes of sitting in my DIY charger, the battery apparently charged enough because I was able to finally complete the flashing of my stock rom. It said something like Success Install Complete. But then it didn't really do anything, it was on that screen for a while, so I decided to press the little reset button, and now it's stuck on the "Stick Together" pink screen.

What's the standard procedure after flashing a rom?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Alright, after pressing the reset button when it told me the installation was complete, it went on to the yellow-orange screen with the windows logo. It said that things are being configured and that it may take a moment. Now that writing is gone and the screen is just that yellow-orange color with the windows logo. It's been like this for the past 5-10 minutes. Is this normal? I just don't want to wait 2 hours to realize that it stalled.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Update

Update: It took a while, but the phone finally loaded to the main touchflo screen. However, everything is really slow and after pressing something, it only responds after a few seconds. Maybe this is just because this is it's first time booting up again after a flash. I just pulled the battery and inserted a sim card. Will try to load it up again and make a call. Hopefully it won't be as laggy.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Tried installing several different roms, and they all make the phone really slow. It has very slow responses. I can dial a call, just very slowly, but when somebody calls me, it first starts vibrating, and then doesn't show the incoming number very fast, and eventually it just fails to accept the call before it actually ends.

What the hell is going on? Should I try to somehow revert to the stock 6.1 windows?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] surfnet:
I think your phone is hosed.. return it and/or get a new one.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cjm1979:
After the water damage im amazed you managed to get it this far. If your insured you would maybe have to put back the orig spl and rom and then make a claim. I say put back the orig spl because i dont know if modding the software would invalidate your insurance like it does the manufacturers warranty. I know the flashing as not caused the damage but they have that many loopholes to get out of paying out it might be on the safe side.

If your not insured you could always insure it and use it for a couple of weeks or so and then claim. At least if you make and receive calls it will register your imei as been used on the network for when you make a claim and the insurance company check that it as been used in the time its been insured (and they do check).
[HD2 General] shiltz:
I had 10 beta 3 on my phone but saw that final was out so I went and downloaded it but I can't get it to install on HD2, when I click to install it it just imediatly says it was unsucessful, it's like it doesn't even attempt to install at all, doesn't ask for an install location or anything, anyone having that problem too?

T-mobile US stock ROM btw on my phone.
[Desire General] coolbho3000:
I'm very interested in how the Desire kernel works in comparison to other devices. The kernel source, which HTC is obliged to provide under the GPL, is not currently listed at http://developer.htc.com/. I e-mailed them yesterday and this was their response:

Kernel source will also help developers find root exploits (it seems as though fastboot oem unlock does not work on the Desire, or perhaps the majority of Desires). HTC has not been prompt in providing the kernel source before, while competitors like Motorola have provided it the day of launch or before, and Google has always provided kernel source of AOSP-based devices at android.git.kernel.org.

Thus, I will encourage everyone here to pester HTC about the Desire/Legend kernel source. This may help expedite the process. There is absolutely no reason HTC must go through "legal channels" in order to release the kernel source, unless they have plans to withhold the source if said legal channels deny them the privilege of releasing the source.

Also, I'm curious about the Desire's hardware. Can someone run a "cat /proc/meminfo" to see that extra 64MB of RAM? :rolleyes: Also, run a multitouch test to see if the Desire uses a "fixed" panel.

To begin root speculation, can anyone confirm that there are OEM unlockable Desires in the wild? If so, could we downgrade production Desires to this older SPL and then unlock? HTC's latest kernels seem rock-solid, and are probably incredibly difficult to exploit: just look at the Eris.
[Desire General] irkan:
I think Mr. Chris does not have a clue what the hell are you talking about :)

those customer care guys are just there to make you feel better, in most cases they know nothing about what you really want, they just have a template that they can fill in the blanks from your request.

in the mean time, i will fire them an email too and see how they will fill in the blanks :)
[Desire General] s1977:
Here's the output from meminfo below:

$ cat /proc/meminfo

MemTotal: 407900 kB

MemFree: 58380 kB

Buffers: 1224 kB

Cached: 122968 kB

SwapCached: 0 kB

Active: 242228 kB

Inactive: 80004 kB

Active(anon): 202488 kB

Inactive(anon): 0 kB

Active(file): 39740 kB

Inactive(file): 80004 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 0 kB

SwapFree: 0 kB

Dirty: 0 kB

Writeback: 0 kB

AnonPages: 198052 kB

Mapped: 69508 kB

Slab: 8648 kB

SReclaimable: 2556 kB

SUnreclaim: 6092 kB

PageTables: 12284 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 203948 kB

Committed_AS: 4838304 kB

VmallocTotal: 466944 kB

VmallocUsed: 130264 kB

VmallocChunk: 305156 kB
[Desire General] coolbho3000:
Thanks :) Looks pretty similar to the N1 after highmem, give or take 12MB or so. That 64MB is probably baseband-only after all...
[Desire General] coolbho3000:
Bump: Now that the HTC Desire has been rooted, it is more imperative than ever that we have the kernel source. Kernel source will allow low-level tweaks that is not possible without it!

Please bug HTC about this issue so that the Desire kernel can be modified.
[HD2 General] Thraka:
I took off my battery cover to soft reset it and I noticed this little hole on the opposite side of the reset switch that says VOID in it. Does that mean my device warranty is voided?? If not, why is it there and what is it there for?
[HD2 General] kilrah:
No, it means that your warranty will be voided if you break it to remove the screw that's under it.
[HD2 General] Thraka:
Thanks for the clarification :)
[HD2 General] pa49:
Some people really shouldn't be allowed anywhere near this sort of equipment!

Ah well.
[HD2 General] quasi_mojo:
put the cover back on, put the phone in another room, go and drink alot of beer and watch alot of naughty movies.

anything to distract you from thinking its a good idea to take it apart ;)
[HD2 General] Nightrod1:
You have probably changed the battery icon to show %. That little hole is where the speaker ikon was. The battery icon seems to blank it out.
[HD2 General] Nibbley15:
ahhh ok, NO!
[HD2 General] freeincolorado:
x2... My thoughts exactly.
[HD2 General] tom275:
I was wondering about that as well. Thanks for the "friendly" advice ;)
[HD2 General] HD2_(ab)User:
Oh great! So because I was unconcentrated for 5 seconds I clicked on the VOID button thingy, instead of the reset, so I VOIDED my warranty?! Even though I bearly touched it I felt it and saw it crack and collapse! What the heck?! I'm such an idiot!
[HD2 General] fmmsf:
yep, that's probably it!
[Hero, G2 Touch Q&A, Help & Troubleshooting] riyadhuae:
Hey,

I guess how precious is the development of Coreplayer for Android!

lol, do we have any date for a working version??

I am sure that we are so many to wait impatiently this new application that will revolutionize the multimedia side of our "ANDROID" I hope that it will be as soon as possible!

~@NDRO!D G3N3R@T!ON~