Some time ago I was able to remote debug a webview in Chrome to debug html-errors. But now, it isn't working anymore on my Android-phone, I'm not able to connect (In Chrome: More Tools > Developer Tools > Remote Devices ... where my remote devices says "connected".
The lines I added (in varying composition) to tiapp.xml:
< property name="appc-security-debugger-detect">false< /property>
< application android:debuggable="true" />
< disable_error_screen>true< /disable_error_screen>
Solved the problem.
In tiapp.xml, these two elements needs te be in this order:
<application android:theme="#style/Theme.AppCompat.NoTitleBar"/>
<application android:debuggable="true"/>
... instead of:
<application android:debuggable="true"/>
<application android:theme="#style/Theme.AppCompat.NoTitleBar"/>
... looks like a bug to me.
Related
I I started a new TizenWearableApp in VS 2019, started the Tizen-Emulator and hit run.
The output from Tizen shows the successful build and that the app is signed with Default Certificates. After that, the last printed line is the full path to the .tpk file and a Microsoft Visual Studio Dialog with "Initializing Debugger"...
stuck state screenshot -> https://imgur.com/a/91sEknd
After that nothing more happens. I can press the cancle button and can then see in the Output the following which didnĀ“t help me:
: <<< Start debugging "org.tizen.example.TizenWearableAppV4" >>>
: Try to terminate running application: org.tizen.example.TizenWearableAppV4
: No application to be terminated: 255
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed org.tizen.example.TizenWearableAppV4-1.0.0.tpk 0% 0KB 0KB/s
pushed org.tizen.example.TizenWearableAppV4-1.0.0.tpk 100% 19KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
D:\repos\Tizen\TizenWearableAppV4\TizenWearableAppV4\bin\Debug\tizen40\org.tizen.example.TizenWearableAppV4-1.0.0.tpk 447KB/s (19702 bytes in 0.042s)
path is /home/owner/share/tmp/sdk_tools/org.tizen.example.TizenWearableAppV4-1.0.0.tpk
processing result : Operation not allowed [-4] failed
Package found on the target system: "lldb-3.8.1-i686" (tar.gz)
: Launching org.tizen.example.TizenWearableAppV4
: 'org.tizen.example.TizenWearableAppV4' is dependent on 'org.tizen.example.TizenWearableAppV4-1.0.0.tpk'.
: ... launch failed
I hope anybody can help me to fix that problem (i got it already working a few month back on this machine).
Thanks in advance.
https://github.com/Samsung/build-task-tizen/blob/master/doc/tizen.net.sdk-signing-tpk.md
Here is the page that helped me. I had the same problem but don't want to build from tizen.bat every time. The solution in the above document that worked for me was to close Visual Studio and open the *.csproj file in my solution then add the following replacing with the directory of the certificates I created and my passwords:
<PropertyGroup>
<AuthorPath>author_test.p12</AuthorPath>
<AuthorPass>author_test</AuthorPass>
<DistributorPath>tizen-distributor-signer.p12</DistributorPath>
<DistributorPass>tizenpkcs12passfordsigner</DistributorPass>
</PropertyGroup>
Just put it below any other Property Group tags. Open Visual Studio again and it should build using the certificate.
Faced same. The reason was in certificate signed with wrong distributor - for physical devices (not emulated) you need Samsung distributor certificate. You need to do:
Install Samsung Certificate Extension in Tizen package manager
Open Certificate manager
Run certificate profile wizard and select Samsung option
Follow wizard
Refer to https://stackoverflow.com/a/40755444/4165898
I am using Google chrome in my Windows7 machine, i found some extension GreatSave4U in Google Chrome browser which i tried to remove by the following way..
Launch the browser and simultaneously tap Alt+F.
In the appeared menu move to Tools and then click Extensions.
Click the recycle bin icon on the right of the undesirable plugin and select Remove.
It is removed and i am not getting any ads but when i am closing that instance of browser and restarting browser it again appear in extension list and displaying unwanted ads like Virus.
How to fix this issue?
EDIT:-
Contents of chrome://version/
> Google Chrome 41.0.2272.101 (Official Build) m
> Revision 0c9975a0ae4c55b8530ec3193c21ed54b96cbe88-refs/branch-heads/2272#{#437}
> OS Windows Blink 537.36 (#191727) JavaScript V8 4.1.0.21
> Flash 17.0.0.134 User Agent Mozilla/5.0 (Windows NT 6.1; WOW64)
> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101
> Safari/537.36 Command
> Line "C:\Users\sjoshi\AppData\Local\Google\Chrome\Application\chrome.exe"
> --flag-switches-begin --enable-experimental-extension-apis --flag-switches-end Executable Path C:\Users\sjoshi\AppData\Local\Google\Chrome\Application\chrome.exe
> Profile Path C:\Users\sjoshi\AppData\Local\Google\Chrome\User
> Data\Default Variations 74785582-3f4a17df 22fd1d6c-7461cf66
> e950616e-ca7d8d80 e9f4800b-39c30599 8afebf76-77d7928 19f73432-ca7d8d80
> 76b48ab8-a2567007 c70841c8-a2567007 195ce1b5-d93a0620
> 4b406b23-3f4a17df 1d3ad72e-3f4a17df 9e5c75f1-8b3c5d32
> f79cb77b-3d47f4f4 ca65a9fe-91ac3782 4ea303a6-7a1ae6ac
> 61544484-ca7d8d80 a6f20d5c-6355c4e9 7aa46da5-ca7d8d80
> 9736de91-ca7d8d80 ea1014b7-dd21eb5a 244ca1ac-4ad60575
> f47ae82a-746c2ad4 3ac60855-486e2a9c f296190c-4c073154
> 4442aae2-75cb33fc ed1d377-e1cc0f14 75f0f0a0-a5822863 e2b18481-6bdfffe7
> e7e71889-4ad60575 58a405fc-669a04e0 cbf0c14e-bf3e6cfd
> af644a23-3f4a17df
This sounds like an extension that is loaded via the command line. Edit your shortcut (right-click, properties) and look for the --load-extension=C:\path\to\extension flag, and remove this one. This will prevent the extension from being loaded.
That fixes the symptom, but not the problem. You have to find why you got this piece of malware on your system in the first place. If you're lucky, the damage is limited to the installation of an unwanted extension. If the malware is a bit more sophiscated, the only way to recover (i.e. regain trust in your system) is to perform a full reinstallation of Windows, because you have no reason to trust your system any more.
when I launch my application from TideSDK Developer, I can see that the app connects to the appcelerator server (https://api.appcelerator.net/p/v1/app-track) and tracks the usage of the app.
How can I disable this tracking? I tried to set a new entry in the tiapp.xml without any effect:
<analytics>false</analytics>
System:
Mac OS
TideSDK 1.3.1 (beta)
TideSDK Developer 1.4.2
Thanks for any idea.
Greetings
--
found the answer:
<analytics>false</analytics>
was in the window-block by mistake. It runs corectly when it's in the ti:app-block outside the window-block
<?xml version='1.0' encoding='UTF-8'?>
<ti:app xmlns:ti='http://ti.appcelerator.org'>
<!-- These values are edited/maintained by TideSDK Developer -->
<id>myID</id>
<name>myAppName</name>
<version>1.0</version>
<publisher>me</publisher>
<url>no-site</url>
<icon>default_app_logo.png</icon>
<copyright>2015...</copyright>
<analytics>false</analytics>
<!-- Window Definition - these values can be edited -->
<window>
<id>initial</id>
<title>myTitle</title>
<url>app://index.html</url>
<width>800</width>
<max-width>3000</max-width>
<min-width>0</min-width>
<height>600</height>
<max-height>3000</max-height>
<min-height>0</min-height>
<fullscreen>false</fullscreen>
<resizable>true</resizable>
<chrome scrollbars="true">true</chrome>
<maximizable>true</maximizable>
<minimizable>true</minimizable>
<closeable>true</closeable>
</window>
</ti:app>
Okay me and my friend are about to tear our hair out trying to configure the Adobe Flex SDK to work properly on our Ubuntu machine. We have installed and configured the SDK to compile ActionScript files but the FlashPlayer Debugger fails to log traces or errors to flashlog.txt when we execute the compiled swf in Firefox.
We have Flash Player Debugger installed into Firefox and a mm.cfg file located in our home directory.
Links to what we've tried:
http://www.arulraj.net/2010/08/flash-player-debugger-in-ubuntu.html
http://www.gregoryprogrammer.com/2012/12/actionscript-3-code-compilation-in-inux/
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fc9.html
http://helpx.adobe.com/flash-player/kb/configure-debugger-version-flash-player.html
Versions of what we're using:
Firefox Browser 18.0.2
Ubuntu OS 12.0.4
Latest Flex SDK
I notice you didn't mention compiling with the -debug flag. Here're the steps I take:
Make sure you're using the debug version of the player (hit flashplayerversion.com to check). This is getting trickier in-browser, especially in 64-bit Linux. Firefox is probably easier than Chrome these days. You can also try the debug content projector (aka standalone player) located here.
Have a ~/mm.cfg file with TraceOutputFileEnable=1. Here's mine:
> cat ~/mm.cfg
ErrorReportingEnable=1
TraceOutputFileEnable=1
Use the trace method somewhere you know it will be executed:
> cat Main.as
package {
import flash.display.Sprite;
public class Main extends Sprite {
public function Main() {
trace("Hello flashlog.txt");
}
}
}
Compile the SWF with the -debug option:
mxmlc -debug Main.as
I'll test with the content projector:
>flashplayerdebugger Main.swf &
>tail ~/.macromedia/Flash_Player/Logs/flashlog.txt
Hello flashlog.txt
Or open a dedicated terminal to follow the log file as it is written:
>tail -f ~/.macromedia/Flash_Player/Logs/flashlog.txt
In my WP7 app I am using a periodic task.
Whe I use the code for debugging to launch the Periodic Task it runs as expected i.e.
ScheduledActionService.LaunchForTest(periodicTaskName, TimeSpan.FromSeconds(60));
However when I just add it to the action service it will not execute i.e.
ScheduledActionService.Add(periodicTask);
The code is never executed. Its the same issue as http://forums.create.msdn.com/forums/t/91617.aspx
I have downloaded several sample apps and its the same in all of them. As soon as I comment out the LaunchForTest code then the task is not run. Its the same in the emulator and on the phone. I have checked the Phone > Settings > Background tasks and my task is there and 'on'.
The only thing I do see is the following in the output window when running in debug via the emulator
The thread '<No Name>' (0xf25003e) has exited with code 0 (0x0).
When I am running the ScheduledActionService.LaunchForTest code then I see a similar message, but I also see that assemblies have been loaded etc - and the code is performed.
Any ideas? Its very frustrating. - Thanks!
Make sure to check background service details are added to WPAppManifest.xml file.
Below is the sample
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
<ExtendedTask Name="BackgroundTask">
<BackgroundServiceAgent Specifier="ScheduledTaskAgent" Name="Task_Name" Source="Assembly_Name" Type="Assembly_Name.ScheduledAgent" />
</ExtendedTask>
</Tasks>
A while ago i had same problem, it looks like when you add background agent project to your foreground project, it is missing update the manifest file.