[Q] How to require another app to launch an app? - Android Q&A, Help & Troubleshooting

Hi every body!
I have a question that How to require another app to launch an app?
When I launch an app, it will show if the required app installed. If the required app haven't installed, it will show a button with a link to download the required app
For example: I launch POWERAMP FULL VERSION UNLOCKER, it will require POWERAMP TRIAL VERSION. If it has installed, it will show everything OK, if it hasn't installed, it will show "You haven't install POWERAMP TRIAL VERSION, CLICK HERE TO DOWNLOAD TRIAL VERSION"
Please instruct me, step by step and detailed
Thanks for reading...

Simple. It's a license key file. A wrapper to the real app

Yeah I want to make a license file. Can you instruct me how to make the file and insert the code to an app?
worf_1977 said:
Simple. It's a license key file. A wrapper to the real app
Click to expand...
Click to collapse

You should ask app developer, not mine.
Each application is coded differently, and thus they can't adhere to usual coding techniques.
Hope you'll understand

Related

Download from zune market on any country

Yeap thats right! I confirm that it works just fine..In Cyprus is not Official yet but we can make it work here and of course on any country thanks to the guy who made it!
here's how it goes:
First download and install the free Zune software from Microsoft.
Having done that, click on the Start button or orb and in the search box type regedit and hit Enter. This will open the Registry Editor.
Navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Zune\Features
Here double-click on Marketplace – you will see the codes of the following countries:
AT,AU,BE,CA,CH,DE,ES,FR,GB,IE,IT,MX,NL,NZ,SG,US
You will see the same value data for Apps and SignInAvailable too.
Now one after the other, in each of these three – Marketplace, Apps, SignInAvailable, modify the value data, by adding your Country code.
I just write CY (Cyprus)
It should now look like this:
AT,AU,BE,CA,CH,DE,ES,FR,GB,IE,IT,MX,NL,NZ,SG,US,CY
Exit regedit.
NOW connect your Windows Phone to your Windows Computer.
Your Zune software will automatically start and you will be alerted with a following message:
FEATURES HAVE CHANGED!
Click OK.
You will see the Marketplace tab too now, in your Zune software.
Here not only can you download Free apps, you can also BUY the Paid apps, legally!
Select the App you want and click on the FREE button to install it. If its a Paid app, you can choose to Try it first or Buy it directly.
There is one hitch. The next time you connect your Windows Phone, you may not see the Marketplace option. This means that you will have to modify the registry every time you connect it. I have therefore created this registry file which I first double-click on, to add its contents to my Windows registry, and then connect my Windows Phone to my Windows 7 computer.
ALSO CHECK WP7 MARKET PLACE ENABLER:
Do note that, you may have to first run the Enabler, before, every time you connect your Windows Phone.
works like a charm!!!!
arkatis said:
Yeap thats right! I confirm that it works just fine..In Cyprus is not Official yet but we can make it work here and of course on any country thanks to the guy who made it!
here's how it goes:
First download and install the free Zune software from Microsoft.
Having done that, click on the Start button or orb and in the search box type regedit and hit Enter. This will open the Registry Editor.
Navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Zune\Features
Here double-click on Marketplace – you will see the codes of the following countries:
AT,AU,BE,CA,CH,DE,ES,FR,GB,IE,IT,MX,NL,NZ,SG,US
You will see the same value data for Apps and SignInAvailable too.
Now one after the other, in each of these three – Marketplace, Apps, SignInAvailable, modify the value data, by adding your Country code.
I just write CY (Cyprus)
It should now look like this:
AT,AU,BE,CA,CH,DE,ES,FR,GB,IE,IT,MX,NL,NZ,SG,US,CY
Exit regedit.
NOW connect your Windows Phone to your Windows Computer.
Your Zune software will automatically start and you will be alerted with a following message:
FEATURES HAVE CHANGED!
Click OK.
You will see the Marketplace tab too now, in your Zune software.
Here not only can you download Free apps, you can also BUY the Paid apps, legally!
Select the App you want and click on the FREE button to install it. If its a Paid app, you can choose to Try it first or Buy it directly.
There is one hitch. The next time you connect your Windows Phone, you may not see the Marketplace option. This means that you will have to modify the registry every time you connect it. I have therefore created this registry file which I first double-click on, to add its contents to my Windows registry, and then connect my Windows Phone to my Windows 7 computer.
ALSO CHECK WP7 MARKET PLACE ENABLER:
Do note that, you may have to first run the Enabler, before, every time you connect your Windows Phone.
works like a charm!!!!
Click to expand...
Click to collapse
Thanks for the post but when i went there, at the last phase i couldnt find features or it was a mistake from your post ? Just curious because all i saw was the rest in this form HKEY_CURRENT_USER\Software\Microsoft\Zune\ the features folder WAS missing from my registry editor ? can you help ?
zinty said:
Thanks for the post but when i went there, at the last phase i couldnt find features or it was a mistake from your post ? Just curious because all i saw was the rest in this form HKEY_CURRENT_USER\Software\Microsoft\Zune\ the features folder WAS missing from my registry editor ? can you help ?
Click to expand...
Click to collapse
Agreed ,same issue bro... please help
no features in zune folder here as welll
yes same problem, kindly respond
You can download free apps only, you can't buy paid apps.
Because you have to register a credit card that was issued from a country which already supported WP7
I've been into this before
Thats strange guys... I have the Features folder in the registry!
Try and add it by yourselves.. Try to sign in into Zune...let it update and then close it in order to make this tweak! If you still can not find it please create the values in regedit! Go to regedit then HKEY_CURRENT_USER\Software\Microsoft\Zune\ and create a key inside Zune...Now call it Marketplace and then open it..Now on the right side just create a string value and put inside you country code... Try reopen Zune...
Have you tried the MARKET PLACE ENABLER????
arkatis said:
Thats strange guys... I have the Features folder in the registry!
Try and add it by yourselves.. Try to sign in into Zune...let it update and then close it in order to make this tweak! If you still can not find it please create the values in regedit! Go to regedit then HKEY_CURRENT_USER\Software\Microsoft\Zune\ and create a key inside Zune...Now call it Marketplace and then open it..Now on the right side just create a string value and put inside you country code... Try reopen Zune...
Have you tried the MARKET PLACE ENABLER????
Click to expand...
Click to collapse
I had the same problem but I did the market place enabler first but it returned a message that some features may not work. It went on run and I saw the message FEATURES HAVE CHANGED. I connected my phone but didn't see the market tab. I'm still trying.
However, I checked the Regedit and this time the features folder was there and my country already added! I didn't have to enter it.
Market place enabler will do the trick! try and download a free application and tell me if it's working!
bjkizito said:
I had the same problem but I did the market place enabler first but it returned a message that some features may not work. It went on run and I saw the message FEATURES HAVE CHANGED. I connected my phone but didn't see the market tab. I'm still trying.
However, I checked the Regedit and this time the features folder was there and my country already added! I didn't have to enter it.
Click to expand...
Click to collapse
ok, it now works. The trick/(s)? I logged off my pc and signed in as adminstrator. I run the market enabler without issues this time, connected my phone, zune lauched automatically and viola! market place tab is there for me to start exploring. I have that belief though that we will not be able to buy cos the credit card will tell the region from which you are and return errors but who in the first place thought we'd have windows 7 on this hd2? That is therefore small a problem that I know someone on xda will solve some day...thanks
Glad it worked for you also bro! You can now download free applications with no problem at all!
I haven't checked the paid apps because i never buy anything! LOL!
Good luck!
Do note that, you may have to first run the Enabler, before, every time you connect your Windows Phone.
arkatis said:
Glad it worked for you also bro! You can now download free applications with no problem at all!
I haven't checked the paid apps because i never buy anything! LOL!
Good luck!
Do note that, you may have to first run the Enabler, before, every time you connect your Windows Phone.
Click to expand...
Click to collapse
Free Apps -------------- |x|Check
Paid Apps -------------- | | How to buy them if you can't even register your cc ?
Some people reported that this method works on free and paid apps.. But i will not risk it to buy anything! Free apps are still good!
hmm i cannot seem to get this working, it is stuck at accepting terms, the finish button is "greyed out" can only press cancel.
--__-- said:
hmm i cannot seem to get this working, it is stuck at accepting terms, the finish button is "greyed out" can only press cancel.
Click to expand...
Click to collapse
same to me
no luck here
To activate features, create a new Key at HKCU\Software\Microsoft\Zune named "FeaturesOverride", then create DWORD (32-bit) values inside the key "FeaturesOverride" with the following names, "Marketplace" and "SignInAvailable" setting their value to “1” to turn them on.
I tryed ewerything and still cant go to market place. It keeps saying
``marketplace is not available in your country/region.``
if someone can help me i appreciate
regards
i did everything, but when i try to download an free up, it forces me to sign in, but i don't have a zune account and nor can i create one in greece i use my hotmail and a blank terms and conditions page appears. no matter what i press, i get the same error: can't submit your acceptance....blah blah blah check your internet connection. oh, and when i try to create an account directly from the program after i enter all the info, it will simply get stuck at the final 'signing in' part. if i click finish, it'll be as if nothing happened!!
peter768 said:
i did everything, but when i try to download an free up, it forces me to sign in, but i don't have a zune account and nor can i create one in greece i use my hotmail and a blank terms and conditions page appears. no matter what i press, i get the same error: can't submit your acceptance....blah blah blah check your internet connection. oh, and when i try to create an account directly from the program after i enter all the info, it will simply get stuck at the final 'signing in' part. if i click finish, it'll be as if nothing happened!!
Click to expand...
Click to collapse
Man i will give you a simple solution! If in Greece you can't get Market place to work and you dont have an account just listen to this!
Register on Zune and make a new account...Write your hotmail and on postal code just go to Google and write "USA Postal codes"... Copy a postal code from there and paste it in Zune and you will have a US account ready to sign in! I use the Market place just fine!
here you are...postal codes:
http://www.geonames.org/postalcode-search.html?q=&country=US

