does anyone know how to create this simple widget please - Android Software Development

hi there are apps for eircom keygens on the market such as penetrate pro.
i saw a perl file a while back and the code looks easy.different to android i know.
can someone please make an eircom keygen widget where you put in the network ssid and another copy paste box for copying the key, please

Related

Blackberry Connect - Disassembler or Decompiler

Hi there,
I'm trying to take the Blackberry Connect DLLs contained within the original CAB file and get them disassembled back to the original code.
The reason being is, I need to be able to hardcode the PIN instead of allowing the software to generate the PIN automatically.
Please let me know the best way to do this or what applications I should try using. From my understanding, it will need to be an application that supports ARM.
If needed, I can post the DLLs if someone would like to look into this for me.
Cheers
Aaron
Well, I was able to do this with IDA.... It doesn't look like C++ at all however!
Can anyone help me locate where I could manually set the PIN? I can supply the DLLs
Cheers
Aaron
Can no one help? Doesn't anyone know ARM Assembly here?
Cheers
Aaron

How do I make a shortcut to the bluetooth settings?

I use SPB today.
I cant find a shortcut to bluetooth settings and I would find one really useful.
Can anybody point me in the right direction
Cheers
Copy this link to your device or storage.
Then create a shortcut to this link.
Easiest way I found was to install O2 Plus (and Mystery's patch to enable it for all devices, after installation of the actual program) and then I just made a shortcut to the Bluetooth settings, right on the Today screen.
Tjongi,
thanks thats just what i was after!
Cheers
Data Connection .lnk
I'm looking for a .lnk for Data Connection in the control panel. Does anyone know one for that?
I use a free app call "Any Cut", which let's you make shortcuts to lots of cool stuff like special settings. Check it out!
hey just use any {explorer} program for creating links your needed files, for example, Total Commader, Resco Explorer)
grab file on attachment & rename file type *.zip => *.exe)

App Development Help

I've been trying to create themes for the Market Home Alternatives (such as Panda Home, Open Home, aHome, etc) however, I'm a Graphic Artist, not a programmer. I know very little about Java and even less as to how its applied to Android and I need some help here.
I managed to figure out how to create an .apk in Eclipse (after many failures and problems) and even figured out how to sign it in Eclipse. The app installs fine on my device but it doesn't do anything. It will not apply to any Home Alts.
What I need to know is, what do I need to include to allow it to access these home alternatives. Is there something I must include in the Android Manifest? I noticed a some XML files when I looked into other peoples theme.apk's that aren't in mine.
Could someone explain this to me please? I would appreciate it greatly. Thanks in advance to anyone who drops a line.
________________________________________
On another note, does anyone know why Jarsigner in the Java SDK wont open? When I try to open it, a command-like window opens and then immediately closes. Any ideas there?

[SOLVED] Programs "Start Menu" from imported ROM

