Saturday, 30 May 2009

Adding a list item to Document library through c# in SharePoint 2007

As we all know the required filed for document library is not Title. We should be upload a file for the document library list item. This is the required field by default. You can add columns and make them required as well. So, when through program we want to add a list item to the document library then we need to collect the uploaded file and the meta data i.e. the list of columns data. So on the custom form of the document library we need to add ASP.NET controls for file upload and for all the other columns. Here I thought of giving C# code we need to use to create a list item in SharePoint document library. I think this is the only efficient way of adding a list item to document library. If not please post your ideas.

string fileName = fileUpload.PostedFile.FileName;
using (SPSite site = new SPSite("http://sharepointserver"))
{
using (SPWeb web = site.OpenWeb("/"))
{
try
{
web.AllowUnsafeUpdates = true;
using (FileStream fs = File.Open(fileName, FileMode.Open))
{
SPList list = web.Lists["Documents"];
Hashtable metaData = new Hashtable();
for (int i = 0; i < keys.Count; i++)
{
metaData.Add(keys[i], values[i]);
}
SPFile destfile = list.RootFolder.Files.Add(fileName.Substring(fileName.LastIndexOf("\\") + 1),
fs, metaData, true);
if (destfile == null)
lit.Text = "Error in adding file";
}
}
catch
{ }
finally
{
web.AllowUnsafeUpdates = false;
}
}
}

NOTE: fileUpload is the control I am using in my code to get the file from the custom form. And the key and value fields are the column label and it’s value respectively. If you know the list column names then remove for loop and hard code the label, value while adding them to the metadata. Example like below code,

metaData.Add("Title", "DemoDocument"); metaData.Add("Version", "1.0"); metaData.Add("Author", "Praveen"); metaData.Add("ContentType", "Document");

NOTE: There is a problem in adding the list item through the code if your list columns are not inheriting from the data types string, int and datetime. You will get an exception. So follow this post to fix it.

Please post your ideas on it.

Show data from list by using web services through SharePoint designer

When working on big SharePoint projects we will get really good requirements and most of them are the challenging. In some cases we need to show the data by pulling from one list in a site to another site. For example, on “Site A” home page we want to show the data from another site or sub site. Then we need to use the web services and call the list and get the items. This is what this blog post is completely about.

How is it useful?

It is useful because as far as i know we have two ways of doing this without coding.

1. By using IFrames on the web pages. Create a content editor web part on the page of the site where you want to show the list content and add a IFrame and point it to the page where list data is present in another web site. So it is just doing nothing, just loading that page as it is. But it’s not a right way of implementing it. Because if authentication is different then you need to login to the site 2 times. One for the main site and another for the IFrame. Another problem is we can’t use IFrames on the web pages for security and performance issues. So it’s not a good way of doing. Then is there any other way?

2. Yes, We have a solution for this and it’s the better way of implementing it. Call a web services by connecting to the web services of the site we want to get the data, pass credentials and then select the list or library you want. Add a web part to the page and give the list we pulled from web service to the web part. That’s it. It is the easy and efficient way. I am explaining this a little bit detail below.

  • Create a SharePoint web part page for showing content by using web services.
  • Open the page in SharePoint designer and detach it from page layout.
  • Now, we need to add a web part for showing the data. We have a very comfortable and most usable web part in SharePoint nothing but Data View web part. Add this to the page.
  • Now, web part is ready and need of data source. So we need to go for list where we have to pull the data. It can be in the current site, sub site or some other site.        SharePoint_XML_Web_Services
  • Go to Task pane menu item of SharePoint designer and select the Data Source Library. Now you are able to see the all the data sources exist in the current site only. For example, if you want to pull data from a list which is in subsite or some other site you can’t find the data source entry in the lists and libraries section. This is the time where we need to go for XML web services. See above figure for more details.
  • Now we need to add a new XML web service data source to our site. How difficult it will be? very simple, follow below.
  • Expand the node XML web services and you can find the link called “Connect to a web service”.
  • Now you are open up with a window where you can see the properties of the web service data source.XML_web_services_Data_Source_PorpsNow we need to set the properties for the data source. Move to the tag General. Fill the name, description and keywords. 
  • Move to tab source and fill the source description location. You can browse to the location of the site and add the which asmx file you want to add. Or if you know location you can manually enter the url. Usually the location is like this. http://sharepointserver/_vti_bin/lists.asmx?WSDL
  • Remember for example purpose, i given the lists.asmx file path, you can use any of available web service.
  • Before click on Connect now button, check the credentials. You have options for entering credentials, or use default/windows credentials or don’t ask for credentials etc. Set the credentials type and then say Connect now.

