Siemens M50 Extended API on J@MEWTK
Hi, I need some help from all of you.
Currently I'm developing an MIDlet application using J2ME toolkit form java. I wan to use the extended API which is design for Siemens M50. The problem is how to install M50 API so it can be use wtih J2meWTK?
I have copied the API.jar from M50 emulator to the \lib directory in J2MEWTK, but this doesn't solve the problem. Still get the warning "can't find the package..."
If anyone could help me, i would be veryy happy.
Thank you very much
Apridona
Could you please post whole stacktrace? Also describe steps you've done. BTW I'd suggest using Sun ONE Studio 4.0 Mobile Edition but I might get busted from these waters of Wireless Toolkit team ;-) You'll only mount Siemens' API.JAR into S1S4ME and run/debug/test.
Cheers!
Peter
Similar Messages
-
How to install j2me application on Siemens M50 over OTA
Hi...
I had been develop J2ME application.
I had made its jad and jar file, and success test with M50 emulator
And now, I like to try to install it in Siemens M50.
Can anyone tell me how to do that over OTA ??? or any other way ???
Please help me ... And Thanks before
Emha TLhi, it is not very difficult. I have done it this way :
1) i have set the following mime type in my web server (JRun 4):
text/vnd.sun.j2me.app-descriptor for the jad extension
application/java-archive for the jar extension
(in Jrun 4 i added them in the mime.types file in the lib directory)
2) i have published a wml page like this :
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.3//EN" "http://www.phone.com/dtd/wml13.dtd">
<!-- WML file -->
<wml>
<card id="main" title="App Title">
<p>
</p>
<p><b>
<a title="Download App" href="http://xxx.xxx.xxx.xxx/App.jad "> Download </a>
</b></p>
</card>
</wml>
to download the jad file
3) then my AMS has started and i could download the application, which runs successfully.
Anyhow I had to configure 1 wap profile and 1 java profile in my M50 according to my provider configuration, and I bet you had to do so if you have not yet done it. I have successfully used a gprs configuration.
I am in Italy an so I have the italian provider's configurations. If this may be usefull to you i may send it.
Feel free to ask.
Hope this helps. -
Revision: 16634
Revision: 16634
Author: [email protected]
Date: 2010-06-23 08:57:57 -0700 (Wed, 23 Jun 2010)
Log Message:
Extended API to history and wizards to expose next and previous indices and destinations, improve error localization in Waypoint processors
Modified Paths:
cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract History.as
cairngorm3/trunk/libraries/Navigation/test/com/adobe/cairngorm/navigation/history/Waypoin tHistoryTest.as
cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/presentation/Navigation Bar.mxml -
Revision: 16635
Revision: 16635
Author: [email protected]
Date: 2010-06-23 09:56:15 -0700 (Wed, 23 Jun 2010)
Log Message:
Extended API to history and wizards to expose next and previous indices and destinations, improve error localization in Waypoint processors
Modified Paths:
cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract WaypointHistory.as
cairngorm3/trunk/libraries/Navigation/test/com/adobe/cairngorm/navigation/history/Waypoin tHistoryTest.as -
Revision: 16632
Revision: 16632
Author: [email protected]
Date: 2010-06-23 07:27:14 -0700 (Wed, 23 Jun 2010)
Log Message:
Extended API to history and wizards to expose next and previous indices and destinations, improve error localization in Waypoint processors
Modified Paths:
cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract History.as
cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/history/Abstract WaypointHistory.as
cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/waypoint/decorat or/ContainerDestinationRegistration.as
cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/wizard/AbstractW izard.as
cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/application/ContentDest ination.as
cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/presentation/ContentVie wStack.mxml
cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/core/presentation/Navigation Bar.mxml
cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/messages/presentation/Messag esView.mxml
cairngorm3/trunk/libraries/NavigationSpringASTest/src/sample1/messages/presentation/Messa gesView.mxml
cairngorm3/trunk/libraries/NavigationSwizTest/src/sample1/messages/presentation/MessagesV iew.mxml
Removed Paths:
cairngorm3/trunk/libraries/NavigationParsleyTest/src/sample1/messages/presentation/MyStat eWizard.mxml
cairngorm3/trunk/libraries/NavigationSpringASTest/src/sample1/messages/presentation/MySta teWizard.mxml
cairngorm3/trunk/libraries/NavigationSwizTest/src/sample1/messages/presentation/MyStateWi zard.mxml -
Hello,
I developed an application which uses a Recordstore to save different values. I tested this application on a real Motorola Accompli 008 device and on many emulators including the Siemens SL45i emulator.
The Recordstore works everywhere fine but on the real device of the SL45 the records are saved only until I exit the midlet suite. If the application exits then all data are lost.
Does anyone has a solution or a tip how to solve this problem?
Thanks in advance.
KlausHi,
Just wanted to add one more question here.
I am also trying to access phone specific information. But not getting success.
I am trying to write small application forSiemens or any vendor based phones and want to access and update the phone book which comes with siemens mobile.
I think we need to use Siemens extended API or API provided by that vendor but not sure.
Do you have any idea how to do this ?
Thanks,
Hton -
In jcop, I found "koreanpackage api 1.0" ??
Can anyone explain that why jcop add this package ?? Doesn't jc api unsupport ??
and there are "JetZ API for Mifare Access" , "JCF Biometric API", "JCOP Extend AIP"
Any introduction will be appreciated!
thanksthe korean package may implement the KISA SEED algorithm used in Korea...
http://en.wikipedia.org/wiki/SEED
hmmm let's try to guess the other ones...
mifare API... looks like a package containing functions to access the mifare memory on your dual interface card
http://en.wikipedia.org/wiki/MIFARE
biometric API... looks like it's related ton on-card matching algorithms for biometrics
http://en.wikipedia.org/wiki/Biometric
that was hard ^ _ ^
however I don't know what is contained in the extended api package.
regards
sebastien
Doesn't jc api unsupport ?? sure, me understanding no. -
Hide the Save As dialog in the digital signature process
Hi!
I'm searching for a way to hide the Save As dialog when digitally signing a pdf document (embedded in a website) and instead transmit the signed document back to the website without saving it locally.
(The reason for doing this is, that I can not be sure whether the user is capable of storing the signed document locally, recover it and send it back to the server.)
In the "Adobe Acrobat SDK - Developing Plug-ins and Application" documentation under "Digital signature extended API", "Understanding the process" is stated that the digital signature plug-in displays the Save As dialog box. But it's not clear to me whether there is a way to suppress it and instead call some custom code to send the document to a webservice or something like that. (btw: I'm new to the acrobat sdk api)
Could someone be a bit more specific about this?
Are there other ways to achieve my aims?
(To use submit buttons inside the document is not an option.)
Thanks and kind regards
MarcelHi Leonard
I'll try to explain in more detail what I'd like to do. :)
Preconditions:
- I have no controle over the forms.
- I need to build a website hosting PDF documents for clients.
- The client needs to be able to access these docs and digitally sign them.
- When the client signs them, they should be stored on the website (overwrite the unsigned ones).
Problem:
The whole process should be as simple as possible for the client. Therefore he should not have to manually download the docs, sign them and manually upload them to the website.
Possible solution:
The client selects a document to sign which is then opened inside the website (aspx / custom control) by the Adobe Reader browser plug-in.
Now, when the client signs the document I would like to catch the "Save as" dialog and instead call some custom routine to send the signed document back to the website (webservice).
As I see it:
We would have to write a Reader plug-in that would be started when the browser-plugin is called and could be passed the address of the webservice (to send the signed PDF). Maybe the address passing could be done by javascript, but the handling of the "Save as" dialog would probably have to be handled by a custom plug-in.
My question:
Is there any way to accomplish the above (if yes, how?), or are these things that are just not possible (why? ;)?
I hope this helps to clear up things a little...
Thanks for any help!
Marcel -
Upload and Download a JAR/JAD file to/from a Web Server
How do I upload the JAR and JAD file to the Web Server?
And once deployed on the Web Server,how can I down load this.
I have written a small MIDlet.
I would like to upload this to my Web Server(I have Apache running),and then
I would like to download this and test this,
Please can any suggest.I am testing this on Siemens m50.
AjayYou should configure your web server to send the correct mime types
for .jad and .jar extensions
Ivan -
Java concurrent in real time environment
Hi David,
we intend to use in our implementation classes from java.util.concurrent.
for example:
BlockingQueue, hashMap etc... .
i read in some documentation from 2006 that jrts not working well
with this packages.
is it still relevant for now???
second question (it more request than a question):
when we read jrts version we are getting 1.0.2 even our jrts version is 2.1.
i guess you just need to update the version.
Thanks
GabiHi Lior,
Priority inversion is about anything that can delay a high priority thread waiting for a low priority one which itself is prevented from running because middle priority threads are running. This is not only about the "synchronize" statement or "lock". This is about any scheme that allows threads to cooperate.
When you use "synchronize", a RTSJ implementation will use PIP to ensure that the low priority thread is boosted to the high priority. This basically ensure that the delay for the high priority thread is minimized. Thus, using "synchronize" is a way to avoid priority inversion in your application, not what causes the priority inversion.
However, when you use the locks defined in j.u.c (like java.util.concurrent.locks.ReentrantLock), the high priority thread can be blocked on that lock and will not boost the low priority thread. If there are several thread trying to acquire the lock, it is not even guaranteed that the highest priority contender will get it when it is released. Other policies like FIFO can be implemented. It might in some cases be the right policy for your application... but you must be aware of the policy if this is in the time-critical part of your application.
Similarly, suppose you implemented the management of a resource with a java.util.concurrent.Semaphore. The low priority thread could own a resource and is expected to release() it when it no longer needs the resource. If the high priority thread needs the same resource, it has no way to boost the low priority thread to speed-up the process. In the worst case, the low priority thread could be completely preempted by other real-time threads and may never use and release the resource. This applies to all the synchronizers in j.u.c (CyclicBarrier, Exchanger, ...). This is not necessarily an issue. This may be the behavior you want.
Last example, suppose you want to use a ThreadPoolExecutor to automatically parallelize some work. You must be aware that this does not take into account the priority of the thread that needs that job to be executed. Once again, this is OK if this work is not in the time-critical part of your application and if the thread that is waiting for the job does not own a resource that could be necessary for a higher priority thread.
As a summary, if you use j.u.c, you must take into account the fact that there will be no boosting and no guarantee based on the priority. If you are sure that priorities do not matter, then you can use j.u.c. and benefit from these extended APIs .
Bertrand.
Edited by: delsart on Feb 18, 2009 5:11 PM -
Calling external (DLL) functions
Hi everybody!
I know this might be a special question, but i didnt find any
solutions (whycih i could understand) to my problem:
Is there any way to call functions from a (in C++ written)
DLL, or any other way to get access to C++ functions?
This would really help me, because i'd like to use Flash to
create desktop applications, and use C++ for system integration.
All sujestions are welcome!The third party tools "wrap" or 'host' the activex control
and provide an extended api - think of them as a much enhanced
version of the standard flash projector, which is pretty limited. I
just know what's possible I can't speak from experience - but I
know others here on the forums have used them.
There is an open source type of implementation called haxe or
screenweaver.. or something like that... but I don't know if it
will do what you want.
I know Zinc will because I did a quick search and it said so
- so I guess it should! Other names that spring to mind are Jugglor
and Swf Studio. I haven't checked these out to see if they can use
external libraries. -
OTA download provisioning problems
Hi!
I'm experiencing problems provisionig midlet OTA download.
I got IIS 5.0 and set up the mime types for .jad and .jar.
After exploring and selecting the link to the appropriate jad-file via WAP the download of the jad-file appears to be successfull. But after trying to download the jar file, the server's log is only reporting the http-response 406 [at the sc-status] (more info about 406: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) and no transmission is preformed.
The file could be downloaded directly by a normal browser (non wap! e.g. in win).
hmmm... anyone ideas?
I tryed to download with Siemens SL45.Not Acceptable (406) returned by the server because your WAP browser did not state that it recieved JAD. The header for a JAD file supprisingly did not have application/vnd.sun.j2me.app-descriptor
ALL_HTTP = HTTP_ACCEPT:unknown Media-Type, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/vnd.wap.multipart.related, application/vnd.wap.multipart.mixed, application/vnd.wap.sic, application/vnd.wap.slc, application/vnd.wap.coc, image/vnd.wap.wbmp, text/x-vcalendar, text/x-vcard, text/plain, text/vnd.wap.wml, text/vnd.wap.si, text/vnd.wap.sl, text/vnd.wap.co, text/vnd.wap.wmlscript, multipart/related, multipart/mixed
HTTP_ACCEPT_LANGUAGE:en
HTTP_USER_AGENT:SIE-M50/14 UP.Browser/5.0.2.3.100 (GUI)
Currently I'm using IIS 4.0 and change the mime type to text/plain and guess what... it works.
However, if your using siemens M50 you might experiencing problem again later as the JAM request header somehow miss the comma between acceptable MIME Type (I haven't had a cure yet for this problem, not even with writing my own web server who ignore acceptable mime type)
JAM HTTP request:
HTTP_ACCEPT:application/java-archive application/java text/vnd.sun.j2me.app-descriptor (missing comma between Acceptable MIME type)
HTTP_ACCEPT_LANGUAGE:us_EN
HTTP_CONNECTION:Keep-Alive
HTTP_HOST:202.53.225.34:80
HTTP_USER_AGENT:M50/14 Profile/MIDP-1.0 Configuration/CLDC-1.0 -
MDM SP06 changes related to wrkflw, assignmnt,valdtn etc
Hello All.
Please tell me about if there is anything related to performance of import server / syndication server / workflows
and the changes related to workflows / validations / assignments /matching strategies in the MDM 5.5 SP06 upgrade version of SP05.
Its urgent,thanks in advance
Regards
AnkitHi Ankit,
There are certain changes in SP06 related to assignments and workflows.
These are the improvements made in SP06 version...
Content-based permissions
1) Use named searches like masks in role constraints
Enhanced repository schema migration
2) Transfer of validations, assignments and ports
Improved editing for qualified lookups
1) Enhanced usability for mass changes
Extended UWL integration
1) Create and launch workflow jobs, support for validation step
GUI based installation on UNIX platforms
2) Graphical setup of MDM Server and runtime environment
Extended API coverage
1) Locking/Unlocking and protection of records etc.
Improved System Monitoring and Analysis
2) Integration into Solution Manager Diagnostics 4.0
3) Integration into Wily Introscope for deep-dive analysis
4) Extended information and improved handling
of MDM log and trace files
Hope this is helpful.
Reward with points if found useful.
Regards,
Sravan Velamury -
CAP file safety questions?
Hello,
I am interested in 3 question:
1. Is there any possibility to get the CAP file from a card.
2. Is CAP file backward convertible to .class or .java files? I.e. is it safe enough for distribution, to avoid the retrieval of the source code?
3. What files should be distributed for extended APIs: EXP, CAP file and stub class files? Am i right?
I appreciate any answers and advices regarding the safety of the CAP files.
Best regards,
newbie.1. Is there any possibility to get the CAP file from a card.Yes. Use google, search on "Javacard attacks" or "javacard hacks". You will find many papers and presentations on what has been done, what works, what does not.
My conclusions: Its possible. Its hard to do. Various people are working on it, so perhaps its getting easier. Vendors are making cards more resistant to attack, so perhaps its getting harder.
2. Is CAP file backward convertible to .class or .java files? No, not backward compatible, or at least not easily. Some information is lost. I have not found any open source or commercial tools for this.
See this thread: http://forum.java.sun.com/thread.jspa?threadID=5217462&tstart=0
I.e. is it safe enough for distribution, to avoid the retrieval of the source code?Probably. It will take significant effort to reverse a CAP file all the way back to Java source that will compile and execute with the same results as the original. Probably 100's of hours of work.
3. What files should be distributed for extended APIs: EXP, CAP file and stub class files? Am i right?At minimum the EXP and CAP. A developer has no way to use the CAP file without the EXP file. The EXP file contains all of the class, method and field names for the public methods/fields that the converter tool needs (there are no String names in the CAP file).
Read the JavaCard Virtual Machine specification. Its very enlightening.
Dan -
We are currently writing an application in c# for the pocket
pc that
utilises a lot of flash content.
We are launching the flash using the web browser control.
Is this the best/recommended approach to doing this, or is
there a better
method? If this is the best method, how do we make the flash
run full
screen? At the moment it has some borders.
Any help would be much appreciated.
Many thanks
DaveThanks for the pointers Steve, we'll be looking into this.
Dave
"Steve Howard **AdobeCommunityExpert**"
<steve@$NoSpam$tomorrows-key.com>
wrote in message news:ebfu92$c7g$[email protected]..
>> <
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=68&catid=195>
>>
>
> Ouch - looks like the forum archives are missing! Adobe
changed their
> server very recently...
>
> OK check out here
http://www.odysseysoftware.com/products_cfcom.asp
>
> and here
http://www.opennetcf.org/home.ocf
--- notice my mistake, it's
> OpenNetCF. This is an open-source project that provides
extended APIs to
> add and/or simplify features to the pocketPC .NET
Compact Framework. I
> plead ignorance for just what to do with this. When I
tried to use it 2
> years ago, I had even less idea how to program with C#
than I have today,
> and right now I know very little :-/
>
> HTH
>
> Steve
>
>
> --
> ACE - Adobe Community Expert, Authorware
> My blog -
http://stevehoward.blogspot.com/
> Authorware tips -
http://www.tomorrows-key.com
Maybe you are looking for
-
Unable to do PGI, Goods Movement error
Hi I am working on IDES after very longtime, This is regular posting period error. When I try to do PGI I am getting error " Posting only possible in periods 2002/11 & 2002/10 in company code 3000" . Then I had opened posting periods in OB52 for peri
-
I tried all eight solutions in your menu, none of which worked. Of course, none seems to apply to Mavericks.
-
Importing stops at every glitch in tape when using the ADVC300 to imprt vhs
When I import a analog video from VHS or an 8mm with the ADVC300 iMovie stops the import at every glitch in the tape, I am looking for a way to import an entire VHS from beginning to end. Is the a preference setting in iMovie 09 that I can change? Or
-
Device package error for switch Cat2960
Hi,, We are installing device package for switch Cat2960. But we get below error message when trying to install the same. WARNING : Cat2960(6.1):Consistency check failed for base package SharedDcmaIOS When trying to updgrade the SharedDcmaIOS to hig
-
Hi, Can anyone please advise me the link for the following: Business Process Procedure document for HCM (Best Practice Scenarios).[Module wise PA,OM,TIME,Payroll,Benefits etc] Config document for HCM (Best Practice Scenarios).[[Module wise PA,OM,TIME