[Q] Developing a non-market App with updates

Hello all,
I'm a developer (with less experience) for a company which is developing an app which will be side loaded on devices which are to be distributed. I've read about, and tested some methods with linking Android Market apps to sideloaded apps, provided they have the same signature and .apk file name, but our company does not want market exposure for this app.
My idea is as follows:
1. App checks an ftp server running in some location for a file with version info to see if the current version matches the version on the device.
2. App downloads .apk and relevant data to device
3. App then triggers some sort of "update" which will install the new .apk and replace the necessary data.
Alternatively, what is typically done in this instance when someone wants to update a non-market app? The Amazon App store is an example of a non-market app which updates itself, so I know it's been done before.
How does one go about writing a class which will update the app that it's currently running in? Are there any tutorials or code walk-throughs for this?
Any help from fellow developers is appreciated.
Look at this links:
http://stackoverflow.com/questions/...o-automatically-update-application-on-android
http://stackoverflow.com/questions/2631255/ideas-for-android-application-update
Thank you for the links - I've been toying with code since then.
But wow, it seems there is very little information out there about this . . .
If you don't want to maintain you own update server, you may try this: auto-update-apk.com
Android client is open-source under Apache 2.0 license, so you may see how it works and make any changes, if necessary, before incorporating into your own project or using it as a starting point of your project.

