Displays the name of the Application
Hello
I have an app that I want to be displayed my App rather than MyAPP on its icon. At the moment I can't achieve this goal. I changed build impl and build.xml files in netbeans and I renamed the midlet in application descriptor for my app, but I don't have still no space.
The only place that is refernce MyApp in the jad file is RIM-COD-Module-name: MyAPP
The controls of this field in the build process?
Hello
I'm not experienced with netbeans, but in eclipse you can do this by following the path.
Right-click on the project---> properties
--> Blackberry project properties
Click the general tab
Write in title = "My App"
Tags: BlackBerry Developers
Similar Questions
-
CC does not display the application installation options
Hello. My operating system is Windows 8.1, 64-bit and I used Chrome. The CC does not display the application installation options only bar that allows me to leave the CC (printscreen below). I did all the steps that colleagues have stated in other sections of this forum, but nothing has worked. I'm waiting for help. Everton att.
WHITE cloud screen http://forums.adobe.com/message/5484303 can help
or
Spinning wheel in Windows https://forums.adobe.com/message/5853430
-
Display the applications at Startup tab?
Does anyone know a workaround to force the creative Cloud application to start on the applications tab, when it starts first, instead of advertising for Adobe Stock tab? It makes me crazy, I have no need of images of the reserve and will never be. Whenever I open the creative cloud application, is to use the applications tab. I'm tired of adding one additional click every time, it's frustrating.
Hi Krzysztoftv,
Thanks for sharing the update.
From now on, there is no work around for this, but I will certainly share the concern with my team and try to reach a resolution.
Let me know if you have any other questions.
-
switch the setting to display the application object module impl
Hello
in my ApplImpl class likely requery(), what I have now is:
{} public void requery()
...
VO = getRelationsVO1 ();
vo.setWhereClause ("client_id =" + getRid ());
vo.executeQuery ();
}
Instead, I added a: setting clientid to my RelationsVO1
so, I would like to replace vo.setWhereClause ("client_id =" + getRid ());
with some settings from the code
Help, please
Best regards
AB
Published by: grodno Sep 29, 2011 06:40Hello
Use this
vo.setNamedWhereClauseParam("clientid",getRid());
Note: clientid is variable binding in RelationsVO1.
~ Abhijit
Published by: Abhijit Dutta, Sep 29, 2011 19:39
-
When I try to download & install programs, the following error message "[program] .exe" is displayed: "the application or DLL C:\WINDOWS\system32\WINHTTP.dll is not a valid Windows image. Please check this against your installation diskette. "All the solutions out there?
Hi pixietra,
1. did you of recent changes on the computer?
2. what browser you use to download programs on the computer?
3. it happens with any download and installation of the program?
4. do you have security software installed on the computer?
I suggest that scan you SFC on the computer that would be a system file corrupt on the computer search and replace.
The analysis may take some time, so be patient. Windows allows to fix corrupt or missing files it finds. If the information of the installation CD is required to fix the problem, you may be asked to insert your Windows XP installation CD.
Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
-
HP TouckSmart PC 520: HP Photo Viewer cannot display the picture
When I double click on an image, the image file is not displayed and an error message is displayed: "the application failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe.
How to do photo viever works again?
Microsoft's answer is to run their dose. Found here. You must run the 64-bit version.
-
Salvation OR,.
We found that the list of forms/open windows displayed in Windows XP (on the right by clicking on the name of the application in the windows taskbar) seems to indicate all open and active windows/forms in the application.
We would like to know how to enable the same functionality in a Windows 7 environment. The best we can do now is to double click on the name of the application on the windows taskbar to switch between active windows/Forms in the application. We would like a menu similar to the windows XP appearance about running on Windows 7 when it comes to this particular feature.
Thank you and best regards,
-Ashish
The taskbard has changed significantly in Windows Vista and 7. You can get a similar functionality to what you call by customizing the taskbar in the taskbar properties. In addition, now press SHIFT key while right-clicking to display a menu similar to what you show in your screenshot, except that it does not display the name of the element. In Windows 7, the feature make you is typically done by hovering over the icon in the bar tasks and selecting one of the points of view which appears above the element.
You can use the Windows shellapi to do a limited customization of the task bar, but this API is very difficult to use and I would not recommend this approach.
CVI provides a method to change the name of the item in the taskbar (see this KB), but it does not add the name after the restoration in the context menu.
-
How to change the display name of the application in the device. ?
Hi all
I'm using JDE 4.3.0.
My workspace name displays under the name of the application in the device.
How can I change this to a different name. ?
Help, please.
Thank you & best regards
Narendra
You can change it in the file jad RIM-COD-Module-name:...
See you soon...
-
Xperia M4 aqua does not display the names of contact on the phone application
Hi all
I jave an Xperia M4 aqua E2306 running Android 5.0. The problem I have is that the Contacts application shows all my contacts synchronize accounts such as Facebook or Google, but the application of the phone itself does not show the names of contacts only contact phone numbers, I went through the settings and I can't find something that will allow me to change this behavior, I deleted the cache of the phone on the settings and rebooted my phone application , but who doesn't. I have many applications installed and downloaded and lots of settings so that I don't want to factory default my phone unless I extremely need of. Any ideas?
Thanks in advance,
Jay.
Factory reset worked just fine. Thank you all :-)
-
FaceTime will not open on my Macbook pro (el capitan). Message: "FaceTime close unexpectedly. Click Reopen to reopen the application. Click report to display more detailed information and send a report to Apple. "Please help me.
Please launch the Console application in one of the following ways:
☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).
☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
Step 1
For this step, the title of the Console window should be all Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ all Messages
in the list of logs on the left. If you don't see this list, select
List of newspapers seen ▹ display
in the menu at the top of the screen bar.
In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).
Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.
The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.
Please don't dump blindly thousands of lines in the journal in this discussion.
Please do not post screenshots of log messages - text poster.
Some private information, such as your name, may appear in the log. Anonymize before posting.
Step 2
In the Console window, clear the search box, and then select
DIAGNOSIS AND diagnostic USE information reports ▹ user
(not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.
I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.
If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.
In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "
Please do not post other types of diagnostic report - they are very long and rarely useful.
When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.
If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.
-
Display the names of users available and selected user name
Hello world!
I'm building a custom LabVIEW TestStand for operator interface. I decided to use LabView controls and indicators instead of those provided by TestStand himself.
Now... There are several tabs in the application window. At startup, the only active tab is the 'Login' one. In this tab, there are: a list box (in which I want to display all available user names) and a control of the chain (in which I want to display the user name that was selected by clicking in the drop-down list).
Is someone can help me this?
OK, I solved it! See the attached vi.
-
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()); } } }
-
How to change the icon/name of the application AppGenerator
Hi all
I registered for the last chance port a tuna.
I did the application of the "appgenerator".
My two apps refused due to app name and the icon of the application.
I changed in the portal provider, but it shows only drafts, even I tried for the button ' Send for review ', but inside ther 'submit for review ' button display off !...
Please help me... because of this, my reward obtained in waiting!
Thanks for the reply!
I found the solution (single)
I sent mail to appgenerator help desk!
You know? MIPPIN appgenerator HELP IS TOO FAST THAT BB CUSTOMER SUPPORT DESK *.
-
Cannot change the name of the application to have spaces
My problem:
-J' created an application with a name that has no spaces (for example ThisIsMyApplication). It relies very well, but when deployed on my device (debug or release), the name displayed under the icon on the home screen is without spaces. This causes the name will be truncated.
-I want to have spaces in the name of the application (for example this is my request), so that the name gets word wrapped under the icon on the device.
I couldn't do that. I tried:
-in the bar - descrptor.xml, application tab, under the entry of text and Images, the name with spaces
-in bar - descrptor.xml, change the entry (for example point id
This is my Application
but the name under the application icon is still the name without spaces.
I hope someone knows how to do it properly, so I don't have to spend hours trying various changes.
For example, in my bar - descrptor.xml:
Would change the package name to have spaces do?
Change the input everything show up references for spaces do?
Change APP_NAME in my .pro file?
Take the door label on the tag entry point as well.
-
Auditor BBM of addiction: can we change the name of the Application when downloading?
I have developed an application using BBM and built-in dependence also auditor. Now I have two applications such as MyCoreApplication and MyCoreApplicatioProxy. When you download the application, it is show the name of the application that "downloading...". MyCoreApplicationProxy ". Now my question is that I need to display the name of the MyCoreApplication application. is this possible? Please help me in this
Ok
When you use UpdateJad give like that.
UpdateJad.exe myCoreApplication.jad myProxyApplication.jad.
Download now as "yourpath"\myCoreApplication.jad. "
Thank you.
-
I just installed apex 5.01 on apex 4.2.6.
When I want to use the pivot of the action on an interactive report developed on 4.2.6 the names of the columns does not appear.
If I add a new column, it seems
calculated columns displayed
Thank you
Hello
The pivot must be enabled for these columns. To do this, you can upgrade the application developed in 4.2.6 as follows:
-Click on the application
-Click utilities
-Click on the Application upgrade
-Activate the IR Pivot should appear. Click on the number of candidate object
-You can select some or all of the IRs to upgrade
Kind regards
Christina
Maybe you are looking for
-
Can I edit profiles.ini to hide the name of the user from the Profile Manager list?
Deleting the entry makes profile inaccessible as near as I can tell.I've tried combinations of name/value obvious but not luck (hide, show hidden, visible,...).Where can I go to learn all possible ways to change this file? Already looked in http://kb
-
backup external hard drive does not not to 8.1
Updated to 8.1 and now my external Iomega hard drive (for weekly backup) now does not work. He appears in the "devices", but then backup will not recognize it as a valid to continue my backup option. Suggestions please?
-
Apple's music has hidden my music on my iPhone.
I got a trial of Apple's music and found that for my choice of praise and Gospel music that he kept to push myself listening to rock, pop, and that it has not respected my choice. I always use Spotify and pay student - music Apple is too expensive an
-
Cannot print the printer Epson Stylus SX525WD wireless.
Original title: printer problems I have an Epson SX525WD but cannot print wireless. I can print with the USB cable plugged in however. How can I solve this?
-
How to re - enable transparency to my desktop icons?
Blocks of color on XP Desktop Icons Desktop on my XP system icons now have a block of color behind the police. It is the color for the color of desktop in the advanced settings. How can I make it transparent as before? Gary