Login_DataSource

  • Now the command to configure. Our case, we want to show the data. So it should be the Select operation.
  • Select the port : ListsSoap [default one]
  • Select operation type : GetListItems
  • Now time to pass parameters to the data source. First thing is you need to select the listname parameter that from which list you need to get the data.You can pass parameters to the web service to filter the results too.  For example, if your list has the boolean column for IsUpdated. Then we want to show only the columns which are having IsUpdated=false, then you can set that here. DataSource_ParametersWe are done with configuring and setting the data source properties.
  • We have data source ready and we need to use it to link to the data view web part.
  • If you set everything correct, then you can see the entry under the XML web service section.
  • Click on the data source and choose Show data from the menu.
  • Now, it will open Data Source Details task pane that pull all the column information from the list that you connected to as shown below.

DataSource_DetailsSelect the  list of columns that you want to show on the page. [You can select multiple columns by pressing the control key.]

  • Now click on the option “Insert selected fields as” Multiple Item view. It will add all the selected columns to the Dataview web part.
  • Save the page and view it in browser.

How nice it is, and how simple it is?

Really thanks to SharePoint designer and Data view web part that makes our work easier.

Please post comments if you have any questions.

Friday, 29 May 2009

Deleting the list items at a time from list using batch command in SharePoint 2007

