[widegt] facebook with back button - Windows Mobile Development and Hacking General

to edit the widget you only need to edit 2 files config.xml and facebook.htm
config.xml
Code:
<?xml version="1.0" encoding="utf-8" ?>
<widget version="1.0"
xmlns="http://www.w3.org/ns/widgets"
id="">
<name>[COLOR="Red"]Facebook[/COLOR]</name>
<content src="[COLOR="#ff0000"]facebook.htm[/COLOR]" type="text/html" />
<access network="true" />
<icon src="[COLOR="#ff0000"]icon.png[/COLOR]"/>
<description>
[COLOR="#ff0000"]Facebook for windows mobile 6.5.
gullum[/COLOR]
</description>
</widget>
Just edit the text in red
facebook.htm
Code:
<head>
<title>Facebook</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">[COLOR="Lime"]<style type="text/css">
<!--
body {
background-color: #191619;
}
-->
</style>[/COLOR]
</head>
<iframe src="http://[COLOR="Red"]m.facebook.com[/COLOR]" width="100%" height="90%" style="background-color: white;"></iframe>
<div align="right">
[COLOR="RoyalBlue"]<a href="javascript:history.go(-1)" onMouseOver="self.status=document.referrer;return true" ><img src="back.png" name="Image1" width="15%" height="15%" border="0" id="Image1" /></a>[/COLOR]
</div>
</body>
</html>
green is to code for background color
red is the page being displayed
blue is the script and image for the back button
I'm trying to get the softkey working by examining the money widget from MS but their javascripts are not verry organiced.

This is manily just a demonstartion on how to get a back button
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this should work on all devices and will adapt button size acording to screen size.
in the VGA screenshot you see that the exit softkey is called back but the button does nothing yet. the java script is only included in the template zip.
maybe someone could find the right comand to make the back button work from softkey.
View attachment facebook.zip
unzip and copy to device you'll need the enable widgets cab found elswhere on thia forum the just dubble click
View attachment Facebooktemplate.zip
this is for those of you that like to play this also contains the menu.js for the softkey back button so please help to figure out the comand needed.

great job gullum!
any chance of adding other links in that space? like shortcuts to home and phonebook and such?

hrhnick said:
great job gullum!
any chance of adding other links in that space? like shortcuts to home and phonebook and such?
Click to expand...
Click to collapse
yes that would be possible.

Thanks for posting this template because I have absolutely no programming/development knowledge. I tried it out and made a widget for Kotaku. These widgets are a good start. Glad you were able to make a temporary back button until someone figures out how to make the softkey go back. Do you know if anyone has figured out how to zoom in/out?

Related

[SKIN] My Program Icons - 7 April (Glossy Icons)

