How to add an expansion file to an app - android

I'm a new app developer and I know the least about Android.
I've developed a Notepad.
I want to keep its installation size minimal and I would like to add options like fonts as an optional downloadable addon.
I do not have any code or logic of how to make that happen, but since I have seen this type of support in a few Android editing apps, it's definitely possible.
I need a full tutorial to help me do that in my application.
Kindly help me out of it.
My Notepad is a simple Note making app based on the tutorials provided by Google and uses SQLite database, it is heavily focused on themes and looks and has a very beautiful note sharing system.
You can check the app here Easy Pad Link

Related

How to create an Auto Clicker app which can click on other apps?

I have seen so many apps that provide auto tapping feature. But they don't provide some specific customization so I decided to create a one. I have seen many tutorials that offers auto tapping, but they are supposed to be used in the same app. But I want to create an auto tapping app that can click on other app's View. I am an intermediate java developer but new to Android studio, so I don't know much about Android APIs. Is there any class or package which can provide this feature. For more clearance, I want to do auto tap, when the color at the specific location on screen, (213, 120) for instance, becomes green.
Thanks in advance!
I am not an expert on the subject, I have experience as a BackEnd developer, I am new to the Android world, just like you I am interested in building an app to automate some farming mechanics in Android games with specific behaviors, so I investigated on the subject and the solution you are looking for is the AccessibilityService API, from Android 8.0 (API level 26) it includes several functionalities to make touches without the need for Root, I leave you links with examples of some open source repos that can guide you.
https://developer.android.com/guide/topics/ui/accessibility/service#continued-gestures (Doc)
https://github.com/nestorm001/AutoClicker (Old and abandoned project, but has the functionality of touches)
https://github.com/pylapp/SmoothClicker (A more mature App but need root, it can be helpful to guide you in how to build the UI)
For the detection in the change of the pixel I still do not have a concrete answer, I keep looking, maybe obtaining a dump of the screen every X time and validate the pixels on that is the way but it is still uncertain if it is the way to go.
Something like How to record screen and take screenshots, using Android API?.
I know that you can get a bitmap dump of the screen if you have the activity, but it's not the case, however some class in the following package may be helpful https://developer.android.com/reference/kotlin/android/graphics/package-summary.
I'm currently working in my own implementation, when I have something to show I will gladly share it.

Android how to create a custom adjustments to an app from apk file?

First I will just say this is only for my personal use and will be used only on my phone.
I saw allot of whatapp custom client (mods) on the internet for an example whatsapp plus.
I am developing on android for some time now but I wasn't enable to fiend the way they does it, the only way that I did manged to accomplish is editing the xml files of the original apk. But the adjustment that i am thinking about requires the code files that I can't get (ofcourse). I have tried to Decompile the apk but I get allot of SMALI files and to make use of them seems nearly impossible.
I wouldn't even bother but the amount of custom apks out there and not just for whatsapp is huge and making it looks relatively easy, Can someone explain how they all do that ?
Sorry if stack-overflow is not the right place to ask this question but my main topic is code devolving so I think it is related..

Dynamic Invoicing/Receipt Reporting tools for Android?

I m a Doctor ,(Ophthalmic) i.e Eye Surgeon learning Android Online out of interest, This is my second question on Stack Overflow & I realize that this is one of the most efficient way of not getting stuck and learn from experienced developers & Move Ahead So thank yo SO.
My Last Question was about android so is this one.
I m making a simple application on mobile in which user is going to store his inventory & client details. Now the next requirement is the user should be able to generate invoices/prescriptions from the application itself.
When i made this application for Desktop using Java & Swing , I had used Jasper Reports to dynamically pass Data from J-Table & Other parameters usin a hashmap and passing it to the jrxml design template which i designed using ireport Designer community.jaspersoft.com/project/ireport-designer.
I want to do the same for android, not that i did not search or try something before asking a question up here. I couldn't find much documentation & Tutorials to do so.
I m new to SO , hence i don't have enough reputation to insert more than 2 links in the questions this i m marking the links bold & italic to be viewed and explored.
This stackoverflow.com/questions/8890340/android-what-are-the-good-reporting-tools-to-design-and-generate-reports-from Question on SO is asking the same thing.
The answer to it is itext & generation of reports over server.
So can we use itext the same way in android as we used in java SE applications ?
Also i have found other alternatives like
itextG : itextpdf.com/product/itextg
Jaspersoft Mobile - Android Sdk : community.jaspersoft.com/project/jaspermobile-android
Regarding itextG or itext-core i did not find too much other one video on youtube and simple documentation but that i guess is just a PDF creating tool, couldn't find any tutorials on it.
Please help me if you find anything more on it.
& Regarding Jaspersoft Mobile, If m not wrong says it uses Jasper Server for creating reports etc. which means its again network dependent so it is time consuming as well as one cannot generate reports offline ?
But I m sure there are solutions available because there are android applications available in market which are generating reports taking data from SQlite. Until and unless they are native apps there is a solution , Please someone help me out with what it is.
The apps on the store are
Invoice2go
Invoice Maker
& Invoice Maker is Remarkably Fast & Effective.
So Summarizing the long story short
Are there an easy to use offline reporting tools available for android and ios development with documentation & Tutorials to follow ?
Can we itext simply the same way we use it in Java applications?
There's a new standard for e-invoices. It's called ZUGFeRD and you can find more about it here. As you can see, there is a whole book in the works on how to create invoices with iText. The book isn't finished yet (although you may get an unrevised draft if you mail iText Group directly), but the examples can already by consulted here.
The idea is that you implement one of the following interfaces:
BasicProfile
ComfortProfile
If you implement the Basic profile, you can create the ZUGFeRD XML automatically, but you still have to write code to create your invoice. If you implement the Comfort profile, the ZUGFeRD XML contains all the necessary info to create the invoice. In chapter 5 of the book, we convert the XML to HTML using XSL. In chapter 6 of the book, we convert that HTML to PDF. That's a very powerful way to create invoices that (1) are future proof, (2) can be accessed by machines in an EDI context, and (3) are accessible for the blind and the visually impaired (Section 508).
iTextG is an Android port of iText. If you have iText code to create invoices in a Java environment, you can use the same code with iTextG. However: I would never create invoices on a mobile device. I would have the mobile device connect to a server where the invoices are created in a secure way.

