... Bluetooth 74 So sánh IrDA Bluetooth 76 Mô tả hàm quảng bá dịch vụ .213 Mô tả hàm tìm thiết bị .216 Mô tả hàm truy vấn dịch vụ 218 Tham số hàm ReadFile ... Macintosh với hệ điều hành MAC OX S Bluetooth cho phép chia sẻ tập tin máy MAC, đồng hóa chia sẻ thông tin liên lạc máy Palm, truy cập internet thông qua điện thoại di động có hỗ trợ Bluetooth (Nokia, ... timeslot (TS), thiết kế để làm việc môi trường nhiễu tần số radio, Bluetooth dùng chi n lược nhảy tần để tạo nên sức mạnh liên kết truyền thông truyền thông thông minh Cứ lần gửi hay nhận packet...
Ngày tải lên: 12/08/2014, 10:20
... ứng dụng minh họa 3.2.3.15.1 Thông tin Tên: Mabir.A Bí danh: SymbOS/Mabir.A Loại virus: Worm Ngày ngăn chặn xâm nhập: 13/12/2004 3.2.3.15.2 Mô tả chi tiết thông tin virus Mabie.A loại worm đuợc ... MGDropper.A 3.2.3.16.1 Thông tin Tên: MGDropper.A Bí danh: SymbOS/MGDropper, Metal Gear trojan Loại virus: Trojan Ngày ngăn chặn xâm nhập: 13/12/2004 3.2.3.16.2 Mô tả chi tiết thông tin virus MGDropper ... 3.2.3.19.1 Thông tin: Tên: Troj/Skulls-B Loại Virus: trojan Hiệu ứng lề (side effects): để lại file bị không bị nhiễm máy Cách thức lan truyền: wed downloads 3.2.3.19.2 Mô tả chi tiết thông tin virus:...
Ngày tải lên: 12/08/2014, 10:20
Lập trình ứng dụng cho giao thức UDP
... việc với gói tin Tất liệu đặt datagram gửi dạng gói tin Gói tin nhận nhóm bị Một gói tin không thiết phải liên quan đến gói tin Cho trước hai gói tin, cách để biết gói tin gửi trước gói tin gửi sau ... tin UDP Gửi gói tin Lớp DatagramSocket sử dụng để gửi gói tin Khi gửi gói tin, ứng dụng phải tạo DatagramPacket, thiết lập địa thông tin cổng, ghi liệu cần truyền vào mảng byte Nếu muốn gửi thông ... có tính chất mở để phân phối thông tin giống đến nhiều người dùng Multicasting đặc trưng giao thức UDP Multicasting cho phép truyền tin theo kiểu nhiều, ví dụ gửi tin thư điện tử tới nhiều người...
Ngày tải lên: 02/10/2013, 21:20
Lập trình ứng dụng cho iPhone part 15
... shown in listing 15.3, which continues to expand upon RootViewController.m Listing 15.3 Activating a navigation controller - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath ... Listing 15.1 A tab bar controller setup - (void)applicationDidFinishLaunching:(UIApplication *)application { UIViewController *secondController = [tabBarController.viewControllers objectAtIndex:1]; ... chevron used to indicate hierarchical navigation Listing 15.2 includes all of the major elements required to define this navigation table inside RootViewController.m Listing 15.2 A table for a navigator...
Ngày tải lên: 18/10/2013, 00:15
Lập trình ứng dụng cho iPhone part 18
... table 18.5 Table 18.5 Setting volume with alerts Function Summary MPVolumeSettingsAlertShow Shows a volume alert MPVolumeSettingsAlertHide Hides a volume alert MPVolumeSettingsAlertIsVisible Returns ... *thisPic = [[myPics objectAtIndex:i] objectForKey:@"picture"]; float xpoint = [[[myPics objectAtIndex:i] objectForKey:@"xpoint"] floatValue]; float ypoint = [[[myPics objectAtIndex:i] objectForKey:@"ypoint"] ... screen when done Your project starts off simply enough by setting up your UITextField This involves setting the Return key B and writing its main delegate method, textFieldShouldReturn: C, as...
Ngày tải lên: 24/10/2013, 18:15
Lập trình ứng dụng cho iPhone part 19
... CGContextShowTextAtPoint when you set your font in this alternative way Listing 19.6 shows a simple example of printing text in Quartz Listing 19.6 Outputting text in Quartz CGContextSelectFont (ctx, "Helvetica",20,kCGEncodingMacRoman); ... graphic state We’re going to cover many of them here, starting with colors 19.4.1 Setting colors In Quartz, you select colors by setting the fill color, the stroke color, or both in the current ... any drawing commands that you use Listing 19.1 shows how to draw a simple abstract face using this technique Listing 19.1 A few arcs drawn inside an existing context - (void)drawRect:(CGRect)rect...
Ngày tải lên: 24/10/2013, 18:15
Lập trình ứng dụng cho iPhone part 20
... requestWithURL:cachePolicy:timeoutInterval: Creates a request with specific caching choices; equivalent to initWithURL: cachePolicy:timeoutInterval: By default, an NSURLRequest is built with a caching policy that’s ... an example of this in section 20.5.3 Running the NSXMLParser involves setting it up, starting it running, and then reacting to the results We’ll cover that process in the rest of this section ... if ([[feedList objectAtIndex:indexPath.row] objectForKey:@"title"]) { cell.text = [[feedList objectAtIndex:indexPath.row] objectForKey:@"title"]; } if ([[feedList objectAtIndex:indexPath.row]...
Ngày tải lên: 29/10/2013, 01:15
Lập trình ứng dụng cho iPhone part 21
... setting discrete values 425 Foundation framework classes Table A.1 A listing of the most important User Interface classes (continued) Class Parent Summary UISwitch UIControl A control for selecting ... UINavigationController UIViewController A hierarchical controller; often linked with a UITableViewController to produce hierarchical menus UIPageControl UIControl A toolbar for navigating among pages using dots ... your machine or move to a new machine, you’ll lose it To avoid this, be sure you export the private key associated with your developer certificate You can then import it on a different machine,...
Ngày tải lên: 29/10/2013, 01:15
Tài liệu Lập trình ứng dụng cho iPhone part 1 docx
... ■ Highlighting what makes the iPhone unique In the 1980s Apple Computer was the leading innovator in the computer business Their 1984 Macintosh computer revolutionized personal computing and desktop ... it was depending on its loyal user base and its successes in the past rather than creating the newest cutting-edge technology That changed again in 1996 when founder Steve Jobs returned to the ... the iPhone a truly innovative computing platform 1.1.1 iPhone input and output specifications Both the input and the output capabilities of the iPhone feature cutting-edge functionality that will...
Ngày tải lên: 21/01/2014, 23:20
Tài liệu Lập trình ứng dụng cho iPhone part 2 doc
... Integration with iPhone libraries Automated updating Improved graphics libraries Access to dynamic data Ease of continued user access Access to existing web content No downloading Offline server ... development—making existing web sites iPhone friendly or iPhone optimized—you’re just considering the iPhone as one of many platforms that you’re supporting However, when creating iPhone web apps, ... about any of that if you write a program using the SDK At the time of this writing, the iPhone App Store is just getting started, but it’s already shown off some excellent programs that clearly...
Ngày tải lên: 21/01/2014, 23:20
Tài liệu Lập trình ứng dụng cho iPhone part 3 pdf
... and events That’ll be pretty easy to when you’re creating brand-new web apps, starting in the next chapter But when you’re redeveloping existing web pages, you may find replacing this functionality ... originally Apple’s only supported way for detecting iPhone usage Listing 3.2 shows how CSS can recognize an iPhone and thus apply a different style sheet Listing 3.2 Applying style sheets using media ... this is—as is typical in web design—by looking at the user agent Listing 3.1 shows the best way to this using a PHP example Listing 3.1 Checking the user’s agent to see when an iPhone is browsing...
Ngày tải lên: 21/01/2014, 23:20
Tài liệu Lập trình ứng dụng cho iPhone part 4 pdf
... based on that information Listing 4.6 shows an example of a simple touch-based program that allows you to drag a color from one box into another Listing 4.6 Detecting and measuring touches ... flipped over Not currently supported Listing 4.8 shows how simple it is to detect an orientation change and take an action based on it Listing 4.8 An updating web page that always displays window.orientation ... complete listing, nor does it give you all the details you need to use the properties There are not only other CSS properties, but also new CSS constants that can be applied to existing properties...
Ngày tải lên: 21/01/2014, 23:20
Tài liệu Lập trình ứng dụng cho iPhone part 5 pptx
... complex view hierarchies when we begin using the SDK, which is the ultimate model that these other libraries are imitating Creating your own iPhone UI 83 This advice is crucial for putting together ... 81 Creating your own iPhone UI 5.1 Creating your own iPhone UI The iPhone UI has quite a few unique (and distinctive) features If you want to model its UI ... like those elements that you’ve been writing to model other iUI subpages Listing 5.6 shows what search.php might output after a search for “Maroon” Listing 5.6 A search page fragment
Ngày tải lên: 21/01/2014, 23:20
Tài liệu Lập trình ứng dụng cho iPhone part 6 ppt
... source-over Stacking choice New shapes are drawn on top of existing content destination-over Stacking choice New shapes are drawn behind existing content copy New dominant Only the new shape is drawn ... two don’t overlap destination-atop New dominant The new shape is fully drawn, and the old shape is only drawn where they overlap destination-in Old dominant Only the existing content is drawn, ... only where the two overlap destination-out Old dominant Only the existing content is drawn, and only where the two don’t overlap source-atop Old dominant The existing content is fully drawn, and...
Ngày tải lên: 26/01/2014, 18:20
Tài liệu Lập trình ứng dụng cho iPhone part 7 ppt
... Dashcode Starting a Dashcode project Once you’ve started up Dashcode, you’ll need to begin a project by selecting a template Each of these templates comes partially filled in with different starting ... additional information on the more complex steps The first three steps—creating the project, creating the gauge, and adjusting the gauge—are all pretty simple Figure 7.5 shows what your miniature ... orientation value using the WebKit in chapter Listing 7.1 shows what happens when you put that together with a Dashcode object Listing 7.1 Automatically setting a gauge based on orientation B function...
Ngày tải lên: 26/01/2014, 18:20
Tài liệu Lập trình ứng dụng cho iPhone part 8 pdf
... http://127.0.0.1/~Your Username/Test, test, test The benefit of developing and testing your web pages locally is that you can so without affecting your live pages Further, since Mac OS X is essentially a Unix ... not, writes to the console console.dir Creates a listing for an object, identical to the Firebug DOM info console.dirxml Creates an XML listing for an object, identical to the Firebug HTML info ... to your Firebug console when you view your page from Firefox: console.log("Starting JavaScript Execution!"); Our listing of console methods is by no means exhaustive Firebug also provides over...
Ngày tải lên: 26/01/2014, 18:20
Tài liệu Lập trình ứng dụng cho iPhone part 9 doc
... kicks off the function For example, the following function takes two floating-point numbers as arguments and returns a floatingpoint number: float divide(float numerator, float divisor) { These ... variables or some of the functions of file2.c in file1.c, you so by incorporating file2.c’s header file You this by inserting an include command into file1.c: #include "file2.h" The appropriate file ... information, and starts setting its own version of the variables as it sees fit Classes gain power because they support inheritance That means that you can subclass an existing class Your subclass...
Ngày tải lên: 26/01/2014, 18:20
Tài liệu Lập trình ứng dụng cho iPhone part 10 ppt
... aware of Apple’s documents while writing this part of the book, and we’ve done our best to ensure that what we include complements Apple’s information We’ll continue to provide you with the introductions ... argument, you almost always so by nesting a call to the UIColor class object: [textView setTextColor:[UIColor colorWithWhite:newColor alpha:1.0]]; Message nesting is a core Objective-C coding style, ... yourself, and then the majority of your programming time is spent manipulating them Except for those examples of creating new objects, all of our real-life examples so far have involved instance...
Ngày tải lên: 26/01/2014, 18:20
Tài liệu Lập trình ứng dụng cho iPhone part 11 pptx
... you’ll be writing everything inside the applicationDidFinishingLaunching method, as shown in listing 11.4 Listing 11.4 The iPhone presents… Hello, World! - (void)applicationDidFinishLaunching:(UIApplication ... Linking it in Just creating a new class isn’t enough: you also need to use it Listing 11.7 shows the code that you put in the application delegate to use your new subclass Listing 11.7 A few app ... makes up the vast majority of Objective-C code Listing 11.2 shows the contents of your first class’s header file, helloworldxcAppDelegate.h Listing 11.2 The Application Delegate header @interface...
Ngày tải lên: 26/01/2014, 18:20
Tài liệu Lập trình ứng dụng cho iPhone part 12 pdf
... to get the web view working, as shown in listing 12.2 Listing 12.2 IBOutlet to access the object’s usual properties - (void)applicationDidFinishLaunching:(UIApplication *)application { [myWebView ... with values for size and position Not only can you change an object’s starting point, but you can also define where that starting point is, relative to the object, using the grid at the top left ... box is sitting in the middle of the display That’s the web view If you inspect the Attributes tab for the web view, you’ll see why we didn’t anything more with it: you can’t set the starting URL...
Ngày tải lên: 26/01/2014, 18:20