Pawel Nowacki

Ranch Hand
+ Follow
since Nov 14, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pawel Nowacki

Hi,
What kind of mobile development are you exactly talking about? For IPhone there is this blog you may find usefull.
If you on about Java ME you can try this: Java ME tutorial or go to Java Micro Edition javaranch forum

regards,
Pawel


8 years ago
iOS
Hi ranchers,

I have new ActiveXObject(); call in my script and its working ok. I have medium-high security level in my IE, meaning I can't run not signed or ActiveX and so on...
Now, when I execute my site in this IE browser, I get a prompt bar saying that it has blocked some content, etc. I am able to click on it and enable this content anyway. Then I get Active X notification and I click yes. And it is cool, and working.

Now, when I do the same thing but placing all the code that include new ActiveXObject() call in a new window made by javascript window.open() call, I get message "Automation Server could'nt create an object".
While I understand that this message was produced because my strict browser security settings, I would appreciate this prompt bar I get in the normal window.
Why is it like that? Is there a way to get this working other way? Some window.open() paramters perhaps?

regards,
Pawel


Once people get something for free, it's hard to make them start paying for the same thing.



Maybe, but isn't such thing among the most popular marketing tactics? Play for free and when you like it you must pay for it to use. People played Java for many years and they like it very much, if they would have to pay I think they will. It's a matter of force of habit. And I don't think you can just jump to another framework leaving Java behind, it's too rooted in a whole todays IT in many ways.
8 years ago
Hi,
I don't exacly know what you mean by a "Road MAP", but I guess you want to know what do you need to write an iPhone application and deploy it on Apple AppStore.
Im a novice but already done some research on that, and these are my conclusions you may find usefull:

You need:
1. Mac machine.
2. IPhone
3. iPhone SDK installed on a Mac machine.
4. Objective-C book or some tutorial to learn this language.
5. Some time to play with language and SDK.
6. Some time to write your main application.
7. Use SDK feature to post it to App Store for approval.
8. Wait for approval and then enjoy your application on iPhone.

There is probably an alternative Windows way with alcheMo but it is in early stage and chances are that you wouldn't be happy with the results.

Only one thing make me puzzled - is there a possiblity to deploy my application directly to my iPhone (using cable) without App Store? Maybe someone else would make it clear?
8 years ago
iOS
In my Weblogic 10.3 I can look it up through console in web browser under Enviroment->Servers->Choose your server from the table and click its name->There is a link above table in general tab "View JNDI Tree".
I bet there are another ways to get it (some scripts for example) but this is quite fast.
8 years ago

Perfect when the US and Russia are fighting tank battles on the plains of Poland and Germany.



This is a joke, right?
8 years ago


I want to send them in "action" attribute it self.



What do you mean by "them" and "action"?
I think you could do submit without JavaScript?

If you want to check if JavaScript is enabled/disabled in JSP there is one idea:
Put hidden field with value="false". You can name it javaScriptEnabled. Now, write some JavaScript function and try to change the value of this hidden field to "true".
If JavaScript is enabled it will work and change value to true, if not - value remains as false. I think you could put it on your initial jsp or somewhere before this jsp - then you could for example put this value in session.

Mind, this should be tested first if it works like I think it is

8 years ago
2. I don't think it will be such a narrow specialization. Some concepts are so universal and cross-discipline it is not possible to extract only certain part of it. In my opinion people can't evolve without comprehensive knowledge - there is always someone who put all those pieces together. Many great ideas came from mixing different concepts from distinct disciplines. Checking all such possible valuable mixes would take centuries for a machine right now, not saying it is not possible, though.

By 2150 there will be less difference between us and machines I recon. Just as Anil K Chandra mentioned humans will be more able with memorization stuff (due to expanded brain knowledge) and machines will be much more intuitive. However, greater and faster human memory will serve only as a storage without such things like experience and intuition - things that are so indefinable and you can't just learn them.

As for home invention, I think there is plenty. How about year 1991 and Linus Torvalds creating Linux? (I picked first that came to my mind). Look at all those new languages and scripts around. I am sure that most of them have their origin on home desktops



8 years ago


I can switch between the OS with the hitting of CTRL-1 for Mac, CTRL-2 for Windows, and CTRL-3 for Ubuntu. I can even share files directly in the OS's between OS's



That sounds really good. But then, why everybody up there are not using Macs? There must be some in turn. Price and application availability I suppose.

One other thing came to my mind. This Apple determination to make iPhone application developement purely Mac gives me some hope that they will have to make and keep it attractive to all PC people.
And that is good for me...and for Apple store
8 years ago
iOS
Thanks Mark. I think I will go for MacBook. I just hope that there is Heroes of Might and Magic 3 version for Mac. That is all I really need
8 years ago
iOS
Well, every porting or translation have some cost. Question is when and if ever two APIs will be compliant. Apple does not seem to be happy to cooperate.
My search for alternative ways for developing iPhone applications came from me avoiding Mac machines, being a PC guy all my life.
Now, when I think of it, there is no reason for that. Everything I was able to do in my PC Windows/Linux enviroment I am probably able to do in Mac, am I?
8 years ago
iOS
Hi,
Sun with Innaworks work on cramming Java into iPhone, or to be more precise - translating it into iPhone native language. Project was named alcheMo.

alcheMo link

This website above is not rich in details, there is no download option or any price, licence information. Maybe it is in early beta version.

Now, what do you think about that? Can it be THIS long expected alternative for Apple iPhone SDK? Anyone knows if it works on Windows platform?
Would it require Jailbrake?
Im about to buy Mac and dive into Objective-C book - but is it worth then if there would be a Windows Java SDK?

regards,
Paul
8 years ago
iOS
Hi Ranchers,

As in subject, what is the minimal Mac hardware setup to start playing with iPhone SDK? Im a complete Mac novice, having used iPhone only and eager to learn Objective-C.
There is this MacBook and Mac mini (half a price of MacBook). Mac mini seems to be a good alternative for MacBook as I already have 19" screen. But will it suffice? Is it expandible (memory)?
Is it good for iPhone? I recon that 2GB memory and Core 2 Duo 2GHz will be a good starter?

regards,
Paul
8 years ago
iOS
Sounds good to me, but if I disable remaining input box(es) Im still able to tab to save button (or anything else not disabled) and there is a requirement that it should not
pass to other control if its not number.
Still setTimeout its not good thing, I agree.
I'll check this link. Thank you Cloudgen.
Problem solved. I've played events too much. I have onchange, onfocus and onblur events in one input:



That is because I want this field to be checked if it is a number. Then I want to disable submit button if all values on form come back to their original values.
To do this I must remember original value (onfocus) and then if something change compare this new value to original and see if other values are also in original state so I can
disable submit button.
onblur use this self.focus() function because if someone put a non-number value, browser shouldnt permit user to tab to another field (keep focus). SetTimeout is for Firefox browser so it
postpone focus execution.

Problem was that i've put this in each function and while processing one event there was other event that overlapped and override my key variable (after first alert).
I've changed it to pass this.value and this.name. Also, I've added break to for loop that iterates through originalInputValues whenever entry is found.

Im not happy with this design. But this is the only idea that comes to my mind right now. Maybe you have some advise on how to save original state of all form values and then
watch for it and disable/enable submit button?