Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Carrier: Rogers

Re: POST/READ data to PHP/MYSQL on webserver

Hello Erik, 

 

I did reach out to JCrop. We discussed my desired use and the developer essentially left it up to me. I have begun to slowly dig through the source to determine which events are being triggerd by mousedown and I plan on creating a function which will check to see if its a first click or second click and then execute the jcrop functions to either crop or finish crop etc....Think that should work...if not..more digging....

 

 

Will keep you posted. 

Please use plain text.
Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Carrier: Rogers

Re: POST/READ data to PHP/MYSQL on webserver

Hello Erik, 

 

I have encountered an odd issue or at least seems to me...On the 9900 simulator my 640x480 splash displays fine(640x480)...but then my divs inside index.html which are set to 640x480 are zoomed in and pan left/right and up/down

 

I have set the background image/div size in css using:

 

div#setup{
    background-image: url(images/setup_bg.png);
    background-repeat: no-repeat;
    width: 640px;
    height: 480px;
}

 I also have this metatag at the very top of my head in the index.html

 

<meta id="viewport" name="viewport" content="height=device-height,width=device-width,user-scalable=no" />

 Any ideas?

Please use plain text.
Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Carrier: Rogers

Re: POST/READ data to PHP/MYSQL on webserver

specifying the width/height in the meta with pixels seems to have fixed it...sorry to have bothered you...not sure why the content stuff worked on the 480x360 and 360x480 but not the 640x480....only differences other than screen sizes are the OS versions...but yet the SDK for Webworks for smarthphones is the same....n e ways. Have a good day.

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: POST/READ data to PHP/MYSQL on webserver

Hi Justam,

 

Just in addition to your findings, this article may shed some light:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/WebWorks-Content-Rendering-on-Hi...

 

One other thing that might help is the initial-scale attribute. Example:

<meta name="viewport" content="width=device-width, initial-scale=1">

 

Though if you've found a solution, then this is just information in addition to what you already know :smileyhappy:

Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Carrier: Rogers

Re: POST/READ data to PHP/MYSQL on webserver

Hello Erik, 

 

I have searched for this answer and found some resources but I am a little confused. Essentially I would like to use NFC in my webworks application for OS7+ devices. I plan on sending a vcf file (contact card) through NFC. The resources I have found haven't given me enough of an understanding on how to structure the NFC data packet to send the VCF data to a recieving NFC device. The only information I have found is how to recieve NFC data through webworks. 

 

Hopefully you are able to shed some light on this for me. 

 

Thank you for your time.

 

Best Regards, 

 

Justam

Please use plain text.
New Member
avidwan
Posts: 2
Registered: ‎01-14-2013
My Carrier: Bsnl

Re: POST/READ data to PHP/MYSQL on webserver

Sir, i want to create a webiste releated to  blackberry application...
And also c, c++ and java programs for beginners.

Thank You

Please use plain text.
New Member
avidwan
Posts: 2
Registered: ‎01-14-2013
My Carrier: Bsnl

Re: POST/READ data to PHP/MYSQL on webserver

Nice Post, It helps me a lot

 

 

Thank You Very Much

 

Programming Pad

Please use plain text.