Android Simple application development question

New to the group and new to Android development. At our site we are starting to look into Android application development and as I have the most programming background here I have been tasked with learning to develop on Android.
My programming background includes RPG and CL, (AS/400), Pick DataBasic, Paradox ObjectPal, Basic in a variety of flavors, (of course), a little C and C++, Comal, a little dabbling in Visual Basic and AutoIt scripting language. I have worked a lot in Oracle, Informix and some MS-SQL.
I have installed and configured Eclipse and the Android SDK.
I have an idea for what I think would be a fairly simple application to get my feet wet as it were.
We have a variety of documentation that is in PDF and Epub.
I would like to create an application where the APK contains all the specified documentation for a given application with the following criteria. When the user installs the APK file it would do the following:
Create a folder on the SD card called SystemDocs,
Create a subfolder under System Docs for the a given system say Accounting for example
Create two subfolders under accounting one for PDF files and one for Epub documents
Check to ensure that the user has a suitable application installed for reading PDF and Epub documents and if not find it on the Android Market and ask the user to install it.
Copy the Epub and PDF documents to their respective folders
Exit
Based on the above I was looking for some recommendations as to where to go from here. I am the type that likes to just dive in and start trying to write something useful as opposed to the
10 For x = 1 to 10
20 Print “My First Basic Program”
30 Next X
40 End
Kind of thing. Any thoughts, advice, recommendations, or example code would be greatly appreciated.
Cheers,
Gordon
I would suggest visiting the following link:
http://developer.android.com/resources/index.html
One nice thing about a few of the tutorials, is that they give you base code to start with, and have you add in extra information. This is nice because it cuts out some of the repetitiveness, yet if you wanted you could still type it all yourself.
After that if you have questions, stackoverflow is a great place to get advice on code or any troubles you may have.
Other than that, searching google for tutorials (or blogs that main contain tutorials,) and I'd even recommend youtube. Good luck with your ventures!

projecting / starting medical information app on Android

I would like to create a custom open source information management application, that I could adapt to practical needs of a psychiatrist. (and also would really like to avoid inventing the wheel). Could someone advise me what would be a good way to start? I have some amateur programming experience (see below), but I have little experience with java and eclipse (which I have set up with Android SDK plugin on my linux PC).
What I would like to achieve is a simple app where I could relatively easily re-program/rearrange information presenting screens. I would like the major development stages to be something like:
Basic framework of the app is done Main information is added
through the programming environment
basic formatting (bold, color, lists) should be supported
I imagine this would be through HTML/CSS markup Hierarchical (not
too deep) screens with concise information about conditions,
treatments; easy, not too cumbersome navigation is a must.
Possibility to attach own notes from android device
on every piece of information (e.g. on medical condition, on medication,
list of differential diagnoses, etc)
A desktop application that allows for easy adding and editing
of the content
initially could be even sqlite manager or something similar
possibility for adding images,
possibility to add rating scales, which would calculate scores
maybe also possibility to print through some android print driver
* in essence I envision this as a sort of an integrated website with a relatively simple database behind it (sqlite?) running on android. My models would be epocrates and medscape apps, but the content would be more specific to everyday psychiatric practice. It would include aspects of psychological therapies as well.
In about a years time, I think, the content would be interesting enough to see whether the app should go on the market.
My (limited) experience:
I am a MD - a Psychiatrist. I have some amateur development experience (php, html, css, Perl, bash, sed, sql, Access and some time ago - AS/400). I would like to start an app that I could modify as I go - in order to have the most useful info at my fingertips, when I need it in my work. I have considered some databases (e.g. HandDB) but my experience with them is that you get very constricted with their user interface and this hinders fast information retrieval when you need it. Adding information can be clumsy as well.
Why I am asking for help here
Most of tasks above seem pretty standard. I imagine that people with lots of programming experience here, probably would be able to point me towards some information that would help me to get started.
Many thanks for considering this :)
Are you going to develop this app? Everything you mentioned can be easily done by reading the android documentation. Although if its you doing the coding i recommend buying a book
You will find a lot of samples and other support in the android doc
Printing can be also setup using Google Cloud print
If you want to open source your application you can always use google code.
You have asked a really broad question here. But i guess the above information is good to get you started.

Categories

Resources