Not able to inspect blackberry 7, native application in google chrome - html

I have made a Blackberry 7, native application. It is working fine in Ripple emulator. But, after making it to .jad file, and installing in Blackberry 7 mobile. Then I am getting some some style problems. So, I want to inspect the Blackberry 7 mobile apps to computer google chrome. So, I have follow this steps in command prompt-
i).bbwp D:\BB7_Source\myapp.zip /d -g my_password -o
D:\BB7_Output,
ii). Install the package into bb7
After that I am able to launch the application. It is showing me ip address and port number. When I am using this ip address and port number in my computer browser google chrome. It is not able to find the input ip address. Even, my mobile is connected with my computer using USB. and using Wi-Fi connection. I am using splash screen in my bb7 native apps. So, after following all the steps, I am not able to inspect my bb7 native apps in my computer.

Related

chrome.enterprise.deviceAttributes availability for force-installed PWAs in chrome enterprise

I'm trying to determine if I can access any browser api for chrome OS that will allow me to identify the device that its running on when the application has been force-installed in kiosk mode as a PWA.
We're running into exactly the same issue right now. The correct path seems to be to create a PWA and to connect it to a (pre-installed) extension that has access to the enterprise.deviceAttributes:
See https://developers.chrome.com/apps/migration:
"If there is a capability that your Chrome App has that the regular web platform can't provide, it might be available as an extension API. In this case, you use a progressive web app together with an externally connectable extension your web app can send messages to."
enterprise.deviceAttributes are only accessible if the calling App/Site is pre-installed to the device and not loaded dynamically, so it cannot run in the PWA by design.
But with this tutorial, it seems possible:
https://developer.chrome.com/extensions/messaging#external-webpage
We're looking into that right now and will post our progess here.

Remote debugging the Samsung Internet App

I've recently managed to get a desktop development machine to recognise a connected Samsung Galaxy Tab for remote debugging.
The html bug I'm trying to inspect and, hopefully, fix is a layout issue that occurs only in the pre-loaded Samsung 'Internet' app on the Galaxy tablet.
I've found this page...
https://samsunginter.net/docs/remote-debugging
... which has the following set of simple instructions for remote debugging the app:
1.Connect your mobile device to your desktop computer via a USB cable. If you are shown an “Allow access to device data” prompt, choose “Allow”.
2.Open up the Chrome browser on your desktop and visit chrome://inspect.
3.Check that your mobile device is listed. If it is not, you may need to open the Chrome app on your mobile device.
4.Any pages you have open in Samsung Internet should be listed here for inspection.
I'm fine up until step 4. The tablet is connected and listed but I don't see any pages 'listed here for inspection'. I have checked all of the tabs on the left-hand side of the chrome://inspect page - I've even enabled port forwarding, but I don't know if that's the correct thing to do.
Has anyone had experience of remote debugging the Samsung Internet App? What am I missing here that's preventing me from inspecting the html remotely?

how do I host my webpage in localhost on my Mac?

I am working on a webpage & I would like to see how it renders on my iPhone's safari browser. Rather than officially purchasing a domain & hosting, because its in the development stage I just want to view it on mobile safari temporarily.
So far I have enabled Web Sharing:
and when i type in my IP address in my iPhone's safari, the localhost seems to be up:
I have also re-created the "sites" folder:
So How do I host the current webpage i am working on with localhost, then being able to access it on mobile safari? *NOTE I want both the html and css files to be accessed to show a complete webpage
You should consider downloading and installing Prepos and you'll be able to view your website in any device connected to the same network.
It's easy to use and the trial version never expires!
After installing it to your Mac, just drag and drop the site root folder into Prepos. There's a tab where you can see the http path to view in any device: TV, tablet, smartphone or any device with internet access. The only requirement is that they must be connect to the same network.
Go to your Network Settings.
Then write down your IP Address.
Go to http://youriphere/~youruser/ in Safari or whatever browser and that's it!

Windows Phone 8.1 app starts ok via "normal" start but "hangs" via voice command

I have written a simple Windows phone 8.1 app that starts ok when started via the corresponding application icon.
I also have added a voice command definition file and added voice commands.
My Problem now is that when I speak the corresponding voice command the ...
voice command is recognized successfully
my app is started, i.e. the splash Screen is displayed
BUT the splash Screen is displayed for about 15 seconds and then the app is closed.
Where should I continue to investigate? As mentioned above when the app is started via the application Icon it starts successfully.
So what's the difference when an app is started via a voice command and when it is started normally?
Remarks:
In the code I do NOT react differently, i.e. I do NOT check the way the application is started or try to determine the used voice command ...
When debugging in the Emulator the voice command successfully starts the app.
But when the Debugging instance is stopped, the Emulator Shows the same Problem.
I would post some code but do not know which is the relevant...
In the meantime I have figured out that the problem is fixed by overriding "OnActivated" in App.xaml.cs, which is an alternative entry point to "OnLaunched". OnActivated is used e.g. when the app is started via voice command.

Windows phone 8 emulator does not receive pushes.

I have Windows Phone 8 emulator running and a sample app is registering and I receive the URI but when I try to send a notification, I'm not receiving in the emulator. I used to be able to use the sample app with WP7 emulator and it was working and I'm able to access internet on the WP8 but not the notification. Any pointers to fix this will be great!
This is what I saw happening:
1- If I didn't open the app after receiving multiple notification it looks like the OS will not show notification anymore.
2- if you try to send too many notifications.
3- If the app is open the notification will not show as a toast.
4- Sometime I had to open the browser and go to website to force the device to connect to the internet, probably because the phone was on wifi.
It's a pretty open question, since there might be multiple problems, but start with this (source: MSDN):
The push client service on Windows Phone Emulator must be ready before
you can use push notification APIs. Push client service on the
emulator takes two minutes to activate after you start the emulator,
starting from when the Start screen first appears.