Need to run midlet from another midlet
Need to run midlet from another midlet
How to do it?
In my midlet user get link to web-page, and i want to start mobile browser with this page.
Hi,
In order to run midlet from another midlet you may use push registry. Go through the API of that I am not sure but as far as I know push registry is the only solution to that
Sunil
Software Developer - J2ME
Similar Messages
-
Launch a midlet from another midlet
I need to launch a midlet from another midlet that is running, is it posible and would it be?
regards in advance[rpalomino],
You are out of luck here. The current CLDC/MIDP specification permits one only MIDlet jar file to be run at a given point in time. You can package as many class files as you wish but only one MIDlet can be launched by the kVM.
If your purpose is to write MIDlet applications that access the same data resource, then instead of launching multiple MIDlets (which is not possible), you can use the RMS data store for persistent information across the different MIDlet class file application.
Allen Lai
Developer Technical Support
SUN Microsystems
http://www.sun.com/developers/support/ -
Can invoke MIDlet from another MIDlet?
Dear friends,
I have two MIDlet i want to invoke one MIDlet from another MIDlet based on user input. Is J2ME support this feature or not? please explain in detail.
Ex:
MIDlet1.java
MIDlet2.java
i want to access MIDlet2 from MIDlet1 as,
MIDlet1 obj = new MIDlet2();
obj.startApp();
i tried this but i didn't get any compilation error but it won't execute at run time.
please explain me if any one faced and resolve similar error.
Regards,
guna.Hi,
I wants to invoke MIDlet from another MIDlet for the following reason,
I developed a simple chat application. The MIDlets are, Sender & Receier.
Sender home window, will collect sender name,receiver name and number.
Then open another window for Messaging.
On receiver end, after receive the message the user can reply to the message,
on Reply i have to invoke Sender application which have user information (sender name,receiver name & number) to get sender name. Once i open Sender window it will take care necessary action to send the message.
Please explain me now, how to call Sender MIDlet from Receiver MIDlet.
Regards
guna. -
Invoking a MIDlet from another MIdlet
Hi all,
Consider this scenario,
1. midlet A is running
2. runtime memory of A contains jad and jar files of midlet B in two byte arrays.
(assume some native methods which allows the applications to install, launch and remove midlet and midlet suites by passing the jad and jar files.)
3. midlet A uses launchMIDletsuite method for launching the midlet B by passing the jad and jar files.
4. what will be the state of A after B is launched. (running?, waiting?, destroyed?)5. Whether B is a subset of A. ie. Will A gets control back after B is destroyed.
6. if not, is there any way to get the control back to A?
Thanks in Advance
Nidheesh.PI can't see any needs of seperate MIDlets here.
You can use Canvases and Forms.
Your app could start with a authentication Form. If the user is invalid, show hime the registration form. -
Call Midlet from another Mitlet suite
I know that this topic has been discussed previously, but all threads I have seen are just discussing to call a Midlet in the same Midlet suit. My question is:
Can I find out what Midlets are installed and can I call a Midlet in another Midlet suite using MIDP 2.0? And if possible, how can I do this?
Thanks in advance.
StephanExplain in more detail, please. When I cause from one MIDlet another MIDlet I receive:
java.lang.SecurityException: Application not authorized to access the restricted API
at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(+40)
at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(+7)
at com.sun.midp.midletsuite.MIDletSuiteImpl.checkIfPermissionAllowed(+8)
... -
Problem with calling a midlet within another midlet
hello friends,
can a create an instance of a midlet within another midlet.i tried to call , but i have got a Security exception. plz comment on this ..
regards.."For security reasons, it is assumed that MIDlets within a MIDletSuite are packaged
together for a reason and should be able to interoperate. What's implied here is that the
MIDlets share a name space; in other words, each MIDlet in the MidletSuite can "see" one
another. Because they can see one another, they can launch one another (Class.forName
metaphor).
In contrast, one MIDletSuite cannot launch another MIDletSuite. That's because they do not
share name spaces. Since the CLDC+MIDP does not have a security manager (too big and
complex for small devices), the MIDP expert group felt it more prudent to limit the interaction
of downloaded applications to those that are packaged together by the provider."extract from Sun
see http://developers.sun.com/mobility/midp/articles/pushreg/ for infos to launch MIDlets... -
I need to transfer music from another itunes library. My last compter hard drive failed. I have several hours of songs and I don't want to lose these. Is there a way to transfer music from another libray to current? I have recovered the purchased music but would like to transfer other. I have a mini without a disc drive so it makes loading the same music difficult. Please help.
See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
https://discussions.apple.com/thread/2452022?start=0&tstart=0
B-rock -
I Acquired asset on 01.04.2010 but i need to Run Depreciation from 31.05.2010 what steps need to do for blocking of 2 months
Regards
VarybHi,
check the Capitalization date in Asst Master for perticular month from which you want to run the Deprecation, by this you need not block anything or else run the dep for that perticuar Asst by changing to unplaaned Posting run in AFAB.
Thanks
Goutam -
Download and install a Midlet by another Midlet
Hi!
This question might have been asked already. But i really wanna know whether it's possible to write a Midlet that downloads and installs another Midlet sitting on a server.
Thank you!
GabeHi as far as i know, i tried downloading a midlet through another midlet, i used platformRequest method but i think its not implemented as its not getting me any result, so till date i havent seen anyone who has downloaded a midlet using another midlet
Regards
Amit -
Packagemaker: need to run applescript from postflight script
Does anybody makes packages using Packagemaker? I need to run applescript from postflight shell script. Generally, when we need to run applescript or any application from shell script we write:
#!/bin/sh
open /Path/to/applscrpt.app
But what to do if all scripts (shell, app's) placed in MyPackage.pkg/Contents/Resources? What path I need to specify? This way:
#!/bin/sh
open ./Contents/Resources/applscrpt.app
doesn't work...The $1 argument that gets passed to your postflight script by the Installer should contain the full path to the package that's currently being installed. So something like this should work...
#!/bin/sh
open "$1/Contents/Resources/applscrpt.app"
Here is some additional info about args and environment variables available to your scripts.
Steve -
Can you run fcsvr_client from another machine?
has anyone tried running fcsvr_client from another machine:
eg: fcsvr_client --host 10.1.1.1 --user Username --pass Password search /projects
can't seem to figure out what they want for a user and pass. i keep getting the following error:
CODE = E_LOGIN, DESC = no valid user identified for this action, SRC_FILE = PmsTask_SearchEntity.C, SRC_LINE = 189
ideas?This post here will get were you want: http://discussions.apple.com/thread.jspa?threadID=1502389&tstart=200
In summary in can access the db only from localhost BUT you CAN use ssh tunneling to access the remote fcsvr computer and get access to the db (in your case fcsvr_client).
Good luck -
How can I pass arguments from one MIDlet to another MIDlet
Hi everybody !
Can anybody help me in knowing that how can I pass the parameters from one
MIDlets to another one in same application.
I am devloping a application in which I am using more than two MIDlet and I
want to transfer Parameter from one MIDlet to another one.
I just explain what I have done....
I made a MIDlet "A" and "B" in the same project using NetBeans IDE.
In MIDlet "A" I create the Object of MIDlet "B" so that the constructor of
MIDlet "B" is called and parameter can be transferred.
But when I run the program it shows me two MIDlet on the screen, that I
doesn't need.
Suggestion are most welcome....
Thanks in advance
Regards
BhagwatIf you create two MIDlet in a midlet suite, it will display as you mentioned means you can't change the display style.
-
Launching a MIDlet from another
Hi All!
I need to create a menu.When one selects a particular option they should be redirected to another midlet .Need basics of creating forms .
Desperately need for a project whose deadline is on our head .
How do i go abt this ?
Thanks .jhd
i, this is not big problem and u can meet ur deadline easily if i m not late to answer u.
if u want to create a main menu when u are launching and first screan appear with your midlet name then there is way to create different Midlet
and then if u are using wireless toolkit you have to goto
Settings>Midlet where u find options for that and u can set ur midlet classpath there.
you can see the game demo given in wtk23's apps folder.
and if u are suppose to wanting that ur application start with main menu and after selecting one u r agin going to nested menu and from there u want to call other midlet then u can use this code
class midlet1 extends Midlet
which u want to call from
class midlet2 extends Midlet
//here u have to destroy midlet2
//create object of midlet1
midlet1 m = midlet1();
this will simplycall to midlet1 and new object were created for that
with new display........
but for standard coding u have to use any displayable item(Form,List..)
and when u are selecting menu u just setCurrent display to this new displayble item and will work fine.
Regards,
jasmit vala -
Accessing Record Store from another MIDlet.
I have made a midlet that creates a record store.After that I have created another midlet that want to acces te recordstore.
I always get an error : Cannot find record store file !
I have tried to add the 2 midlets in 1 jar each in a seperate directory but i still get this error.
CODE midlet 1 :
rs = RecordStore.openRecordStore("Services_preferences", true , RecordStore.AUTHMODE_ANY, true);
String record = "D1 D2 D3";
byte[] data = record.getBytes();
int id = rs.addRecord(data, 0, data.length);
rs.closeRecordStore();
CODE midlet 2 :
RecordStore rs = null;
rs = RecordStore.openRecordStore("Services_preferences","VendorTTUI","TTUI");
rs.closeRecordStore();
--> I use the wireless toolkit version 2.2
Can somebody help me?
thanks in advanceIt's ok, I finally figured it out!
-
Hi, first of all, sorry for my pour english.
I'm system in a db, and i need to run a job from another user. I don't have the password. Theres a way to run this job?
It's a oracle db 10g enterprise.
Thanks in advice.I have the permissions, and I can't change the user password or application may stop. There's a way, but I just can't remember:
PRIVILEGE
ANALYZE ANY
UNLIMITED TABLESPACE
CREATE TABLE
ALTER TABLESPACE
ALTER DATABASE
GLOBAL QUERY REWRITE
CREATE MATERIALIZED VIEW
SELECT ANY TABLE
8 linhas selecionadas.
Decorrido: 00:00:00.21
PRIVILEGE
FLASHBACK
DEBUG
QUERY REWRITE
ON COMMIT REFRESH
REFERENCES
UPDATE
SELECT
INSERT
INDEX
DELETE
ALTER
FLASHBACK
DEBUG
QUERY REWRITE
ON COMMIT REFRESH
REFERENCES
UPDATE
SELECT
INSERT
INDEX
DELETE
ALTER
FLASHBACK
DEBUG
QUERY REWRITE
ON COMMIT REFRESH
REFERENCES
UPDATE
SELECT
INSERT
INDEX
DELETE
ALTER
SELECT
SELECT
SELECT
SELECT
SELECT
SELECT
SELECT
SELECT
SELECT
SELECT
SELECT
SELECT
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
EXECUTE
SELECT
SELECT
EXECUTE
EXECUTE
EXECUTE
WRITE
READ
WRITE
READ
WRITE
READ
69 linhas selecionadas.
Decorrido: 00:00:00.48
GRANTEE GRANTED_ROLE ADM DEF
SYSTEM MGMT_USER NO YES
SYSTEM TRIPOA_READ YES YES
SYSTEM DBA YES YES
SYSTEM TRIPOA_WRITE YES YES
SYSTEM AQ_ADMINISTRATOR_ROLE YES YES
SYSTEM TRIPOA_EXEC YES YES
SYSTEM PRIV_DML_STUDENTSLOG YES YES
SYSTEM PRIVILEGE_ALL_TRIPOA YES YES
8 linhas selecionadas.
Maybe you are looking for
-
How can i pass the logged in user attribute value into looku query ?
HI, Is there any way to pass loggined in user attribute vallue to lookup query directrely in AD Child Group form.(Like '$Form data.UD_ADUSER_AD') Thanks in advance Edited by: 790561 on 5/12/2011 16:01
-
Where is the database connection for a mobile site?
I have a Flash mobile site that I didn't create, but need to edit. On clicking the submit button it checks that the login & password are in a SQL database. The problem is, I can't find the method that runs a query on the database or where the databas
-
I have to print a check: The check will be split into two sections: the actual check and the remittance section. The remittance section must contain the details of all invoices paid with that specific check. When the payment includes remittances
-
Portal Upgrade to SP18 CVersAccessException
Hi all, I am trying to upgrade our portal from SP14 to SP18 and getting following error message: Caught CVersProxyAccessException while saving repository: CVersAccessException: Can not load mandatory table BC_COMPVERS, desc == null Some components we
-
Ebay listing template questions (DW CC)
Hi. I'm thinking of subscribing to DW CC, but just have a few questions re eBay templates. When developing an ebay template in DW, I will be hosting my pics on third-party sites (i.e. Photobucket). Is it possible to upload the pics to the site, grab