Windows Phone - Hybrid Sencha App Issue

We are building a hybrid app using Sencha Touch 2.4.0 targeting iOS, Android and Windows Phone. Although we are able to package and run the app for windows phone 8.1 using stub data but we are not able to make any calls to
the web service(services are exposed to public server). After building an app, when we make an XMLHttpRequest call (POST), the request seems to return a null response. 
We are trying to hit a URL which is live(no VPN required) and accessible from Internet Explorer mobile browser. We are able
to hit the services and get appropriate response when we run the app in IE10 desktop browser(or even mobile browser). 
We use a Nokia Lumia 920 running on Windows Phone 8.1 OS as the test device. We are not facing the same issues in any android phone or iphone. Therefore the issue seems to be restricted to windows phones only. We have tried
debugging the app extensively for any possible fault
in our code but we couldn't figure it out. 
It would be very helpful if anyone has faced a similar issue and has a solution or workaround. 

I'm not familiar with Sencha and you don't provide a lot of information about what your app is actually doing here, but check that you have network capabilities selected. In Visual Studio these are exposed in the capabilities tab in the manifest editor.
Without those declared the app does not have access to the network.

Similar Messages

  • RESOLVED : Windows Phone – Download/In-app reporting fix begins tonight

    Update 4/2/15: The processing is complete.  The below issue is resolved.
    We have identified some download and in-app purchase transactions that were not appearing in the Windows Phone Dev Center dashboard for the November to present timeframe.
    We will start the process to add these transactions back tonight. The process will be completed in approximately a week.
    Please note the following:
    We will add data one month at a time. The most current data will be processed first (March 2015) and then work backwards to November 2014. 
    As each month is processed, you may see increases in your download/in-app reporting numbers for that month.
    You will not lose visibility into any data. 
    Transactions will continue to be shown in the Windows Phone Dev Center portal, while in parallel, we will add back the historical data.
    Only some developers were missing transactions, so you may not see any changes in your download/in-app numbers.
    This issue only impacts
    Windows Phone download/in-app numbers.  Windows Phone payout data, and Windows data is unaffected.
    We will update this post when the process is complete.
    Thank you,
    Patrick

    Hello,
    Skype for Windows Phone 7 has been discontinued and stopped working. Please read this:
    https://support.skype.com/en/faq/FA34489/is-skype-for-windows-phone-7-being-discontinued
    Skype für Windows Desktop: v7.4.x.102
    Skype für Mac OSX: v7.7.335
    ↓ Did my reply answer your question? Accept it as a solution to help others. Thanks! ↓
    ↓ Hat mein Post deine Frage beantwortet? Akzeptiere ihn als Lösung, um anderen zu helfen. Vielen Dank! ↓ .

  • Create a signature capture for Windows Phone 8.1 App

    I am creating a Windows Phone 8.1 app with signature capture control on one of my page. I am looking for an approach using C# so that I can draw points on a XAML with Canvas control. But it seems like that InkPresenter name space is removed from Windows
    Phone 8.1. Is there anyway I can get it around?
    Thanks, 

    Hi edwlin,
    Please try the suggestion provided by Rob Caplan in this thread:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2a428bef-d7a3-423b-a288-4c4b4efa8034/capture-digital-signature-in-windows-phone-blank-app?forum=wpdevelop
    Quote:
    You can capture the signature by listening to pointer messages and storing the points as they come through. You can then render them as Path segments.
    See Quickstart: Pointers
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Make clickable UI-elements for windows Phone 8.1 apps maps

    Windows Phone 8.1 App , C#
    I would like to let the user add Pushpins ( which apparently are called MapIcons ) to the map and when the user clicks the newly created Pushpin some other ui-elements should appear.
    But apparently MapIcons are not clickable and you can not inherit from them since they are sealed, so no luck in making them clickable.
    I tried to just extend from Windows.UI.Xaml.Controls.Button , but those have not Location, probably because the do not belong to the Windows.UI.Xaml.Controls.Maps-namespace. So I can not really add them to the Windows.UI.Xaml.Controls.Maps.MapControl.Children
    or Windows.UI.Xaml.Controls.Maps.MapControl.MapElements, since they will not be on the map where I would want them to be.
    So how do you make a clickable ui-element that I can give a location on the map?
    I already was here
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn792121.aspx#showing_xaml_controls_and_shapes_on_the_map
    But I don't see how I can add clickable elements to my map
    I could write something like this of course
            <Maps:MapControl Grid.Row="1"
                x:Name="map"
                MapServiceToken="token"
                >
                <Maps:MapIcon>
                </Maps:MapIcon>
            </Maps:MapControl>
    But this MapIcon again is not clickable and it also staticly coded. I want to add mine dynamic.

    Hi Michael,
    Yes, as you said the MapIcon is not clickable, then for the workaround, please try to check the reply which posted by @Jogy in here:
    http://stackoverflow.com/questions/25377526/windows-phone-8-1-mapicon-click-event .
    Rest Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to import MySql database to windows phone 8.1 app

    Hello everyone I'm Designing a new windows phone 8.1 app and I need some help from you.
    I have a database that Im using for the some app but for Windows.
    currently using db4free.net
    and use this code
      Mysqlconn = New MySqlConnection
            Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=%%%%%; password=%%%%%%%; database=%%%%%%%%"
            Dim READER As MySqlDataReader
            Try
                Mysqlconn.Open()
                Dim Query As String
                Query = "SELECT * FROM Manager WHERE Name='" & TextBox1.Text & "' AND Password='" & TextBox2.Text & " ' "
                Command = New MySqlCommand(Query, Mysqlconn)
                READER = Command.ExecuteReader
                Dim count As Integer
                count = 0
                While READER.Read
                    count = count + 1
                End While
                If count = 1 Then
                    MsgBox("Mire se vini'" & TextBox1.Text & "'")
                    FORMAKRYESORE.Show()
                    Me.Close()
                ElseIf count > 1 Then
                    MsgBox("Mire se vini'" & TextBox1.Text & "'")
                Else
                    MsgBox("Manager'" & TextBox1.Text & "' is not in the data")
                End If
                Mysqlconn.Close()
            Catch ex As MySqlException
                MsgBox(ex.Message)
            Finally
                Mysqlconn.Dispose()
            End Try
    this is the code that  I use to login.  but on windows phone cant import Mysql connector. not sure why... any suggestion how to deal with this?
    or should I use SQLite? I dont know nothing about the code on SQLite...

    If this is supposed to work just on the phone then SQLite or a Local database.
    https://msdn.microsoft.com/en-us/library/windows/apps/hh202860(v=vs.105).aspx
    For small amounts of data, serializing and deserializing classes to isolated storage is faster.
    Phones aren't always connected to the interweb.
    Even if you are planning on using a central database on some server and connecting via services, you will almost always also need to store some data locally.
    It's in your interest to ask questions in the appropriate forum for the technology you're using.
    As it is, you're asking wpf developers a question about windows store app development.
    It's similar but different.
    Which is probably why Magnus is unaware of local database and I probably omitted something else.
    It's not what we do.
    I've written a grand total of one windows store apps.
    Magnus probably has a similar level of experience.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • How to make backward compatibility of windows phone 8.1 app for windows phone 7?

    I developed windows phone 8.1 app which is in windows phone store. Now, i want to make this app compatible for windows 7 also. Is it possible, if yes then how?

    It may be that you are using non-backward compatible capabilities in your Windows Phone 8.1 app(s).
    Developers that want to develop for different OS's usually have platforms with the different OS's on them for developing applications so they work on each platform.
    I suppose you developed for Windows phone 8.1 rather than Windows phone 7. Therefore your app runs on a different framework than a Windows phone 7 has as well as probably newer hardware with greater capabilities.
    So you will probably need to purchase an older phone that came with Windows phone 7 in order to develop for. I couldn't find documentation like the last link below (App capabilities and hardware requirements for Windows Phone 8) for Windows phone 7
    from Microsoft but maybe you can.
    Windows Phone OS 7.1 - Developing a Windows Phone Application from Start to Finish
    Types of Applications
    The Windows Phone application platform provides two frameworks for developing applications:
    Silverlight
    The Silverlight framework supports event-driven, XAML-based application development.
    XNA
    The XNA Framework supports loop-based games.
    Silverlight and XNA can also be combined in a single application.
    The following table lists some of the criteria that you can use to determine whether you should use Silverlight or the XNA Framework for your Windows Phone application. With Windows Phone OS 7.1, you can combine Silverlight and XNA into one application. 
    For more information about Silverlight and XNA, see
    The Silverlight and XNA Frameworks for Windows Phone. For more information about the application platform, see
    Application Platform Overview for Windows Phone.
    What's New in Windows Phone 8.1
    Platform convergence with Windows Store apps
    Windows Phone 8.1 introduces an important change in the Windows Phone developer ecosystem. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps—Windows Runtime apps.
    Platform convergence began in Windows Phone 8, which supports a small subset of Windows Runtime APIs, but which differs from Windows in many core areas. In Windows Phone 8.1, there’s so much more in common—a much larger API set, a similar app model
    and life cycle, a shared toolset, a common UI framework—Windows Phone and Windows Store app developer platforms truly have become one, single development platform.
    Of course there are still some small differences in behavior and supported features between Windows Phone and Windows Store apps. Some of these are the result of timing of the different product cycles, and they may not appear in future releases. Some differences
    are the result of the different natures of phones and computers, their sizes, and the way people use them. We encourage developers to think in terms of Windows app development—developing for a single Windows Runtime, but targeting two different platforms on
    phones and computers.
    Required Tools for Windows Phone Development
    App capabilities and hardware requirements for Windows Phone
    8
    La vida loca

  • How to know whether my Windows Phone 8.1 App is Associated with the store or not?

    How to know whether my Windows Phone 8.1 App is Associated with the store or not? 
    I have an Windows Phone 8 app already in the store , Now i upgraded it to 8.1 it got upgraded to Windows Phone Silverlight 8.1.
    Now iam trying to use Single Sign on feature on this app but it is showing the error message like
    the App is not Configured correctly i followed the process from  Signing users in to OneDrive
    please guide me how to do this?
    Mohan Rajesh Komatlapalli

    You should post to publish forum.

  • Error Integrating EWS 2.2 with Windows Phone 8.1 App

    Hi,
    I am new to Windows Phone development. I have a basic need to access the Exchange Calendar.
    I am using Windows Phone 8.1 SDK and Exchange Web Service 2.2 SDK.
    As a first step I tried to use the
    Microsoft.Exchange.WebServices.Autodiscover
    dll to find the end points of the Exchange Server.
    However on the first code statement
    Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService
    service = new
    AutodiscoverService();
    It throws an exception –
    An exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.Exchange.WebServices.DLL but was not handled in user code
    'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll
    I further tried some debugging and using Code Analyser I get following warnings –
    Microsoft.Exchange.WebServices.dll: warning CS1684: Reference to type 'System.Net.IPAddress' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll',
    but it could not be found.
    And
    C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.Auth.dll: warning MSB3817: The assembly "C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.Auth.dll"
    does not have a NeutralResourcesLanguageAttribute on it. To be used in an app package, portable libraries must define a NeutralResourcesLanguageAttribute on their main assembly (ie, the one containing code, not a satellite assembly).
    I am not sure what the issue is, but when I try the same code it works in a Command Application. There are other errors but not the above ones. It at least executes few statements.
    Can someone please help resolve this error and point me to links where I can find sample code with Windows Phone 8.1 implementation?
    Thanks in Advance
    Nasir

    The EWS SDK 2.2 is a regular Desktop .Net DLL and therefore won't work in a WinRT App (CoreCLR). You should however be able to call the WebService directly.

  • Re: Nokia Windows Phone 8 Device App Updates

    I replied to the main topic but thought this deserved its own thread.
    Has anyone else not received notification of updates? I haven't received one store notification for an app update in a week, including all the recently updated Nokia system apps.
    Is this a known issue?
    WIN IT PRO, new to Windows Phone. Down with APPLE
    Solved!
    Go to Solution.

    They might not, but we can. Use link below.
    http://discussions.nokia.com/t5/Pool-of-Knowledge/​Nokia-Windows-Phone-8-App-Updates/td-p/1640082
    Note we suspect one of the updates is causing the remove from charger sound and also possible causing the phone to freeze for some users as well. So user beware. 

  • Converting a "windows phone silverlight pivot" app to a universal app, possible?

    Ok so when trying to suss out the emulator(thats been resolved) i stumbled onto the universal app page of msdn....now as a fledgling coder im not too verse at reading the msdn pages (they are on the whole not designed for beginners) but i had a tinker
    around
    i managed to get a similier interface on the phone portion of the app to my pivot app (indeed the universal one is pivot too) but none of the code i added to the shared section could access the textboxes / text blocks of the phones interface ie where on my
    program i will say "raceDisplay.Text = charRace;" which would put the string of charRace into the raceDisplay text block it cant see raceDisplay which is really confusing...
    so is there a good guide to converting a windows 8.1 silverlight pivot app to a universal app?
    I had planed to get the phone app done first and then make a whole new app for desktops, universal would (in theory) save me having to duplicate all my work and allow me to update both at the same time (unless i misunderstand the shared code stuff)

    Hi D.Eastwick,
    >>but none of the code i added to the shared section could access the textboxes / text blocks of the phones interface ie where on my program i will say "raceDisplay.Text = charRace;" which would put the string of charRace into the raceDisplay
    text block it cant see raceDisplay which is really confusing...
    For this issue, it will be better if you can try to post a simple reproduce project in here.
    >>so is there a good guide to converting a windows 8.1 silverlight pivot app to a universal app?
    The pivot control is available in the Windows Phone 8.1 Silverlight and Windows universal app. But some API/Controls which are available in the Windows Phone 8.1 Silverlight may not be available in the Windows universal app, besides, some API may have
    a different namespace betwwen the Windows Phone 8.1 Silverlight and Windows universal app, so you should pay attention to it. For more information, please try to refer to the following articles:
    #Migrating your Windows Phone 8 app to a Windows Runtime XAML app:
    https://msdn.microsoft.com/en-us/library/windows/apps/dn642486(v=vs.105).aspx .
    #Windows Phone API:
    https://msdn.microsoft.com/en-us/library/windows/apps/ff626516(v=vs.105).aspx
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows Phone vs Android App of Filr

    Is there someone who has experience with the Windows Phone app of Filr (in combination with the NetIQ Access Manager). When we use Filr with the android app we can download a file but when we use the Windows App we are being redirected to the access manager (login page) when downloading a file.

    JHakvoort,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • How share content on whatsApp And Instagram for windows phone 8.1 App Development

    I am developing an App using sharie Contract Ux (using DataTransferManager )
    sample code is given below it is showing facebook ,twitter but not showing whatsApp and Instagram .
    Am I missing something ?
    public sealed partial class MainPage : Page
    private DataTransferManager dataTransferManager;
    public MainPage()
    this.InitializeComponent();
    this.NavigationCacheMode = NavigationCacheMode.Required;
    /// <summary>
    /// Invoked when this page is about to be displayed in a Frame.
    /// </summary>
    /// <param name="e">Event data that describes how this page was reached.
    /// This parameter is typically used to configure the page.</param>
    protected override void OnNavigatedTo(NavigationEventArgs e)
    // TODO: Prepare page for display here.
    // TODO: If your application contains multiple pages, ensure that you are
    // handling the hardware Back button by registering for the
    // Windows.Phone.UI.Input.HardwareButtons.BackPressed event.
    // If you are using the NavigationHelper provided by some templates,
    // this event is handled for you.
    this.dataTransferManager = DataTransferManager.GetForCurrentView();
    this.dataTransferManager.DataRequested += new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    this.dataTransferManager.DataRequested -= new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
    private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs args)
    var request = args.Request as DataRequest;
    DataPackage requestData = request.Data;
    requestData.Properties.Title = "MY PHOTO";
    requestData.Properties.Description = "Share App";// The description is optional.
    requestData.Properties.ContentSourceApplicationLink = new Uri("ms-appx-web:///" + "www.google.com");
    // It's recommended to use both SetBitmap and SetStorageItems for sharing a single image
    // since the target app may only support one or the other.
    List<IStorageItem> imageItems = new List<IStorageItem>();
    imageItems.Add(this.imageFile);
    requestData.SetStorageItems(imageItems);
    RandomAccessStreamReference imageStreamRef = RandomAccessStreamReference.CreateFromFile(this.imageFile);
    requestData.Properties.Thumbnail = imageStreamRef;
    requestData.SetBitmap(imageStreamRef);
    // succeeded = true;
    private async void SelectImageButton_Click(object sender, RoutedEventArgs e)
    // CoreApplicationView view = CoreApplication.GetCurrentView();
    //FileOpenPicker imagePicker = new FileOpenPicker
    // ViewMode = PickerViewMode.Thumbnail,
    // SuggestedStartLocation = PickerLocationId.PicturesLibrary,
    // FileTypeFilter = { ".jpg", ".png", ".bmp", ".gif", ".tif" }
    StorageFile logoFile =
    await Package.Current.InstalledLocation.GetFileAsync("Assets\\download.jpg");
    // List<IStorageItem> storageItems = new List<IStorageItem>();
    this.imageFile = logoFile;
    // ImageHolder.Source = "/Assets/download.jpg";
    Output.Visibility = Visibility.Visible;
    ShareStep.Visibility = Visibility.Visible;
    // if (pickedImage != null)
    // this.imageFile = pickedImage;
    // // Display the image in the UI.
    // IRandomAccessStream displayStream = await pickedImage.OpenAsync(FileAccessMode.Read);
    // BitmapImage bitmapImage = new BitmapImage();
    // bitmapImage.SetSource(displayStream);
    // ImageHolder.Source = bitmapImage;
    //// this.rootPage.NotifyUser("Selected " + pickedImage.Name + ".", NotifyType.StatusMessage);
    // ShareStep.Visibility = Visibility.Visible;
    private StorageFile imageFile;
    private void Button_Click(object sender, RoutedEventArgs e)
    DataTransferManager.ShowShareUI();

    Whatsapp and Instagram must not be Share Targets for the type of content you are sharing.
    Bret Bentzinger (MSFT) @awehellyeah

  • Out Of Memory Exception While Loading Images in Windows Phone 8 Silverlight App?

    Hi,
    I am developing a windows phone 8 silver light app , I am loading high resolution images from web  through image control , After loading 2-3 images I am getting outof memory exception ,
    I am unable to catch this , and I am unable to break this exception , Can anyone tell me how to handle this exception,
    I am searching solution for this  from last 15 days but I am unable to find solution,
    I tried by setting the bitmap image source to null by doing this also I am getting exception, I tried by using gc.collect() also ..
    First I am loading list of images in listbox with lowres of size 100X100 , in selection change event I am changing the image source , 
    My image control code is
    <Canvas Width="480" Height="720">
    <Image Width="480" x:Name="MyImage" Height="720" Stretch="Uniform" >
    <Image.Source>
    <BitmapImage x:Name="MyImage1"/>
    </Image.Source>
    <toolkit:GestureService.GestureListener>
    <toolkit:GestureListener Flick="GestureListener_Flick_1"
    PinchStarted="OnPinchStarted" DragDelta="GestureListener_DragDelta"
    PinchDelta="OnPinchDelta"/>
    </toolkit:GestureService.GestureListener>
    <Image.RenderTransform>
    <CompositeTransform x:Name="myTransform"
    ScaleX="1" ScaleY="1"
    TranslateX="0" TranslateY="0"/>
    </Image.RenderTransform>
    </Image>
    </Canvas>
    My listbox selection changed code is
    GC.Collect();
    GC.WaitForPendingFinalizers();
    Classes.PgaeInfo ob = listpages.SelectedItem as Classes.PgaeInfo;
    progressLoad.Visibility = Visibility.Visible;
    LayoutRoot.Opacity = 0.8;
    LayoutRoot.IsHitTestVisible = false;
    StackPanel st = sender as StackPanel;
    index = ob.pId - 1;
    JArray jsonArray = JArray.Parse(json);
    JToken jsonArray_Item = jsonArray[index];
    string sour = "xxx.xxx.xxx.jpeg" (only one image for sample)
    img.Source = null;
    DisposeImage(bm);
    img.Source = new BitmapImage(new Uri(sour));
    MyImage1.UriSource = null;
    MyImage1.DecodePixelHeight = (int)img.Height;
    MyImage1.DecodePixelWidth = (int)img.Width;
    MyImage1.UriSource = new Uri(sour);
    Any help..
    thanks..
    Suresh.M

    Hello Suresh,
    Are you loading multiple images at once on one page? If so this is an expected behavior. There is limited memory available per app so it's important to not load too large or too many photos at once in your app.
    If possible you can try to convert your Windows Phone 8 to Window Phone 8.1 so as to take advantage of the FlipView control which is built to handle photo gallery-like applications.
    Also you can always run the Windows Phone Application Analysis tool to check on the application performance and memory usage. This will help you test and fine tune your app accordingly.
    Let me know if this helps.
    Abdulwahab Suleiman

  • Windows Phone 8.1 app keep showing the old version update after the latest one

    Recently I just update my app named "TimeKit" (v1.2.2.0), then I start notices that some of the phone will get the old version(v1.2.1.8) update detail on the store, even I try to check from the windows phone website, but it will switch between
    the latest version(v1.2.2.0) and old version sometimes, but some of the phone will be fine after a few times(not sure). My own phone always get this problem, not only my own app, also for others app, one of the app was the "Lumia Camera", so
    I decided to reset my phone, after reset all the problems are gone, but the same problem appeared to my app again. Also I update another update for my app(v1.2.2.3), still the same. Is it a problem for the store in US region currently, because I try for
    others country and works fine.

    I can take a couple of days for the update to replicate across all the servers.  

  • How to stop Windows phone 8.1 app from crashing?

    Hi All,
    I have developed an app in Windows Phone 8.1 environment (WinRT). When i tested the app in my local testing device, it worked fine but when i hosted the app on app store, it sometimes crashes. Please help me, how do i stop my app from crashing?

    Sometimes crashes or always crashes when deployed through the store?
    If you want to rely on data instead of magic then check the crash reports as Abdul suggests. If you want magic then my crystal ball says that if it always crashes the app is trying to write to its install directory.
    The install directory is writable for test deployed apps but not for apps deployed from the store.

Maybe you are looking for