The application to display very slowly, please give me advice, thanks.
Dear all,
Could someone give me some advice? Thanks, I'm new developer in the development of a program administered for BB bold 9000, but when I run the application, it was display very slowly. Thank you.
My code is displayed as follows:
Main:
import net.rim.blackberry.api.browser.Browser; import net.rim.blackberry.api.browser.BrowserSession; import net.rim.device.api.servicebook.ServiceBook; import net.rim.device.api.servicebook.ServiceRecord; import net.rim.device.api.system.Characters; import net.rim.device.api.system.EncodedImage; import net.rim.device.api.ui.Color; import net.rim.device.api.ui.DrawStyle; import net.rim.device.api.ui.Field; import net.rim.device.api.ui.Font; import net.rim.device.api.ui.Graphics; import net.rim.device.api.ui.UiApplication; import net.rim.device.api.ui.component.BitmapField; import net.rim.device.api.ui.component.LabelField; import net.rim.device.api.ui.container.HorizontalFieldManager; import net.rim.device.api.ui.container.MainScreen; import net.rim.device.api.ui.container.VerticalFieldManager; import net.rim.device.api.ui.decor.Background; import net.rim.device.api.ui.decor.BackgroundFactory; public class SmartoneVodafoneServices extends UiApplication { public static void main(String arg[]) throws Throwable { SmartoneVodafoneServices application = null; application = new SmartoneVodafoneServices(); application.enterEventDispatcher(); } public SmartoneVodafoneServices() throws Throwable { pushScreen(new SmartoneVodafoneServicesScreen()); } } class SmartoneVodafoneServicesScreen extends MainScreen { //private TableLayoutManager table = TableDefine(); private String url = "http://202.140.96.134:8080/Hero/shortcuts_demo.xml"; private static ServiceBook sb = ServiceBook.getSB(); private static ServiceRecord[] records = sb.findRecordsByCid("BrowserConfig"); public SmartoneVodafoneServicesScreen() throws Throwable { super(); LabelField title = new LabelField("Smartone Vodafone Services", DrawStyle.ELLIPSIS | Field.USE_ALL_WIDTH | DrawStyle.HCENTER); setTitle(title); Background bg = BackgroundFactory.createSolidBackground(Color.BLACK); getMainManager().setBackground(bg); String[][] arr = null;EncodedImage pic = null;int p = 0; UiApplication.getUiApplication().getScreenCount(); arr = Conn.WorkForXML(url); HorizontalFieldManager mainHManager = new HorizontalFieldManager(Field.FIELD_VCENTER); VerticalFieldManager col1 = new VerticalFieldManager(Field.FIELD_HCENTER); VerticalFieldManager col2 = new VerticalFieldManager(Field.FIELD_HCENTER); VerticalFieldManager col3 = new VerticalFieldManager(Field.FIELD_HCENTER); VerticalFieldManager col4 = new VerticalFieldManager(Field.FIELD_HCENTER); VerticalFieldManager col5 = new VerticalFieldManager(Field.FIELD_HCENTER); for (int i = 0; i < arr.length; i++) { if (arr[i][0] != null || arr[i][1] != null || arr[i][2] != null) { LabelField name = showName(arr[i][0]); pic = Conn.GetPngField(arr[i][1]); final String link = arr[i][2]; //final String link = "http://202.140.96.134:8080/blackberry/index.html"; BitmapField myBitmapField = new BitmapField(pic.getBitmap(),Field.FOCUSABLE|FIELD_VCENTER){ protected boolean invokeAction(int status){ //BrowserSession site = Browser.getDefaultSession(); BrowserSession site = createWAPBrowserSession(); site.displayPage(link); return true; } protected void paint(Graphics g) { g.setBackgroundColor(Color.BLACK); g.drawRoundRect(0, 0, getWidth(), getHeight(), 10, 10); g.setColor(Color.WHITE); super.paint(g); } }; switch (p) { case 0: col1.add(new LabelField(" ",LabelField.NON_FOCUSABLE)); col1.add(myBitmapField); col1.add(name); break; case 1: col2.add(new LabelField(" ",LabelField.NON_FOCUSABLE)); col2.add(myBitmapField); col2.add(name); break; case 2: col3.add(new LabelField(" ",LabelField.NON_FOCUSABLE)); col3.add(myBitmapField); col3.add(name); break; case 3: col4.add(new LabelField(" ",LabelField.NON_FOCUSABLE)); col4.add(myBitmapField); col4.add(name); break; case 4: col5.add(new LabelField(" ",LabelField.NON_FOCUSABLE)); col5.add(myBitmapField); col5.add(name); break; } p ++; if ( p == 5 ){ p = 0; } } } mainHManager.add(col1); mainHManager.add(col2); mainHManager.add(col3); mainHManager.add(col4); mainHManager.add(col5); add(mainHManager); } public LabelField showName(String name) { return new LabelField(name,LabelField.NON_FOCUSABLE|LabelField.FIELD_VCENTER){ protected void paint(Graphics g) { Font myFont = Font.getDefault().derive(Font.PLAIN, 7); g.setColor(Color.WHITE); g.setFont(myFont); super.paint(g); } }; } public static BrowserSession createWAPBrowserSession() { // If there are browser services found - search for the WAP2 // Service Record String uid = null; int numRecords = records.length; for( int i = 0; i < numRecords; i++ ) { ServiceRecord myRecord = records[i]; //if (myRecord.getName()){ if (myRecord.getUid().equals("WAP Browser Smartone")==true){ uid = myRecord.getUid(); } } return Browser.getSession(uid); } public boolean keyChar(char key, int status, int time) { switch (key) { case Characters.ESCAPE: System.exit(0); break; } return true; //return true to indicate that a key was pressed } }
Conn.Java
import java.io.*; import javax.microedition.io.*; import net.rim.blackberry.api.browser.Browser; import net.rim.blackberry.api.browser.BrowserSession; import net.rim.device.api.math.*; import net.rim.device.api.servicebook.ServiceRecord; import net.rim.device.api.system.*; import net.rim.device.api.ui.Color; import net.rim.device.api.ui.Field; import net.rim.device.api.ui.Graphics; import net.rim.device.api.ui.XYEdges; import net.rim.device.api.ui.component.BitmapField; import net.rim.device.api.ui.decor.Border; import net.rim.device.api.ui.decor.BorderFactory; import net.rim.device.api.xml.parsers.*; import org.w3c.dom.*; public class Conn { /** * @return * @throws IOException * @throws Throwable * @throws Throwable */ public static String[][] WorkForXML(String url) throws IOException, Throwable { // TODO Auto-generated method stub String[][] arr = null; HttpConnection conn = null; Document doc; conn = (HttpConnection) Connector.open(url); conn.setRequestMethod(HttpConnection.GET); try { if (conn.getResponseCode() == HttpConnection.HTTP_OK) { DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); docBuilder.isValidating(); doc = docBuilder.parse(conn.openInputStream()); conn.close(); doc.getDocumentElement().normalize(); NodeList list = doc.getElementsByTagName("item"); arr = new String[list.getLength()][3]; for (int i = 0; i < list.getLength(); i++) { Node nNode = list.item(i); NodeList sList = nNode.getChildNodes(); if (sList.item(1).getFirstChild().getNodeValue().equals("0")) { arr[i][0] = sList.item(3).getFirstChild().getNodeValue(); arr[i][1] = sList.item(7).getFirstChild().getNodeValue(); arr[i][2] = sList.item(11).getFirstChild().getNodeValue(); } } conn=null; docBuilderFactory = null; docBuilder = null; } } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ParserConfigurationException e) { // TODO Auto-generated catch block e.printStackTrace(); } return arr; } public static EncodedImage GetPngField(String pic) throws IOException { EncodedImage imageField = null; HttpConnection picon = null; picon = (HttpConnection) Connector.open(pic); picon.setRequestMethod(HttpConnection.GET); try { if (picon.getResponseCode() == HttpConnection.HTTP_OK) { DataInputStream inputStream = picon.openDataInputStream(); ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); byte[] buffer = new byte[5120]; int len = 0, imageSize = 0; while (-1 != (len = inputStream.read(buffer))) { byteArrayOutputStream.write(buffer); imageSize += len; } byteArrayOutputStream.flush(); picon.close(); picon=null; byte[] imageData = byteArrayOutputStream.toByteArray(); byteArrayOutputStream.close(); byteArrayOutputStream = null; inputStream = null; //imageField = PNGEncodedImage.createEncodedImage(imageData, 0, imageSize); EncodedImage pngImage = PNGEncodedImage.createEncodedImage(imageData, 0, imageSize); imageField = resizeImage(pngImage,55,55); } } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return imageField; } public static EncodedImage resizeImage (EncodedImage png,int Height, int Width) { int currHeight,currWidth,multH = 0,multW = 0; try { currHeight = png.getHeight(); currWidth = png.getWidth(); multH = Fixed32.div(Fixed32.toFP(currHeight),Fixed32.toFP(Height)); multW = Fixed32.div(Fixed32.toFP(currWidth),Fixed32.toFP(Width)); } catch (Exception e) {} return png.scaleImage32(multH,multW); } }
I have
hyoryeo wrote:
Thanks ydarishy & peter_strange, I just point the programmer SR. is not recommended to use the wire in my workplace. But I think that the wire is the good way to make my faster program because I found that the wire would be used in many places in the Blackberry. Then I would practice the Thread in the test project.
have been changes to the program and use the wire, saw the fastest forward speed. I would add the bar of charge process if necessary of the head. Thanks ydarishy & peter_strange,.
SmartoneVodafoneServices.java
import java.util.Vector; import net.rim.blackberry.api.browser.Browser;import net.rim.blackberry.api.browser.BrowserSession;import net.rim.device.api.servicebook.ServiceBook;import net.rim.device.api.servicebook.ServiceRecord;import net.rim.device.api.system.Characters;import net.rim.device.api.ui.Color;import net.rim.device.api.ui.DrawStyle;import net.rim.device.api.ui.Field;import net.rim.device.api.ui.UiApplication;import net.rim.device.api.ui.component.LabelField;import net.rim.device.api.ui.container.HorizontalFieldManager;import net.rim.device.api.ui.container.MainScreen;import net.rim.device.api.ui.container.VerticalFieldManager;import net.rim.device.api.ui.decor.Background;import net.rim.device.api.ui.decor.BackgroundFactory; public class SmartoneVodafoneServices extends UiApplication { public static void main(String arg[]) throws Throwable { SmartoneVodafoneServices application = null; application = new SmartoneVodafoneServices(); application.enterEventDispatcher(); } public SmartoneVodafoneServices() throws Throwable { pushScreen(new SmartoneVodafoneServicesScreen()); }} class SmartoneVodafoneServicesScreen extends MainScreen { private String url = "http://202.140.96.134:8080/Hero/shortcuts_demo.xml"; private static ServiceBook sb = ServiceBook.getSB(); private static ServiceRecord[] records = sb.findRecordsByCid("BrowserConfig"); private HorizontalFieldManager mainHManager = new HorizontalFieldManager(Field.FIELD_VCENTER); private VerticalFieldManager colum1 = new VerticalFieldManager(Field.FIELD_HCENTER); private VerticalFieldManager colum2 = new VerticalFieldManager(Field.FIELD_HCENTER); private VerticalFieldManager colum3 = new VerticalFieldManager(Field.FIELD_HCENTER); private VerticalFieldManager colum4 = new VerticalFieldManager(Field.FIELD_HCENTER); private VerticalFieldManager colum5 = new VerticalFieldManager(Field.FIELD_HCENTER); private Vector col = new Vector(); public SmartoneVodafoneServicesScreen() throws Throwable { super(); LabelField title = new LabelField("Smartone Vodafone Services", DrawStyle.ELLIPSIS | Field.USE_ALL_WIDTH | DrawStyle.HCENTER); setTitle(title); col.addElement(colum1);col.addElement(colum2);col.addElement(colum3);col.addElement(colum4);col.addElement(colum5); Background bg = BackgroundFactory.createSolidBackground(Color.BLACK); getMainManager().setBackground(bg); SmartoneVodafoneServicesScreen screen = this; ConnectXMLThread startMainThread = new ConnectXMLThread(url,col,mainHManager, screen); startMainThread.start(); //startMainThread.wait(30000); } public BrowserSession createWAPBrowserSession() { // If there are browser services found - search for the WAP2 // Service Record String uid = null; int numRecords = records.length; for( int i = 0; i < numRecords; i++ ) { ServiceRecord myRecord = records[i]; if (myRecord.getUid().equals("WAP Browser Smartone")==true){ uid = myRecord.getUid(); } } return Browser.getSession(uid); } public boolean keyChar(char key, int status, int time) { switch (key) { case Characters.ESCAPE: System.exit(0); break; } return true; //return true to indicate that a key was pressed }}
ConnectXMLThread.java
import java.util.Vector; import javax.microedition.io.Connector;import javax.microedition.io.StreamConnection; import net.rim.device.api.ui.UiApplication;import net.rim.device.api.ui.container.HorizontalFieldManager;import net.rim.device.api.ui.container.VerticalFieldManager;import net.rim.device.api.xml.parsers.DocumentBuilder;import net.rim.device.api.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document;import org.w3c.dom.Node;import org.w3c.dom.NodeList; public class ConnectXMLThread extends Thread { private StreamConnection conn; private Document doc; private Vector vector = new Vector(); private String url; private Vector col; private HorizontalFieldManager mainHManager; private SmartoneVodafoneServicesScreen screen; //public ConnectXMLThread(long startApplication) { public ConnectXMLThread(String url, Vector col, HorizontalFieldManager mainHManager, SmartoneVodafoneServicesScreen screen) { // TODO Auto-generated constructor stub //this.starttime = startApplication; this.url = url; this.col = col; this.mainHManager = mainHManager; this.screen = screen; } public void run() { try { conn = (StreamConnection) Connector.open(url); DocumentBuilderFactory docFac = DocumentBuilderFactory.newInstance(); DocumentBuilder docBui = docFac.newDocumentBuilder(); doc = docBui.parse(conn.openInputStream()); NodeList list = doc.getElementsByTagName("item"); for (int i = 0; i < list.getLength(); i++) { Node nNode = list.item(i); NodeList sList = nNode.getChildNodes(); if (sList.item(1).getFirstChild().getNodeValue().equals("0")) { String[] arr = new String[3]; arr[0] = sList.item(3).getFirstChild().getNodeValue(); arr[1] = sList.item(7).getFirstChild().getNodeValue(); arr[2] = sList.item(11).getFirstChild().getNodeValue(); vector.addElement(arr); } } Vector threadList = new Vector(vector .size()); for (int i = 0; i < vector.size(); i++) { String[] arr = (String[]) vector.elementAt(i); String img = arr[1]; String url = arr[2]; ConnectPNGThread requestThread = new ConnectPNGThread(img, url, i,col,screen); requestThread.start(); threadList.addElement(requestThread); } //System.out.println("Wait for threads to complete"); boolean isComplete = false; while (!isComplete) { // NetworkThread.sleep(500); for (int i = 0; i < threadList.size(); i++) { if (((ConnectPNGThread) threadList.elementAt(i)).isAlive()) { isComplete = false; break; } if (i == threadList.size() - 1) { isComplete = true; } } } //final long endApplication = System.currentTimeMillis(); UiApplication.getUiApplication().invokeLater(new Runnable() { public void run() { for (int num = 0; num < 5; num++) { mainHManager.add((VerticalFieldManager) col.elementAt(num % 5)); } screen.add(mainHManager); //Dialog.alert(Long.toString((endApplication - starttime))); } }); System.out.println("All threads are complete"); } catch (Exception e) { } } }
ConnectPNGThread
import java.io.ByteArrayOutputStream;import java.io.DataInputStream;import java.util.Vector; import javax.microedition.io.Connector;import javax.microedition.io.StreamConnection; import net.rim.blackberry.api.browser.BrowserSession;import net.rim.device.api.system.EncodedImage;import net.rim.device.api.system.PNGEncodedImage;import net.rim.device.api.ui.Color;import net.rim.device.api.ui.Field;import net.rim.device.api.ui.Graphics;import net.rim.device.api.ui.component.BitmapField;import net.rim.device.api.ui.component.LabelField;import net.rim.device.api.ui.container.VerticalFieldManager; public class ConnectPNGThread extends Thread { private StreamConnection picon; private int p; private Vector col; private String img; private String url; private SmartoneVodafoneServicesScreen screen; public ConnectPNGThread(String img, String url, int i, Vector col, SmartoneVodafoneServicesScreen screen) { // TODO Auto-generated constructor stub super(); this.img = img; this.url = url; this.p = i%5; this.col = col; this.screen = screen; } public void run() { //public NetworkThread() { try { picon = (StreamConnection) Connector.open(img); DataInputStream inputStream = picon.openDataInputStream(); ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); byte[] buffer = new byte[5120]; int len = 0, imageSize = 0; while (-1 != (len = inputStream.read(buffer))) { byteArrayOutputStream.write(buffer); imageSize += len; } picon.close(); byteArrayOutputStream.flush(); byte[] imageData = byteArrayOutputStream.toByteArray(); final EncodedImage pngImage = PNGEncodedImage.createEncodedImage(imageData, 0, imageSize); final BitmapField myBitmapField = new BitmapField(pngImage .getBitmap(), Field.FIELD_VCENTER | Field.FOCUSABLE) { protected boolean invokeAction(int status) { // BrowserSession site = Browser.getDefaultSession(); BrowserSession site = screen.createWAPBrowserSession(); site.displayPage(url); return true; } protected void paint(Graphics g) { g.setBackgroundColor(Color.BLACK); g.drawRoundRect(0, 0, getWidth(), getHeight(), 10, 10); g.setColor(Color.WHITE); super.paint(g); } }; VerticalFieldManager c = (VerticalFieldManager) col.elementAt(p); c.add(new LabelField(" ", LabelField.NON_FOCUSABLE)); c.add(myBitmapField); } catch (Exception e) { //e.printStackTrace(); System.out.println(e.toString()); } } }
Tags: BlackBerry Developers
Similar Questions
-
Can you please give some advice on the ToolTip used in the new packaged applications
Hello
I use apex 4.1 theme 23.
I would use the ToolTip used in the new packaged app.
Can you please give some advice or the "Details" on ToolTip, used in the new packaged applications. for example: go live checklist request.
Once we fly over "Check list items" region. We get the tootip.
1. how to find the class "detailedStatusList".
2. how to find "detailedStatusListToolTip();" JavaScript function used in "execute when Page Loads.
3. is there a tool to generate the source in the region to "check list items.
I don't know if there are more, I need to know...
* the tooltip plugin isn't solid...
Kind regards
WaterGood morning, water,
My goal is to use it in IR for the column notes. I can't show all the notes on the report. so I use RPAD to show only the first words. and the rest should be available by using the ToolTip.
Fact :D
You need to use SUBSTR to restrict the notes to a few words, not RPAD.
- I changed the IR query as follows...
select Deptno, Dname, Loc, substr(notes,1,25) || '<div class="long-notes" style="display:none;">'||notes||'
<div class="short-notes">#Notes#
function setNotesToolTip() {
this.xOffset = 0; // x distance from mouse
this.yOffset = 10; // y distance from mouse
jQuery("div.short-notes").hover(
function(e) {
var insideText = jQuery("div.long-notes",this).html()
this.top = (e.pageY + yOffset);
this.left = (e.pageX + xOffset);
$('body').append('' + insideText + '' );
$('div#notes-tooltip').css("top", this.top+"px").css("left", this.left+"px").delay(500).fadeIn("fast");
},
function() {
jQuery("div#notes-tooltip").fadeOut("false").remove();
}
).mousemove(
function(e) {
this.top = (e.pageY + yOffset);
this.left = (e.pageX + xOffset);
jQuery("div#notes-tooltip").css("top", this.top+"px").css("left", this.left+"px");
}
)
}
<style>
div#notes-tooltip {
background-color: #F8F8F8;
border: 1px solid #AAAAAA;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
position: absolute;
width: 420px;
padding: 4px;
}
</style>
Kind regards
Hari
The icon of my creative cloud that appears on top of the MAC, the box and when you open the application is displayed in white. It does not work. What should I do? Thank you
Please visit:creative cloud is empty window why?
Re: Empty opening creative cloud app
I hope this helps.
Concerning
Megha Rawat
I bought Lightroom 6 and when I open the application for Adobe Manager it does give me an option to download. Are they not turns on the map?
Download & install instructions https://forums.adobe.com/thread/2003339 can help
-includes a link to access a page to download the Adobe programs if you do not have a disk or drive
Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq
I want to move virtual machines to a folder called Linux name, but we have several file of the same name in our Datacenter, please give me PowerCLI Script to move exactly.
I tried to use for the function FolderByPath below, but don't know how to use it and have worked. Please help me in this.
Function Get-FolderByPath {}
< #.
. Records of recovery SYNOPSIS by giving a path
. DESCRIPTION the function will retrieve a record by its
path. The path can contain any type of leave (folder or)
Data Center).
. Author NOTES: Luc relaxing
. Path PARAMETER
The path to the folder.
This is a required parameter.
. Path PARAMETER
The path to the folder.
This is a required parameter.
. PARAMETER separator
The character used to separate the leaves in the
path. The default value is ' / '.
. EXAMPLE OF
PS > Get-FolderByPath-path ' Datacenter/Folder1/Folder2 ".
. EXAMPLE OF
PS > Get-FolderByPath-path "Folder1 > Folder2"-separator ' > '
# >
(param
[CmdletBinding()]
[parameter (Mandatory = $true)]
[System.String []] ${Path}.
[tank] ${delimiter} = ' / '.
)
{in process
If (((Get-PowerCLIConfiguration).)) DefaultVIServerMode - eq "Multiple") {}
$vcs = $defaultVIServers
}
else {}
$vcs = $defaultVIServers [0]
}
{foreach ($vc to $vcs)
{foreach ($strPath in $Path)
$root = get-file-name of the server data $vc centers
$strPath.Split ($Separator) | %{
$root = get-inventory-name $_-location $root - server $vc - NoRecursion
If ((Get-stocks-localisation $root-NoRecursion |)) Select--ExpandProperty name)-contains "vm") {}
$root = get-inventory-name "vm" - location $root - server $vc - NoRecursion
}
}
$root | where {$_-is [VMware.VimAutomation.ViCore.Impl.V1.Inventory.FolderImpl]}|% {}}
Get-file-name $_. Name - location $root. Parent - Server $vc
}
}
}
}
}
You can try to retrieve the object file by steps as well.
Something like this for example
$folder = get-data center-name 'LTX01-G8 | Get-file-name "LTX-servers | Get-file-name "LTX servers 0000 - 0299. Get-file-name Linux
I guess the first qualification in your path was the data center.
I'm working with Gmail and I see that my browser too old! I have also the same without any extension. Please help me. Thank you
You have a user agent which is corrupt and which identifies you as: undefined GoogleToolbarBB
See:
new update of 38.0.1 makes the browser to run very slowly
Hello
After the upgradtion of 38.0.1 of today firefox browser responds very slowly. In case of seizure, it takes 3 to 4 seconds of delay for their display in the browser.
Please take a look at this problem and solve the problem.
looking forward to support yoru.
thanking you,
Mixon.
firefoxusex said
Hello
After the upgradtion of 38.0.1 of today firefox browser responds very slowly. In case of seizure, it takes 3 to 4 seconds of delay for their display in the browser.
Please take a look at this problem and solve the problem.
looking forward to support yoru.
thanking you,
Mixon.
32-bit or 64-bit Windows 7?
Satellite P70-A-112 - Windows 8 - Bug with the Application Manager & display
Hello
I bought this Toshiba laptop in August with 8 (64-bit) windows integrated.
It all started yesterday, when Windows has crashed due to a "BAD_POOL_HEADER" error Since then, I can't access the "Start" menu in Windows 8, can't run all the applications related to this tablet - like menu. For example, I can't even open a photo more or cannot open a PDF with Acrobat Reader.
My problem is twhreefold:
First of all, it seems that the app Manager doesn't seem to work when I start the computer. And this application manager seems to be required to operate the start menu.
Secondly, I can't access the settings of my computer with my cursor on the upper right, making it impossible to shut down my computer in the normal way.
Third, when I managed to restart my computer, I get most of the time to a black background and just an image of non-working image of the quickbar at the bottom of the screen. Nothing works.
Oddly, the only way I found to "solve" this problem is by pluging - in a second screen. However, it is simply a temporary solution: whenever I plug off the second screen, the nightmare starts again.
Could you please help me identify exactly the problem and help me solve it?
Thank you very much.
> According to other forums on the net, it could be a hard drive problem.
Yes, probably its problem of memory. I think that the modules of memory must be tested.
> What to do?
Your laptop is new. Right?
This means that the guarantee is valid and should be fixed the hardware problems under conditions of warranty.
In my opinion you should like your ISP for assistance.
The application icon displays only not on the device
Are you build the application that you are testing your device using Ant? If so, perhaps you have wrong path in the icon property.
The value of your icon must be a relative path based on your destdir.
Try to download creative cloud and it stops in the middle of the download and shows a white screen
Hi Vanae,
Please see the thread below where this issue was discussed:
New application Cloud Creative unusable: it is empty!
Creative cloud is empty window why?
Re: Empty opening creative cloud app
Kind regards
Sheena
Best free registry cleaner
The game April 12, 2012 07:35:20 + 0000, jhomar_333 wrote:
Best free registry cleaner
Avoid all the registry cleaners like the plague - they are free
or not. Registry cleaning programs are all snake oil. Cleaning of
the register is not necessary and is dangerous. Let the single registry
and do not use any registry cleaner. Despite what many people think,.
and what registry cleaning software vendors try to convince you,
have unused registry entries is not really make you hurt.
The risk of a serious problem caused by a registry cleaner by mistake
delete an entry you need is much greater than any potential benefit
It can have.
Read http://www.edbott.com/weblog/archives/000643.html
and http://aumha.net/viewtopic.php?t=28099
Let me stress that neither me nor anyone else who warns the
use of registry cleaners never said that they always cause
problems. If they have always caused problems, they would disappear from
the market almost immediately. Many people have used a registry
cleaner and never had a problem with it.
The problem with a registry cleaner is that it carries with it
the risk of a significant problem. And since there is no
benefits of using a registry cleaner, running that risk is a very bad
good deal.
Ken Blake, Microsoft MVP
Download the image via httpConnection very slowly
I've been wroted a function to get a picture from the internet, the size of the image always in 50x50px, very small, but I have to waste a lot of time for reveiving given, here is my code:
package code; import java.io.IOException; import java.io.InputStream; import javax.microedition.io.Connector; import javax.microedition.io.HttpConnection; import net.rim.device.api.io.IOCancelledException; import net.rim.device.api.io.IOUtilities; import net.rim.device.api.ui.UiApplication; public class HttpUtility { private static byte[] _imageData; private static String _url; public static byte[] getInternetImage(String url, boolean waiting) { _url=url; _imageData=null; Runnable run=new Runnable() { public void run() { byte[] data=null; try { HttpConnection httpConnection=(HttpConnection) Connector.open(_url+Function.updateConnectionSuffix()); InputStream inputStream=httpConnection.openInputStream(); if(inputStream.available()>0) { data=IOUtilities.streamToBytes(inputStream); inputStream.read(data); _imageData=data; } } catch(IOCancelledException e2) {Function.errorDialog(e2.toString());} catch (IOException e) {Function.errorDialog(e.toString());} } }; if(waiting) { UiApplication.getUiApplication().invokeAndWait(run); } else { UiApplication.getUiApplication().invokeLater(run); } return _imageData; } }
The updateConnectionSuffix() to determine the network environment and choose a better way for httpConnection.
Is there a problem in my code? I have no idea
invokelater executes on the thread of the event, and not on a separate thread.
currently you block your UI until data is available.
See
http://supportforums.BlackBerry.com/T5/Java-development/what-is-the-event-thread/Ta-p/446865
Take a look at the httpdemo to see how you could do it better.
The application could not be loaded, please contact No.602 application provider error
I have Vista 64-bit Wibndows and every time I boot up I am faced with this message on my desk. I searched on the net and the MS pages to try to find a cure, but for now I'm unlucky. If I OK it then it goes and everything is as usual, but I would rather sort? Thank you
Hi charlie3110,
· Did you do changes on the computer before the show?
Perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.
Note: After completing the steps in the clean boot troubleshooting, follow the link step 7 to return the computer to a Normal startupmode.
Hi, I downloaded Adblock yesterday, since then my Safari is running as Aol dial up to 20 years. I don't know how to uninstall Adblock.Don't you think that this is the cause? MacBook Pro 2014 OS X El Capitan Version 10.11.3 retina 13 inches processor: 2.6 GHz Intel Core i5, 34,88 GB 120,11 GB free memory I must sound stupid that I don't know how to uninstall it, but I can't even find Adblock anywhere on my computer. Please help me! My nephew who is my personal COMPUTING guru is in Russia on vacation. Thank you very much.
greekmama1
Please download and install EtreCheck from http://etrecheck.com/
Run it and post the report here.
Please give me advice on my x200s problems.
Hello
My x200s bought last year and now it is still under warranty.
Question No. 1:
Initially, the machine has been perfect, but there are about 3 months, I found the first defective pixel on the screen.
Then the number continues to grow. Now, there are at least 5 of them. All are dark.
Can I ask Lenovo to doing nothing, say, have exchanged LCD? Any advice?
Question 2:
Recently, I ran HDTunes and it gave me a C4 SMART WARNING "reassigned number of events. The general health of the HARD drive has warned.
Now, I'm a little worried by the HARD drive. Can I ask lenovo to do something? Any advice?
A question:
The location of the warranty of this machine is Hong Kong, but currently I am in Australia.
This situation will cause a problem seeking Australian service of Lenovo?
Thank you
Jrouy
As long as you have Australian warranty, then these two problems are covered.
You can determine if your machine is eligible for the guarantee in Australia, by checking the following Web site.
http://www-307.IBM.com/PC/support/site.WSS/document.do?lndocid=look-IWS#SW
1st edition, you have to send the laptop to the warehouse (once you have contacted warranty Lenovo on 131-426, they will arrange for pick up and delivery to the nearest warehouse using DHL Express).
2nd edition, can be solved by Lenovo service sends the hot spare for you (you can request a set of recovery media, if you have not done an already) and you give the mail (toll priority) that broken.
Maybe you are looking for
-
Hiya, I got a ring of guy saying it was Ant support for Microsoft that my software warranty had expired and that my computer was in danger of break up at any time from last week. computer is not even a year and I haven't finished to pay off so its un
-
Bill to Code JDE signature keys?
Hello I sent an email to [email protected] to receive an invoice for Code signing keys I bought, but I immediately received "negative response": Please contact the BlackBerryTechnical Support. The e-mail you submitted has not been delivered. Many a
-
HelloNeed your contributions on the approach to implement a work using dbms_scheduler.We have about 2000 drawings. Each schema has a package with 2 procedures.The requirement is to create a single job in SYS that loop over each schema and run the pro
-
Running Adobe Digital Editions, I'm trying to remove my account by ctrl-upper-case-d, enter in my id + pw, hit continue + clear permission. In response I get the error msg: ' impossible to clear permission. Pls try again later. "what I did, several t
-
Hello, I'm confronted with a concern to not open of Adobe Creative nails, there downloads properly installs on the desktop and that's where it becomes more complex, by clicking to open the disfiguring, nothing is passes, that it does not simply open