i tried to google a lot about this but dint get any success though got a lil info about what all i need... but can you people help me out... ?
I want to learn to create an application...
basically I want to create a launcher so how should i do it... or where to start from ?...
Can some one please provide a TUT or a GUIDE which i can refer too..?
also a guide for porting compability... of app from only 1 phone to another will do for me... Please help... thank you...
NEWBIE
DEVICE - ACE PLUS GT-S7500
ROM - CM 10 BY THE WHISP
MODS - A FEW...
wanna learn sumthing new each day
OX Mobile Spy
I also have this same dilemma, I'm still, I hope the problem as soon as possible to solve.
Is there no 1 to help us out here ?
NEWBIE
DEVICE - ACE PLUS GT-S7500
ROM - CM 10 BY THE WHISP
MODS - A FEW...
wanna learn sumthing new each day
Launcher Guide
i guess this may help you :highfive:
Next : code to make your own launcher... :highfive:
for guide follow video ;
Code:
<activity
android:label="@string/app_name"
android:name=".Putyourclassthatyouwanttolaunchhere"
>
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
CODE HAS BEEN REWORKED SO THAT IT WILL NOT FORCE CLOSE
Related
Hello, users.
I want to ask you if someone can explain me a step to build cm 11
well, I have prepared everything but i just have to know what means "Obtain the proprietary files"
so as a example in the guide i have "$ breakfast mako"
so instead of that i just say "breakfast trebon"?
Well and after that i have this step:
"Then create a file with the name local_manifest.xml in the local_manifests directory. To see this directory, you have to press Ctrl-H in your file manager.
Use this code:
Code:
$ gedit ~/cm11/.repo/local_manifests/local_manifest.xml" (this is a example for nexus)
i say all this because i think somewhere i have to use TheWhisp's sources, right? atleast that is what we did with 4.3 and pac man, carbon...
as yazidkucrit and TechKang are working on building cm 11 and i'm doing my best, maybe we could get it after all this waiting, right?
so don't say this device is lost and there is no further development for us
ShadowsDie said:
Hello, users.
I want to ask you if someone can explain me a step to build cm 11
well, I have prepared everything but i just have to know what means "Obtain the proprietary files"
so as a example in the guide i have "$ breakfast mako"
so instead of that i just say "breakfast trebon"?
Well and after that i have this step:
"Then create a file with the name local_manifest.xml in the local_manifests directory. To see this directory, you have to press Ctrl-H in your file manager.
Use this code:
Code:
$ gedit ~/cm11/.repo/local_manifests/local_manifest.xml" (this is a example for nexus)
i say all this because i think somewhere i have to use TheWhisp's sources, right? atleast that is what we did with 4.3 and pac man, carbon...
as yazidkucrit and TechKang are working on building cm 11 and i'm doing my best, maybe we could get it after all this waiting, right?
so don't say this device is lost and there is no further development for us
Click to expand...
Click to collapse
You guys didn't replied me at all but thanks anyway if you tried and thanks to @ptanmay143 for his help as well
but Snypercell, a very kind person from here, finnaly helped me with this step
This is the solution for the rest of developers that didn't knew this;
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- CM replacements -->
<remove-project name="CyanogenMod/android_frameworks_native" />
<project path="frameworks/native" name="omnirom/android_frameworks_native" revision="android-4.4" />
<!-- Local projects -->
<project path="external/webkit" name="legaCyMod/android_external_webkit" revision="cm-11.0" />
<project path="hardware/atheros/wlan" name="TheWhisp/android_hardware_atheros_wlan" revision="cm-11.0" />
<project path="hardware/qcom/display-legacy" name="TheWhisp/android_hardware_qcom_display-legacy" revision="jellybean-mr2" />
<project path="hardware/qcom/media-legacy" name="Dazzozo/android_hardware_qcom_media-legacy" revision="jellybean-mr2" />
<project path="device/samsung/msm7x27a-common" name="yazidkucrit/android_device_samsung_msm7x27a-common" revision="cm-11.0" />
<project path="device/samsung/trebon" name="yazidkucrit/android_device_samsung_s7500" revision="cm-11" />
<project path="kernel/samsung/msm7x27a-common" name="yazidkucrit/kernel_KeongBalap" revision="master" />
<project path="vendor/samsung" name="yazidkucrit/proprietary_vendor_samsung_msm7x27a" revision="cm-10.2" />
<!-- FM Radio -->
<project path="hardware/qcom/fm" name="legaCyMod/android_hardware_qcom_fm" revision="cm-11.0" />
<project path="packages/apps/FM2" name="legaCyMod/android_packages_apps_FM2" revision="cm-11.0" />
</manifest>
Then: brunch trebon
Today i will try ubuntu LTS as 13.10 gives me kernel errors, hope it works with LTS
ShadowsDie said:
You guys didn't replied me at all but thanks anyway if you tried and thanks to @ptanmay143 for his help as well
but Snypercell, a very kind person from here, finnaly helped me with this step
This is the solution for the rest of developers that didn't knew this;
Then: brunch trebon
Today i will try ubuntu LTS as 13.10 gives me kernel errors, hope it works with LTS
Click to expand...
Click to collapse
Most of us are not dev sorry, you, yazid, Tech and The whisp is our only hope. Have you heard of vicky? We never seen him a couple of weeks, did he leave or developing or something for us?:what::what::beer:
ANDROID-000 said:
Most of us are not dev sorry, you, yazid, Tech and The whisp is our only hope. Have you heard of vicky? We never seen him a couple of weeks, did he leave or developing or something for us?:what::what::beer:
Click to expand...
Click to collapse
i wasn't trying to be rude sry
yazid and Tech are developing cm 11 and TheWhisp im pretty sure he will not help us in the near present.
I'm not a developer as well but i'm trying to learn how to as this is how i spend my free time and i do something useful
i actually don't know if i will accomplish something and i'm sure Tech or yazid will finish first
and i dont know nothing of vicky, its so bad if he left as he has a better acknoweledge in developing than me
ANDROID-000 said:
Most of us are not dev sorry, you, yazid, Tech and The whisp is our only hope. Have you heard of vicky? We never seen him a couple of weeks, did he leave or developing or something for us?:what::what::beer:
Click to expand...
Click to collapse
Absolute right
ShadowsDie said:
i wasn't trying to be rude sry
yazid and Tech are developing cm 11 and TheWhisp im pretty sure he will not help us in the near present.
I'm not a developer as well but i'm trying to learn how to as this is how i spend my free time and i do something useful
i actually don't know if i will accomplish something and i'm sure Tech or yazid will finish first
and i dont know nothing of vicky, its so bad if he left as he has a better acknoweledge in developing than me
Click to expand...
Click to collapse
Read The whisp github, i think our device is included in his kikat project:thumbup: hope it will.
Yeah, vicky had no update in his thread or even post a reply.
ANDROID-000 said:
Read The whisp github, i think our device is included in his kikat project:thumbup: hope it will.
Yeah, vicky had no update in his thread or even post a reply.
Click to expand...
Click to collapse
but the whisp isnt replying to any one using ace plus or posting questions about our device..techkang and yazid are the only hopes for now...
Happy new year developers..:good:
ShadowsDie said:
Hello, users.
I want to ask you if someone can explain me a step to build cm 11
well, I have prepared everything but i just have to know what means "Obtain the proprietary files"
so as a example in the guide i have "$ breakfast mako"
so instead of that i just say "breakfast trebon"?
Well and after that i have this step:
"Then create a file with the name local_manifest.xml in the local_manifests directory. To see this directory, you have to press Ctrl-H in your file manager.
Use this code:
Code:
$ gedit ~/cm11/.repo/local_manifests/local_manifest.xml" (this is a example for nexus)
i say all this because i think somewhere i have to use TheWhisp's sources, right? atleast that is what we did with 4.3 and pac man, carbon...
as yazidkucrit and TechKang are working on building cm 11 and i'm doing my best, maybe we could get it after all this waiting, right?
so don't say this device is lost and there is no further development for us
Click to expand...
Click to collapse
CM11 is already builded...
danyznd123 said:
CM11 is already builded...
Click to expand...
Click to collapse
not for ace plus...
ShadowsDie said:
not for ace plus...
Click to expand...
Click to collapse
All cm roms are not stable and i don't recommend to flash them...
If you want a good custom rom flash inspiration rom by kk9999gada that have no bugs...
danyznd123 said:
All cm roms are not stable and i don't recommend to flash them...
If you want a good custom rom flash inspiration rom by kk9999gada that have no bugs...
Click to expand...
Click to collapse
thanks for the very obvious advice
I was going through installed apps in my moto g dual sim asia variant when i came across this
PFA screenshots
adam app uses a hell lot of device features
does anyone else have it in their moto g too?
viv_jen said:
I was going through installed apps in my moto g dual sim asia variant when i came across this
PFA screenshots
adam app uses a hell lot of device features
does anyone else have it in their moto g too?
Click to expand...
Click to collapse
It's not installed on XT1032 EU or US. If you are concerned about it, you could try disabling it. Someone on the official Motorola forum might explain what it is:
https://forums.motorola.com/hives/3ba9b2429c/posts​
I have it too, AsiaRetail dual (XT1033). Appears to be a modem service for Motorola. The manifest is below.
Code:
<manifest package="com.motorola.adamsvc" versionCode="19" sharedUserId="com.motorola.uid.modemservice" versionName="4.4.2-14">
<uses-sdk minSdkVersion="19" targetSdkVersion="19">
</uses-sdk>
<permission label="resource_id:0x7f040002" protectionLevel="3" description="resource_id:0x7f040001" permissionGroup="android.permission-group.SYSTEM_TOOLS" name="com.motorola.permission.ACCESS_ADAM">
</permission>
<permission label="resource_id:0x7f040004" protectionLevel="3" description="resource_id:0x7f040003" permissionGroup="android.permission-group.SYSTEM_TOOLS" name="com.motorola.permission.MODIFY_ADAM">
</permission>
<application allowBackup="false" process="com.motorola.modemservice" icon="resource_id:0x7f020000" label="resource_id:0x7f040000">
<uses-library name="com.motorola.adam">
</uses-library>
<provider exported="true" readPermission="com.motorola.permission.ACCESS_ADAM" writePermission="com.motorola.permission.MODIFY_ADAM" authorities="adam" multiprocess="false" name="AdamProvider">
</provider>
<service exported="true" permission="com.motorola.permission.MODIFY_ADAM" name=".AdamService">
<intent-filter>
<action name="com.motorola.adam.action.LTE_AGG">
</action>
<action name="com.motorola.adam.action.WIFI_AGG">
</action>
<action name="com.motorola.adam.action.SCHEDULE_AGG">
</action>
</intent-filter>
</service>
</application>
</manifest>
eastdata said:
I have it too, AsiaRetail dual (XT1033). Appears to be a modem service for Motorola. The manifest is below.
Code:
<manifest package="com.motorola.adamsvc" versionCode="19" sharedUserId="com.motorola.uid.modemservice" versionName="4.4.2-14">
<uses-sdk minSdkVersion="19" targetSdkVersion="19">
</uses-sdk>
<permission label="resource_id:0x7f040002" protectionLevel="3" description="resource_id:0x7f040001" permissionGroup="android.permission-group.SYSTEM_TOOLS" name="com.motorola.permission.ACCESS_ADAM">
</permission>
<permission label="resource_id:0x7f040004" protectionLevel="3" description="resource_id:0x7f040003" permissionGroup="android.permission-group.SYSTEM_TOOLS" name="com.motorola.permission.MODIFY_ADAM">
</permission>
<application allowBackup="false" process="com.motorola.modemservice" icon="resource_id:0x7f020000" label="resource_id:0x7f040000">
<uses-library name="com.motorola.adam">
</uses-library>
<provider exported="true" readPermission="com.motorola.permission.ACCESS_ADAM" writePermission="com.motorola.permission.MODIFY_ADAM" authorities="adam" multiprocess="false" name="AdamProvider">
</provider>
<service exported="true" permission="com.motorola.permission.MODIFY_ADAM" name=".AdamService">
<intent-filter>
<action name="com.motorola.adam.action.LTE_AGG">
</action>
<action name="com.motorola.adam.action.WIFI_AGG">
</action>
<action name="com.motorola.adam.action.SCHEDULE_AGG">
</action>
</intent-filter>
</service>
</application>
</manifest>
Click to expand...
Click to collapse
why on earth would a modem driver/app need so many permissions for so many things???
Bump
I have a Republic Wireless Moto X, and I have this too. I did download my kitkat package from an alternative source. I didn't get it OTA. Did you update your Moto G OTA, did it come preinstalled with KitKat, or did you get the package from an alternate source?
chaddesch said:
I have a Republic Wireless Moto X, and I have this too. I did download my kitkat package from an alternative source. I didn't get it OTA. Did you update your Moto G OTA, did it come preinstalled with KitKat, or did you get the package from an alternate source?
Click to expand...
Click to collapse
From Moto -
Adam is part of a diagnostic tool we use in pre-production software builds for networking quality. It was left in a few consumer builds but it's disabled. It doesn't collect or send any data so it is safe to ignore.
Click to expand...
Click to collapse
https://forums.motorola.com/posts/6161232a23?commentId=777991#777991
It's was on my European XT1032 after the initial KK OTA, 2nd minor OTA removed it.
Hey guys!
I've been seaching now for some time in order to find a ready-to-build source tree for my GT-I8262. I found several entries on github but unfortunately I got compilation errors for all of them. The most promising one was the approach of ankur850 which he explained himself here.
In order to get rid of some of the errors, I changed the following points in the .repo/local_manifests/roomservice.xml:
Inserted remove-project in order to resolve the conflict with the existing repository by Cyanogenmod.
Changed the path kernel/samsung/arubaslim to kernel/samsung/msm7x27a
Removed the revision attribute for those repositories having a later branch (since I tried to build cm-11.0)
resulting in the following xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="ankur850/android_device_samsung_arubaslim" path="device/samsung/arubaslim" remote="github" />
<project name="ankur850/android_vendor_qcom_msm7x27a" path="vendor/qcom/msm7x27a" remote="github" revision="cm-10.2" />
<project name="ankur850/android_device_qcom_msm7x27a" path="device/qcom/msm7x27a" remote="github" revision="cm-10.2" />
<project name="ankur850/android_vendor_samsung_arubaslim" path="vendor/samsung/arubaslim" remote="github" revision="cm-10.2" />
<project name="ankur850/android_hardware_qcom_display-legacy" path="hardware/qcom/display-legacy" remote="github" revision="jellybean-mr2" />
<remove-project name="CyanogenMod/android_hardware_qcom_audio-caf" revision="cm-10.2" />
<project name="ankur850/android_hardware_qcom_audio-caf" path="hardware/qcom/audio-caf" remote="github" revision="cm-10.2" />
<project name="ankur850/android_kernel_samsung_msm7x27a" path="kernel/samsung/msm7x27a" remote="github" />
</manifest>
When compiling (brunch arubaslim), I get the following error - which seems to be related to the repository:
Code:
make: *** No rule to make target `frameworks/base/data/etc/com.stericsson.hardware.fm.receiver.xml', needed by `~/android/system/out/target/product/arubaslim/system/etc/permissions/com.stericsson.hardware.fm.receiver.xml'. Stop.
I would appreciate very much if someone could point a working CM11 (if possible CM12) source tree out to me (or even help me to build with this one).
@admin: If a forum moderator/admin happens to be reading this, I would appreciate very much if you could integrate an overview for source trees like you did for ROMs and kernels.
Many thanks!
There is no com.stericsson.hardware.fm.receiver.xml
In framework/base/data/etc as I recall. Check again if its not there than there is no rule to make it.
Y300-0100 said:
There is no com.stericsson.hardware.fm.receiver.xml
In framework/base/data/etc as I recall. Check again if its not there than there is no rule to make it.
Click to expand...
Click to collapse
Thanks for your quick reply!
I searched the whole android repository using grep -r com.stericsson.hardware.fm.receiver.xml device hardware kernel vendor and could only find an entry in device/samsung/arubaslim/device_arubaslim.mk. What should I do now? Should I just comment this line and try to run over it? Will this cause reduced functionality?
Inperpetuammemoriam said:
Thanks for your quick reply!
I searched the whole android repository using grep -r com.stericsson.hardware.fm.receiver.xml device hardware kernel vendor and could only find an entry in device/samsung/arubaslim/device_arubaslim.mk. What should I do now? Should I just comment this line and try to run over it? Will this cause reduced functionality?
Click to expand...
Click to collapse
https://github.com/Y300-0100/android_device_huawei_u8833/blob/caf/u8833.mk#L62
Maybe it's not needed at all or it's proprietary file from stock but I doubt that.
All you need is proper packages.
Y300-0100 said:
https://github.com/Y300-0100/android_device_huawei_u8833/blob/caf/u8833.mk#L62
Maybe it's not needed at all or it's proprietary file from stock but I doubt that.
All you need is proper packages.
Click to expand...
Click to collapse
You might be right. This section of the repository has been changed between cm-10.2 and cm-11.0, so that this file doesn't exist anymore. As grep -r com.stericsson.hardware.fm.receiver frameworks doesn't return any results, I suppose that this file has become obsolete. Because of that - I don't like to say this - I think the maintainer has abandoned his repository during the port to CM11.
Do you know if there is a more up-to-date repository for this device? I can't believe that the uploaded CM12 builds just pop out of nowhere...
There is application in Google Play. But even if application install from Google Play and run , whatever is displayed only test bunner.
My project`s files:
Manifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=url *
package="com.denis1993.xxx_pc.calculator" >
<application
android:allowBackup="true"
android:icon="@mipmap/aaa"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<activity android:name=".MainActivity"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
activity_main.xml:
xmlns:ads=url
...
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="@string/banner_ad_unit_id">
</com.google.android.gms.ads.AdView>
bulid.grandle:
...
compile 'com.google.android.gms: play-services-ads:8.3.0'
...
string.xml:
<resources>
<string name="app_name">Calculator</string>
<string name="banner_ad_unit_id">ca-app-pub-7912591647703703/89855644</string>
</resources>
main_activity.java:
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
....
AdView mAdView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);
There are listed only part of code, which I use for add advertising from Admob
*url, because site doesnot give me real url
XDA Visitor said:
There is application in Google Play. But even if application install from Google Play and run , whatever is displayed only test bunner.
My project`s files:
Manifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=url *
package="com.denis1993.xxx_pc.calculator" >
<application
android:allowBackup="true"
android:icon="@mipmap/aaa"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<activity android:name=".MainActivity"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
activity_main.xml:
xmlns:ads=url
...
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="@string/banner_ad_unit_id">
</com.google.android.gms.ads.AdView>
bulid.grandle:
...
compile 'com.google.android.gms: play-services-ads:8.3.0'
...
string.xml:
<resources>
<string name="app_name">Calculator</string>
<string name="banner_ad_unit_id">ca-app-pub-7912591647703703/89855644</string>
</resources>
main_activity.java:
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
....
AdView mAdView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);
There are listed only part of code, which I use for add advertising from Admob
*url, because site doesnot give me real url
Click to expand...
Click to collapse
Hello, and welcome to XDA!
A good place to ask this (if I understand the question properly as your own app), is in this thread:
> App Development Forums > Coding Discussion, Q&A, and Educational Resources > Java for Android App Development > [Q] How to insert admob in app help me
Please note, you will need to have registered for an XDA account to be able to post there.
Hope this helps, and good luck!
Hello,
Im a proud owner of mate 8
But the multiwindow drives me crazy!!!!!
I wish to know if someone could tell me how to permanently disable this function..
Or if you can suggest me a custom rom that allow me to disable that!
Thank you for your support!!
in your mainfest you need
android:resizeableActivity="false"
so in your manifest file for each activity you want to disable the feature it would be like
<activity android:name=".SomeActivity"
android:label="@string/app_name"
android:resizeableActivity="false" />
or if you want to disable it in your entire app
<application
android:resizeableActivity="false" >
. . .
</application>