How to use PushSharp with simple project - c#

I get the feeling that this question is either too basic or too complex to be covered by any documentation on pushSharp. But how exactly do I incorporate it into my project. I am used to Java/php, etc and have never really looked at C# before. I have been reading whatever I can find but am not really sure what I should be looking at.
I have an ashx file that is handling my ajax calls and is currently using the example code from http://www.codeproject.com/Tips/434338/Android-GCM-Push-Notification to send push notifications. I would really like to incorporate pushSharp so that I can do this for ios and windows as well but am feeling a bit lost as to how to do this.
With Java I would compile the library as a jar and include that in a project. Would I do the same here by compiling the whole pushsharp project as a dll or each folder (android/ios etc) or have I got this completely wrong? Any suggestions, or pointing me to the relevant tutorials/documentation would be greatly appreciated.

Thanks #k3b did some research on this without considering pushsharp as being any different and got it resolved. thanks.

Related

What is The HCS class?

Currently im Working on Code That uses the HCS Class. Can Anyone Tell Me What this class is and where I can find documentation about it?
for Example
HCS.Open_Segment(path);
or
HCS.Begin_Contents_Search
I think it has something to do with Hoops from the Company TechSoft3d. But i cant find anything about this class.
Any Help would be great.
Thanks in advance
When you are developing in visual studio you can press F12 to jump to the class.
I don't know the company or software you are using, but normally with niche software it mostly comes with an help file with documentation. Ask your colleagues if there is a stick or cd around which may contain a help file. If you got it over a nuget package you should be able to look something up online.
HCS is a wrapper class for all HOOPS 3DGS API called from C#.

control a wpf from matlab by using a c# dll

i would like to know weather it is possible to control some wpf application written in c# by using a c# dll out of matlab.
what i need is the possibility to start the MainWindow and i have to be able
to get some values into my controller.
What i found so far was things working from c# that use matlab, but the other way round seems not to be that much populatet, as i found nothing i could really use.
I allready tried to import a .net Library, but i dont seem to be able to open a external class from my dll.
So if you could help me on this it would be great.
Regards,
justSomeone
Ok, i did just find out, that i can also import my .exe file into Matlab instead of only dlls .
I am using the function NET.addAssebly('Path.exe') to do this.
Path.exe is just a symbol that it is directed to the place of the .exe file.
I achieved to be able to use my methods as i wanted i do have my instance of the class. So i am happy now. :D
But if you have other solutions which are more handy, dont hesitate to post them. There might still be interesting things to discover :)
Regards,
justSomeone

How can I Access an already existing SQLite database in mono for android

I'm currently working on a project where the application I'm creating needs to include a database. I've got no problems so far creating my own SQLite database from my application and accessing it is not a problem either. The problem for me is accessing an already existing database that I've included in the assets of the application.
I've seen many examples of solutions online where this is done by copying the database to the /files folder and then used something called SQLiteOpenHelper, which seems like a good solution. However, they've all been using Java so far and since I'm using C# (developing in Xamarin-studio which uses Xamarin.Android a.k.a. mono for android) those solutions doesn't really work for me.
Could anyone please give me som instructions about how to do this in mono? Or if you now other ways to solve the problem show me how to do those?
Thank you in advance
Have you tried following the Java guides on Xamarin?.
I had a lot of Android/Java experience before starting with Xamarin, and what I've found is that all of the android platform classes and fields are present in Xamarin (with some modifications to include C# naming conventions like camel case, enums, etc). So try following the guides from Java on your Xamarin project and if you hit a problem ask here or at http://forums.xamarin.com/

zeromq and c# binding

I am a C# developer and I am learning zeromq api right now. By reading various articles, I found that I have to use C# Bindings.
The main problem for me is where to start. I followed steps on this link and put libzmq.dll under C:\windows\system32\ and I have clrzmq.dll and clrzmq-ext.dll referenced in visual studio project. I tried first two samples from zeromq guide and it works fine.
I got confused when I show these links.
link1
link2 (please scroll down to example.
As shown in link1, I don't see any method like Context.CreateContext() and CreateSocket()
As shown in link2, subscriber does not have event that notifies about the received data.
Can someone point why I am not seeing above things on my machine?
Thanks,
mChicago
In your question you say there is no Context.CreateContext()
If you are using the clrzmq bindings, the call is
using(var context = ZmqContext.Create())
...
Perhaps you misread it?
You second question is actually about some ambiguity on the C# bindings page. The example you point out is actually for the ZeroMQ Interop library, and not clrzmq (which is referenced at the top of the page.) The defining line between those two sections is kind of confusing.
Hope this helps.

jQuery AutoComplete missing?

I was building something using jQuery's AutoComplete plugin last week, but today I found that it's not working.
After some debugging, it seems that the external scripts I've been loading no longer exist:
http://dev.jquery.com/view/trunk/plugins/autocomplete/lib/jquery.bgiframe.min.js
http://dev.jquery.com/view/trunk/plugins/autocomplete/lib/jquery.dimensions.js
http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js
Even the demo on the plugin page no longer works:
http://docs.jquery.com/Plugins/autocomplete
Was the plugin deprecated over the weekend and I didn't know it? Or is there some way to let them know that the files aren't showing up?
Here's a link to the static delivery on the google CDN:
http://code.google.com/apis/libraries/
I'm not sure they do the plugins, but you can get the main library this way.
Here are some quick links to get your missing scripts:
http://docs.jquery.com/Plugins/bgiframe
http://plugins.jquery.com/project/dimensions
http://docs.jquery.com/Plugins/autocomplete
Like #Paddy said in the comments above, I would HIGHLY recommend pulling these down into your project and creating local references to each instead of relying on the FQDN of the scripts on another host to remain unchanged forever.
UPDATE:
Note that I myself have noticed some downloads going missing recently on jquery.com, so you may have trouble finding the downloads. If so, I would recommend checking if google's cache has a hard link to them - I've been able to find a couple this way.

Categories