When we are working with SharePoint, especially when programming we can discover plenty of things. Because SharePoint is a very big system and it is pretty much good for the developers and administrators that they can discover more and explore more. Its a lovely product and I really love it from Microsoft. From my experience in SharePoint i thought of placing all the SharePoint stuff in my blog. So now we are going to discuss about the performance and operations we need to perform in coding when dealing with SharePoint objects.
When we do SharePoint coding we need to think a minute about the efficiency and performance of the code . For example, if you take a person object, it has some properties around 10-15 and if you don’t dispose it from memory then we don’t get serious problems. But where as we dealing with SharePoint objects like SPSite and SPWeb etc, these are very big and occupies lot of memory than objects what we use every day in C#. So, don’t forget to use Using keyword for them so that they will be disposed and removed from memory when it’s scope is over automatically.
Another performance related is performing common operation to all list items in a list in SharePoint. Usually we will write a foreach statement to loop through all the list items in a list and perform operation. i.e. add, edit or delete. When we need to update all the list items and columns, data varies dynamically then  we need to write a update command inside the foreach statement. But when we know that we are updating the same columns with same data for all items then we shouldn’t follow the code by writing update statement in foreach statement. Because it will be very costly and time taking. It will use lot of resources multiple times. So for this, Microsoft SharePoint team already integrated beautiful feature in SharePoint system. i.e. called Batch programming for doing operations on list items. This is the most efficient way of deleting or updating in a single list.
Below is the code i use to delete all the list items in a SharePoint list.
private void DeleteAllItemsUsingBatch()
{
using (SPSite site = new SPSite("http://mySharePointServer"))
{
SPWeb web = site.OpenWeb("/");
SPList list = web.Lists["Links"];
StringBuilder sb = new StringBuilder();
sb.Append("");
string batchCommand = "<method><setlist scope=\"Request\">" + list.ID + "</setlist><setvar name=\"ID\">{0}</setvar><setvar name=\"Cmd\">DELETE</setvar></method>";
foreach (SPListItem item in list.Items)
{
sb.Append(string.Format(batchCommand, item.ID.ToString()));
}
sb.Append("
");
web.AllowUnsafeUpdates = true;
site.RootWeb.ProcessBatchData(sb.ToString());
web.AllowUnsafeUpdates = false;
web.Close();
}
}
Below is the code for deleting all library items in a document library. Remember, the only difference is for document libraries we have files as the primary fields. So, we should specify the file name along with the other parameters. So, find below code.
private static void DeleteAllItemsUsingBatch()
{
using (SPSite site = new SPSite("http://mysharepointserver"))
{
SPWeb web = site.OpenWeb("/");
SPList list = web.Lists["Documents"];
StringBuilder sb = new StringBuilder();
sb.Append("");
string batchCommand = "<method><setlist scope=\"Request\">" + list.ID + "</setlist><setvar name=\"ID\">{0}</setvar><setvar name=\"Cmd\">DELETE</setvar><setvar name=\"owsfileref\">{1}</setvar></method>";
foreach (SPListItem item in list.Items)
{
sb.AppendFormat(batchCommand, item.ID.ToString(), item.File.ServerRelativeUrl);
}
sb.Append("
");

web.AllowUnsafeUpdates = true;
site.RootWeb.ProcessBatchData(sb.ToString());
web.AllowUnsafeUpdates = false;
web.Close();
}
}
Explore more and know more. Happy Coding!!!

Thursday, 28 May 2009

App Store: The Sims 3 Will Be Available On iPhone

According to Intomobile, The Sims 3, developed by EA Mobile, will soon be available on iPhone. The game is expected to be released on Jun 2 and Intomobile has posted a preview video. Remember to check out!


Apple News: “Back To School” Promotion - Buy a Mac and Get a Free iPod Touch

Apple has announced the “Back To School” promotion. Like last year, if you’re college student or teacher or staff member at any grade level, you’re entitled to get a free 8G iPod Touch (or other iPod under US$229) with purchase of any Macbook, Macbook Pro, iMac or Mac Pro. And, on top of that, you can still enjoy the educational discount.

The discount is effective from now till Sep 28. So, if you do not own a Mac, take this great chance to buy a Mac to pair with your iPhone. You’ll love it. Visit apple.com to check out the details.

How to change the server name which has SharePoint 2007 installed?

Introduction:

Everyone is using and liking SharePoint these days because it is matching a lot of requirements we have. This is a cool and nice product released from Microsoft and we need to know about it and complete administration. I am working from long time on SharePoint and few months back i was trying to change the system name of the server in which SharePoint was installed, i learnt lot of things from it. But before discussing about it, i want to put something about what are the situations for renaming the server?

  • We are developers and will work on ASP.NET, SharePoint, Silver light etc…. SharePoint itself is a very big system and if you install directly the product on the server means development environment then SharePoint installs some services. If you want to work on ASP.NET application tomorrow, then all SharePoint services will run by default. So whenever we don’t want SharePoint to be running on the server then we manually go to the services and stop them. Its not a good way of doing that. So, what i propose here is to create a VHD which has the SharePoint, Sql Server and related software needed for SharePoint. by providing some extra memory to your system i.e RAM around 2-3GB, it will run fast. When SharePoint is needed then only we will run the VHD otherwise not.  So, in our office we have plenty of SharePoint developers and everyone will do the same creating VHD and install SharePoint. But  it’s a very time consuming and long process. Installing will take plenty of time. So, we will create a single VHD and copy it on some share location. From there all devs, admin, team will get the VHD and work on it.

So, till now did you find any problems? no, it was a simple process. When will we get the problem? if we want to add the VHD to network. Now the problem starts…. We have a very big task that we need to add the server to domain and everyone will access the SharePoint server of each other. But we copied the VHD and installed on our system, so all VHD’s will have the same names. So we can’t add the servers to the domain because of having same names, network conflicts will come. So finally we need to perform operation to change the server name.

Steps:

Here we go: by following the steps below we can complete this operation.

  •    Changing the Alternate Access Mappings:
  1. How to: Browse to SharePoint central administration, operations tab from the top navigation and under the section Global Configuration, select Alternate Access Mappings.

          Alternate_Access_Mappings

  1. Click on the Alternate access mappings and here select the mapping collection to select all as shown in below figure.

          Show_All_Sites

  1. Now, you can see all the mappings[urls] for the existing sites in SharePoint system. This is where we need to change the urls of the sites which points to the new urls. Click on the “Edit public urls” link on the top sub nav menu on the page. Here select the site from mapping collection on the right side one by one and map their urls to new server name as described below. For example, if your old server name is oldMOSSServer then the urls would be like this.
  2. http://oldMOSSServer/, http://oldMOSSServer:8080/, http://oldMOSSServer:4534 etc…..
  3. And if new server name is newMOSSServer then the url’s we need to changed to are as follows…
  4. http://newMOSSServer/, http://newMOSSServer:8080/, http://newMOSSServer:4534 etc…..

Note: Don’t change any port numbers in the above operation, just change the server name only.

  1. Repeat the above steps for all sites until everyone points to new server name.
  • Rename the SharePoint server by using STSADM tool
  1. Go to start –> run and type “cmd” to open the command prompt.
  2. Move to the path where STSADM.exe file is resides. Usually it is in 12hive\Bin folder.
  3. Command we need to run is renameserver. Syantax is:

     stsadm -o renameserver -newservername "newservername" -oldservername "oldservername"

  1. Change the strings highlighted in red to the new server name and old server name respectively and run the command. Remember by performing this operation means we changed the server name only within the SharePoint system but not on the server. This will only replaces the SharePoint system entries old server name with new name in SharePoint databases. Because in SharePoint everything will store in database.
  • Rename the original system name
  1. This is the simple operation generally all of us know. Go to Start button, right click on the Computer option and select Properties.
  2. Click on the change button type the new name for the server and [add it to domain if it’s not already in] and save the changes.
  3. RESTART your server.
  • Change the System and SharePoint credentials
  1. Change the credentials of the SharePoint server by running updatefarmcredentials command from STSADM tool.
  2. Check once all IIS application pools points to the old system name, if any change them and restart IIS.

That’s it!!!

Do you think we are completed with the process? NO, last and final step, TESTING: please open the central admin site of the SharePoint and check everything is working fine!!!

Remember, if any thing is broken or not working as expected, then you are always welcome to revert back the changes you did. If central admin site is not opening then you can do the below steps to revert back to initial state.

1. Rename your server name and [remove from domain and add it to WorkGroup if it was not in the domain before].

2. Rename the SharePoint server by running STSADM command to old server name.

3. Change the Alternate access mappings to revert back to old server name.

4. Restart the server and check the changes.

5. Change the credentials, RESTART IIS.

6. You should be back with all settings as before.

Please post your comments here if you have any questions  or issues.

Note: I was successfully performed all the steps as i said few months back, but forgot to change the Alternate access mappings. So what was the result, i always frustrated and felt bad that server change operation failed. After a long research and study we got it working. Hope this help others….

Tuesday, 26 May 2009

Updated: Backgrounder for iPhone Adds Badge and Task List Mode

The Backgrounder utility for iPhone is now updated with more features. Running twice application simultaneously is too common these days and this utility becomes more important. And what about battery consuming?. ..of course, running application at the background will drain your battery life. However, this utility is a free application from Cydia, allow and powers iPhone to run application in background. Read more here for Backgrounder installation.

The latest version r277 adds a number of great features:

- Added badge for SpringBoard icons to indicate running apps
- Added optional animations for app restore and switching
- Allow normal operation of home double-tap over SpringBoard in simple mode
- Allow normal operation of home double-tap while locked
- Allow selection of Categories folders in blacklisted prefs


Badge For Background Apps

Before the release of this update, you can’t identify those applications that are running in background. Now the background running apps are tagged with backgrounder icon.



More Options To Control

But if you don’t like the badge, you can always to disable it in Backgrounder option. The latest version of the app also offers you more flexibility to control the Backgrounder app. And, you can even to change the invocation method of Backgrounder in the option menu.




List Mode To Switch Between Background Application

The latest version also offers a new backgrounder mode called “Task List Mode”, which is still in beta. In this mode, Backgrounder shows you all the background apps in a list. And, you can easily switch from one app to another.



The list mode is not the default mode. To enable this mode, you’ll need to configure it in Backgrounder. Once configured, simply press and hold the Home button and Backgrounder will then show you the active application list.

Align Center

Adding master page to a SharePoint web page

In SharePoint, when we add a new page from browser by going to Site Actions and select Create Page then there we will select the page layout and create the page. So we are selecting the page layout, its always binds to a master page. Whenever you change the default or custom master page, then the changes will be applied to all the page layouts by default. Because SharePoint won’t give direct master page url or name any where. it will be ~masterurl/custom.master for custom master page and ~masterurl/default.master for the default master page.

But when we add a new ASPX page from the SharePoint designer, there we are not having any option to select page layout and inherit it.  So, we will create a simple ASPX page where nothing is added by default to the page other than the head, body tags. When we try to add the master page to the current page then we need to follow some steps to apply master page to the current page. Below are the steps to follow to add master page to the aspx page we just added.

  • By default you will create the ASPX page in pages folder if your site is using publishing site template otherwise create page in the root of the web site.
  • You can create site by right click on the pages folder or on the root site and then select New –> ASPX page. The empty ASPX page when we add will look like as shown below.
  • Empty_ASPX_Page_No_Master
  • We need to perform below steps to add master page to the current page.

1. Add master page reference to the page.

2. Add Placeholders required to the page depends on the master page.

1. Adding master page reference to the page.

  • Now, we need to add the reference to the master page. We can do this by adding below tags.
  • For publishing site template pages, we need to add two entries.
  1. reference master page

    <%@ Reference VirtualPath="~masterurl/custom.master" %>

  2. Adding <%@ Page tag which will inherits from the publishing page.

    <%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" %>

  • But for team web site we need to add page directive as follows.

    <%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" %>

2. Add Placeholders required to the page depends on the master page.

  • This is the very crucial and important step we need to perform. Because placeholders are not same for all site templates. This again will depends on the master page as well. If you customized the master page then you need to add placeholders depends on the placeholders you define.
  • Here i will tell you the main or default placeholders we need to add to a page.

    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">

    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyRightMargin" runat="server"> </asp:Content>

    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain"></asp:Content>

Placeholder “PlaceHolderPageTitle” is for setting the page title of the current page.

Placeholder “PlaceHolderMain” is the main and important placeholder where we keep all the content on the page. Place all the content of your web page in this placeholder.

Note: This blog post is only for letting you know about how to convert sample ASPX page to SharePoint web page by applying the master page to it. All the placeholders and the content is not 100% match your master page. If you have any problems in applying any step then please provide a comment, so that i will look into it.

JQuery integration in SharePoint

As we are well experienced with the JQuery in ASP.NET applications, JQuery is a client side script for executing really impressive logics, calling server-side methods, animations, smooth rendering etc.

SharePoint is a platform and which is built upon ASP.NET, so we can do all the stuff in SharePoint which we implemented in ASP.NET applications. Here is a small walk through of how to integrate the JQuery in SharePoint applications. We usually write lot of logics by using JQuery to get data from server using Ajax implementation by calling Page Web methods and render the data by using JTemplates etc… But We can’t implement the same in SharePoint because we can’t wriite page web methods. Reason behind is SharePoint don’t support page web methods because it is build with ASP.NET 2.0 version. Other than that you can implement all the logics in SharePoint as well.

Follow the steps below to integrate JQuery into SharePoint.

  • Open your SharePoint site in SharePoint designer.
  • It’s always better to organize your data and files in good structure. So create a folder for placing all scripts named “Scripts” if it does not exist.
  • Now copy the Jquery script file to this folder. I am using the file jquery-1.3.1.js.
  • Create an ASPX page in your pages folder of the site if it is a published web site template otherwise create a page in the root of site. [However, any place it works.]
  • This page is not a web part page, we are just creating a simple ASPX page for JQuery integration.
  • Here, add a reference to the JQuery java script file to the head tag of the page.
  • Add the below code to test the Jquery functionality to body of the page.
  • <script type="text/javascript">
        $(document).ready(function() {
            $("#cb").live('click', function() {
            $("#lblMessage").text("you clicked on CheckBox, selected = " + $("#cb").attr('checked'));
            });
        });
    </script>

    <input type="checkbox" id="cb" />
    <label id="lblMessage"></label>

  • We just wrote a very small piece of code snippet for testing the JQuery functionality. This post main goal is to integrate the JQuery plug-in for SharePoint. The same way you can add reference to the master page of the site to get the advantage of JQuery in all pages of the web site.

  • We can apply the master page to the current ASPX page by following this post. This will give you the same look and feel as other pages.

  • We have plenty of ways to do this. For example, for simple integration purpose i explained you to place the JQuery file in scripts folder of the root of the web site. But good way of doing is, placing the file in Layouts folder of 12 hive in SharePoint system. This way you can access the file in any site and on any page through out the SharePoint. Because Layouts is the common sub site exist for all the sites.

  • Adding script reference to all the pages in a site:

  1. Add the script reference to the <HEAD> tag of the master page of the site. So that all pages have the reference to the JQuery script and you can use it any where.
  2. Syntax: <script type=”text/javascript” src=”/_layouts/scripts/jquery-1.3.1.js”></script>
  • Add script reference to specific pages:
  1. For this we have a good and nice web part to add html/script/css. That is nothing  but Content Editor Web part. We can add a content editor web part on the page [most probably on the top of page] and we will add the script reference code to it. Now the JQuery is available only for the pages where you added the code.

Star Trek

Category: Games
Price: $2.99

Size: 13.2 MB

Latest version: 1.0

Play the official STAR TREK® iPhone™and iPod® touch game, the most intense shoot‘em up action-adventure available on the App Store. Navigate the USS Enterprise through deep space in 3 exciting and unique ways! Tilt the accelerometer to maneuver your ship or use the virtual joystick. Touch your screen for serious direct control. Tap your screen to phaser and destroy ships and unlock Superweapons at the same time.

Compatible with iPhone and iPod touch and minimum requires is iPhone 2.2.1 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://www.appscene.org/download.php?id=482867625
http://www.appscene.org/download.php?id=511227652
http://www.mediafire.com/download.php?jvmgyqkmcjq


How To Use SlingPlayer Over 3G/EDGE On iPhone

Since the release of the SlingPlayer iPhone app in the App Store, there’s been much noise about AT&T’s restriction that makes the app operational over wifi only. But as usual, the jailbreak community is here to save the day. Now with jailbreak iPhone, you can use SlingPlayer over 3G/Edge through your iPhone everywhere. You might be check out my post here on how to jailbreak with latest firmware. Read more and get SlingPlayer .ipa file here.


Simply go to Cydia and search for these three applications and install it to your jailbroken iPhone.
  • Mobile Substrate (Step 1)
  • VoIPover3G or (Step 2)
  • Tricker ThreeG (Optional)
The first step that you have to do is install Mobile Substrate through Cydia.


Install Mobile Substrate Via Cydia

Launch Cydia > Select “Sections” at haptic menu > Select “System” category > and Select “Mobile Substrate” or you can tap “Search” in Cydia and type “Mobile Substrate” > Select “install” button at the right top and confirm it to install.



The second step is install VoIPover3G applications. Thanks to crash-X who developed VoIPover3G, you will now be able to use the SlingPlayer app over 3G and Edge. VoIPover3G can trick any application into thinking that it is on Wifi even though it is on a cellular data connection.

Install VoIPover3G Via Cydia

Launch Cydia > Select “Sections” at haptic menu > Select “System” category > and select “VoIPover3G” or you can tap “Search” in Cydia and type “VoIPover3G” > Select “install” button at the right top and confirm it to install.


Once installation completed, you have to make some modification with "VoIPover3G.plist". Assuming you’ve installed these apps and that you know how to SSH into your iPhone, follow these instructions below. If you not clear about SSH on iPhone, you might be checkout my post about on how to use SSH to transfer file on iPhone.

Instructions:

Step 1: SSH into your iPhone and go to the root directory “/”

Step 2: Navigate to /Library/MobileSubstrate/DynamicLibraries

Step 3: And look for "VoIPover3G.plist" file. With a text editor, open VoIPover3G.plist

Step 4: Look for:

Filter = {Bundles = (”com.Fringland.Fring”, “com.apple.AppStore”, “com.audiofile.Interstate”, “com.apple.MobileStore”);};

Now add this part: , “com.slingmedia.SlingPlayer”

It should look like this:

Filter = {Bundles = (”com.Fringland.Fring”, “com.apple.AppStore”, “com.audiofile.Interstate”, “com.apple.MobileStore”, “com.slingmedia.SlingPlayer”);};

Don’t forget the “,” and the quotation marks!

Step 5: Save the changes you just made and upload the file back to its location: /Library/MobileSubstrate/DynamicLibraries

Step 6: Reboot your iPhone. And SlingPlayer should now work over 3G!


Optional Application

There is another way to get SlingPlayer to work over 3G. Thanks to Jordan, the developer of Tricker ThreeG. Please bear in mind, Tricker ThreeG only trick Fring, Skype and SlingPlayer to think the apps are on wifi not to other applications. Knowing this now, I believe Tricker ThreeG is a far better option that VoIPover3G as it doesn’t require manually editing file in the iPhone. Just install and reboot your iPhone after installation completed.

Install Tricker ThreeG Via Cydia

Launch Cydia > Select “Sections” at haptic menu > Select “Tweaks” category > and select “Tricker ThreeG” or you can tap “Search” in Cydia and type “Tricker ThreeG” > Select “install” button at the right top and confirm it to install.


MyReef 3D

Category: Entertainment
Price: $2.99

Size: 4.7 MB

Latest version: 1.01

Watch perfectly animated 3D fishes finding their way through a beautiful reef tank. Great importance is given to simulating fish movement, species-specific behaviour and fish interaction. The application allows you to configure the fishes in your aquarium. You can feed fish as well as annoy them by knocking on the front pane. Use the fish-camera to zoom to any desired fish. The camera then follows its movements automatically. Auto-camera is the perfect tool for you to relax. This camera automatically zooms to different points of interest within your aquarium. After installation you may have to restart the iPhone/iPod to get the application working properly.


Compatible with iPhone and iPod touch and minimum requires is iPhone 2.1 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://www.appscene.org/download.php?id=326131335
http://www10.zippyshare.com/v/35004941/file.html
http://www.2shared.com/file/5932261/91afb06d/MyReef_3D-101.html
http://www.mediafire.com/?q5q2mlmtm5y



Monday, 25 May 2009

HomeBudget

Category: Finance
Price: $4.99

Size: 0.9 MB

Latest version: 1.1.2

HomeBudget is an expense tracker designed to help you budget, track and possibly control your monthly expenses at home. It's supports tracking of both your expenses and income, and includes support for accounts, so you can accurately track your account balances. Download the user guide at http://www.anishu.com to see complete product features.

Features:

- Create/Edit/Delete expense categories and sub-categories
- Set a budget, and track expenses at the category/sub-category level.
- Add/Edit/Delete expense entries
- Auto-generate recurring expense entries
- Search expense entries
- Browse expense entries by month, by category with the ability to drill-down
- Attach photo images of receipts; drag and resize images on screen
- Split an expense across multiple months
- Add/Edit/Delete income entries
- Auto-generate recurring income entries
- Support for Accounts such as Checking, Savings, Credit, Debit, Cash, etc. Associate your expense and income entries with your accounts and accurately track account balances. View transactions, and do transfer between accounts.
- Trend chart for Expense, Budget and Income for the last 6 months
- Pie/Bar charts for expense break-down
- Export data/reports by email or via WiFi


Compatible with iPhone and iPod touch and minimum requires is iPhone 2.0 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://www.appscene.org/download.php?id=198159224
http://getapp.info/download/HomeBudget-v1.1.2-alibaba.ipa
http://www.appscene.org/download.php?id=984851951


TweetGlobe

Category: Social Networking
Price: $0.99

Size: 1.6 MB

Latest version: 1.0

With tweetglobe, not only do you get a visual representation of your followers, but you also get the capability to interact with them. It's offers a geographical representation of everyone you are following on twitter. Unlike the other location based apps, tweetglobe gives an actual moving globe to represent your follower's tweets. You can posting tweets, replying to tweets, viewing websites and more can all be done within the tweetglobe app.


Compatible with iPhone and iPod touch and minimum requires is iPhone 2.0 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://www.mediafire.com/download.php?dznmgk0womy
http://www.appscene.org/download.php?id=837556492
http://getapp.info/download/TweetGlobe_1.0_MadHouse.ipa


Saturday, 23 May 2009

Memory Status: Cleaning Up Your iPhone Memory

Category: Utilities
Price: $1.99

Size: 0.2 MB

Latest version: 2.0

"Memory Status" displays the status of the virtual memory. You can know the each meaning by pushing the info buttons. displays the list of the running user processes. Main applications (such as Safari, Mail and iPod) are shown with their icons. Also on the "Cleaning Memory" function, it can increase the amount of the free memory and it takes around 10 - 30 seconds to clean memory. Remember, if the Memory Status exits while cleaning memory, the cleaning itself will finish.

NOTE: It is not recommended to start cleaning memory, while you are listening music.

Compatible with iPhone and iPod touch and minimum requires is iPhone 2.0 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://crapscene.org/download.php?file=43MemStatus-v2.0%20cracked%20by%20dNaPdA.ipa
http://crapscene.org/download.php?file=645Memory%20Status-v2.0.ipa
http://www.badongo.com/file/12749621

How To Transfer Files On iPhone Using SSH (Windows)

One of the reasons why some of you go for the jailbreak is you can transfer files between iPhone and PC using SSH. But, as I know, not all the readers are geeks and come from technical background. You may even not heard of SSH until you decide to jailbreak. So, here is a short guide to show you how you can use SSH on iPhone and use it for transfer any files to your computer for Windows. The guide is completely target for non-technical person. I just want to show you how great SSH is when pairing with iPhone for wireless file transfer. So, you can use it to transfer ringtone, photos and video without the USB cable.

The first thing you would like to know is what SSH is. SSH stands for secure shell that is commonly used in Unix/Linux environment. You can use SSH to access a remote a computer and execute commands from another machine that may be miles away. Additionally, you can use it to transfer files to the remote computer, just like FTP. I’m not going to dig deep and throw out all the technical details about SSH. But just remember, SSH is a tool that lets you access machine or devices remotely. Here, the device is your iPhone.


Install SHH Via Cydia


You may be curious why you can use SSH on iPhone. Is SSH just designed for Unix? That’s a good question. You may not know the iPhone OS is a stripped-down version of Mac OS X, which is actually riding on Unix as its core. So, that’s why you can use SSH on iPhone.

But officially, Apple didn’t bundle the utility for every iPhone user and thanks to the jailbreak community to bring SSH to iPhone. As long as your iPhone is jailbroken, you can install and use SSH on iPhone.You may check my post here about how to unlock and jailbreak your iPhone.

To use SSH after jailbreak, you can go up to Cydia and search for “OpenSSH” to find the package. Tap the Install button to install it on your iPhone. Once installed, restart your iPhone. You’ll not find an icon for SSH on the home screen. But after restart, the SSH tool will be automatically launched and listens for remote request in background.

Note: Did you set the auto-lock? Your iPhone should be turned on during the SSH file transfer. So, if you have configured auto-lock, I suggest you to disable it before using SSH. You can go to Settings -> General -> Auto-Lock and set it to Never.

Transfer File Using SSH

Your iPhone is already enabled with SSH and listens for incoming SSH request. Before you can transfer file from your computer to iPhone, you have to know the IP address of your iPhone.

To check for the IP address, go to “Settings” -> “Wi-Fi”. Tap on the connected WiFi network and view the details. You’ll see the IP address of your iPhone. Say, for my case, the IP address is 10.0.1.5.

Once you know the IP address, the next step is to connect to iPhone from your PC.


Connect Your PC via WinSCP

For Windows users, I highly recommend you to download WinSCP, which is a free SSH client for Win XP/Vista. You can download it for free from here. Installation of WinSCP is very straightforward. Just double-click on “winscp421setup.exe” and follow the instruction to install it on your PC.

Once complete the installation, launch WinSCP and click “New” to connect to iPhone. In host name, type in the IP address of your iPhone. For user name and password, you can use “root” and “alpine” respectively. Keep other fields unchanged. You can then click “Login” to start making connection with your iPhone. Click “Yes” if you’re prompted with a warning to add the host key to cache.

Note: Instead of clicking “Login” directly, you can click “Save…” to save the connection profile for future use.



Click “Yes” if you’re prompted with a warning to add the host key to cache.


When connected, you’ll see the files in iPhone file system. And, you can easily transfer files between iPhone and computer by just drag & drop the files in WinSCP.



Myst

For those of you that do not know what Myst is, it is a port of the old Myst computer game. Myst is an adventure puzzle game in which you are attempting to find your way off the island, or rather attempt to figure out how all the things around you work. Having played the original Myst, the iPhone version is just like it. It consists of multiple 3D still images that fade from one to another depending on the area of the screen you touch.

The game is quite large in file size about 720MB and is like the original, in its full scale. This is not a game that you pick up walk around a bit then come back to later, rather it is a game that you will want to sit down with and actually play for a significant amount of time. I suppose you could sit down with it for a short time, but at times the games is very complex in which you might want to take notes, so you might want pen & paper nearby.



There is also an Options screen. The options screen allows you to “bookmark” or in other words save your game in 4 different slots. You simply drag the current screen (the largest of the boxes to one of the four smaller boxes to save the point in the game you are at. To restore a point, you simply drag in the other direction. There are also sliders that control the speed of the transitions and the volume of the sound.

You also have the ability to drop a page if you have one in hand (in order to grab a different one.) Or you you can tap on the Help or Hints buttons. These two buttons will take you out of the game and into the Safari browser. The website it takes you to is formatted for the iPhone, so you should not have any issues viewing the web page. There is also a “back” button which literally takes you right back into the game. I thought the “back” to the game button was a really nice touch to have.

Compatible with iPhone and iPod touch and minimum requires is iPhone 2.2.1 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://www.2shared.com/file/5680614/850231b6/Myst-v101iphone-heavennet.html?s=1
http://www.zshare.net/download/59974444654eee75/
http://www.zshare.net/download/596968624a0d146d/#
http://www.4shared.com/file/103142053/82ddb6df/Myst__v10__download_links.html

Updated: Download cracked .ipa file for 1.1.3 version:
http://www.2shared.com/file/6506983/639f244f/Myst-v113-RNC4iD.html



Grocery Checkout : Create shopping lists on iPhone

Category: Productivity
Price: $0.99

Size: 0.9 MB

Latest version: 1.0

Checkout comes with an items bank of commonly purchased grocery items out of the box so creating lists is as simple as tapping the items you want. But it's also simple to modify the bank items or add your own. Intuitive swipe gestures make setting quantities easy and of course everything is customisable. No more messing around with paper lists or laboriously typing in product names.

Compatible with iPhone and iPod touch and minimum requires is iPhone 2.2.1 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://www.appscene.org/download.php?id=867752318
http://getapp.info/download/Grocery_Checkout-v1.0-most_uniQue.ipa


Fizz Traveller

Category: Utilities
Price: $5.99

Size: 4.2 MB

Latest version: 1.0

You can see the time and weather for all of your favorite cities. An additional information including sunset and sunrise times, the current weather conditions & longitude/latitude. From this screen plan meetings in different time zones. Finally use 3D world globe to view your cities locations. Swipe the globe and it will rotate to show your next favorite location.


Including Fizz Weather for over 58000 global locations includes 5 day forecast, 2 day extended forecast, current conditions, weather maps & airport delays. The Conversions also include currency rates (updated daily), Temperature, Length, Speed, Weight, Volume, Area, Power, Torque. Children's Shoes Ladies Shoes, Ladies Skirts, Men's Suits, Men's Shoes, Men's Shirts.

Compatible with iPhone and iPod touch and minimum requires is iPhone 2.2 software update. You can purchase via direct iTunes link or download cracked .ipa file code:

http://www.appscene.org/download.php?id=667692168
http://www.mediafire.com/download.php?3eyteglmmxn
http://getapp.info/download/Fizz_Traveller-v1.0-alibaba.ipa
http://www.appscene.org/download.php?id=369265998