How to run java application at boot time - General Topics

Hi
I have created an APK to my java application and installed it on my device
i have two questions
1. How can i run application at startup, do i need to use RECEIVE_BOOT_COMPLETED or is there another way can someone post an example
2. After i installed the application where are the file located
thank you

Related

[software search] programe link creator

Hi everybody,
I'm looking for a software or a "how to" to create a link for an application witch doesn't appear in the program liste.
For example, an application has been installed on the card and my ROM has been flashed or I put a simple "exe" application with no installer somewhere. I can launch it with the explorer but I can not use HTC launcher (HTC home) because the application doesn't appear in the known program list.
What file should I edit to make a program appear in "official" programm list of windows?

[Q] android sdk noobie question

Hi folks,
First time poster.
Just have some basic questions.
1. After running adb shell and closing the terminal, adb.exe is left running in task manager in windows. Is it best practice to kill it before closing the terminal?
2. I ran sdk setup.exe and it installed/updated some stuff but I don't see any
entries in add/remove programs. What is the best way to uninstall the sdk?
3. Does the updates install only inside the sdk folder contents since I don't see any traces of the sdk anywhere else?
Thanks for your help.
watatek said:
Hi folks,
First time poster.
Just have some basic questions.
1. After running adb shell and closing the terminal, adb.exe is left running in task manager in windows. Is it best practice to kill it before closing the terminal?
2. I ran sdk setup.exe and it installed/updated some stuff but I don't see any
entries in add/remove programs. What is the best way to uninstall the sdk?
3. Does the updates install only inside the sdk folder contents since I don't see any traces of the sdk anywhere else?
Thanks for your help.
Click to expand...
Click to collapse
1) It shouldn't matter. If you start adb again, it will start the service.
2) As far as I can tell, the sdk is all contained in one folder. Just delete the whole thing to 'uninstall' it.
3) Yes. Unless I'm missing something.
Thanks for the tip.

[Q] How to create shortcuts to any Android app?

Hello,
1. Can we launch Android apps with a command line like in the MsDOS terminal Windows: "notepad.exe" ?
1.a If yes, can we use parameters like: "notepad.exe memo.txt" ?
2. What is the language to use in a terminal emulator Android apps, is it Linux?
My goal is to create shortcuts (icon on a screen) launching a direct-call for apps like: Viber, MobileVOIP.
An icon shortcut like: "viber.apk -call +41791234567" to call this number with Viber.
How to do this? Is there an app that can create those kind of shortcut?
3. Is .APK the extention of executable file in Android SmartPhone?
3.a Can we launch a standalone executable app on Android , without installing it?
Thanks in advance and regards.
sam.z said:
Hello,
1. Can we launch Android apps with a command line like in the MsDOS terminal Windows: "notepad.exe" ?
1.a If yes, can we use parameters like: "notepad.exe memo.txt" ?
2. What is the language to use in a terminal emulator Android apps, is it Linux?
My goal is to create shortcuts (icon on a screen) launching a direct-call for apps like: Viber, MobileVOIP.
An icon shortcut like: "viber.apk -call +41791234567" to call this number with Viber.
How to do this? Is there an app that can create those kind of shortcut?
3. Is .APK the extention of executable file in Android SmartPhone?
3.a Can we launch a standalone executable app on Android , without installing it?
Thanks in advance and regards.
Click to expand...
Click to collapse
Android is a Linux operating system. If you are unaware of this search through Google. There are lot of things you need to know before coming into your other questions. Also emulator in android is just the same as Linux command prompt and uses Shell Scripting. You can have scripts that can be run through Script manager apps. I am not that familiar with scripting. Search through Google or forum. you will find your answer.
Also if you find any solution to your problem. Please share.. Myself and others can make use of that. All the best. :good::good:

[Completed] Integrate Android emulator to App for .exe

Hello!
I wanted to ask if it is possible to integrate an Emulator in an apk file or an App to make a .exe file.
Like Bluestacks for example. I don't want to run the app through the emulator, i want that the Emulator is build in the EXE file.
It must be possible, but how? If BlueStacks can almost emulate any App, it must be possible to build the emulator directly into the .exe file.
Hi
It is not possible . Bluestacks is a runtime which enables you to run android apps. Similar to JVM.
Please post in General Section if you want to engage in a discussion with others
http://forum.xda-developers.com/general/general
Good day !

