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.

inside custom component

Web and WebWorks Development

Reply
Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Device: Bold 9700

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. 

Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Device: Bold 9700

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?

Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Device: Bold 9700

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.

BlackBerry Development Advisor
oros
Posts: 1,557
Registered: ‎04-12-2010
My Device: BlackBerry Z10

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:


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Justam
Posts: 58
Registered: ‎02-14-2011
My Device: Bold 9700

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

New Member
avidwan
Posts: 2
Registered: ‎01-14-2013
My Device: Bold 9900

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

New Member
avidwan
Posts: 2
Registered: ‎01-14-2013
My Device: Bold 9900

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

Nice Post, It helps me a lot

 

 

Thank You Very Much

 

Programming Pad