Posts

android - Place a SIP call via Intent -

I am writing an Android application that will keep a SIP call. I want to use the original Android SIP API and have found the document under it: and However, Regsiter sip provider and start the call, it seems that it is very low-level. I just want to close the basic Android phone app to SIP calls and give it a sip address to call it and assume that User SIP account already in Android phone app Has registered. I thought there should be an intent for it, as if I could provide a SIP address such as: Uri phonocol = Uri.prep ("TEL: 1234567890 "); Intentional caller = new intent (Intent.ACTION_DIAL, phone call); StartActivity (callers); But my experiment failed. Do I have to use SipManager or can I use an intent? Assume that you have already created a global SIP account: Ury Phonecall = Uri.pars ("SIP: [number] @ [domain]"); Replace number and domain with just reasonable prices.

vb.net - Click Button Event in VB that displays a message about user input -

I have a very quick and simple question, I am learning programming in C # and VB and I want to make it Required GUI application in Windows Form with Visual Studio will prompt this GUI to enter the user in the integer. I believe this part of mine is fine but then I have to click on a button which will convert the user's entry into an integer and indicate whether the user was successful or not. I think that I have a conversion correctly, but I am having trouble displaying that message, if the user succeeds, I will have to know how to work out the click method in VB Will allow you to appear. Any help with this would be greatly appreciated. The following is the code that I have already written for this project: public class form 1 private sub-evaluation input () String input = ValueTextBox.Text if the input is incomplete (ifnumeric InputValue) then MessageBox.Show (InputValue & "is a number.") Either MessageBox.Show (InputValue & "is not a number.") E...

Reading a large-single XML line to a variable using Batch Script -

I have an XML file that has only one line, but the problem is that the line is too big, so it seems I can not store in one variable What do I want, the tag1, tag2 ..... tag 9 00, i have a segment in each row Tag 2 Tag 3 ...... P> Tag 9 00 Do not attempt to do this using native batch. It will be very difficult, and any solution will be very slow. The problem can not read the original batch lines & gt; 8k, and batch are not a good way to read partial lines is a method that creates a test file in which size & gt; = A file containing a single repeating character is comparing a binary file ( FC / B ) and the results are described on the basis of the character expressed as hex code. Compared to this, it is a bit more complicated, but I do not think you want to go there. The only other option is to use the SET / P to read in 1021 characters at once, and then the paras and things together but it is unhappy, and then, I do not feel worth trying. If you w...

sql - java- generate id (combination of string and integer) -

I am creating an application in NetBeans (java). This app has unique ID combinations of string and integers like abc / 111 or xyz / 253 and should increase the integer part when there is a new entry in the database ABC / 112 and xyz / 254 . The problem is that the increase in the value of the integer part until it reaches proper 10, but after that it does not increase for further entries in the database. I try the following code - {string sql = "death number by resigner dessc select number from;"; Pst = conn.prepareStatement (SQL); Rs = pst.executeQuery (); If (rsnext ()) {string add1 = rs.getString ("RegNumber"); String [] parts = add1.split ("/"); String part 1 = parts [0]; String Part 2 = Part [1]; Int a, b; A = integer Parasont (Part 2); B = A + 1; JTextField20.setText ("" + part1 + "/" + b); Yosepepationpen Show Messagidoug (blank, "done"); }} " Integer increment of 10" "means that if...

android - Magnifying part of the canvas when touched -

I have a custom view that spreads SurfaceView I am pulling a picture on the canvas when the user touches a point on the canvas , Then I want to show a big view of the area around the touched coordination. And preferably, as it rotates around the finger, accordingly, I would like to update the contents of magnified scenes. I was wondering if the Android platform has supported this kind of functionality basically if any, then none of you can tell me a good example that I started to share or share ideas. How to apply it. I do not do such a lot of 2D or 3D graphics and still trying to understand the canvas and matrix classes what I can use. I searched for the same question for anyone who searched the forum. Therefore, pls does not flag to ask me a question already present. No more - I am not using OpenGL-E or any such third party library (yet). Thanks all. To zoom the image that you are portraying on the canvas: Create a bitmap shader (using bitmap of image), a matrix an...

- Where Developers Learn, Share, & Build Careers

I am making an app with Facebook verification. It's working fine on the simulator and in the device. But, when I try to "archive" (product = & gt; collection), I get this error: LD: not for the library Mixed-lfacebook_ios_sdk clang: error: failed with linker command failure code 1 (Use -V to view invitation) The library is fine, otherwise it will not be compiled on the simulator / device. I do not know that this information is relevant, but my project is ARC project. Do anyone know what this error can mean? I just removed the "libfacebook_ios_sdk.a" reference from my link binary libraries and sorted the problem Have done I do not know why it worked, but it worked!

jenkins - Builds from Github Failing -

We are currently in the process of establishing CII for our rail application. Code is run is hosted on Jithub far everything very smoothly, we were ever born failure before the Czech not go where code pushes the Gitub, before the code issues is. This is output from Jenkins: Vertical / var / lib / Jenkins / jobs initiated by user Jeremy Rotman building / SweetyHigh- staging / Vertical checkout: Vertical / / var / lib / Jenkins / jobs / SweetyHigh- using staging / workspace - hudson.remoting.LocalChannel@46ffed1d strategy: missed last modification made: Amendment a40cbe653169bc73c445f39e09dcd8cfe66e5fe7 (origin / master) changes upstream from git@github.com 1 remote Git repository being brought from Reverting: Getting Started Construction of Sweety-High / sweetyhigh.git is a40cbe653169bc73c445f39e09dcd8cfe66e5fe7 (original / master) revision revision a40cbe653169bc73c445f39e09dcd8cfe66e5fe7 (original / master) hudson.util.IOException2: failed to parse changelog at hudson.model ....