[GUIDE] I will show you how to have multitouch with App Inventor 2

I have seen that there are a lot of questions on how to be able to multi touch in App Inventor 2. As you may know already, App Inventor 2 does not support multitouch natively. But you can use a workaround so that your app will have multitouch capabilities in the final .apk.
This method will work for 2 or more different objects such as 2 buttons, 2 canvases, 2 sliders etc. It will NOT work for the same canvas.
What you need:
1. An App Inventor 2 project with at least 2 buttons, canvas, sliders etc
2. AppToMarket_v32 (the most recent at this moment of posting): https://code.google.com/p/apptomarket/downloads/list
Steps:
1. After you have created your app, build it and save it to your computer in .apk format
2. Download AppToMarket_v32, extract the files from the archive and place it somewhere you will find it easily
3. In the AppToMarket folder, open runMeWindows_v32.bat, This will open a command window that will then open the program.
4. Once you have the app open, enter whatever you want in the Certificate Details tab, then click "Generate"
5. Go to the next tab (De/Re compile and wrap-up), click "Browse" and point the path to your apk, then click "Decompile"
6. In the "Features" menu below, change the "Min SDK Ver" to 5 and "Target SDK Ver" to 11. If you don't want your app to be resized, change the slider to "Normal"
7. Click on the "Update Manifest" and "Create New .apk"
8. DONE! Your new apk is in the same folder as your old one, but with the name changed (apkname_new.apk)
If you want, I can make a youtube video with step-by-step instructions on how to do everithing I said above. Just say it in the comments.
.APK can't be decompiled
I have a problem:
When I press "decompile", I get the error "ERROR: Unable to decompile your .apk file". I tried downloading it again from the App Inventor page, but it gave me the same error over and over again. Does anyone know how to fix this?
Are you sure you have generated and saved the certificate details? Try and put other detailes there and click generate, it doesn't matter what you write there as long as you don't plan on selling the app on the market. Also, is your path to the apk file correct?
hi, thanks for the guide, but i have a problem, when i try to install the new apk in my android, i have a error, in the package analisys.
i read that downloading from drive was tha solution but not, i still have the same error, i try to install the apk of app inventor to be sure, and this apk install without problems.
do you have any idea of the solution for this problem?
thanks a lot for your help.
sorry for my english
Hi, sorry for responding late. Try signing the apk after you create it (there is a button which says Sign Apk in the right)
Hi!
I have followed the steps of the guide (thanks for it!), but I had a problem while modifying the SDK version. Using the fields for Min SDK Ver and Target SDK Ver adds nothing to the manifest, so I tried writing it by hand:
I've tried to edit the manifest with AppToMarket as indicated in Gareth's post and other guides I've found, but when I add the line <uses-sdk android:targetSdkVersion=11 /> AppToMarket gives and error while rebuilding the APK and doesn't create the new file. I added this to the manifest file:
...
<uses-sdk
android:minSdkVersion=5
android:targetSdkVersion=11 />
</manifest>
But when I add this, AppToMarket shows an error while creating the new .apk (no more info, just says there has been an error).
There is another issue. No matter which size I put on the slider, it always resizes my app...
Any idea about why is this happening and how to fix it?
Thank you !
AlexKapa said:
I have seen that there are a lot of questions on how to be able to multi touch in App Inventor 2. As you may know already, App Inventor 2 does not support multitouch natively. .
Click to expand...
Click to collapse
Dear friend,
Thank you for your tutorial. But, can't install the app. "Invalid application, Stop Installation". :crying:
I'm using the "App to Makert V4.0". I can't find the "32 version" , seems "deleted" . My smartphone for test has the android version: 4.1.2 and Kernel 3.4.0.
Thank you.
I have followed the steps of the guide and installed to my smartphone successfully.
But it still can't multitouch two canvas at the same time.
What is the problem may happened?
two canvas
shihchieh said:
I have followed the steps of the guide and installed to my smartphone successfully.
But it still can't multitouch two canvas at the same time.
What is the problem may happened?
Click to expand...
Click to collapse
Hello ! I have followed the steps too, and no multitouch on two canvas. Did you found the solution ? Thanks.

Categories

Resources