Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ericmrr

Pages: [1]
1
hi renedebruin, i want a password input too, i think to do it by the same way, but how can you identify if the user delete some middle char?

2
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 28, 2013, 07:23:51 am »
i didnt download any of them because i dont need to have those files, i just search for reference, by example, runtime.h is documented here

http://developer.apple.com/library/mac/ipad/#documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html

just search for every new header file, im sure that you will found more information and where download them

3
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 27, 2013, 05:16:36 pm »
those...

   url = CFURLCreateWithString(NULL, CFSTR("http://www.ericramirez.info"), NULL);

   uiwv = objc_msgSend(objc_msgSend(objc_getClass("UIWebView"), sel_getUid("alloc")), sel_getUid("initWithFrame:"), (struct CGRect) { 0, 100, 320, 320 });
   nsreq = objc_msgSend(objc_getClass("NSURLRequest"), sel_getUid("requestWithURL:"), url);
   objc_msgSend(uiwv, sel_getUid("loadRequest:"), nsreq);
   
   app = objc_msgSend(objc_getClass("UIApplication"), sel_getUid("sharedApplication"));
   window = objc_msgSend(app, sel_getUid("delegate"));
   viewc = objc_msgSend(window, sel_getUid("viewController"));
   view = objc_msgSend(viewc, sel_getUid("view"));
   
   objc_msgSend(view, sel_getUid("addSubview:"), uiwv);

4
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 26, 2013, 06:41:16 am »
then... my code adds a UIWebView instance to the principal View in the application and set the url to be displayed, no other thing. what is a UIWebView?... well is a safari based view... but i recomend go deep in the definition and search by yourself. how i said before almost a week of research for only 9 or 10 core lines. i hope this help.

5
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 26, 2013, 06:32:16 am »
ok, the idea is this, i wanted to know how dfsdk works and how can i use more functionality, first of all, you can use string.h, stdlib.h, etc, but all of those libraries are not documentated... how many other libraries are supported?, second the base of dfsdk compilation must be a mac/xcode process, then... can i use all the power of objective-c functions? well researching i found that i can mix cpp code and objective c in an easy way if my compiler is setted and my start point is in objective-c thats is not our case. we need to use objective-c classes and functions from cpp, well we need to do all these thing in runtime and here is where the runtime.h and message.h do their aparition, with thus libraries i can instantiate and use objective-c classes, corefoundation.h and coregraphics.h are only receive and for bypassing arguments like the rectangles.

6
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 25, 2013, 06:01:27 pm »
is a lot of material behind of the 9 or 10 core lines of the application, if anyone wants to know all the references thant i consulted plz let me know, you dont need to have the include files.

7
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 25, 2013, 05:57:59 pm »
hi man, there is a screen shot how the application is displayed (its shiwing my homepage)... the only lines that you need to change are the size of the uiwebview and the url.

8
How Do I...? / Re: how i do... list process
« on: January 25, 2013, 09:06:49 am »
there is my example about to obtain a running processes list.

See App(Procesos).cpp

https://skydrive.live.com/?cid=124D48A539514256&id=124D48A539514256%21333

9
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 25, 2013, 08:37:42 am »
i'm a newbie on ios development and i have not a mac, thats why im waiting for dfsdk solution but meanwhile and after about a week of research here is my solution for embedded web browser, obviously this will not work on simulator, only in device, for an easy test be sure to have the logo and a button images in asset/image folder... or simply comment those lines

see App(Navegador).cpp

https://skydrive.live.com/?cid=124D48A539514256&id=124D48A539514256%21333

10
How Do I...? / Re: HOW TO OPEN WEBSITE BUT NOT THE BROWSER?
« on: January 24, 2013, 07:31:19 pm »
people... why you are more interested in how others write (caps-lock) than if you can help, is desperating... however, i already have a solution for embedding web browser, if anyone are interested i can send the code or post it.

11
How Do I...? / Re: how i do... list process
« on: January 16, 2013, 07:50:31 pm »
Solved, i found a solution.

12
How Do I...? / how i do... list process
« on: January 16, 2013, 10:27:05 am »
hi folks, i have search the forum, read the documentation and i cant find anything, i need to list the running process, i have seen other applications who can do that. my aproach is calling systeme function like this

system("ps > myfile");

and then read that file, the compilation is correctly done, installation too but simply is do nothing, have some one any idea?

Thanx for the support

Pages: [1]