Android app to print document at specific ip address - java

I have a list of all document files in RecyclerView. Now on touch any element, I want it to be printed at an IP address.

Android's printing support is covered in the documentation. However, it does not allow you to specify the printer — the user specifies the printer.
If you wish to bypass Android's printing support, contact the printer manufacturer for details of what network protocols that they support, what printer languages (PCL, Postscript, etc.) that they support, and what they recommend for use for printing directly to their printer from your app.

Related

What changes do I need to bring to my existing apps on the play store so that they can match Google's new data safety policy?

Our app uses the user's location data & device camera. Is there anything to do like- any changes to the code apart from filling up the console form provided by Google?
For reference, I am providing some links below -
Documentation from google &
Android Developers Blog

How can Android apps access messenger chats?

I want to write an Android App that analyses chats. For each messenger, for each contact, I want to get a list of all messages sent and received (since installing my app). The key thing here, is that I want the list of messages to be in order. My app should support as many messengers as possible. What would be the best way to do this?
I researched and found a few ways to access messengers' messages:
Using accessibility services
(Related: How to read window content (using accessibilityService) and evoking UI using draw over other app permission in Android?)
to read the screen content of other apps that is annotated with accessibility labels
caveats:
the messenger needs to have accessibility implemented correctly
I have to filter which text blobs are relevant
Using NotificationListenerService
to get the content of notifications for received messages
caveats:
only gets content of messages for which there was a notification
except for their time, there is no order of the messages given
taking screenshots and doing optical character recognition
caveats:
probably insane
When I get the messages, I still have to order them. For this, I think, the accessibility services are my best bet as I could use the date information on screen in most messages, and also their position on the screen.
However, there is still an edge case. As I understand it, accessibility services can only see the content currently on the screen. The user might also use another device to chat while the device with the app installed is powered off. Thus, once the device with the app installed is powered on again, the app might not be able to see the old messages written while the device was powered off (until the user scrolls up again).
Are my assumptions correct? Do you know of a better way for my app to read/sort the messages?

I want to build a local application with interactive maps(ie regional maps with data being displayed when we click on a region)

I want to build a local application with interactive maps(ie regional maps with data being displayed when we click on a region). An example pic is given below. I have to embed data like news events and other things as needed in the interactive map. I know a little Java and Python. How should I proceed with my ideas to create my project?enter image description here
Firstly decide for which platform and OS you want to code. If you are going to code for Android or IOS you could simply use the google maps API and add custom markers to it. The same would be sufficient for an Web-Application, while for PC‘s I would not suggest this approach

how to print from android to receipt printer without any external SDK?

I am developing an application for Point of Sales. In that I want to take print from android mobile to any printer type(only receipt printer / kitchen printer) without using any SDK for particular printer.
Is this possible, or is it possible only by calling cloud Services?
We print to thermal printers via bluetooth. We use the Star printer from Star Micronics. Our users print to these from their tablets when out in the field. It was a bit tricky getting them to work. You're a bit limited in what you can print from an Android device, and it took quite a bit of searching to find something that worked.

Integrate USB POS printer with app from Android tablet

My goal is to integrate a USB POS thermal printer with a small demo Android app that I will using from an Android tablet.
I have two POS printers:
Epson TM-T88III
POS-5870
I also have a Sanei N10 tablet that I am connecting to the POS printer via a USB OTG dongle cable.
I downloaded the USB Host Diagnostic (from Google Play Store) to see if it would recognize the POS printers that I connected to the tablet. It recognized both printers, however the EPSON TM-T88III was recognized on the Android OS level while the POS-5870 was recognized only on the kernel level.
I also tried using the USB Printer Driver 2.1 DevEd app (from the Google Play store), however I couldn't set the any of the printers as the default printer to use.
I also tried using the POS Printer Driver (ESC) app (from the Google Play store), however, it couldn't connect with the printers.
I was wondering if there is any way I can get the POS printers connected to my Android tablet and perform a test print? In addition, is there any SDKs/source code that I can use to detect and perform a test print?
My 2 cents. I did an app that can print from Android(Bluetooth) to a Zebra printer. Bases on our search, it depends more on your printer provider. We couldn't find a "library" that can print to any printer.
That's whay we went for Zebra printers, since they support Android. I'm not sure if Epson does provide Android libraries to use with their printers.
i think the problem with epson api is that it only supports ARMv5TE architecture, I am not sure which tablet you are using, but if the tablet's processor is not ARMv5TE based then I dont think the printers will work, I havent looked at any of the zebra printers, or star for that matter but i assume their apis also must have some limitations in terms of what architecture they support.
on that note Epson should release api for ARMv7 and ARMv8 all variants now as thats those are the latest chips and will be most widely used in the coming months.
As far I know, Epson have specific documentation about SDK API for mobile, you can find it in here EPSON SDK API. They provide useful information about specific device requirement and support printer.

Categories