Related
Hello!!
I am developing an application for internal company use. Is there any way to perform automatic updates, without having to publish the application in the Android Market?
I think you're referring to a push-notification-type update. You should look into the process that Koush's clockwork mod uses for ROM updates.
Sent from my T-Mobile myTouch 3G Slide using XDA App
You could have the application check a website for updates periodically, then if there is an update download the .apk and then prompt the user to install it.
Might want to talk to your Networking group; they usually have a way to automatically update network computers with new software (e.g. virus scanner updates, Windows updates etc.) Maybe they could help with an automated script for the apk install.
I have a brand new AT&T Tab and need assistance. I am able to install non-marketplace apps using Sideload Wonder Machine however I have an interesting problem. I have an app (Lotus Notes Installer) that itself downloads another app and tries to install it but I get the dreaded "For security, your phone is set to block installation of applications not obtained from Android Market" message.
I have installed and run z4root and did a temporary root and also installed Superuser and Busybox and I still get the block message.
I am an Android newbie and don't know exactly how to proceed.
Thanks,
Richard
Hey Richard,
I had the same type of problem you did with my AT&T SGT. I also used the Sideload Wonder Machine. Here is link for my situation. http://forum.xda-developers.com/showthread.php?t=914697
Lotus Note Installer app downloading and installing another app? I have not hit that kind of hurdle. Can you get your hands on the apk that Lotus Note Installer is trying to download and install? Maybe you can istall that through sideload wonder machine?
w4rmk said:
I have a brand new AT&T Tab and need assistance. I am able to install non-marketplace apps using Sideload Wonder Machine however I have an interesting problem. I have an app (Lotus Notes Installer) that itself downloads another app and tries to install it but I get the dreaded "For security, your phone is set to block installation of applications not obtained from Android Market" message.
I have installed and run z4root and did a temporary root and also installed Superuser and Busybox and I still get the block message.
I am an Android newbie and don't know exactly how to proceed.
Thanks,
Richard
Click to expand...
Click to collapse
This may be a stupid question, but have you set your Tab to allow installing of non-market apps? It's in Settings - Applications - check 'Unknown sources'
I do not see an option in my settings for "allow unknown sources", here's what I have:
Settings>Application
Manage Applications
- this doesn't appear to have any options for unknown sources settings
Running Services
- this is only for stopping running services
Development
- only options here are USB debugging, stay awake, allow mock locations
Am I missing something? or did AT&T remove the option from recently shipping tabs? (got mine yesterday)
I was able to sideload the Notes Installer, but once on the Tab, that application connects to the corporate server and attemtps to install another application on the Tab and that is where I get stuck.
Use SuperOneClick. This tool not only allow rooting but has option for allowing install of non-market apps. Simply select that option and it will update your systems settings to allow installs from other than market - sd card, web, etc. I am also using AT&T tab and this worked for me. Note it does not add the menu option of "allow apps from unknown sources" but trust me it works.
Sent from my SGH-I987 using XDA App
I installed the new firmware that allows me to make phone calls using the great instructions provided in theis forum and that resolved my issue and now i can install the Lotus Notes app with no problem. I am really liking the new O/S, it seems a little snappier than the the AT&T one.
w4rmk said:
Am I missing something? or did AT&T remove the option from recently shipping tabs? (got mine yesterday)
Click to expand...
Click to collapse
You missed nothing - this is just another retarded AT&T carrier customization that they do on all their Android phones (AFAIK!).
Regards,
Dave
Yup, AT&T has removed the "install non-market apps" menu option from their retail Tabs. Very sad that they do that to their customers. I will say the I like their approach to selling the Tab, you pay the retail price and their is no contract to worry about and if you want data you pay on a month-to-month basis, exactly like they do with the Apple iPad. I cannot image getting a subsidized Tab from T-Mobile and getting stuck with a 2 year contract. In this market nobody keeps a phone or tablet for 2 years, it would be a dinosaur by then.
I found solution to rename .xap to .zip and be able to edit .xap but It's not working. Probably new .xap's are encrypted. Any solution? Is there any tool for decompile?
XAPs themselves are still regular ZIP-Files. They get encrypted when they are uploaded to the Marketplace. Therefore you seem to try to crack Software downloaed from the Marketplace. There is currently no known way to make this happen.
If you have a developer-unlocked device, I thought you could sideload unsigned/self-signed xap files? I'm new to this whole Windows Phone thing though. I still need to set up a dev box with Windows 8 on it so I can write apps!
compu829 said:
If you have a developer-unlocked device, I thought you could sideload unsigned/self-signed xap files? I'm new to this whole Windows Phone thing though. I still need to set up a dev box with Windows 8 on it so I can write apps!
Click to expand...
Click to collapse
Side-load? Sure. If you have an SD card slot on your device. Be aware, that the device will still contact the store to double check the file, so you won't escape payment like this.
You need a Windows 8 PC to develop apps, and those you will be able to side-load once you get your phone registered. (Check this), but since browsing the file system is currently not possible, you still won't be able to access the side-loaded app.
The process to put Apps on the phone is like this:
1 XAP uploaded by Dev to the Store
2 XAP gets precompiled and encrypted
A3 XAP gets downloaded from the Store on the Device
or
B3 XAP gets downloaded from the Store Homepage and put on SD Card
B4 XAP gets selected for install from SD Card inside the Device
B5 Store is contacted to check the App license
6 device decrypts XAP
7 device installs App
So you can't decrypt Apps that have been downloaded from the Store. The whole key Management is currently only done on the device and to my knowledge not broken.
There is another path for App Installation if you have a developer unlocked device.
1 Write App
2 Package App in XAP file (this XAP is unencrypted and can either be uploaded to the Store where it would get encrypted or)
3 Deploy XAP to the unlocked device
4 Device accepts unsigned XAP due to developer unlock
5 App is installed
There are Tools that allow you to Access the Isolated Storage of Apps you have deployed using the developer unlock (look for Apps like the Windows Phone Power Tools). You can not deploy XAP files that are encrypted using that way though (protection against piracy).
I know all this tricks, and I'm using xap deployer to deploy xap and all of that.
I just want to know is here any way to hack or crack some xaps? Is here any black market to download cracked xaps?
so you said no way to extract XAP from Store. :/
No there isn't. But if you're looking for Warez you're at the wrong address anyway.
StevieBallz said:
No there isn't. But if you're looking for Warez you're at the wrong address anyway.
Click to expand...
Click to collapse
I found application that can recompile installed app back to .xap with no encryption.
But I can't install that excavated app.
cro.dev said:
I found application that can recompile installed app back to .xap with no encryption.
But I can't install that excavated app.
Click to expand...
Click to collapse
Since you have made it abundantly clear your out for things you haven't paid for, you should leave.
Sent from my Arc using xda app-developers app
Discussion of warez and piracy is not allowed on xda developers.
Thread closed.
Hallo all. As we all know a few days ago we are able to upgrade our wp8 devices to gdr3 preview using Preview for Developers XAP from Store. I was waiting to see if anyone would give an idea about Interop unlocking using that app but nothing, so I m giving.
When you install XAP and check the box, application edit one line in registry, exactly HKEY_LOCAL_MACHINE\SYSTEM\Platform\DeviceTargetingInfo\
We already have XAP content uploaded here by @WithinRafael
When I make it XAP and want to install it on my HTC 8s show me error, probably because this is ATIV S version.
The basic idea would be if we could remake the application and make that instead of the this registry, change one other for unlocking. Maybe we will have permission if that is possible to remake. Tell me if I m wrong, maybe I am because I m new here. I just want to share this with you.
The problem is that the xap requires interop-unlock to be able to sideload it. That's why you can't deploy it back to your 8S. When things get delivered from the store, they are processed differently and are inherently "trusted" vs when you sideload an app on a dev-unlocked device. Another example of this is Microsoft's native Youtube app...If you install it from the store, it works fine. If you try to sideload a decrypted version of the xap, it fails to load because it uses "ID_CAP_MEDIALIB_PHOTO_FULL", which is not available via normal dev unlock.
Yep! App from Store can have ANY CAPs, cause those are checked by MS.
Sideloaded apps on DevUnlocked phone can have any of the 3rd party CAPs.
Sideloaded apps on InteropUnlocked phone can have any of the 2nd party (OEM) CAPs.
Sideloaded apps on RootUnlocked phone can have any of the 1st party (MS) CAPs.
I prefer to call it "capability unlock rather than "root unlock" simply because we don't yet have "root" permissions for most purposes, but the point stands. And I'm working on that permission issue!
Hi Folks, Hopefully this is the right place for this thread. I don't get over here very often so I'm guessing right now.
I wrote an app for my phone (Sprint Galaxy SIII) in Eclipse to control a IOIO (not terribly important to know for this question). I run the app in the emulator and it fires up just fine, but when I run it on my phone (with supposedly the same settings as the emulator--Android version, AP level, etc) it crashes on startup, saying "Unfortunately, <My App> has stopped".
Since it works in the emulator I can't track LogCat to check for errors, so I have no idea where to start looking for the cause. It only crashes on my actual device. My questions are as follows:
1) What would cause an app to work in the emulator but fail to start up in a device with (supposedly) the same settings?
2) Where can I go to look for errors on my phone (if possible) that might point me to the problem?
Thanks!
Matt
DerStrom8 said:
Hi Folks, Hopefully this is the right place for this thread. I don't get over here very often so I'm guessing right now.
I wrote an app for my phone (Sprint Galaxy SIII) in Eclipse to control a IOIO (not terribly important to know for this question). I run the app in the emulator and it fires up just fine, but when I run it on my phone (with supposedly the same settings as the emulator--Android version, AP level, etc) it crashes on startup, saying "Unfortunately, <My App> has stopped".
Since it works in the emulator I can't track LogCat to check for errors, so I have no idea where to start looking for the cause. It only crashes on my actual device. My questions are as follows:
1) What would cause an app to work in the emulator but fail to start up in a device with (supposedly) the same settings?
2) Where can I go to look for errors on my phone (if possible) that might point me to the problem?
Thanks!
Matt
Click to expand...
Click to collapse
Only log could tell you the possible reasons.
Install catalog and look for the error log
Sent from my A0001 using Tapatalk 2
Vivek_Neel said:
Only log could tell you the possible reasons.
Install catalog and look for the error log
Sent from my A0001 using Tapatalk 2
Click to expand...
Click to collapse
Thanks Vivek_Neel. I tried a couple of log viewer apps but they all require superuser access for use on Android 4.1+. I forgot to add it to my profile, but I currently have a Galaxy SIII running Android 4.4.2.
Any other suggestions? I'd rather not root my phone if I don't have to.
Thanks,
Matt
DerStrom8 said:
Thanks Vivek_Neel. I tried a couple of log viewer apps but they all require superuser access for use on Android 4.1+. I forgot to add it to my profile, but I currently have a Galaxy SIII running Android 4.4.2.
Any other suggestions? I'd rather not root my phone if I don't have to.
Thanks,
Matt
Click to expand...
Click to collapse
Running the app on your phone with it plugged in to a pc and eclipse open should mean that eclipse catches the log, no root access needed, you would need to allow adb debugging though. If it doesn't work with eclipse I know for definite that it works with Android Studio.
Jonny said:
Running the app on your phone with it plugged in to a pc and eclipse open should mean that eclipse catches the log, no root access needed, you would need to allow adb debugging though. If it doesn't work with eclipse I know for definite that it works with Android Studio.
Click to expand...
Click to collapse
Eclipse doesn't seem to recognize my phone. It only brings up the emulator as an available device. Perhaps I should dig more into the cause of that first. You're saying if I load the app on my phone while connected to the PC it'll still show up in the logcat? That would be a huge help if that's the case!
DerStrom8 said:
Eclipse doesn't seem to recognize my phone. It only brings up the emulator as an available device. Perhaps I should dig more into the cause of that first. You're saying if I load the app on my phone while connected to the PC it'll still show up in the logcat? That would be a huge help if that's the case!
Click to expand...
Click to collapse
It should do - worked this way around a year ago when I was using eclipse myself before jumping ship to AS.
You might want to handle uncaught exceptions and either debug, write to a file or what ever is the best way for you.
You can see an implementation example for handling uncaught exceptions here: http://stackoverflow.com/questions/8943288/how-to-implement-uncaughtexception-android.
Please note that some crashes are not caught using this technique so you'll need to use the above mentioned methods to view logcat.
If you have root on your device, install a logcat viewer application. most likely that filtering the display by your package name (or parts of it) we'll lead you to the error cause.
Thanks everyone for the help, I have found the solution. Eclipse wasn't recognizing my phone because apparently the driver was no longer installed (I thought I had installed it a long time ago, but that must have been on my laptop--I'm on my desktop now). I installed it and Eclipse found the phone no problem. I loaded the app while watching LogCat and found the following:
java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10211 nor current process has android.permission.BLUETOOTH.
Click to expand...
Click to collapse
Well that was embarrassing! Added the Bluetooth permissions to the app et voila! The app works just fine.
Thanks for your time!
Matt
DerStrom8 said:
Thanks everyone for the help, I have found the solution. Eclipse wasn't recognizing my phone because apparently the driver was no longer installed (I thought I had installed it a long time ago, but that must have been on my laptop--I'm on my desktop now). I installed it and Eclipse found the phone no problem. I loaded the app while watching LogCat and found the following:
Well that was embarrassing! Added the Bluetooth permissions to the app et voila! The app works just fine.
Thanks for your time!
Matt
Click to expand...
Click to collapse
:laugh::laugh:
Haha glad you got it sorted!