[Q] “Parse Error : There is a problem parsing the package”

I have an older version Player Pro(2.2).When I try to upgrade it to the latest version using another .apk file of version 2.3,it gives this error“Parse Error : There is a problem parsing the package”.I cannot update it from the android market as I have not purchased the app.Any idea why is this happening?
i get this same error with other apps i try to install...particularly when i know the app isnt for my device....ima google it
I don't think a site made for developers will want to help you fix a problem with a pirated app. If you really like it that much, buy it, it's not like it costs a fortune. I bought it and never had any problem updating from the market.
Sent from my wi-fi toaster.
I'm trying to find a fix for the same thing. But mine is not a pirated app it is an app from a tab I have and a couple off apps that came with it I can't find on the market or anything that works like them I waisted a lot of money trying to find one and thought this is just pointless. I tried resigning the APK but no go any ideas?
This errors occurs when the apk is built with different API level than API level your phone supports. Ex: If your phone is having Gingerbread (2.3.*) and your app is compiled for tablets (honeycomb), you see this error.
cnu4u said:
This errors occurs when the apk is built with different API level than API level your phone supports. Ex: If your phone is having Gingerbread (2.3.*) and your app is compiled for tablets (honeycomb), you see this error.
Click to expand...
Click to collapse
both are 4.0 ICS
cnu4u said:
This errors occurs when the apk is built with different API level than API level your phone supports. Ex: If your phone is having Gingerbread (2.3.*) and your app is compiled for tablets (honeycomb), you see this error.
Click to expand...
Click to collapse
I am getting this problem with some of my apps which I backup using an application to the sdcard. There should be a fix for this.
nice
ri123 said:
I am getting this problem with some of my apps which I backup using an application to the sdcard. There should be a fix for this.
Click to expand...
Click to collapse
great job
ri123 said:
I am getting this problem with some of my apps which I backup using an application to the sdcard. There should be a fix for this.
Click to expand...
Click to collapse
Make sure the app has the correct amount of information, for example, an app with 0 bytes would not work, which has happened before when a file is not created properly.
Sent from my HTC Explorer A310e using XDA
ri123 said:
Make sure the app has the correct amount of information, for example, an app with 0 bytes would not work, which has happened before when a file is not created properly.
Sent from my HTC Explorer A310e using XDA
Click to expand...
Click to collapse
i tryed tu change xml in akp, i used apktool, i decompiled it, changed version to my current (2.3.7 cyanogenmod ) and then compiled it back, it is not 0 byte, but head the same error, i thought i have done something wrong, but today i tryed restor apk with titanium backup, but the same
i dont understand, is this error coz of version mismach? or ???
P.S. this is my first post on xda wish me luck )
I also have this problem with an app that is called Wavesink Trial (Usb Dab Radio app)
I want this to work for my car player that has Android 2.3.4 but the Wavesink only works for Android 3.0 and above.
I tried to change the Androidmanifest.xml minSdkVersion value to 8 (which is for Froyo) so it should be able to run on my car player.
I even sent a mail to the developer which said it could'nt be possible as Android 2.3.4. doesn't have Usb Host mode, but i guess it has since the carplayer has support for Usb Wifi adapter aswell as memorysticks.
Anyone have a solution.
btw, i decompiled the app, edited the manifest, recompiled the app and signed it again.
Dragonlove said:
I also have this problem with an app that is called Wavesink Trial (Usb Dab Radio app)
I want this to work for my car player that has Android 2.3.4 but the Wavesink only works for Android 3.0 and above.
I tried to change the Androidmanifest.xml minSdkVersion value to 8 (which is for Froyo) so it should be able to run on my car player.
I even sent a mail to the developer which said it could'nt be possible as Android 2.3.4. doesn't have Usb Host mode, but i guess it has since the carplayer has support for Usb Wifi adapter aswell as memorysticks.
Anyone have a solution.
btw, i decompiled the app, edited the manifest, recompiled the app and signed it again.
Click to expand...
Click to collapse
I'm also having the same problem. I've downloaded all versions and not one of them will install and the deck is rooted.
phase error
ricky1001 said:
I have an older version Player Pro(2.2).When I try to upgrade it to the latest version using another .apk file of version 2.3,it gives this error“Parse Error : There is a problem parsing the package”.I cannot update it from the android market as I have not purchased the app.Any idea why is this happening?
Click to expand...
Click to collapse
If you get a “ Parse Error: There is a
problem parsing the package ”
message when trying to install an
APK, it could be due to different
reasons, but the most 2 common
ones are as below:
The APK file you’re trying to to
install is corrupted. That might
be due to an error when
downloading (such as the
connection getting lost) or the
APK being already broken before
you download it. Try
downloading the file again,
preferably from another location.
If possible, use trusted websites
such as SlideME or Mobango
where the APK are tested
beforehand.
If that doesn’t fix it, it’s probably
because the Android version on
your device is below the
requirements of the app. For
instance, you’re trying to install
an app that requires Android 4.1
and higher on a device running
Android 2.3. To see which
Android version your device is
running, go to Settings, then
About Phone and look at the
number next to Android Version
(or Firmware Version). Unless
you can update the system
(check that by going to Settings ,
About phone , then System
Updates ), you won’t be able to
do much about that. To avoid
situations like this, always check
before downloading that the
requirements of the app are in
line with your device. Good app
stores like SlideMe or Amazon
always provide the minimum
Android version which is needed.
ricky1001 said:
I have an older version Player Pro(2.2).When I try to upgrade it to the latest version using another .apk file of version 2.3,it gives this error“Parse Error : There is a problem parsing the package”.I cannot update it from the android market as I have not purchased the app.Any idea why is this happening?
Click to expand...
Click to collapse
hey juz check if ur sd is protected with password or something. and its the reason y its showing... if sd is protected under developer options & phone is rooted it occurs. check that out n try and tht prob will be solved..it worked for me. check that out n reply.
I fixed my P780 with the parsing error
xx
anish.2010 said:
hey juz check if ur sd is protected with password or something. and its the reason y its showing... if sd is protected under developer options & phone is rooted it occurs. check that out n try and tht prob will be solved..it worked for me. check that out n reply.
Click to expand...
Click to collapse
hey anish.2010 i have the same problem.my phone is rooted.what can i do now?
If this occurs on Marshmallow, go to settings>apps. Tap the three dot menu and tap "show system." Scroll down and look for "Package installer." Click permissions and make sure storage is on(the circle is to the right of the oval). If not on, that permission can cause this error. Hope it helps.:good:
if you have any problems about X431 ,please contact me !!!
we specialize in Launch X431 ,including X431 V Plus/Pro3,X431 V/Pro,easydiag ,easydiag software update......and so on.
Email: [email protected]
Ikeb0mb said:
If this occurs on Marshmallow, go to settings>apps. Tap the three dot menu and tap "show system." Scroll down and look for "Package installer." Click permissions and make sure storage is on(the circle is to the right of the oval). If not on, that permission can cause this error. Hope it helps.:good:
Click to expand...
Click to collapse
IT DID HELP ME!
Thank you very much, pal.
But I didn't know why the permission is toggle off automatically. This problem did disturb me a lot and it has been solved by your tips.
ruolian said:
IT DID HELP ME!
Thank you very much, pal.
But I didn't know why the permission is toggle off automatically. This problem did disturb me a lot and it has been solved by your tips.
Click to expand...
Click to collapse
N.P. happy to help. My phone did the same thing and I went poking around and found that out. Sometimes it resets after an update( like flashing a new cm version), so if you update just make sure you check