I hate to ask on here because I feel like the answer should be obvious but it hasnt been.
I imported the latest AT&T ROM for the Tilt 2 in to OSKitchen and have been customizing/modding the heck out of it. Added my own software, removed most of the AT&T crap. Changed SYS to 21916 and even 2019 Manila without difficulty.
What is stumping me? The stupid default shortcuts for things like ActiveSync or email setup , remote destop Windows Live etc...
Most apps I have changed the app.dat to modify location for most things that I kept. However I have searched in both sys and EXT for prov.xml files, reg files basically ALL file contents looking for the likes of the apps above and just CANT find reference to them.
Is there some default behavior that says if a .lnk file exists in windows make a shortcut in the root of "Programs" ? or what am I missing. (Even that doesnt hold water though because activesync is actually async.lnk.
I know I can use something like mortscript to just move them around but this is more about wanting to know what the heck I seem to be missing. Thanks in advance and hopefully this isnt a stupid question.
hx4700 Killer said:
I hate to ask on here because I feel like the answer should be obvious but it hasnt been.
I imported the latest AT&T ROM for the Tilt 2 in to OSKitchen and have been customizing/modding the heck out of it. Added my own software, removed most of the AT&T crap. Changed SYS to 21916 and even 2019 Manila without difficulty.
What is stumping me? The stupid default shortcuts for things like ActiveSync or email setup , remote destop Windows Live etc...
Most apps I have changed the app.dat to modify location for most things that I kept. However I have searched in both sys and EXT for prov.xml files, reg files basically ALL file contents looking for the likes of the apps above and just CANT find reference to them.
Is there some default behavior that says if a .lnk file exists in windows make a shortcut in the root of "Programs" ? or what am I missing. (Even that doesnt hold water though because activesync is actually async.lnk.
I know I can use something like mortscript to just move them around but this is more about wanting to know what the heck I seem to be missing. Thanks in advance and hopefully this isnt a stupid question.
Click to expand...
Click to collapse
Try look in the initflashfiles.dat file.
Lol sure enough. More proof positive that Win7 search is garbage. I had it search file contents but for whatever reason it didnt find those shortcuts because it didnt search that file and it is indexed.
You can change the name of the actual .lnk then using an app.dat rename it and place it in where you'd like. I was having this problem with WM Live so I renamed the actual "WLMLauncher.lnk" to "_WLMLauncher.lnk" and then added this line:
Code:
Directory("\Windows\Start Menu\Programs\Internet"):-File("Windows Live.lnk","\Windows\_WLMLauncher.lnk")
to an app.dat in the Start Menu section of my kitchen.
This way whatever is natively calling that link won't be able to recognize it anymore.
If you're simply having trouble finding all the .lnks, just search your SYS XXXXX directory for ".lnk" and that should pull up all the async and email links that you're having trouble with.

Edit the HTC sense weather location database - Updated for Sense 2.x up

Edit the HTC sense weather location database.
For editing sense 1.0 weather databases, use the method immediately below. Information for editing sense 2.X and above is shown in the section marked “New directions for editing the weather database in sense 2.X” below .
After much searching with no results I finally came up with a way to add locations to the HTC Sense weather database. If this has been posted before sorry for the redundant post but I could not find this anywhere and thought it might help some people. The file to edit is located in the phone at /data/data/com.htc.provider.weather/files/WP_0409WWE.db. To get the file you need to be rooted and have Root Explorer from the market or QtADB (http://forum.xda-developers.com/showthread.php?t=972758) which make moving the file from the phone to the PC and back very easy.
1. With Root Explorer, copy the WP_0409WWE.db file to the Sdcard and then copy it to your computer for editing. I use QtADB to move files. Just plug the phone in and leave it on charge only. QtADB will bring up a phone and PC directory side by side and you can migrate to the file and drag it to a directory on the computer.
2. To edit the database, you can use a free SQLite Database Browser found at http://sourceforge.net/projects/sqlitebrowser/. Open the WP_0409WWE.db file in the editor and then click on the Browse Data tab. In the Table drop down list, choose locationlist. At the bottom of the page, click the forward arrow until you reach the end of the file, then scroll to the bottom of the list. Now add your own city using the format as shown in the table. To do that, click ‘new record’ at the upper right and a new line will appear at the bottom of the list. To edit the database cells with SQLite editor, double click on a cell and an editing window will pop up. Click in the window, input your info, and click ‘apply changes’ at the bottom of the window.
3. Since the file uses Accuweather, you’ll want to make sure that Accuweather has data for your city. Just go to the Accuweather.com website and put your city in the search. If Accuweather doesn’t find your city, then find the city that is closest to your location.
4. Once you are satisfied with your edits, save the file and replace the file in your phone with your new file. This is where QtADB makes copying files easy. Just drag and drop from one window to another and you’re done. Reboot your phone and enjoy your new locations.
New directions for editing the weather database in sense 2.x roms.
Have been using the new sense 2.x roms and have found that the SQLite Browser in the above directions will not edit the new weather database. The easiest way I have found for the new database format is with the SQLite editor by Speed Software form the market as suggested by Polar67 in post number 11. This is a purchase app so it requires a little cash outlay. Here are Polar67's directions with a slight modification of using SQLite editor rather than Root Explorer to locate the database. Please thank Ploar67 for this method.
1: Navigate to /data/data/com.htc.provider.weather/files
2: Backup original databases to secure location.
3: Open SQLite editor and it will display a list of databases with Weather Provider (com.htc.provider.weather) at the bottom.
4: Tap on Weather Provider and open the WP_0409WWE.db file.
5: Find location near what i want to add & clone.
6: Edit clone to fit my new location.
7: Save -> Reboot -> Done.
Another method starts the same as the sense 1.0 version, but uses the free SQLite editor, SQLite Expert Personal http://www.sqliteexpert.com/SQLiteExpertPersSetup.exe.
1. With SQLite Expert open the WP_0409WWE.db. The database will be listed in the left pane. Open locationlist and find a location close to what you need. Double click anywhere in the row and it will bring up the record for editing.
2. Copy the location code, then close the window. Click on the plus icon in the row above the data list to add a new record. Paste the weather location you copied into the code field. At this point, you can either go back and forth copying and pasting or just fill in the fields manually. When pasting the location code IE: NAM|US|WA|EAST OLYMPIA, you can just edit the state and city to the location you want as in NAM|US|WA|OAK HARBOR to NAM|US|FL|KEY WEST.
3. If you want to check that your location will bring back weather, try your location in Accuweather.com first.
4. When you are done close the database and copy it to your phone. Reboot and fill your widget with your custom locations.
As a side note the citied listed on the weather widget are located in the /data/data/com.htc.provider.weather/databases/weather.db. When you have them the way you want copy that and WP_0409WWE.db to a safe location on your SD Card. When you load a new ROM, copy them to their respective locations, and your weather is set.
For the cooks in the audience, the database is located in the system/etc/WPDB.zip file. It is a multi language file and you can safely remove the languages you don't need.
The database location for ICS and Jellybean has changed to system/app/WeatherProvider.apk.
If this has helped you clicking the thanks button is appreciated.
Thanks dude, I will try this out. The city where I live in (small burb of H-town) is not in HTC db and this may come handy!
Glad you find this useful. Hopefully I got all the directions down if not just ask. When I get enough posts I'll try to add the download links.
I think it will be interesting to start a project about creating a huge list of cities of the world. Otherwise, it is possible to create several list for each country or continent because of the huge number of cities available in the world
Re: Weather location database
Hi!
Thanks a bundle. Tried your suggested approach.
Don´t know if this is an issue with all devices running anything else than english.
For the sake of detail i probably should mention that my device is a Desire HD.
However both are Android devices & since the guide originated here i´ll put this post here instead of starting a similar thread on the same topic elsewhere.
Anyway: As you can see on the attached screen dump I found 2 databases. BlablaWWE.db & a language specific version. I tried editing the WWE-base only but that resulted in a force closure of the weather App.
I had to edit both databases to match in order to acheive the desired result.
Regards
ELO
Can this be done on hero?
Polar67 said:
Hi!
Thanks a bundle. Tried your suggested approach.
Don´t know if this is an issue with all devices running anything else than english.
For the sake of detail i probably should mention that my device is a Desire HD.
However both are Android devices & since the guide originated here i´ll put this post here instead of starting a similar thread on the same topic elsewhere.
Anyway: As you can see on the attached screen dump I found 2 databases. BlablaWWE.db & a language specific version. I tried editing the WWE-base only but that resulted in a force closure of the weather App.
I had to edit both databases to match in order to acheive the desired result.
Regards
ELO
Click to expand...
Click to collapse
Hi Polar
Thanks for the find about editing the other language file. My rom is english only so I didn't see the othe laguage files. I would like to add you findings to the first post if you don't mind.
Did you use the programs for moving and editing the files from the first post or did you use something else that would make the proccess easier? It would be nice to have this as staight forword as possible.
Hotrod
appsmotocliq said:
Can this be done on hero?
Click to expand...
Click to collapse
Appsmotocliq
If you are using a sense rom backup your data file and give it a try.
Hotrod
Fightspit said:
I think it will be interesting to start a project about creating a huge list of cities of the world. Otherwise, it is possible to create several list for each country or continent because of the huge number of cities available in the world
Click to expand...
Click to collapse
Fightspit
A datadase of all locations would be handy but rather large. If it were broken down into each counrty or even states it might be easier to handle. If anyone would like to take this on that would be great.
Hotrod
If you're not seeing your city's code but rather something like this accuweather.com/.../quick-look.aspx in the browser bar you can use accuweather.com/rss-center.asp instead.
Sorry for the broken link but I'm not permitted to post links as a newbie and I had to find a way around. ;-)
Re: Weather location database
Hotrod68 said:
Hi Polar
Thanks for the find about editing the other language file. My rom is english only so I didn't see the othe laguage files. I would like to add you findings to the first post if you don't mind.
Did you use the programs for moving and editing the files from the first post or did you use something else that would make the proccess easier? It would be nice to have this as staight forword as possible.
Hotrod
Click to expand...
Click to collapse
Hotrod you are more than welcome to make any changes to the guide as you see fit.
Regarding the modus operandi i ended up using:
1: Navigate to /data/data/com.htc.provider.weather/files
2: Backup original databases to secure location.
3: Open any and all databases subsequently directly from Root Explorer into SQlite editor
4: Find location near what i want to add & clone.
5: Edit clone to fit my new location.
6: Save -> Reboot -> Done.
Afterwards sqlite_sequence will now read one entry higher than before.
In the case of a foreign languaged rom i´ll hazard a guess that it´s probably necessary to keep the same entry ID´s across both bases i.e. for example Nanortalik being ID# 3631 in both bases. I can´t be sure but if HTC weather App uses ID numbers for anything at all we´ll most likely get a botched result if ID´s vary across bases.
The attached screen dump shows my result.
I pretty much only did things this way because i had the "ingredients" ready at hand, that is Root Explorer & SQlite editor from the market. I dont´t think it´s any easier, but it can be done "on the fly" without a computer.
Regards
ELO.
Polar67 said:
Hotrod you are more than welcome to make any changes to the guide as you see fit.
Regarding the modus operandi i ended up using:
1: Navigate to /data/data/com.htc.provider.weather/files
2: Backup original databases to secure location.
3: Open any and all databases subsequently directly from Root Explorer into SQlite editor
4: Find location near what i want to add & clone.
5: Edit clone to fit my new location.
6: Save -> Reboot -> Done.
Afterwards sqlite_sequence will now read one entry higher than before.
In the case of a foreign languaged rom i´ll hazard a guess that it´s probably necessary to keep the same entry ID´s across both bases i.e. for example Nanortalik being ID# 3631 in both bases. I can´t be sure but if HTC weather App uses ID numbers for anything at all we´ll most likely get a botched result if ID´s vary across bases.
The attached screen dump shows my result.
I pretty much only did things this way because i had the "ingredients" ready at hand, that is Root Explorer & SQlite editor from the market. I dont´t think it´s any easier, but it can be done "on the fly" without a computer.
Regards
ELO.
Click to expand...
Click to collapse
Polar67,
Just tired your method for editing the database and found it is very easy and no computer needed. Found I could use SQlite editor from the market and let it find databases then scroll down to Weather Provider listing, select that, open the WP_0409WWE.db file, select location list and edit as usual. As you say, if you have a different language file edit it also. Save, reboot and select your new locations in the weather panel.
Thanks for the suggestion, didn't think of that method.
Hotrod68
Where are the information ?? HTC HD2 - Imilka Ram Desire HD Rooted
Dear Hotrod68,
This thread is really a savior, but something is causing me some confusion,
My HTC Weather Widget shows only Egypt !!! and never shows Cairo?!!
I have an HTC HD2 with the following ROM installed,
imilka's RAM Desire HD v1.0 (Rooted)
http://forum.xda-developers.com/showthread.php?t=954369
I have followed the all steps, you mentioned on first post, except for the copying files program, I'm planning to use the conventional method.
Copied the WP_0409WWE.db file to my computer,
Opened it by SQLite
To my surprise, my country and even my city were listed on the db ??!!
That's Cairo, Egypt. please refer to image below.
How to proceed? What to do?
One more strange and weired thing,
On the image below you'll notice that my location is shown precisely, to district level, on News & Weather Widget (By The Weather Channel) ???!!!
this is Heliopolis.
On AccuWeather web page I couldn't find the information to fill in the cells?
Help, advice will be very appreciated.
adazamim said:
Dear Hotrod68,
This thread is really a savior, but something is causing me some confusion,
My HTC Weather Widget shows only Egypt !!! and never shows Cairo?!!
I have an HTC HD2 with the following ROM installed,
imilka's RAM Desire HD v1.0 (Rooted)
http://forum.xda-developers.com/showthread.php?t=954369
I have followed the all steps, you mentioned on first post, except for the copying files program, I'm planning to use the conventional method.
Copied the WP_0409WWE.db file to my computer,
Opened it by SQLite
To my surprise, my country and even my city were listed on the db ??!!
That's Cairo, Egypt. please refer to image below.
How to proceed? What to do?
One more strange and weired thing,
On the image below you'll notice that my location is shown precisely, to district level, on News & Weather Widget (By The Weather Channel) ???!!!
this is Heliopolis.
On AccuWeather web page I couldn't find the information to fill in the cells?
Help, advice will be very appreciated.
Click to expand...
Click to collapse
Hi Ahmed,
SOrry you're having trouble. Could you upload your WP_0409WWE.db file. It looks different than mine and I'd like to see why. It looks like you are using English on your phone. If not Polar67 found there should be a language specific file in the same location as the WP_0409WWE.db file that needs to be modified If it is there could you upload that file also.
Accuweather has a listing for your location, AFR|EG|EG011|Heliopolis, if you want to try putting that into your database. To show your location name put Heliopolis in the cell to the left of Egypt in the database.
Hope this helps, Jon
Hotrod68 said:
Hi Ahmed,
SOrry you're having trouble. Could you upload your WP_0409WWE.db file. It looks different than mine and I'd like to see why. It looks like you are using English on your phone. If not Polar67 found there should be a language specific file in the same location as the WP_0409WWE.db file that needs to be modified If it is there could you upload that file also.
Accuweather has a listing for your location, AFR|EG|EG011|Heliopolis, if you want to try putting that into your database. To show your location name put Heliopolis in the cell to the left of Egypt in the database.
Hope this helps, Jon
Click to expand...
Click to collapse
Hi there Hotrod,
Find attached the WP_0409WWE.db file on my phone,
And no, there is no other local version on the same directory.
I really appreciate your response, and will be looking forward to having your feedback regarding the db file attached.
Thanx a million dear friend.
Note: To open the file, rename it to (.db) extension.
I had to change the extension to comply with xda file types
I use a Sprint Evo in Dallas, Texas and have had Cairo, Egypt in my weather list for several months, and it works. (I had wanted to take a tour to see the pyramids, but I won't do it now!)
My database is also English (WP_0409WWE.db), and my Cairo entry looks exactly like yours, it is even entry #78 like yours. Maybe you should just restore the original database to see if it works.
Does "My Location" t work in Egypt to see where the phone thinks it is?
Ahmed,
I've added Heliopolis to the database. See if this works for you.
Jon
JimSmith94 said:
I use a Sprint Evo in Dallas, Texas and have had Cairo, Egypt in my weather list for several months, and it works. (I had wanted to take a tour to see the pyramids, but I won't do it now!)
My database is also English (WP_0409WWE.db), and my Cairo entry looks exactly like yours, it is even entry #78 like yours. Maybe you should just restore the original database to see if it works.
Does "My Location" t work in Egypt to see where the phone thinks it is?
Click to expand...
Click to collapse
Dear Jim,
Thank you for your reply,
You're surely welcome to Egypt and we'll be happy to have you
I have downloaded AccuWeather.com application from the Market.
Check image below, and you'll find that the application has determined my location upto district accuracy (That's Madinat an Nasr (Nasr City), Home now)
On my previous post, the Weather Channel Widget has, also, been able to determine my location upto district accuracy (That was Heliopolis, Work)
Weired that the HTC Weather-Clock widget doesn't show but EGYPT.
I can add Cairo, as a city,
But the widget still gives Egypt whenever I choose "Current Location"
I have added both "Heliopolis" and "Madinat an Nasr" to the database,
Now I can choose them like cities, but they never show up if I choose "Current Location"
So,the phone knows where it is !!! But the HTC Weather Widget knows only the country !!!!!!!!!
Pictures attached shows weather widgets (AccuWeather + TheWeatherChannel)
These two, show correct location and temperature !!!!!!!!!
I'd die to have HTC weather widget showing my precise location.
EDIT:
Thank you HotRod, never worked
That sounds like more of a GPS problem. I'm pretty sure that's how the phone knows where it is.
Do any other location apps work, like Google maps, other weather or navigation programs work?
JimSmith94 said:
That sounds like more of a GPS problem. I'm pretty sure that's how the phone knows where it is.
Do any other location apps work, like Google maps, other weather or navigation programs work?
Click to expand...
Click to collapse
Hi Jim,
All work like treat except for this specific widget.
Thank you.
Sent from my HTC HD2 using XDA App

Categories

Resources