Hey folks,
i have had some requests for my program icons so i decided to post them
I will add more when i have more time
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
=====
NOTES
=====
1. This cab will install the following
icon.dll (required for the icons to your windows directory)
Folders with my icons to your start->programs menu
2. The folders that will be installed have been given an ENGLISH name. If you have your default folders in another language, you will end up with your original ones PLUS my own folders.
===================
CUSTOMIZE YOUR FOLDERS
===================
1. Using a file explorer navigate to /windows/start menu/programs
2. Every folder (from my skin, has its own icon.lnk file. You can copy that to any folder you like to give it the same icon
3. Put that mess in a nice organized order!!!
==============
DOWNLOAD MIRROR
==============
Download from Rapidshare
Thanks, they are cool. looks great with the new rhodium icons.
Thanks
Excellent. These might end up in my ROM, if I can get evrything else working. Seems like nobody wants to share the Rhodium commanager, which is all I need to make more progress. Thumbs up
Here's some I put together. Not quite as nice, but effective.
Same install instuctions as Gianni86's folder icons.
jmckeejr said:
Excellent. These might end up in my ROM, if I can get evrything else working. Seems like nobody wants to share the Rhodium commanager, which is all I need to make more progress. Thumbs up
Here's some I put together. Not quite as nice, but effective.
Same install instuctions as Gianni86's folder icons.
Click to expand...
Click to collapse
try this mate
http://forum.xda-developers.com/showpost.php?p=3583785&postcount=94
Hi Giannis86,
Could you please list the Folder namesyou have created........
its the same names as in the screenshot (1st post)
Very nice, Thanks It definetly cleans everything up. You sure have been busy, I also love your FingerKeyBoard!

New GUI, possible!?

I have made a picture in photshop what gui i will like to have on wm 6.5.
this is what i would like to change
-new yes/no buttons
-new info taskbar(or new pop up window)
-new scroll bar
-new wait animation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is it possible to have, at least one of these??
EDIT
i have manged something, but i have some problems
here are pics
get this blue?
You only can't change Buttons (Yes/No).
Check this my custom theme on attachment.
where should i copy this files, in win root?
any pics?
It was Kitchmen package, but you can install it manually.
Extract it, copy files in \amarullz_GreenBlack\files\*.* into \Windows
And change your themes in Start Menu->Settings->Today
i am also using visual kitchen, will put it in...
EDIT: well only thing i got new is scroll bar, and green selecting, can i somehow keep scrollbar and have blue selecting?
also how to get vista/win7 wait animation?
benko286 said:
i am also using visual kitchen, will put it in...
EDIT: well only thing i got new is scroll bar, and green selecting, can i somehow keep scrollbar and have blue selecting?
also how to get vista/win7 wait animation?
Click to expand...
Click to collapse
You can edit the Images. There is "listViewSelector.ManilaGreen.png" and other files ( I think you know the image will show in which area just by read the filename ). For system color, you should edit the ClassicGreen.tsk file with WinCECab Manager.
For your message box design, you can easily edit the "msgboxBorder.ManilaGreen.png", and "msgboxTitle.ManilaGreen.png".
For vista wait animation, you need to edit the dll file with reshack, try to find it, it was available in some thread..
sorry for my english
i will try "msgboxBorder.ManilaGreen.png", and "msgboxTitle.ManilaGreen.png".
but for dll, i will need to request....
Vista Wait Cursor here:
http://forum.xda-developers.com/showthread.php?t=520067
Search for marschall wait cursor (mwc)
amarullz said:
Vista Wait Cursor here:
http://forum.xda-developers.com/showthread.php?t=520067
Click to expand...
Click to collapse
thx, trying editing this png files no progress so far......
i have manged something, but i have some problems
here are pics
get this blue?

{BiGnAdAd HowTo} Want to Learn How to Make a Cab File? Step by Step Screenshots!

This How To will show you step by step how to create a cab file.
You can cab up anything you want to put on your phone in ANY directory...
Cab Manager Program
I use and recommend WinCE Cab Manager (Get it HERE)
it has a 30 day free trial and is $99 after that...
Sure there are more out there... Feel free to Post
Getting Started
First you will need a file to cab. We will start with a basic single manila file.
i have attached one if you don't already have..
* Here you can simply add a document/picture to your my documents folder
After Installing Open WinCE Cab Manager
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Enter Name's for Company and whatever cab your making
Just Click Next..
Just Click Next Again....
And now click finish...
Now this should be what you have. Displays all info for cab file
Now we need to add the files.
From windows explorer just click and drag the files right on top of Files...
Once you do that the following dialog box pops up...
Here you can change name or attributes
Click Location tab
Here you can choose what directory to put file(s) in. you can also add a new folder
Click Ok
Now back at main screen
Here you can "Allow Uninstall"
also you can Compress
I recommend compressing for files over a meg or two
From the menu click CABINET...PROPERTIES...
Here you can change ALL properties of cab file
Click OK...
Back at the Main Screen...
All left to do is review and Save
You can also add Shortcuts and make changes to the registry...
Now to Save...Choose location and SAVE!
reserved......
reserved....
bignadad said:
reserved....
Click to expand...
Click to collapse
Awesome, thank you!! I'd been looking at some other "how-to-cab" guides, this one seems to be as simple as can be
Looks like I've got my weekend project all lined up now

[Q] Delete data on SQLite

If this is the wrong section, kindly move it. Thanks!
I'm developing an android application wherein I can add, view and delete data from SQLite. I'm already done with add and view and my problem is the deleting, I want it to be like this:
I
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
so when I go to View all, a "DELETE" button will be shown beside the data, and clicking the button will remove the data from Android's SQLite
junchronick said:
If this is the wrong section, kindly move it. Thanks!
I'm developing an android application wherein I can add, view and delete data from SQLite. I'm already done with add and view and my problem is the deleting, I want it to be like this:
I
so when I go to View all, a "DELETE" button will be shown beside the data, and clicking the button will remove the data from Android's SQLite
Click to expand...
Click to collapse
So is the question " what is the command to remove information from the databases " ?
Assuming that you have already tried and met resistance... what is stopping you from have a "delete" button that actually ADDS a null value to to the key,name, and setting ?
I've never made it into a button like you are saying, but having null values replace the undesired has always worked well for me,
Hope that is helpful.
junchronick said:
If this is the wrong section, kindly move it. Thanks!
I'm developing an android application wherein I can add, view and delete data from SQLite. I'm already done with add and view and my problem is the deleting, I want it to be like this:
I
so when I go to View all, a "DELETE" button will be shown beside the data, and clicking the button will remove the data from Android's SQLite
Click to expand...
Click to collapse
Your image doesn't show up so I assume its a list view where you will view all entries. In this case in the list view xml put a delete button, and in the activity you have to implement a custom adapter that listens for the button click (Google "custom simplecursoradapter"), and to delete the file it would be dbHelper.delete(Table, id, null) instead of dbHelper.add or dbHelper.query.
hope this helps

Sinhala Unicode In Android Phones

මුලින්ම Phone එක Root කරන්න ඕනේ
මේ Fonts ටික Download කරගන්න
LBha****aComplex.ttf
LBha****aComplexSans.ttf
LBha****aComplexSansBold.ttf
ඊට පස්සේ Root Browser Download කරගන්න
Download
ok දැන් වැඩේට බහිමු
මුලින්ම Download කරපු Fonts ටික Memory card(SD Card) එකට දාගන්න
Root Browser Install කරගන්න
Root Browser එක open කරලා Fonts ටික Copy කරගන්න
ඊට පස්සේ Home Button click කරලා ගිහින් System folder එකක් ඇති ඒක Open කරගන්න
ඊට පස්සේ fonts folder එකක් ඇති ඒක Open කරගන්න
දැන් Fonts ටික Paste කරගන්න
ඊට පස්සේ PERMISSIONS! 644 or -rw-r–r– (Change කරගන්න)
LBha****aComplex.ttf
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LBha****aComplexSans.ttf
LBha****aComplexSansBold.ttf
තවම වැඩේ ඉවර නෑ
දැන් System folder එක ඇතුලේ etc folder එක Open කරගන්න
ඒකේ ඇති fallback_fonts.xml එකත් Open කරගෙන modify කරගන්න
මේ වගේ
Opwn with RB Text Editor
DroidSansGeorgian.ttf එකට පස්සේ
<family>
<fileset>
<file>LBha****aComplex.ttf</file>
<file>LBha****aComplexSans.ttf</file>
<file>LBha****aComplexSansBold.ttf</file>
</fileset>
</family>
Save කරගන්න
ඊට පස්සේ PERMISSIONS! 644 or -rw-r–r– (Change කරගන්න)
Reboot and Enjoy!
Hit The Thanks Button If I Helped U
bump
මචෝ වටිනවා ලිපිය...මං යූස් කරන්නෙත් 816 ඩිවයිස් එකක්...පොඩි හෙල්ප් එකක් ඔන...
Sri Lanka - Omesh said:
මචෝ වටිනවා ලිපිය...මං යූස් කරන්නෙත් 816 ඩිවයිස් එකක්...පොඩි හෙල්ප් එකක් ඔන...
Click to expand...
Click to collapse
The Forum Rules state that you must use the English Language on XDA, or provide a full English translation alongside the content in your own language.
Given the context of this thread, and unless someone (rightly) complains, I'll leave this be for now.
Please take note for future.
Thanks

Categories

Resources