Posts by Washington Morais • 408 points
30 posts
-
0
votes0
answers22
viewsQ: Grid does not fit the screen in Xiaomi
I have a problem a little unusual and I did not find references in the searches I performed. I have a Xamarin Forms application and on the login screen the Grid does not fit the layout getting…
xamarin-formsasked Washington Morais 408 -
2
votes0
answers152
viewsQ: How to change background color and icon color in an image
I’m developing a small app using Xamarin Forms Cross Platform (Android and iOS). I need to control the background color and the icon of the images, as shown in the example below. I tried some…
xamarin-formsasked Washington Morais 408 -
1
votes1
answer348
viewsQ: Xamarin Forms Android - Change Toolbar Background
I’m trying to change the background color of Toolbar Android, in a Xamarin Forms application. Expected result: Current Result: Styles.xml <resources> <style name="MyTheme"…
-
1
votes1
answer193
viewsQ: Reset the priority of a record in the table
I need to update to reorder records in a table in an Oracle 9 database. This table stores records that are requests made by users to IT. So, briefly, I have in the table the following fields: PK |…
-
0
votes1
answer202
viewsA: Encrypt in UWP and Decrypt in Web API
Solved. Internalcrypto class internal static class InternalCrypto { private static readonly string _passwordEncryption = "12345"; private static readonly int _iterations = 1000; private static…
-
2
votes1
answer202
viewsQ: Encrypt in UWP and Decrypt in Web API
I’m trying to encrypt a string in a UWP (Universal Windows Platform) application and decrypt the string in a Web API application. The problem is that I can’t find/modify an algorithm common to both…
-
1
votes1
answer90
viewsA: Data Franchise No Consumption App
I was able to find out. It’s called Sponsored Navigation, and all the operators offer this service. To be legal, you must make the contract directly with the operator without intermediaries, and…
-
0
votes1
answer90
viewsQ: Data Franchise No Consumption App
Hello. I am searching to see how some applications work that allow its use without consuming data from the internet franchise. iFood, for example, has this feature, among others like Magazine Luiza,…
-
-3
votes1
answer633
viewsQ: What is the validity of the Google Play developer account
Can anyone tell me if the store fee we paid ($25), to have a Google Play developer account, is annual or is perpetual?
google-playasked Washington Morais 408 -
2
votes1
answer649
viewsQ: Should I always use Navigation.Popasync()?
I am starting learning using Xamarin Forms. In my case, I am doing some tests with an application for Android. Running a parallel with Windows Phone, when I navigate from a page A to page B, and…
-
0
votes1
answer35
viewsQ: Navigation in Android Mobile Apps
Fala galera. I have an app posted on Windows Phone where I navigate between pages without having to worry about the history, that is, if the user presses the Windows Phone Back button, it…
-
0
votes2
answers75
viewsA: Can I access a Web Api from Windows Phone?
This Notfound error is a much more general error than you think. It may occur when the API does not actually exist, or exists but returns incorrect code status or, what I find most common, when it…
-
1
votes1
answer66
viewsA: Grid Usage, Windows Phone C# Silverlight?
The great benefit of using Grid is its support for creating rows and columns. It works similarly to a Table in HTML. I made an app that is published in windows Phone Store and uses dynamic resizing,…
-
0
votes1
answer59
viewsA: How to block an Pivot?
I didn’t get to test, but I found something that should be what you’re looking for in Stack in English, using the Islocked property: <phone:Pivot IsLocked="True"> <phone:PivotItem…
-
1
votes1
answer59
viewsA: WCF for consumption in Silverlight application (Windows Phone 8.0)
Whenever I consume a service, I’ve never been able to put the reference on Windows Phone and work smoothly. Now I always use Restsharp to consume any service (WCF, ASMX, Webapi, etc). Works very…
-
1
votes1
answer52
viewsA: Page/website manipulation, Windows Phone Silverlight C#?
I have an application that performs some simple operations inside the App page. Maybe that’s not exactly what websites do, but it serves as a starting point. I use Windowsphone’s Webbrowser control…
-
1
votes1
answer42
viewsA: How to execute code before starting to change orientation?
I do something similar. When the page orientation is changed I close a panel in my application. I do this in the event fired when the orientation of the device changes. public MainPage() {…
-
3
votes1
answer58
viewsQ: How do I check if a product has already been purchased by the user on iOS?
Guys, when I want to validate if a product of my application (an Inapp) has already been purchased by the user, on Windows Phone I just check the product through Licenceinformation. For example: var…
-
0
votes1
answer124
viewsA: How can I allow another application to start mine?
Have you checked out Auto Launch Apps? I believe this is what you’re looking for. Auto-Aunching apps using file and URI Associations for Windows Phone 8 Hugs.…
-
0
votes1
answer25
viewsA: Code update on Windows Phone 8.1
I always use the Restsharp for service calls in my apps. Very easy to use. Example: var urlBase = "http://url_do_seu_webservice_sem_o_nome_do_servico" var nomeServico =…
-
1
votes1
answer28
viewsQ: Map of Brazil in SVG for Windowsphone. Is there a way?
It is possible to use Paths (the same as SVG) to create a map of Brazil in Windowsphone? Does anyone have an example?
-
0
votes1
answer28
viewsA: Map of Brazil in SVG for Windowsphone. Is there a way?
Here is a map in SVG made for Windowsphone The C# code should look like this: private void OnPathTap(object sender, System.Windows.Input.GestureEventArgs e) { // Cor padrão dos elementos do mapa…
-
1
votes1
answer49
viewsA: How to stop a pivot when the Holding event is triggered?
Take a look here and here In both cases it is shown how to disable "Swipe" for Pivot. Behold: public MainPage() { InitializeComponent(); Touch.FrameReported += (s, e) => { if…
-
1
votes1
answer80
viewsA: Access denied when obtaining namespace connection time
Are you developing for Windows Phone 8.1? If yes, Voce can use the Windows.ApplicationModel.Calls namespace (MSDN Ref). Example:…
-
1
votes2
answers338
viewsA: ASPNET Application does not send emails
If Voce has not changed anything in the code, the problem may be in the server’s own SMTP settings. See in this step by step Microsoft if there is any configuration without doing on your new server.…
-
0
votes3
answers2414
viewsA: How to byte[] a uploaded file into a C#Uploadfile
See if it helps: byte[] byteArray = null; using(var ms = new System.IO.MemoryStream()) { f.PostedFile.InputStream.CopyTo(ms); byteArray = ms.ToArray(); }
-
0
votes2
answers818
viewsA: Store decimal value
Make the value formatting: string valor = "10.80"; string valorFormatado = double.Parse(valor).ToString("n1"); Returns: 10.8 Reference: Custom Numeric Format Strings…
c#answered Washington Morais 408 -
3
votes9
answers10435
viewsA: My city zip code, where can I find open, updated and reliable source?
I don’t know how often this base is updated, but this service has been on the air for several years and has never fallen. They also provide the base for download. http://republicavirtual.com.br/cep…
-
0
votes2
answers231
viewsA: Effect (animation) on clicking on Windows Phone apps
You can use Microsoft.Phone.Controls.Toolkit. Download here: The Windows Phone Toolkit Example of use: Nokia Developers…
-
1
votes0
answers40
viewsQ: Add an AD Group to a Sharepoint 2010 list using the Client Object Model
Does anyone know how to add an existing AD group to a Sharepoint 2010 list? So far I’ve only seen how to add a Sharepoint group, but I need to add an AD group. using (var ctx = new…
sharepointasked Washington Morais 408