Implementing syslog for Android application - C++ or Other Android Development Languages

I'm going to develop a native syslog client on Android 4.3.
I have two applications which needs to be able to print syslog messages to a file and/or a syslog server.
I'm wondering what the best approach would be so the reason for my post here is to get some inspiration and advice.
I would like to keep everything in native code and then expose some methods to the Java level via JNI.
It would be great if the two applications I have could send syslog messages to the same native syslog instance, but I'm not sure how that would be done and what the approach would be? Is it possible to deploy native code as a service which can be used by different apps?
Or should I just implement some syslog code in C/C++ and then let that code be compiled in with each application?
Any thoughts, ideas and/or advice?
Thanks.

Thank you very much for your help putting very valuable !

Related

[Q] Help making Android App with MySQL DB (or other DB if you have suggestions)

Hi.
I am new to Android and am looking to solve a problem.
I want to create an Android app that has a login and that you can send messages back and forth with the people who use that app. Similar to the Facebook Messenger App. Also similar to Facebook, I want to users to be able to log in via a web-app in their browsers and view/exchange messages.
My idea was MySQL as the database that stores all of this information. The website will then be made with a PHP framework to access that MySQL data and similarly, I was thinking the Android App would read/write to that same MySQL Database.
I already proto-typed this and was able to create an android app that posts data to a process.php file I have sitting on a web server which then queries the MySQL database, and returns a JSON object back to the Android App for consumption. I followed this guide from Stack Overflow to accomplish this and it worked good. I also searched these forums and found this: http://forum.xda-developers.com/showthread.php?t=2325799 which seems to sort of do things the same way.
My question is:
1) Is this the right way to do things for an app I want to scale to 10,000 users? I want to ask the more experienced developers if this is how they would go about creating such an app. Is there a better way besides what I described? I am a noobie so this was the best way I could come up with from searching the internet.
Much Love,
MicroR

Can I connect to a MySQL database?

I'm new to app development. I have spent some time building web sites using php and MySQL. I have a MySQL database that I would like to use the information from with an Android app I have in mind. Is this something I can do?
Best practice would be to create some interface on your server that has the MySQL database so that your app can call it. You can create PHP pages that you can call with your app and get back results in JSON or XML format and then process them in your app.
Android development is done with JAVA so you can do pretty much anything that you want including directly connecting to a MySQL database but I would really avoid that. Create yourself an interface.

Android User Accounts

Hey everyone, I wanted to get more information on how to create User Login in an app, say I wanted my users to login with there google or Facebook account and me able to upload photos, where would the accounts and photos be stored?
I know obviously on my own servers but could anyone point in the right direction more reading material would be great.
I'm just starting out in Android Dev, I'd like to get more information in creating these types of applications, thanks for your help. Appreciate it.
FNostromo said:
Hey everyone, I wanted to get more information on how to create User Login in an app, say I wanted my users to login with there google or Facebook account and me able to upload photos, where would the accounts and photos be stored?
I know obviously on my own servers but could anyone point in the right direction more reading material would be great.
I'm just starting out in Android Dev, I'd like to get more information in creating these types of applications, thanks for your help. Appreciate it.
Click to expand...
Click to collapse
Their are a few ways to look at it.
1: How is the login suppose to function?
2: Client side or Server side?
3: The main login files are normally stored sever side.
4: What programming language and or crm are you using?
5: What ever your using for the base operation login would be where you will seek the help for that enviroment.
6: If you are logging in to anything.. Then you would go through a program you made or a web page viewed.
7: Are you trying to Api through apps to jack the login information to login to multiple places? Or one place?
8: Your question is good ,but you need to specify exactly what you want to do ,and the outcome.
9: Are you programing an apk app?
10: Are you making a ROM or ?
11: If you want a user to fly across from Google or Facebook then you would basically intercept the Api of the login and act as if your the actual program. That type of thing is Api related.
12: Every program has it's own programming and api calls and functions... Also special folders Vendor specific.....
Sorta like hacking the vendors api...
That would evolve into security protocols being tampered with. That's why they don't give out that information. But you could sniff the packets via a computer and send and receive responses and also do some reverse engineering on the Api.
Deep level stuff.
Not something people will just answer.
The answer is in the question please tell us from beginning to end what it is you want to accomplish.

Google EMM work profile DPC submit

We are developing a EMM for Android. We choose work profile for now and later will implement other methods. We already signed up in EMM community and created the MSA from API console.
We ran through the Google's Test DPC code and developed our app with Google's gudelines. For now we covered the mandatory features.
My question is what Google's expect from us. Do they just need the app to be uploaded in alpha channel or do they need the EMM console to test the app? Because we are still in develop stage and want gooole to whitelist us to make use of EMM API to provision Enterprise sign up. I googled and didn't get clear steps. Also how to communicate to Google regarding our EMM App is published in Store and ready for EMM approval.

How do Whatsapp Tracking Apps work (existing on Google Play Store)

I have come accross multiple applications on the Play Store which are able to succesfully track the activity of a Whastapp Number.
I am a web developer myself having basic knowledge in WEB API's etc. I was really intrigued with the accuracy of the app called "WhastLog: online last seen" . My question is what do these applications use to track a number because there are no public API's existing as far as i know, and can i myself try to code and reproduce the results. Anyone who can point me in the right direction is appreciated. I have found a few open source projects on GitHub but most of them require QR code authentication.
amoghh said:
I have come accross multiple applications on the Play Store which are able to succesfully track the activity of a Whastapp Number.
I am a web developer myself having basic knowledge in WEB API's etc. I was really intrigued with the accuracy of the app called "WhastLog: online last seen" . My question is what do these applications use to track a number because there are no public API's existing as far as i know, and can i myself try to code and reproduce the results. Anyone who can point me in the right direction is appreciated. I have found a few open source projects on GitHub but most of them require QR code authentication.
Click to expand...
Click to collapse
Hey found anything new about this?
@nRaike
De-compile the app in question, then look inside its source code.

Categories

Resources