Ok hi
So at the moment i am developing multiple apps apart of two different project im running both of whom im running on my own right now
but i am here to ask how can i play some audio while i boot in with the Splashscreen?
LawlessBaron said:
Ok hi
So at the moment i am developing multiple apps apart of two different project im running both of whom im running on my own right now
but i am here to ask how can i play some audio while i boot in with the Splashscreen?
Click to expand...
Click to collapse
You could store an mp3 in res/raw directory and use
android.media.MediaPlayer create (Context context, int resid)
And start that code by starting an async task in onCreate
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Masrepus said:
And start that code by starting an async task in onCreate
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Click to expand...
Click to collapse
Thanks guys ill give it a shot
Related
Just wanted to mention that this mod works on Razr I I'm rooted and on Pillama 0.3. It gives you the ability to choose out of various battery icons.
Here's a link to the original thread: http://forum.xda-developers.com/showthread.php?t=2181766&page=12
Hi, thanks for the link but it didn't work for me. Detected my razr, I chose settings.apk then it throws an error saying it can't decompile settings.ui.apk
AW: OGBatteryMod
cuben said:
Hi, thanks for the link but it didn't work for me. Detected my razr, I chose settings.apk then it throws an error saying it can't decompile settings.ui.apk
Click to expand...
Click to collapse
Maybe it's because your ROM is not deodexted. Your system apks have to be deodexted to be able to modify them. Are you running Stock or another ROM?
Gesendet von meinem XT890 mit Tapatalk 2
Ah, yes maybe. I am running 91.2.26001.Retail.en.EU - 4.1.2 and it doesn't mention it being deodexed so maybe your right. Cheers.
Implement multi window impossible to custom firmware?
I'd like to see on your CM 11. It is strange that the developers did not realize Cyanogenmod this possibility in their firmware ...
Omnirom is what you are looking for.
Gesendet von meinem LG-G2 mit Tapatalk
bonny_k-9 said:
Implement multi window impossible to custom firmware?
I'd like to see on your CM 11. It is strange that the developers did not realize Cyanogenmod this possibility in their firmware ...
Click to expand...
Click to collapse
Check out the xHaloFloatingWindow module for the Xposed Framework
GizmoKaca said:
Check out the xHaloFloatingWindow module for the Xposed Framework
Click to expand...
Click to collapse
And it is possible to deduce immediately xHALO 2 applications, dividing the screen into two parts?
Sup
So I have my project FILES. And I want it to be a aligned apk file. In some way I have to get it into eather Eclipse or Android Studio. I have both. I cant do it in Eclipse, and in Android studio this comes up:
Android Source Generator: [Tiber] Package is not specified in AndroidManifest.xml
Click to expand...
Click to collapse
Anyone know how I can fix this or know an alternative way?
In eclipse there is the option to export signed apk, doesnt that work for you?
According to the error message you should have a look in your manifest if the field with the package name is empty
---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Masrepus said:
In eclipse there is the option to export signed apk, doesnt that work for you?
According to the error message you should have a look in your manifest if the field with the package name is empty
---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Click to expand...
Click to collapse
Nope. Cause I can't import it as a android project.
I've uploaded the .apk file I want to zipallign.
Ah you wanna zipalign it, sorry missed that
Well with apktool you can do this
---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
andreglud said:
I've uploaded the .apk file I want to zipallign.
Click to expand...
Click to collapse
Since you have Eclipse, you should also have the zipalign tool with it. Use the following to zipalign your apk manually.
Code:
zipalign -v notaligned.apk zipaligned.apk
this is the github source, Zip File,
someone can compile it to apk,,
Im so confused about using eclipse.
Sure, let me see if i can get it to work
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Masrepus said:
Sure, let me see if i can get it to work
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Click to expand...
Click to collapse
Thanks! Well, Im Korean, soo.. its too hard to understand the sources in eclipse... huh :3
Ok i am on my phone with AIDE development environment and successfully installed your app. Now i just need to find a way to export the apk as this is an AIDE pro feature. So just give me few more minutes
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
---------- Post added at 03:49 PM ---------- Previous post was at 03:45 PM ----------
https://docs.google.com/folder/d/0BzPcepzf6ai2eGpIVGZsNkkyX0E/edit
Try if you can access the file, i hope it works
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
---------- Post added at 03:58 PM ---------- Previous post was at 03:49 PM ----------
Fomi_ said:
Thanks! Well, Im Korean, soo.. its too hard to understand the sources in eclipse... huh :3
Click to expand...
Click to collapse
Ah and btw: you can compile an apk with eclipse in two ways:
1. By clicking on the 'Run' button in the toolbar at the top if you have your phone connected to your computer with usb debugging enabled
2. Open your manifest.xml. Then there should be the option to 'export signed apk' in one of the tabs you can select. Click on it and it will guide you through the steps
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
I'm totally new to android Dev.
I'm trying to create an app that can access Google Drive. I have done all the developer setup on the Google console.
I used SDK manager to install google play services etc.
See this link for everything I did:
https://developers.google.com/drive/android/get-started
For some reason I'm getting the following error:
cannot find symbol variable mGoogleApiClient
mGoogleApiClient = new GoogleApiClient.Builder(this)
.addApi(Drive.API)
.addScope(Drive.SCOPE_FILE)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
I'm missing a library or something. Can anyone suggest why this would be?
You forgot to give a data type for mGoogleApiClient, i guess that is the problem:
GoogleApiClient mGoogleApiClient = new GoogleApiClient.Builder(this)
.addApi(Drive.API)
.addScope(Drive.SCOPE_FILE)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Thanks for that, looks like that could the issue! Will check tomorrow
Cheers!
Cheers man, no problem
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
I added that this morning and I'm still getting these errors:
cannot find symbol class GoogleApiClient
cannot find symbol variable Drive
package GoogleApiClient does not exist
I have definately installed Google Repository and Google play services using the Android SDK Manager.
Do I need to do anything else in Android Studio?
I have this in my build.gradle:
dependencies {
compile 'com.android.support:appcompat-v7:+'
compile 'com.google.android.gmslay-services:4.2.42'
}
Mh ok did you import the needed packages inside your activity? Like
import java.lang.* (just an example, i dont know the exact package for the GoogleApiClient)
In eclipse you can automatically insert needed imports by pressing CTRL+SHIFT+O
I have never used android studio so i have no idea if you can do automatic imports or how it works there..
Because to use some predefined class, you obviously first have to download/install/whatever that package. But then you have to tell java that you want to use it in that one specific activity by inserting that import (or imports, not sure)... Thing directly under the class header
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Thanks - it looks like I needed to import the packages, I've done that and it's working now!
Masrepus said:
Mh ok did you import the needed packages inside your activity? Like
import java.lang.* (just an example, i dont know the exact package for the GoogleApiClient)
In eclipse you can automatically insert needed imports by pressing CTRL+SHIFT+O
I have never used android studio so i have no idea if you can do automatic imports or how it works there..
Because to use some predefined class, you obviously first have to download/install/whatever that package. But then you have to tell java that you want to use it in that one specific activity by inserting that import (or imports, not sure)... Thing directly under the class header
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Click to expand...
Click to collapse
Great!
---------------------------------
Phone : Nexus 4
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk