I need to know how to use a Dialog class in J2me.
Any example.
I created a Dialog d=new Dialog() as per seen in one of the questions answered in Stack Overflow:
How can I show dialog box on canvas in J2ME mobile application?
But it gives an error Dialog() not visible.
I got import gov.nist.siplite.stack.Dialog; package for Dialog box
You are using wrong import that takes Dialog object from wrong project (details below) instead of LWUIT.
For more details on how to use LWUIT, refer to 'lwuit' tag wiki page.
I got import gov.nist.siplite.stack.Dialog; package for Dialog box
Given above it looks like you are trying to work with Sip-for-me project.
Here is the reference to source code of gov.nist.siplite.stack.Dialog class at the project homepage:
- http://java.net/projects/sip-for-me/sources/svn/content/trunk/src/sip4me/gov/nist/siplite/stack/Dialog.java
an example of Dialog()
You can look for usage examples at Sip-for-me project homepage or ask at their "Users mailing list" which is also referred to from project page.
As far as I can tell, project isn't particularly active and their documentation looks rather poor, so you may also consider following reference given at their svn / trunk page:
Contributions were made by many people to NIST-SIP. Please see
http://jain-sip.dev.java.net/
Related
I want to design my map application using template 10 but the problem is i am using webview and want search and directons results on same page when splitview search button or directions button is clicked similar to Windows 10 maps app i dont want a master details page structure how to acheive this using template10
Edit 1:
Sorry for not being clear.I don't want search or direction on other page but on the same map page as a flyout same as in windows 10 maps.
How split view handles navigation and how back button is handled.Is it a page or a user control.
What you are wanting has already been demonstrated in the Search (and Login) project in the Samples folder on GitHub. http://aka.ms/template10. What you are asking is not uncommon, neither is it complex. I think reviewing the sample you will see how you need to construct your XAML.
I saw this android calendar widget used in an app called cal and was quite impressed.
I would like to implement a similar one in my app as well. Currently I am using an android calendar framework called caldroid and I am using it as a Fragment and will be invoked on action bar button click and will get collapsed clicking back on the action bar button.
But I would like to do the widget like in the app. Screen shots attached.
I would like to know if you guys are aware of any frameworks that can used to achieve this or any approach or tips on how to code this.
I am bit new and know basics of android. Haven't attempted to create custom widgets yet.
Thanks,
Bala
Maybe this library can help you.
https://github.com/blazsolar/android-collapse-calendar-view
I am planning to provide menus for my app similar to the sliding menu shown in the below image when clicking on the button in the list view. Could you give me some pointers on, how it can be achieved. Is it SubMenu ?
http://static5.businessinsider.com/image/4db84baeccd1d58435080000/google-docs-for-android.jpg
I got it, the behavior or pattern name is QuikActions.
Useful introductory article for the beginners like me is available in the following link
http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/
i use this code at my post window in facebook sdk in my iphone app
[mainDelegate._session dialog:#"feed" andParams:params andDelegate:self];
when the windows shows up i see the following code in the words i used for my description.
span class text_exposed_hide ... span span class text_exposed_showspan class text_exposed_hide ... span span class text_exposed_show
what is this code about? should be visible to me or not?
this code is no visible when i post to facebook!!! how do i get rid of it in the window anyone?
The code you see is so that Facebook can limit the amount of text displayed and show a More link when it's on Facebook. I don't know how to get rid of it yet, but am also experiencing it. I'll post a reply if I find out more.
Update: From what I can tell this only happens with the Description and not with the Caption. It didn't used to happen (I have apps that I haven't changed that also exhibit this behaviour) so will have to put it down to Facebook - no doubt they want us to switch to the Graph API instead (which doesn't have a preview!)
I am creating a program in which i want to display dialog box(which shows yes/no command) when button clicked, after dialog box has been shown, when clicking yes button it moves to another form, can you help me to achieve this task? please let me know as soon as possible.
Checkout the LWUIT repository here... In this repository contains LWUIT sample applications. See the sample code. and do like this..
Dialog.show("Sample", "Put ur information", "Ok", "Cancel");
Have a look at the Alert class (link text, the Form class, and the Display method to show stuff. That's pretty basic stuff and you'll find tons of examples / tutorials out there.
ps: Pure MIDP no LWUIT involved.