[T] "package was not signed correctly" when downloading an app of mine

Hello,
I've uploaded my first apk to Google Play, made with processing 2.03.
I used this guide to sign: http://www.akeric.com/blog/?p=1352
After a few hours, when the app was visible, when trying to install, I get the "package was not signed correctly".
I'v tried it on another device rather than the one used for testing and I have the same issue.
1. is there a way to test apk's faster? It could take up to 12-24 hours for the new apk to be updated on Google Play, and that's what I have to wait to see if I now signed my apk correctly.
2. can you download the app and see if you get that issue?
3. does it matter what information you input when you create the release key using jdk? I mean, does google check against information you use in your Google Play publisher's account and then gives that error?
4. is there an alternate way of signing my apk? obviously this manual method is no good for a noob.
I am using win 7 64 bit, latest jdk7 at the time of writing, latest android sdk with just api level 10 installed, latest version of apache ant (installed manually).
here's the fix
To anyone having this issue, STOP USING JDK 7 and install JDK 6.
Not only JDK7 outputs some warnings when you sign your apk that "the internets" say they're safe and should work anyway, but they will generate badly signed apks that malfunction when you try to install off google play saying the "package was not signed correctly".

Deleting data (SOLVED)

Hi, I tried remove some games and scopes but their are still in my phone. Do you know where are installed? I wanna delete with console but I don't know where are the files. Locate command doesn't works amb find command is not enough.
This is a pic, an image is better than a text from a non english XD
https://plus.google.com/photos/1105...6131618823196190386&oid=110575007060381651511
Solved,
User manual: Deleting (Uninstalling) Scopes and Apps
You can’t delete the main Scopes and apps that were on your phone when you took it out of the box. All the others – the ones you have downloaded and installed yourself – can be deleted (or uninstalled) by visiting the Ubuntu Store and searching for your app or Scope. In the preview screen for the Scope or app you want to delete, you will see options to either update or uninstall it. Tap ‘Uninstall’ and let Ubuntu do the rest. The quickest way to access the preview screen for an app is to give a long press on the icon in the Apps Scope.
When deleting an application, their data will still remain on your phone, even for user-installed apps.
Their data can be found in the following places:
Code:
~/.local/share/<APP ID>
~/.config/<APP ID>
Thanks Nikwen
CesarMR said:
Thanks Nikwen
Click to expand...
Click to collapse
You're welcome.

Categories

Resources