offline

Eager load an ionic Toast Controller

耗尽温柔 提交于 2020-01-16 06:09:24
问题 I have this function that listen the internet connection private verifyNetworkConnection() { this.networkService .isNetworkConnected .pipe(distinctUntilChanged()) .subscribe(connected => { if (connected) { // do secret things } else { this.toast.create({ message: 'Sem conexão a internet', showCloseButton: true, duration: 2000, cssClass: ToastClasses.ERROR }).then((res) => res.present()); this.disconnectFromServices(); } }); } And in the else block, i need to show a Toast that says the user

Cant generate folders contains Offline Database after Android APK installation

社会主义新天地 提交于 2020-01-16 00:50:35
问题 I use SQLite as my offline database. After the APK installation, I couldn't find the folders that I made. I want to put the database in device Storage : /storage/emulated/0 (Samsung device where I tested my program). I already put this in my manifest : <manifest android:installLocation="preferExternal" /> To install APK, i copied it directly from bin to my phone external storage. Did I miss something? **notes: I need for users to be able to access files (.TXT and .XML) from device storage, so

Offline installation of dependant python modules without PIP

北慕城南 提交于 2020-01-13 18:22:08
问题 Edit: This is not a duplicate of Python offline package installation as the answer require 'pip' to be present. My premise is when 'pip' is not available. My python script depends on this Github library. I need to create a self-sufficient tarball that includes this dependency and I can extract and run on my Production server, that does not have access to internet or pip . However I have Python 2.6.6/Python 2.7 I have created a virtualenv on my local machine (which has internet) and installed

Offline installation of dependant python modules without PIP

不打扰是莪最后的温柔 提交于 2020-01-13 18:21:16
问题 Edit: This is not a duplicate of Python offline package installation as the answer require 'pip' to be present. My premise is when 'pip' is not available. My python script depends on this Github library. I need to create a self-sufficient tarball that includes this dependency and I can extract and run on my Production server, that does not have access to internet or pip . However I have Python 2.6.6/Python 2.7 I have created a virtualenv on my local machine (which has internet) and installed

Can Application Insights be used off-line

自作多情 提交于 2020-01-11 13:26:53
问题 I maintain a lot of applications which reports events, errors etc to Application Insights. I also have applications running in corporate environments not open to internet. Is it possible to store telemetry data locally and then bulk upload it to application insights? It will of course not be real time information but it allows me to reuse reports and tools I already got. Looked at the persistence channel but it seems to be for temporary off-line scenarios where the same application creates

.NET autogenerated web-service client: How do I avoid requesting schemas from w3.org?

亡梦爱人 提交于 2020-01-10 03:20:26
问题 I have a .NET web-service client that has been autogenerated from a wsdl-file using the wsdl.exe tool. When I first instantiate the generated class, it begins to request a bunch of documents from w3.org and others. The first one being http://www.w3.org/2001/XMLSchema.dtd Besides not wanting to cause unnecessary traffic to w3.org, I need to be able to run the application without a connection to the Internet (the web-service is a "Intra-web-service"). Anyone know the solution? If it helps, here

.NET autogenerated web-service client: How do I avoid requesting schemas from w3.org?

谁都会走 提交于 2020-01-10 03:20:12
问题 I have a .NET web-service client that has been autogenerated from a wsdl-file using the wsdl.exe tool. When I first instantiate the generated class, it begins to request a bunch of documents from w3.org and others. The first one being http://www.w3.org/2001/XMLSchema.dtd Besides not wanting to cause unnecessary traffic to w3.org, I need to be able to run the application without a connection to the Internet (the web-service is a "Intra-web-service"). Anyone know the solution? If it helps, here

How to Cache Json data to be available offline?

蹲街弑〆低调 提交于 2020-01-09 09:19:50
问题 I have parsed the JSON Data in a listview and now I want to make it available offline. Is there a way to save the JSON data at the phone so that you can see the data if your phone is offline? Does someone knows an example? EDIT works now: public class MainActivity extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new TheTask().execute(); } class TheTask extends AsyncTask<Void, Void, JSONArray> { InputStream is = null; String

How to Cache Json data to be available offline?

倖福魔咒の 提交于 2020-01-09 09:18:05
问题 I have parsed the JSON Data in a listview and now I want to make it available offline. Is there a way to save the JSON data at the phone so that you can see the data if your phone is offline? Does someone knows an example? EDIT works now: public class MainActivity extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new TheTask().execute(); } class TheTask extends AsyncTask<Void, Void, JSONArray> { InputStream is = null; String

ejabberd offline users can not receive announce message

拟墨画扇 提交于 2020-01-07 07:57:39
问题 I use a xmpp client to send announce message, such as Psi or Gajim. All the online users can receive the announce message, except the offline users. I do send the announce to all the users not online users. The offline user can not receive the announce message when it is online again. But the offline user can receive offline message sent from other user. 回答1: I guess you are using external authentication or a custom authentication. In that case, ejabberd cannot access to the full user