Cannot force max width height for app
Hi
No matter what I set in my app's xml file it will always resize to the device width/height. At this stage we are only supporting iPhone 4 resolution (480x320), so if the app is installed on iPad it should be presented at 480x320 (we are landscape only). I'm not how and where to set this? The initial splash screen displays correctly but once the app has loaded it then reverts to fullscreen. Setting fullscreen to false enables the info bar at the top but the app is still presented at the native iPad resolution.
Thanks for any input.
Ben
In the app descriptor you can set which devices are to be used. If you set it to know devices 1 and 2, then it will fill the screen on the iPad. If you only set it to know device 1, it will show as a little area in the middle of the iPad screen, with the 2X button for the user to use if they wish.
Look for this line:
</InfoAdditions
Similar Messages
-
IPhoto 4.0.3 ignores max width/height for export to web page
I just exported a simple page of 6 photos (3 columns) with the default image Max width and height values of 640x480. It did not seem to pay attention to these numbers, because the images produced were 853x639. The thumbnails however were the correct size according to the thumbnail Max width and height values.
Has anyone else experienced this and/or have a solution? Thanks!Run Disk Utility and repair disk permissions. If that doesn't help, try moving iPhoto to the desktop, duplicate it (Command-D), move the copy to the Applications folder and rename it to just "iPhoto". Now try it. Other than that you might have to reinstall iPhoto and re-update to 4.0.3.
If you have to reinstall you'll have to delete the current application and all files with "iPhoto" in the file name that reside in your HD/Library/Receipts folder beforehand.
OT -
Cannot connect to iTunes store for app.update
Un able to update app.due to cannot connect to iTunes store.
I have a good wifi plus 3G connection .
Thank youUsually it's because you are not connecting to the internet via wifi.
Look at iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
Additional things to try.
Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
If none of the above suggestions work, look at this link.
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
Cheers, Tom -
i am having trouble using apps with my apple id and password? it is saying it is not correct but the one I used is how I got to this site and activated my phone? Why is it not letting me log on to apps with ID and password?
Have you tried signing out and then back in?
-
Native webcam capture width / height
the native width and height capture always seems to be 128x128. how can i change this? it's taking a square crop from the camera and publishing that as the stream.
also, i don't quite understand what resolutionFactor is doing. what are the three native width and height values? does setting resolutionFactor=3 for a 128x128 capture translate to a 384x384 resolution? no matter what i set resolutionFactor to, when i check the stream coming in the nativeWidth/nativeHeight is always 128x128.
can you help me clarify this?
Specifies the resolution factor of captured data; ResolutionFactor values range from 1 (lowest resolution) to 10 (highest resolution). Resolution factor gets multiplied by the native width and height of captured camera. We provide three native width and height values based on aspect ratios. That width and height when multiplied with this factor, gives the resolution.Hi Adam,
If you look at the source code of StreamManager.as in the player 9 source we provide, we have three set of values for native width/height. I will copy them here
@private
public static const AR_PORTRAIT_W:Number = 144;
@private
public static const AR_PORTRAIT_H:Number = 112;
@private
public static const AR_STANDARD_W:Number = 128;
@private
public static const AR_STANDARD_H:Number = 128;
@private
public static const AR_LANDSCAPE_W:Number = 160;
@private
public static const AR_LANDSCAPE_H:Number = 96;
By default, we use the standard values for nativeWidth and nativeHeight i.e. 128 and 128. When you specify a reslotion factor, the native width and height doesn't change but the capture width and height is multiplied by the factor in
camera.setMode(StreamManager.ARSTANDARD_WresolutionFactor, StreamManager.AR_STANDARD_H resolutionFactor, _fps);
So, if you are setting resolution factor as 3 it will do for standard
_camera.setMode(1283, 1283, _fps); though the native width and height remains the same.
If you want to change them, you need to override the createMyStream function in WebcamPublisher.as and change the nativeWidth and nativeHeight( the code is same for 9 and 10, so even If you are using player 10 swc, you can refer to 9 source of this function), but you don't need to do the native width and height, just changing the resolutionFactor should change the capture width/height for you.
Please refer to updateSettings and createMyStream functions in the source code of WebcamPublisher.as for further clarity.
Hope this helps.
Thanks
Hironmay Basu -
What is Max value for Width,Height in "formsweb.cfg" to show full Form
Hi,
I have even changed the SeperateScreen=true and also the width & height parameter in formsweb.cfg but it makes no difference expect showing form now in a seperate window.
Plz help!
Many thanks!it doesn't need to change SeprateFrame parameter !
i just set these parameters
Width=750
Height=420
it's approximately the size of browser in 800*600 screen size ! -
Hi all,
I have written a Acrobat plugin using PDFEdit APIs to extract x, y co-ordinates, width and height of all elements(objects) in a PDF document.
Now, I wanted to make the same working on Adobe Reader.I have added the READER_PLUGIN macro enabled in Project settings.
When I re-compiled the code, I got a bunch of errors saying all PDFEdit APIs are not available under Adobe Reader.
My objective is to parse through the entire PDF document and get x, y co-ordinates, width, height of all PDF objects (especially Image and Text objects).
Can anybody help me how to achieve this ?
Thanks
PrasanthI know that we cannot obtain the PDEContent of a PDF page from Adobe Reader, as PDEContent is modifiable content and as such it cannot be accessible from Adobe Reader.
Also, as PDFEdit API's does not work for Adobe Reader, we are trying to figure out a way to achieve this for Adobe reader.
I am curious to know if the COS APIs can help us in this task.
I tried to read the stream content using PDPageStmGetToken API. I get the data of this format:
344.88 0 0 91.44 71.882 41.92cm
Here, as per PDF reference, I am getting only distance from X Axis and distance from Y Axis. But not width and height.
Can you knidly let us how to get the image attributes (primarly read only attributes like x and y co-ordinates, width and heoght) with Cos APIs.
Thanks
Prasanth -
How to set width/height of iPad app in ipa file
Hello,
I am developing an app for iPad in Flash Builder 4 and Packager for Iphone.
I set the width and height node values in the descriptor XML and compile the application. When I run the same in iPad, I am not able to see any effect on the app's width and height.
Also, in default load, app opens in dimensions as per the iphone view and not specifically for iPad.
Any help?
Tanuhi,
How does your application descriptor file look like? I also had the same problem, when I realised that I had a few things missing in my app desc. file. My file looks like this
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<id>IPadApp</id>
<filename>IPadApp</filename>
<name>IPadApp</name>
<version>v1</version>
<initialWindow>
<content>IPadApp.swf</content>
<fullScreen>true</fullScreen>
<autoOrients>true</autoOrients>
<title>IPadApp</title>
<aspectRatio>portrait</aspectRatio>
<systemChrome>none</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<!-- Portrait -->
<width>768</width>
<height>1024</height>
<!-- Landscape -->
<!--
<width>1024</width>
<height>768</height>
-->
<!--<x>100</x>
<y>100</y>-->
</initialWindow>
<supportedProfiles>desktop mobileDevice</supportedProfiles>
<iPhone>
<InfoAdditions>
<![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>2</string>
</array>
]]>
</InfoAdditions>
</iPhone>
</application>
Check your desc. file.
-Vrushali -
Implementation of gtk3's Height-for-width Geometry Management method
I've developed a gtk2 app (Conky Companion) in C to help users of my conky scripts
Click.
create their own conkyrcs with relative ease. A screenshot of the main screen is the following:
http://i.imgur.com/jWl88.jpg
The user can drag and drop icons or labels from the right side to the left, move them, resize them, change their size or colour, etc. When happy, he can press the generate button and generate a conkyrc file.
The screen is a top,non resizable window with a table. The 2 sides of the table are frames in which fixed containers have been put.
Whenever someones tries to place an icon or a label at the right or bottom border of the left frame/fixed container, the widget goes off bounds, as you can see from the screen shot above.
I'm now trying to port the app to Gtk3 and I'm facing a bizarre problem.
Whenever a user tries to place or move an object to the right or bottom border of the left frame/fixed container, it resizes itself to accommodate the newly placed widget.
http://i.imgur.com/d1lc4.jpg
If I move the object to the left (or up), the frame goes back to its size defined by gtk_widget_set_size_request.
Is there a way to make a fixed container... fixed? I don't want it to resize.
The code that places the frame and the fixed container in the window is this:
/* LEFT FRAME */
frame1= gtk_frame_new(NULL);
gtk_table_attach(GTK_TABLE(table), frame1, 0,14,0,49,GTK_SHRINK,GTK_SHRINK,0,0);
gtk_widget_set_size_request(frame1, 360,570);
gtk_widget_show(frame1);
/* LEFT FRAME - FIXED CONTAINER */
fixed1 = gtk_fixed_new();
gtk_widget_set_has_window(fixed1,TRUE);
gtk_container_add(GTK_CONTAINER(frame1),fixed1);
gtk_widget_modify_bg (fixed1, GTK_STATE_NORMAL, &color);
gtk_drag_dest_set (
fixed1, GTK_DEST_DEFAULT_ALL,
target_list, 1, GDK_ACTION_COPY|GDK_ACTION_MOVE);
g_signal_connect (fixed1, "drag-drop",G_CALLBACK (dr_data_rec_1d1), (gpointer)fixed1);
gtk_widget_show(fixed1);
I've tried the following things:
1)Fiddling with GTK_EXPAND and GTK_FILL for the placement of the frame. No change.
2)gtk_window_set_geometry_hints for the window, table, frame and fixed container. No change.
3)Replacing gtk_table with gtk_grid. No change.
After posting on StackOverflow, I was advised to consult the following page
http://developer.gnome.org/gtk3/3.2/ch2 … #id1482126
which I did. If I understood correctly, the new way of declaring
/* LEFT FRAME */
frame1= gtk_frame_new(NULL);
gtk_table_attach(GTK_TABLE(table), frame1, 0,14,0,49,GTK_SHRINK,GTK_SHRINK,0,0);
gtk_widget_set_size_request(frame1, 360,570);
is (ignore the height for the time being)
static void
my_widget_get_preferred_width (GtkWidget *widget,
gint *minimal_width,
gint *natural_width)
GtkRequisition requisition;
gtk_widget_get_requisition (widget, &requisition);
*minimal_width = *natural_width = requisition.width;
/* LEFT FRAME */
frame1= gtk_frame_new(NULL);
gtk_table_attach(GTK_TABLE(table), frame1, 0,14,0,49,GTK_SHRINK,GTK_SHRINK,0,0);
gint min_width=360;
gint nat_width=360;
GTK_WIDGET_GET_CLASS(frame1)->get_preferred_width=my_widget_get_preferred_width;
my_widget_get_preferred_width(frame1,&min_width,&nat_width);
It compiles OK, but, when run, it gives me this error:
(conky_companion:19700): Gtk-WARNING **: GtkFrame 0xa00e660: widget tried to gtk_widget_get_width inside GtkWidget ::get_width implementation.
without ever drawing the window and it segfaults after a while.
What am I missing here?
Or, TL;DR, what is the equivalent of
gtk_widget_set_size_request(frame1, 360,570);
in gtk3? (StackOverflow gave up, you're my last hope)Solved (?).
-
Width*height vals changing in save for web ??
Hi all
I've opened an EPS file in illustrator cs4. And its width & height values are differing with width & height values in "save for web" option.
For example, normally in width & height boxes shows as
width : 247.499 pt
height : 116.524 pt
but in save for web
width : 249
height : 117
I've checked with various figures too.Script lan : javascript
thanks for ur help!
Actually I've to resize the figure for the width 175, 525, 1400 and the height should change proportionally. So I tried, but I couldn't resize the figures using save for web. Becoz its horizontalScale & verticalScale treats values as percentage. eg. 175 treats as 175%. Then I grouped all items and changed its "width" and foud out the values' corresponding "height" values. But the problem is, exported file's values are changing nearly 3pts.
could u help on this? -
Hi all,
Just as it says above, I cannot do any file transfers in iTunes for apps as the apps simply don't appear and are unsearchable. I am using an iPad 4 and the most recent iTunes, how can I resolve this?
I've ticked the Apps box in the general settings.
Thank you!If you want to do file tranfers, you want to use File Sharing in iTunes is that correct? If that is correct, you have to have apps that support file sharing or they will not appear in the file sharing window.
You have to scroll down a bit in order to see the file sharing window in iTunes.
However, your post is a little bit confusing. I'm assuming that you are talking about iTunes. Some detailed information would certainly help. -
Payment for app cannot complete with no reason
payment for app cannot complete with no reason
Hey @pb-29,
Thanks for getting back to me regarding this issue.
At this time I recommend continuing the support that you have already started with my colleague @Gemini02 under the following thread: Mirror printing - docs no good - wasting toner- printer becoming worthless.
I wish you luck going forward with this!
X-23
I work on behalf of HP
Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping! -
How to set a minimum width and height for a stage or scene?
Hello,
Does anyone how to set a minimum width and height for a stage or scene?
I tried listening for width/height property value changes and then adjust the width/height if necessary, but that causes unpleasant flickering of the window.
In JavaFX 2.1 beta SDK for Mac OS, the Stage class has setMinWidth() and setMinHeight() functions which work very well.
I'm wondering what's the equivalent way to do that when using the FX SDK for Windows.
Any help is appreciated!
Thanks.I was wondering how to enforce a minimum stage size with JavaFX 2.0.3.The same flickering way you are currently doing it. See: http://javafx-jira.kenai.com/browse/RT-15200 "Need a way to set the minimum size of a window"
-
Hi,
Our reports run very slow in SharePoint Integrated mode. I look at the logs and I see that for one report request there are bunch of "Forced due to logging gap" rows. Is it some kind of a configuration issue or is it working as it should. Below
is the full log for one report request. I have no admin experience at all and I am confused what each one in the logs mean. I have made some of them in bold font as I suspect it is some kind of configuration issue there. Could you please help understanding
those logs?
Line 25: 07/29/2014 09:17:34.54
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Topology
e5mb
Medium
WcfReceiveRequest: LocalAddress: 'http://xxxxx.com:32843/6ce1fa50211546eeabe466d78f0d32a6/ReportStreaming.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sqlserver/reporting/2011/06/01/ReportServer/Streaming/ProcessStreamRequest'
MessageId: 'urn:uuid:10b1c246-8c70-400b-9b62-fe0d87a2ae8c'
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 28: 07/29/2014 09:17:34.54
w3wp.exe (0x0A6C)
0x070C
SQL Server Reporting Services
Report Server WCF Runtime
0
Medium
Entering ExeuteCommand - Command = Render
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 29: 07/29/2014 09:17:34.54
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Authentication Authorization
agb9s
Medium
Non-OAuth request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 30: 07/29/2014 09:17:34.54
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
General
adyrv
High
Cannot find site lookup info for request Uri http://xxx:32843/6ce1fa50211546eeabe466d78f0d32a6/ReportStreaming.svc.
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 31: 07/29/2014 09:17:34.59
w3wp.exe (0x0A6C)
0x070C
SQL Server Reporting Services
Report Server Catalog
0
Medium
RenderForNewSession('https://xxx.com/xxx.rdl')
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 32: 07/29/2014 09:17:34.60
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Authentication Authorization
ajmmt
High
[Forced due to logging gap, cached @ 07/29/2014 09:17:34.59, Original Level: VerboseEx] SPRequestParameters: AppPrincipal={0}, UserName={1}, UserKye={2}, RoleCount={3}, Roles={4}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 33: 07/29/2014 09:17:34.60
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Database
8acb
High
[Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 34: 07/29/2014 09:17:34.62
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
General
adyrv
High
Cannot find site lookup info for request Uri http://xxx:32843/6ce1fa50211546eeabe466d78f0d32a6/ReportStreaming.svc.
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 35: 07/29/2014 09:17:34.74
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Database
7t61
High
[Forced due to logging gap, cached @ 07/29/2014 09:17:34.63, Original Level: Verbose] {0}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 36: 07/29/2014 09:17:34.74
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
General
6t8b
High
[Forced due to logging gap, Original Level: Verbose] Looking up {0} site {1} in the farm {2}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 37: 07/29/2014 09:17:34.85
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Runtime
afu6a
High
[Forced due to logging gap, cached @ 07/29/2014 09:17:34.77, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 38: 07/29/2014 09:17:34.85
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Runtime
afu6b
High
[Forced due to logging gap, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 39: 07/29/2014 09:17:34.94
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Database
7t61
High
[Forced due to logging gap, cached @ 07/29/2014 09:17:34.88, Original Level: Verbose] {0}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 40: 07/29/2014 09:17:34.94
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Database
7t61
High
[Forced due to logging gap, Original Level: Verbose] {0}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 103: 07/29/2014 09:18:05.55
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Database
7t61
High
[Forced due to logging gap, cached @ 07/29/2014 09:17:34.96, Original Level: Verbose] {0}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 104: 07/29/2014 09:18:05.55
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
General
6t8b
High
[Forced due to logging gap, Original Level: Verbose] Looking up {0} site {1} in the farm {2}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 105: 07/29/2014 09:18:05.62
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
General
6t8h
High
[Forced due to logging gap, cached @ 07/29/2014 09:18:05.55, Original Level: Verbose] {0}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 106: 07/29/2014 09:18:05.62
w3wp.exe (0x0A6C)
0x070C
SharePoint Foundation
Database
7t61
High
[Forced due to logging gap, Original Level: Verbose] {0}
894aa99c-9fb3-c007-caf4-32ba68af9901
Line 107: 07/29/2014 09:18:05.62
w3wp.exe (0x0A6C)
0x070C
SQL Server Reporting Services
Report Server WCF Runtime
0
Medium
Processed report. Report='https://xxx.com/xxx.rdl', Stream=''
894aa99c-9fb3-c007-caf4-32ba68af9901
Thank you.That is likely the case as native mode is quicker than SharePoint-integrated.
A couple of things to check, and perhaps change if you can:
1) Make sure the latest SSRS ReportViewer is deployed to the SharePoint WFEs. This does not have to match your SSRS deployment version. See http://msdn.microsoft.com/en-us/library/gg492257.aspx
for the compatibility table.
2) If possible, move SSRS to the same SharePoint servers that end users interact with (e.g. the "WFEs").
3) Make sure the underlying server hosting SharePoint has C-States disabled (these are Intel C-States, e.g. C1, C2, C3... aka processor sleep states). If the server has any sort of power regulation, make sure it is at maximum performance (rather than some
form of power saving).
4) Make sure the underlying Windows OS has it's Power Management set to Maximum, rather than any sort of power savings.
You can review the execution logs in the Reporting Services database. Take a look at the ExecutionLog3 view. Compare the TimeProcessing (time it takes to process the report) and TimeRendering (time it takes for the processed report to render to the end user).
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
When I try to download free updates for apps, I've suddenly started getting an error message saying "You cannot update this software since you have not owned the major version of this software".
But I HAVE owned the software, for ages. (And, in any case, the apps in question are all free.)
And I don't have multiple Apple IDs.
What can I do?
Any advice much appreciatedThis can occur if you bought the machine used and iLife was reinstalled with another AppleID.
This also can occur if the "free apps" you downloaded have paid upgraded versions and/or are now payware and you can't get updates.
All software from MAS is copy protected, it might be free as in "no charge" but it's not free in the sense you can share it with others.
Maybe you are looking for
-
My mac book fell of my desk yesterday. All seems well, but I noticed today that the dvd drive is not working properly, it seems to want to keep ejecting the disk even when the disk is out, and it won't accept dvd's any more. Any suggestions o fellow
-
Subject in the mail sent through Batch Job
Hi, We have a batch job which is running daily. Consumer wants the output of the batch job (spool request) in mail. We generally send the mail from batch job by filling the mail id in "Title field".. there is some third party involved in managing spo
-
I have a SD2008 main 8-port switch. Connected to this, I have THREE 5-port switches from DLINK, each on its own SD2008 port. 1) My DSL provides 10 Mbps maximum. 2) On two of the DLINK switches, I can get 10 Mbps with speedtest.net 3) On third switch
-
Selection Popup before PDF FactSheet
Hi Experts. I have a requirement to create a Popup directly before the PDF Fact Sheet. On this Popup I need Select Options (for example - which "Type of Activity" should be on the Printout) Afterwards the Select Options should be read in the Smartfor
-
Are the security updates included in 10.6.7?
I am new to MAC so I am still getting used to the update feature on Mac vs. PC. Recently I upgraded the Mac OS X from 10.6.6 to 10.6.7 via the software update. Did that include the security patches, or do I need to do an additional update of just tho