Facing problem to display the content in Android Emulator of my mobile app
Hi All,
I have developed an adf mobile application as in the following and i successfully deployed my app in android emulator.....
Link i have used to create basic mobile App ------------ http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
Problem :
i can view my app in android emulator.......but if i open it i am getting a blank (white) screen in emulator......i don't know wat's happening.
Can any one please help me to solve this problem.........
Regards,
Nani
Hi,
Yes Android emulator is very problematic, and there are certain out of box emulator configurations that would not even start up on a reasonably powerful PC.
What works typically for me is to use an emulator built using SDK version 15 or 16 - for some reason, the Android SDK API level's emulators are much more problematic than before. There are some configurations (for example Nexus 7 tab) that simply hangs when trying to start it using default RAM allocation. After reducing it to 512, I can start it but then I can't start app. With older version of the emulator, if I set the RAM to say 512, generally the emulator will start and the app will also start (although very slowly).
Unfortunately this is an Android issue, and there is very little ADF Mobile can do.
In short, if possible please deploy to a device, and also please remember to deploy in release mode when you don't need to debug the app, as performance difference is very great. There are some articles on how to compile Android app in release mode. This may also help with your Android deployment. https://blogs.oracle.com/shay/entry/speed_up_adf_mobile_deployment
Thanks,
Joe Huang
Similar Messages
-
Problems with displaying the contents in a TextArea in Swing?
Hi All,
In my project i am getting the contents of a .txt file from the server machine and i want to display it in a TextArea in Swing.
I have done that without any problem.But the contents from a .txt file that are displayed in a TextArea is not aligned property but when i print it in the console it looks ok.But when it is displayed in the
TextArea it is not aligned properly.
Plz. do provide a solution regarding this.
Thanx,
m.ananthuHi Camick,
Thanks man it looks neat and the alignment is good.
Thanx,
m.ananthu -
Iframe has a problem in displaying the content of the source in iframe
iframe displaying a RSS feed from an XML file so on subscribing to RSS, iframe goes blank and does not render any kind of control. Inspite of this, control comes for the bookmark. This functionality is working fine with all the versions of IE. but am facing thi sin all firefox versions.
Hi
Thanks for your idea.
I am not understanding what is <calculate number of pages>
int pages = <calculate number of pages>if (pageIndex >= pages){ return(NO_SUCH_PAGE);}// no need for else; if pageIndex >= pages we have returned and are not in the method anymoreGraphics2D graph = (Graphics2D)g;int x = <x coordinate of page pageIndex>int y = <y coordinate of page pageIndex>graph.translate(pageFormat.getImageableX() + x, pageFormat.getImageableY() + y);disableBuffering(compent);compent.paint(graph);enableBuffering(compent);return PAGE_EXISTS;How can we get it for JTree?
Thanks
Archana -
Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.
Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.
-
Displaying the contents of internal table- in email Step of workflows
Hello Folks,
I wanted to display the contents of an internal table ( would contain a list of opportunites ), in an email sent throught the workflow:
My idea was to LOOP AT <ITAB> into <WA> from an external program and then call the workflow for each content of the <WA>. This will be a problem as, if there are like 1000 records in the internal table, then workflows will be called 1000 times...sending 1000 emails..
My requirement is that we need to send a single email to the single person, displaying the content of the internal table in the email body......
My question
1) Is this scenario possible through worflows ?
2) If not, please provide an alternative ..
Thanks
AnandDo you mean to say that just by inserting the multiline element
within the body of the 'Send email' step type, the contents
of the multiline element is displayed automatically without
we having to loop at it somehow ?
Follow the below apporach,
1. First create a multiline container element in the workflow conatiner.
2. Populate the internla table , by using the bor methods and pass back the populated ITAB to the WF by using the binding concept.
3. Now create a mail step in the workflow, you have the option of inserting the workflow container elements into the mail conten, so insert the multiline container element , then it prompts to select the option like a) Do you liek to display only first line b) Display the ITAB line by line c) Display ITAB lines continuously with out line break.
4. based upon the requirement select any one of the options.
Note: Make sure the line length of the ITAB won't excced 132 charecters, because the send mail step will consider only 132 characters. -
Hi,
First, let me say that I like Xcode and coding in OS X. However, there is something I miss:
Let me demonstrate what i mean:
This is the representation of a 2D-Vector in Xcode Debugging environment:
v 'std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >' [{...}]
0 'std::vector<int, std::allocator<int> >' [{...}]
1 'std::vector<int, std::allocator<int> >' [{...}]
2 'std::vector<int, std::allocator<int> >' [{...}]
3 'std::vector<int, std::allocator<int> >' [{...}]
4 'std::vector<int, std::allocator<int> >' [{...}]
5 'std::vector<int, std::allocator<int> >' [{...}]
6 'std::vector<int, std::allocator<int> >' [{...}]
7 'std::vector<int, std::allocator<int> >' [{...}]
8 'std::vector<int, std::allocator<int> >' [{...}]
So, the above representation is what I would call bad (even useless).
The problem is that the current Linux Kernel (3.1.1) has some problems with the new MBA 2011 (which is really sad) so I can not show you the representation of a 2D-Vector in Qt-Creator for Linux right now (I'm not sure if the Qt-Creator for OS X could display the content properly, since I've never tried it). But you can believe me, that the represantation would look something like the one in Eclipse (which would be a good representation).
So my question: is there a "fix" for this?What you want is a custom data formatter. I would give you some links, but my iPad wants to convert them into the documentation viewer.
You aren't going to find much help with C++ debugging. While Apple's Clang has made great improvements in C++ support compared to GCC, C++ is really not something that Mac or iOS programmers typically use. The Cocoa containers and objects are so much more versatile. You kind of have to have a masochist streak and a 7 year development schedule to use C++. C++ is experiencing a bit of a resurgence, especially in defense markets. For a long time, compilers had such poor support for C++ that it just wasn't possible. After simplifying the language a little, compilers can now compile and link C++. Consultants have realized they can provide C++ services and burn though billable hours better than any other language on the market. Independent developer, however, don't have those schedules and budgets so they tend to use NSArray. Xcode supports it better in the debugg and, chances are, you don't need to debug it anyway. There are a number of matrix classes built on Cocoa. -
How to display the content of a file in the portal?
Hey guys, could anyone help?
I just created a page which includes two iView, one is KM Navigation iView to display a certain repository, while the other is for displaying the content of a certain file I click in the navigation iView.
And now the problem is when I click a file in the KM Navigation iView, it will pop up a new window to display it. How can I make it displayed in a fixed iView, which type of this iView should be?Hi,
you can try to use the:
<b>ConsumerTreeListPreview</b>
layout for KM navigation ivew (or customize to your own).
This layout shows a folder tree on the left, a document list on the right. When you click on a document from the list it shows the contents of the file on the bottom of the iview.
Hope this helps,
Romano -
Display the content of the folder
Hi all,
I have written a recursive method to display the entire content of the particular folder.
public void showDetails(String f) {
try {
x = new File(f);
files = x.listFiles();
for (int i = 0; i < files.length; i++) {
System.out.println("The filename is " + files);
if (files[i].isDirectory()) {
System.out.println("Foldername ->" + files[i]);
showDetails(files[i].toString());
} else if (files[i].isFile())
System.out.println("Files name ->" + files[i]);
else
showDetails(files[i].toString());
} catch (Exception e) {
e.printStackTrace();
method name : showDetails();
Example Input : d:\jdk1.3.1_06
Example output : bin\*.*
bin\examples\*.*
bin\training\*.*
demo\applets\*.*
demo\jfc\*.*
. and so on
Current output : bin\*.*
bin\examples\*.*
My problem : If I execute the method, it displays the content of the first folder and its first subfolder . But I need to display entire content , (i,e) just like out windows explorer.
Could any one please help me...
If you couldn't understand the above problem, Please do inform me, I will tell in more clearer way.
Thanks in advance.
Bye
javasansYou are using your method recursively. Then the variables x and files should be local in this method, e.g.
File x = new File(f);
File[] files = x.listFiles();If these variables are declared outside, they are overwritten during the recursive call and could produce the described behaviour. -
Facing problem in displaying messages
I am facing problem in displaying messages. After saving, success message is not displaying in destination page.
Here is my code in save method in managed bean,
cycleStatusViewObject = setNewDayDelegator.setNewDay(cycleType, valuationInformationBO);
SetNewDayStatusBean setNewDayStatusBean = new SetNewDayStatusBean();
setNewDayStatusBean.setCycleStatusViewObject(cycleStatusViewObject);
message = "Current Valuation Day for domestic has been saved";
FacesContext currentInstance = FacesContext.getCurrentInstance();
FacesMessage facesMessage = new FacesMessage(FacesMessage.SEVERITY_INFO, message, "");
currentInstance.addMessage("",facesMessage);
NavigationHandler nh = currentInstance.getApplication().getNavigationHandler();
nh.handleNavigation(currentInstance, null, "setNewDayStatus");
Entry in faces-config.xml,
<navigation-case>
<from-outcome>setNewDayStatus</from-outcome>
<to-view-id>/setnewdaystatus.jsp</to-view-id>
<redirect/>
</navigation-case>
Assigned message in not displaying in my destination page setnewdaystatus.jsp.
Anyone help me to sole this issue.............Remove the redirect from the navigation case. Or implement a PhaseListener which saves any FacesMessages for the next request.
-
Facing problem in applying the apply the note sapnote 1046758
Dear All,
To display acknowledgement number in Form No 16A
I am facing problem in applying the apply the note sapnote 1046758 there is one TDS_Certificate_500.sar as attachment I have to apply in the system.
After uncar the file there are 2 file with the exetion K105630.P6D and R105630.P6D.
Please suggest how can I apply.
Regards,Hi Suman,
Thanks a lot but I am facing again an problem in using the T-code SAINT it is give an error
You can only use the display mode
Reason: OCS is locked by transaction SPAM
Process all the steps of the transaction SPAM until they are completed
After see the SPAM there an support package Queue SAPKH50012 and
The status
Queue is defined for the
Software Component: SAP_APPL
SPAM status: there there is yellow light
Next action: Import queue
Pease suggest me how can I unlocked transaction SPAM or release spam from queue.
Regards, -
Pagelet is not displaying the content
Hi All, I am facing an issue where in the pagelets content is not loading into the page.
We have upgraded from the tools 8.49.23 to 8.52.09. After that when I am checking the pagelets its not displaying the content. But it displayes all my pagelets as a boxes. All pagelets are not in minimized mode.
I have checked the code which load the page. Its component based pagelet. we are passing the URL to HTML which is using iFrame as given below.
<iframe src="%Bind(:1)" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width=%Bind(:2) height=%Bind(:3) style="overflow:hidden; width:100%;"> </iframe>
%bind(:1) is the component url. I have test this URL independently and is showing the content. Not sure why is this not rendered inside the iframe pagelet?
I am able to see the pagelet content using personlize preview pagelet option as well. Can anyone help me to understand Why it is not loading inside the pagelet?
Edited by: 923121 on 17-Sep-2012 06:45
Edited by: 923121 on 17-Sep-2012 22:23There seems to be a new configuration page that might be controlling the display of the Toolbar.
Navigation: Main Menu > Enterprise Components > Component Configurations > Toolbar > Toolbar Definition
See: HCSC_NOTIFICATION
Not sure, if any of the data in these tables were accidentally deleted in your upgraded environment? -
Re:Problem in displaying the output by using filters
hi to all,
when using filters in ALV i am getting a problem of displaying the <b>full contents of a particular field while going for F4 option</b>.
even i using <b>ls_fieldcat-outputlen = field length</b> it is not coming .
please help me in this issue.
thanks
sun
Message was edited by: sun deepHello,
set ST_FIELDCAT-OUTPUTLEN to the actual lenght of the field.
regards,
Naimesh -
Displaying the contents of an array of objects
Hello All,
My Java teacher gave us a challenge and I'm stumped. The teacher wants us to display the contents of the array in the main menthod. The original code is as follows:
public class TestObjects
public static void main ( String args[] )
Thing[] thingArray = { new Thing(4), new Thing(7) };
}I understand that the elements of the array are objects, and each one has a value assigned to it. The following code was my first attempt at a solution:
public class TestObjects
public static void main ( String args[] )
Thing[] thingArray = { new Thing(4), new Thing(7) };
for ( int i = 0; i < thingArray.length; i++)
System.out.println( thingArray );
}To which I'm given what amounts to garbage output. I learned from reading about that output that its basically displaying the memory location of the array, and the the contents of the array. There was mention of overriding or bypassing a method in System.out.println, but I don't believe that we're that far advanced yet. Any thoughts? I know I have to get at the data fields in the objects of the array, but i'm not having an easy time figuring it out. Thanks very much in advance!robrom78 wrote:
public class TestObjects
public static void main ( String args[] )
Thing[] thingArray = { new Thing(4), new Thing(7) };
for ( int i = 0; i < thingArray.length; i++)
System.out.println( thingArray );
Note that you're trying to print the entire array at every loop iteration. That's probably not what you meant to do.
You probably meant to do something more like
System.out.println( thingArray[i] );Also, note that the java.util.Arrays class has a toString method that might be useful.
To which I'm given what amounts to garbage output. It's not garbage. It's the default output to toString() for arrays, which is in fact the toString() defined for java.lang.Object (and inherited by arrays).
I learned from reading about that output that its basically displaying the memory location of the array, and the the contents of the array.It displays a default result that is vaguely related to the memory, but probably shouldn't be thought of us such. Think of it as identifying the type of object, and a value that differentiates it from other objects of the same type.
By the way I assume you mean "+not+ the contents of the array" above. If so, that is correct.
There was mention of overriding or bypassing a method in System.out.println, but I don't believe that we're that far advanced yet. Any thoughts? No, you don't override a method in println; actually methods don't contain other methods directly. You probably do need to override toString in Thing.
I know I have to get at the data fields in the objects of the array, but i'm not having an easy time figuring it out. You can get to the individual objects in the array just by dereferencing it, as I showed you above.
But I suspect that won't be sufficient. Most likely, Thing doesn't have a toString method defined. This means that you'll end up with very similar output, but it will say "Thing" instead of "[Thing" and the numbers to the right of the "@" will be different.
You'll need to override the toString() method in Thing to get the output you want. -
Displaying the content of one JPanel in an other as a scaled image
Hi,
I'd like to display the content of one JPanel scaled in a second JPanel.
The first JPanel holds a graph that could be edited in this JPanel. But unfortunately the graph is usually to big to have a full overview over the whole graph and is embeded in a JScrollPanel. So the second JPanel should be some kind of an overview window that shows the whole graph scaled to fit to this window and some kind of outline around the current section displayed by the JScrollPanel. How could I do this?
Many thanks in advance.
Best,
Marc.Hi,
I'd like to display the content of one JPanel scaled
in a second JPanel.
The first JPanel holds a graph that could be edited
in this JPanel. But unfortunately the graph is
usually to big to have a full overview over the whole
graph and is embeded in a JScrollPanel. So the second
JPanel should be some kind of an overview window that
shows the whole graph scaled to fit to this window
and some kind of outline around the current section
displayed by the JScrollPanel. How could I do this?
Many thanks in advance.
Best,
Marc.if panel1 is the graph and panel2 is the overview, override the paintComponent method in panel2 with this
public void paintComponent(Graphics g) {
Graphics2D g2 = (Graphics2D) g;
g2.scale(...,...);
panel1.paint(g2);
} -
Problem in displaying the TaxRate columns .
Hi Experts,
I am having a problem in displaying the 'TaxRate', in this Query there are some different Taxrate's columns like- ' 'Basic Excise Duty BED@10 %', ' Education ces@2% ' , 'Secondary Education Cess @1%', etc. only 4 -5 tax's value should display at a time and rest of the TaxRate's columns whose value is NULL should not display.
So, I want to display only those TaxRate's columns whose value is not NULL and If there is no value for any taxrate's column in the data, then it should Display only 'Excempt' column.
This is my query...
SELECT DISTINCT OSTA.Code , ORPC.DocNum AS 'Debit Note No.', ORPC.CardName AS 'Name', ORPC.CardCode AS 'code', ORPC.NumAtCard AS 'Supplier Ref.' ,
RPC1.Dscription AS 'Description of Goods', ORPC.Address, RPC1.Quantity, RPC1.Price AS 'Rate', RPC1.LineTotal AS 'Amount', ORPC.DocDate,
(SELECT DISTINCT TaxRate
FROM RPC4
WHERE (staType = - 90) AND (StaCode = 'BED@10') AND (DocEntry = RPC1.DocEntry)) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_8
WHERE (staType = - 60) AND (DocEntry = RPC1.DocEntry)) AS 'Education Cess @2%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_7
WHERE (staType = - 55) AND (DocEntry = RPC1.DocEntry)) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_6
WHERE (staType = 4) AND (StaCode = 'CST2') AND (DocEntry = RPC1.DocEntry)) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_5
WHERE (staType = 1) AND (StaCode = 'VAT4') AND (DocEntry = RPC1.DocEntry)) AS 'Input VAT@5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_4
WHERE (staType = 1) AND (TaxRate = 12.500000) AND (StaCode = 'VAT12.5') AND (DocEntry = RPC1.DocEntry)) AS 'VAT12.5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_3
WHERE (staType = 18) AND (StaCode = 'Add2') AND (DocEntry = RPC1.DocEntry)) AS 'ADD Tax 1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_2
WHERE (staType = 7) AND (DocEntry = RPC1.DocEntry)) AS 'Excempt'
FROM OSTA INNER JOIN
RPC4 AS RPC4_1 ON OSTA.Code = RPC4_1.StaCode CROSS JOIN
ORPC INNER JOIN
RPC1 ON ORPC.DocEntry = RPC1.DocEntry
WHERE (OSTA.Code IN ('BED@10','eCess 2%','HeCess 1%','CST')) AND (ORPC.CardCode = 'V00308') AND (ORPC.DocNum = '9220004')
Kindly help me to solve this problem
Regards
RahulHi rahul,
Try this:
SELECT DISTINCT T0.DocNum AS 'Debit Note No.', T0.CardName AS 'Name', T0.CardCode AS 'code', T0.NumAtCard AS 'Supplier Ref.'
,T1.Dscription AS 'Description of Goods', T0.Address, T1.Quantity, T1.Price AS 'Rate', T1.LineTotal AS 'Amount', T0.DocDate,
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0)FROM RPC4 WHERE RPC4.StaType = -90 AND RPC4.DocEntry = T0.DocEntry) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -60 AND RPC4.DocEntry = T0.DocEntry) AS 'Education Cess @2%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -55 AND RPC4.DocEntry = T0.DocEntry) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 4 AND RPC4.StaCode = 'CST2' AND RPC4.DocEntry = T0.DocEntry) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT4'AND RPC4.DocEntry = T0.DocEntry) AS 'Input VAT@5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT12.5'AND RPC4.DocEntry = T0.DocEntry) AS 'VAT12.5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 18 AND RPC4.StaCode = 'Add2'AND RPC4.DocEntry = T0.DocEntry) AS 'ADD Tax 1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 7 AND RPC4.DocEntry = T0.DocEntry) AS 'Excempt'
FROM ORPC T0
INNER JOIN RPC1 T1 ON T0.DocEntry = T1.DocEntry
WHERE (T0.CardCode = 'V00308') AND (T0.DocNum = '9220004')
FOR BROWSE
Thanks,
Neetu
Maybe you are looking for
-
I have a user with Outlook 2013 connected to an 2010 Exchange Server. I have a user that is unable to edit any existing contact, getting an error: Your changes cannot be saved because you don't have permission to modify some or all of the items in th
-
Youtube, Netflix, and other sites continue playing audio after the tab is closed
If you are watching a video on Youtube, Netflix, or another site and you close the tab, the audio continues to play in the background. Restarting the browser resolves the issue.
-
Would like to use the remaining amount on my two gift cards. This application will not allow it. It says that 'the redemption code has already been entered.". Duh! I know that. 8 want to actually use all of the credit on both of them as they were pai
-
i need to implement pagination in my jsp page. is it possible to create a table in the page and upon clicking the next page,retrieve only the sufficient data from the server using AJAX? my idea is to retrive data in xml format from the database and u
-
Empirix to Oracle Application Testing Suite
Dear all, I have made a lot of web scenario with Etester 6.03.0384, and i want to use my old job with OFT for Web Applications 8.40.0199. Could you please provide me a link for a intermediate version of E-tester (or OFT..) to update my script on a us