Android :: Building Platform Partially ?
Mar 5, 2010
I want to modify the Skia graphics library in Android slightly.
Is it possible to only rebuild the modified library without downloading and building the whole platform? The platform is massive and this is too much a bother..
Downloading and building the small number of projects Skia depends on seems ok to me, but the build script requires everything!
View 1 Replies
Nov 22, 2010
As an experiment, I would like to use the platform key of my custom built Android platform to sign an arbitrary APK, that is built via the NDK. What is the process to go about doing this?
View 2 Replies
View Related
Jun 17, 2010
I have been trying to build only the "/libcore" directory of the Android platform. Does anyone have any suggestions on what Error 127 is, or another method I can go about building "libcore" without having to build the entire platform again?
View 1 Replies
View Related
Sep 17, 2010
I am trying to display some ImageView and TextView in a TableLayout. However, for the TextView (in the second column), it is partially hidden and does not go to the next line.
<TableLayout android:id="@+id/RestTable"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#D1D3D4"
android:layout_marginTop="5dp"
android:stretchColumns="*"
>
<TableRow android:id="@+id/row1...............
View 1 Replies
View Related
Jun 1, 2010
I have a custom view that fills my entire screen. (A piano keyboard) When a user touches the key, it causes invalidate() to be called and the whole keyboard gets redrawn to show the new state with a touched key.
Currently the view is very simple, but I plan to add a bit more nice graphics. Since the whole keyboard is dynamically rendered this would make redrawing the entire keyboard more expensive.
So I thought, let's look into partial redrawing. Now I call invalidate(Rect dirty) with the correct dirty region. I set my onDraw(Canvas canvas) method to only draw the keys in the dirty region if I do indeed want a partial redraw. This results in those keys being drawn, but the rest of the keyboard is totally black/not drawn at all.
Am I wrong in expecting that calling invalidate(Rect dirty) would "cache" the current canvas, and only "allows" drawing in the dirty region?
Is there any way I can achieve what I want? (A way to "cache" the canvas and only redraw the dirty area?"
View 1 Replies
View Related
Sep 13, 2010
I have a somewhat large (i.e. not fit in most phones' memory) bitmap on disk. I want to draw only parts of it on the screen in a way that isn't scaled (i.e. inSampleSize == 1)
Is there a way to load/draw just the part I want given a Rect specifying the area without loading the entire bitmap content?
View 2 Replies
View Related
Apr 22, 2009
Is animated GIF supported in android through SKIA library. I am not able to play animated GIF which is partially updated about each frame.
View 6 Replies
View Related
Jul 26, 2010
I am making a time sheet program where a user inputs his in- and out-punches. I have a ListView that I am populating from an array of calendar objects. I would like each row to show the day and date then on a new line the time, but I only want to display the day and date if it is different from the previous element.Currently, I am setting visibility in the Base Adapter based on comparisons using position vs position-1 (which are used as indices to the array). This only works if the whole list fits on the screen. If it extends beyond the screen and the user scrolls around the results are unpredictable.To further confuse things, I am setting the color of the times, based on the position, to alternate between green and red (in/out) and it works as expected, scrolling or not.How does Android handle the ListView position when scrolling or what could I do differently to show/hide the day and date? Code...
View 2 Replies
View Related
Jul 12, 2010
I have a Droid with Verizon service.
Firmware: 2.1 update1
Baseband: C_01_3E.03P
Kernel: 2.6.29-omap1-g7fa8788 android-build@apa26#1
Build: ESE81
I got caught in the rain and my phone quit working. I got a replacement under the insurance program. In the meantime, after the original phone dried out, it started working. However, it seems sluggish. And some applications force close that didn't in the past. Unfortunately I updated a lot of aplicationss so it could also be that the new build of the applications is causing the FC. I'm not an electronics expert so my question is this: Can a phone partially recover from water damage? Or since it started working does that mean that it's good as new? I need to decide whether to keep the replacement or return it and get a refund.
View 1 Replies
View Related
May 4, 2012
I've recently upgraded my Samsung Galaxy S II to Android 4.0.3 (COA - Romania) using Samsung Kies.
I sometimes have an issue:
- when I click the WiFi icon on status bar to activate wireless connection it partially gets green and stays locked for about 1-2 minutes. This happens every 6 or 7 attempts to connect using wireless.
View 4 Replies
View Related
Jul 29, 2010
Sometime in the last 30 minutes, most of the data on my sd card has disappeared. Camera photos, images, icons, videos etc are gone, but the music is ok. I have no idea what happened. The only thing I've done this morning is saved some snes roms to the sd card. Can anyone help me at all?
View 7 Replies
View Related
Aug 4, 2010
I noticed that today my phone says:
up time: 6:41
awake time: 2:49
Here's the thing...I have not been on my phone for 2:49. I think I've used it for about 15 total minutes total today (busy with work ha). I've read lots of threads about apps making the up/awake time the same (100%) and not letting your phone sleep. What apps or programs gives you a partial awake time? Is there an app to check it?
I mean it makes it kind of hard to do a trial and error app by app since I don't know at what point it's sleeping and what point it's awake (essentially it would take me 1 app per day to see if the numbers line up, or don't line up with my estimated usage).
For example, if it was 100% it would be easier to test because I would just uninstall, soft reset, and watch it for an hour to see if it's 100% or not, but because mine's at about 50%, that could be the 50% of time it's sleeping properly, if that makes sense!
Also, my usage is as follows (no specific program listed):
cell standby 32%
phone idle 30%
voice calls 23%
android system 11%
display 4%
View 6 Replies
View Related
Jun 3, 2013
I was just wondering if its ok if my battery is at 57% and I want to charge it back to 100% would that be ok to do?
View 5 Replies
View Related
Jul 26, 2010
Is it okay to partially charge the battery (i.e. to not completely charge to full)? I ask because I have the car dock which includes a power connection. Now, whenever I dock my phone, it'll get charged, but I'm hardly ever in my car long enough for the phone to get fully charged, so I end up taking the phone off the dock before a full charge. Is this okay for the battery?
View 5 Replies
View Related
Jun 8, 2012
I have transformed CoolReader into system app with Titanium backup. It was crashing so I tried to move it back to user app again with Titanium backup. However during this procedure TB hanged and after some 20 minutes I killed it. I later tried to uninstall it (again with TB), but it seems that there are still left parts of it somewhere so now I am unable to reinstall the app from google play (error 491) or if I clear cache and data of google play and force the application to install it keeps crashing.
So I would like to ask what should I delete to completely eliminate the traces of CoolReader (or any application in general) and be able to install it again?
View 1 Replies
View Related
Nov 16, 2010
The phone was partially submerged, and when I pulled it out of the water it was playing a movie. Water literally ran out from the darn thing. Took it apart, blew it out with compressed air after removing the battery, and chips, then placed it in a bag of rice.
I let the x10 stay hidden buried overnight in that bag of rice in the pantry, put the chips and battery back in it next day, and fired it up with no issues. It definitely had a mind of it's own while the water was inside it! Remember this bag of rice trick. The fog cleared from the camera eye and everything. NICE! Good unit this x10i.
View 3 Replies
View Related
Jul 21, 2010
Ok, so I downloaded a ringtone app and noticed that my notification ringer for texts now will play part of the song then start over and play it all the way through. This does this whether it's a pre-installed ringer or one of mine....kind of an annoying thing. Anyone have any idea how to fix it?
View 4 Replies
View Related
Nov 29, 2010
I own an xperia x10. I can access the net on my phone through GPRS only on the default browser & Skyfire. But i can't connect on any other app. tried it on google goggles, shazam, timescape, Facebook app, Tweetdeck, etc. but i couldn't connect, EVER. So has anyone else faced this prob? or any idea why is it happening. or is it that these apps work only on 3G networks?
View 8 Replies
View Related
Nov 17, 2009
Has anyone noticed that the build quality of the Droid is a bit shoddy? Maybe its just me. But my power button is very loose/wiggly, and the screen tends to wiggle a bit when the keyboard is hidden. That and some of the buttons on the screen seem to be only partially lit by LEDs.
View 20 Replies
View Related
Dec 4, 2013
I select share via email, it sends, the photo attachment in the subsequent email loads from the top and quits at some point.Usually happens while at events where cell service is congested.
View 1 Replies
View Related
Nov 4, 2009
i need my app to support 1.5 and above. i noticed that if I create my build.xml file using --
c: oolsandroid2.0r3 oolsandroid update project --name MyProject -- path C:MyProject --target 2
it complains about my resource directory names "res/drawable-hdpi, res/ drawable-ldpi, etc... res/layout-large, etc..." saying "invalid resource directory name".
If I use 1.6r1 tool set c: oolsandroid1.6r1 oolsandroid update project --name MyProject -- path C:MyProject --target 2
Everything works fine.
If I use target 3 (1.6 and above) c: oolsandroid2.0r3 oolsandroid update project --name MyProject -- path C:MyProject --target 3
Everything works fine. So, do I basically *have* to use 1.6r1 to build for 1.5? And does that mean that those special directory names will only work on 1.6 and above?
View 6 Replies
View Related
Dec 1, 2009
I've G1 dev phone. Earlier I upgraded it to 1.5 using HTC website. Now I want to customize (make some changes to ) source code and keep the changes running on G1 phone. I wanna go with cupcake release. Could any body please give me some pointers. If I download cupcake source code from android website and do 'make' for which target it will generate the images ?[Emulator or G1 phone etc.,]
View 3 Replies
View Related
Nov 5, 2009
I was just wondering where there is any information on creating custom user interface libraries for Android. I would like to create a library and include it in an application by specifying something like <uses- library android:name="com.foo.bar" /> in the manifest (just like maps) and have an Activity that can be inherited from like the MapActivity. How can one create and build a library like this?
View 7 Replies
View Related
May 19, 2010
So, I'm new to developing apps (altogether) and I thought that it would be fun to start out on the Android. I did the test with "HelloAndroid" app, but I have no clue on how to run the app on my phone via Eclipse. I remember reading about it a long time ago (sometime in February) but I have no idea where to find it.
View 2 Replies
View Related
Jun 1, 2010
I want to use DTLS (on OpenSSL) using JNI on Android 2.1/2.2. Can someone help me get started (tutorials, howto, pointers etc) with building OpenSSL for Android (2.1/2.2) using the Android NDK?
View 1 Replies
View Related
Aug 31, 2009
When I download the source and build it according to http://source.android.com/download, then try to build the eclipse dev evironment as described on http://source.android.com/using-eclipse, I get 100s of Java Errors when trying to build the project.
Linux is 2.6.28-15-generic #49-Ubuntu Eclipse is eclipse-java-galileo-linux-gtk.tar.gz
18# java -version java version "1.5.0_18" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02) Java HotSpot(TM) Client VM (build 1.5.0_18-b02, mixed mode, sharing) 19#
View 5 Replies
View Related
Sep 16, 2010
I am trying to build android example app by using phonegap. Here are the the system details.
Operating System : Windows XP
Android Sdk : 1.5 ( Previously i had 2.2 but deleted suspecting problem was with that)
Ruby : 1.9.1-p430
Ant: 1.8.1
Java JDK 5
PhoneGap 0.9.1
System Enviroment Variables
ANDROID_HOME : D:workandroid-sdk_r3-windowsandroid-sdk-windows
ANT_HOME : D:workANTapache-ant-1.8.1
JAVA_HOME : C:SunSDKjdk
CLASSPATH : C:SunSDKjdklib
Path : D:workandroid-sdk_r3-windowsandroid-sdk-windows;C:Ruby191in;D:workANTapache-ant-1.8.1in;D:workandroid-sdk_r3-windowsandroid-sdk-windows ools;
I ran ruby script and get output as below
$ ruby ./droidgap "D:/work/android-sdk_r3-windows/android-sdk-windows" pgtest c
om.example.android.pgtest example/ "D:/work/droid_apps/output1"
Building the JAR...
BUILD FAILED
D:workandroid-sdk_r3-windowsandroid-sdk-windows oolsantant_rules_r3.xml:28
3: null returned: 1
Total time: 1 second
Creating Android project for target level 1
Adding www folder to project...
Generating manifest...
Copying over libraries and assets and creating phonegap.js...
c:/Ruby191/lib/ruby/1.9.1/fileutils.rb:1265:in initialize': No such file or dir
ectory - D:/work/phonegap/phonegap-android/framework/phonegap.jar (Errno::ENOENT)
CODE:......
I even changed ant to ant.bat at one place, android to android.bat at two places in ruby script. I also set target_id = 1 which is for 1.5 sdk.
View 3 Replies
View Related
Apr 23, 2010
When using an Android-generated ant build file, the file references your SDK installation via an sdk.dir property inside the local.properties files which is generated by "android update project -p .".
The comments in build.xml suggest that local.properties should NOT be checked into version control.
BUT, when you run your build from Hudson, it does a fresh checkout of your code from version control, hence local.properties does not exist and subsequently the build fails without sdk.dir being set. So its kind of chicken and egg problem. As a workaround I have checked local.properties into version control for now (nobody else will use it) but I was curious as to how other developers had tackled this problem ?
View 2 Replies
View Related
Feb 4, 2009
Solved this by following the instructions at http://www.mail-archive.com/android-porting@googlegroups.com/msg01340... Also realised - that looks like a more appropriate mailinglist too :)
View 2 Replies
View Related
Oct 17, 2010
I'm tinkering around with trying to build a speedometer using only the accelerometer for use when I go snowboarding. I can read values from the accelerometer but I'm not sure how I would derive the velocity. I was thinking of taking the square root of (X^2 + Y^2 + Z^2) where X, Y, and Z are the values reported by the accelerometer in each axis but that only would only give me the amplitude of acceleration at any given instant. I could multiple that by the sampling frequency to get my instantaneous velocity but this approach fails when I'm moving at a constant speed.
View 2 Replies
View Related