Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Richard_Xeli said:
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Click to expand...
Click to collapse
Hello,
i am having problems with the linker too! i am using the NDK (because it actually does C / C++ code) and the code compiles with very few warnings on some instructions but works well otherwise, it just WOULD NOT LINK the stuff together!! one interesting setting i noticed in some public makefiles for the NDK i noticed is that they actually set the linker to /system/bin/linker, which is obviously a file on the target device. but i don't know how it would access it? any ideas?
BTW: post your error(s) please
Try this
The system won't let me post a link (as a new user), however there is a really good tutorial on native android development and debugging using the AOSP build system. Search on Aton International Incorporated and click on blogs in the menubar. I am in no way associated with the company, just happy to finally be able to cross-compile, link and debug for android.
Maybe someone who has more posts could post a link here.
http://www.aton.com/android-native-development-using-the-android-open-source-project/
Hi all!
I have a (noob?) problem, I can't include all the dependences necessary to modify the android messaging application (Mms.apk).
I've installed Eclipse and all the "android stuff" (emulators and so on...) and cloned the mms source code from GIT but, when I import the existing project, I've an error with the "com.google.*" packages, eclipse doesn't find them!
I figure out that the only packages that are avaible with my SDK installation are the "com.android.*" ones...
There is something missing...
Can anyone help me?
Thank you in advance!
I have also the same problem in my android htc mobile also the file for playing are not supported for some format.
I don't really understand what you mean...
Come on!
I'm sure that someone can help me!
Hey all,
I've now flashed WM Build 23146 on a Touch Pro, but now I'm getting very very very small fonts almost everywhere... (And yeah, I wear my glasses )
Someone knows how to fix this?
Thanks!
MadMatt
Some screenshoots?
Never had such a problem but you are the 2nd person today that have this problem and the other guy does use 23103 language pack too........strange.
_Madmatt said:
Hey all,
I've now flashed WM Build 23146 on a Touch Pro, but now I'm getting very very very small fonts almost everywhere... (And yeah, I wear my glasses )
Someone knows how to fix this?
Thanks!
MadMatt
Click to expand...
Click to collapse
If you mess with the rgu processing order, then you will get tiny fonts. There are two packages that set the font sizes: OS and Base_Lang_0409 (or whatever). You need the Base_lang one to run last.
Hello.
Please check you have Metadata folder in your kitchen..
Some dump's have that sys package in 0409 language folder.
Thank's.
Thanks! After doing all things said above, it works! Thread can be closed.
You should always compare a new Sys to the one you were just using, and then make sure that you havel all of the same packages present, otherwise you run into issues like this. The easiest thing to do first is to just right-click on the sys_xxxxx folder and check the properties. Write down the number of files and folder present, then do the same with the build you were just using that was working. You should have the same number of files and folders, or very close to it. If there are discrepancies, then you need to figure out what you left out. It will save a lot of time. Just using some dump-sorter and then cooking without checking is bound to get you into trouble.
I was fascinated by Google Android platform and about one year ago I bought my first Android phone (HTC Magic). Well the platform was not that much mature at that time and my phone was lacking many features. With time it matured and evolved. After waiting a long time and spending a lot of hours to search a application which could send business cards and receive them as well, I couldn't find one which could fulfill my needs. So I decided to create one for me.
Here I present my first android application - Share Contacts
Minimum Requiremet:
Android 2.1
Features:
Send contacts by SMS
Pick up contact information from saved contracts
Send Customized information
Retrieve contact information from SMS
Save retrieved Contact Information in Phone Contacts
Application APK file is attached here.
Please give it a try and provide your feedback (if possible)
THANKS
Version 1.0 [2010-02-02]
Send contacts by SMS
Pick up contact information from saved contracts
Send Customized information
Retrieve contact information from SMS
Save retrieved Contact Information in Phone Contacts
Customize business Card before sending /saving
Integration with Phone/Contacts Application for sharing contact
Version 1.1 [2011-02-28]
Add Contact with Sync Facility (with Google only) - If no account configured then saved with "Phone only"
Fixed some spell mistakes
Version 1.2 [2011-03-02]
Modified Manifest file to allow Android 2.1 user. android:minSdkVersion="7"
Note: User with Android 2.2 or above need not to upgrade to this version, No other changes in this version.
Version 1.3 [2011-03-12]
Added new Icon - More descriptive what application does. Hope you like it.
NOTE: For version 1.4 update, Please un-install previous version (if applicable) before update. Otherwise previous version will not be replaced.
Version 1.4 [2011-03-18]
Fixed the issue with Character Encoding (e.g. Cyrillic alphabet)
"NOTE" in received business card Message will be saved successfully [limitation only one note can be processed]
Version 1.5 [2011-03-20]
- Application Available to Android Market.
- Fixed force close issue due to missing Name/First name
- Fixed internal bugs to improve performance
To Install Scan image or just click from Phone:
From Android Phone:
market://search?q=pname:isoftmagic.share.contact
Android Web Market:
https://market.android.com/details?id=isoftmagic.share.contact&feature=search_result
Please, Post your response and if you liked it "click thanks" and Tweet...somehow it encourages me. Thanks for your support!!!
Thanks "mic_888" for recognition and post on XDA - Portal!!!!
what your app name in market?
I didn't published to market thatz why i shared the apk file with post
Sent from my HTC Magic/Dream using XDA App
Is this open-sourced?
er.vikas said:
I was fascinated by Google Android platform and about one year ago I bought my first Android phone (HTC Magic). Well the platform was not that much mature at that time and my phone was lacking many features. With time it matured and evolved. After waiting a long time and spending a lot of hours to search a application which could send business cards and receive them as well, I couldn't find one which could fulfill my needs. So I decided to create one for me.
Here I present my first android application - Share Contacts
Minimum Requiremet:
Android 2.0
Features:
Send contacts by SMS
Pick up contact information from saved contracts
Send Customized information
Retrieve contact information from SMS
Save retrieved Contact Information in Phone Contacts
Application APK file is attached here.
Please give it a try and provide your feedback (if possible)
THANKS
Click to expand...
Click to collapse
Beach_Head said:
Is this open-sourced?
Click to expand...
Click to collapse
Till now I didn't uploaded it to any source-code sharing site...may be in near future... based on users response
Okay. Well, I think I'll give it a try...
er.vikas said:
Till now I didn't uploaded it to any source-code sharing site...may be in near future... based on users response
Click to expand...
Click to collapse
This AWESOME! Its seems to be working flawlessly on my Nexus One on CM7 nightly rom. Will update more observations soon. God bless you for this.
Aside : I wish others with programming skills would make such amazingly meaningful apps instead of eye candy themes. I hope I learn android programming soon.
Can I see your permissions from your manifest file? LOL
why you need that ?.... anyway... here is list of permission:
android.permission.GET_ACCOUNTS
android.permission.READ_CONTACTS
android.permission.WRITE_CONTACTS
android.permission.READ_SMS
Contact saved from received vcard goes into 'phone only, unsynced' group. This cannot be synced with Gmail.
Can you please provide options to choose where/which account to save the contact in?
This would make it perfect!!
KoolPal said:
Contact saved from received vcard goes into 'phone only, unsynced' group. This cannot be synced with Gmail.
Can you please provide options to choose where/which account to save the contact in?
This would make it perfect!!
Click to expand...
Click to collapse
Thanks!!!! Nice suggestion, I can try to make it happen....
Any updates?
Perfect! Now it saves contact into default Google account!
Awesome! God bless you for this!!
i am the only with installation problem?
from the device : there was error parsing the package
from adb install..
/adb install aha_signed.apk
1397 KB/s (109332 bytes in 0.076s)
pkg: /data/local/tmp/aha_signed.apk
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
tried to resing the apk, dosent help at all..
google about that and found that may be:
android:versionName="1.1"
can lead to problems (something about digit, which is not understood as digit etc...)
How can i modify AndroidManifest.xml ? ( i have found java -jar AXMLPrinter2.jar , which can "decode" it, but did not found how to "encode" it )
p.s. trying of android 2.1 (aka eclair) "stock" version
peshovec said:
i am the only with installation problem?
from the device : there was error parsing the package
from adb install..
/adb install aha_signed.apk
1397 KB/s (109332 bytes in 0.076s)
pkg: /data/local/tmp/aha_signed.apk
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
tried to resing the apk, dosent help at all..
google about that and found that may be:
android:versionName="1.1"
can lead to problems (something about digit, which is not understood as digit etc...)
How can i modify AndroidManifest.xml ? ( i have found java -jar AXMLPrinter2.jar , which can "decode" it, but did not found how to "encode" it )
p.s. trying of android 2.1 (aka eclair) "stock" version
Click to expand...
Click to collapse
I think you have installed earlier version and now you are trying to install it without un-installing it.
try this:
adb install -r aha_signed.apk
if it doesn't work then un-install it manually and then try...
Good luck
sorry, that didn't mention that
it is first install
have tried the reinstall option too
Sent from my Milestone XT720 using Tapatalk
Please download version 1.2. I have fixed the issue. Now Manifest file has following entry
android:minSdkVersion="7" (Android 2.1)
Sorry for Inconvenience!!!!
thanks
installed now successfully
Sent from my Milestone XT720 using Tapatalk
Hey, another request.
Am using this on Nexus One with a CM7 Nightly Tom.
Currently you need to scroll to select the contact you wish to send.
I use the search key, it pops up, but it does not register any entries and therefore cannot find the specific contact.
Can you please include a search option?
Thanks.
User Manual
KoolPal said:
Hey, another request.
Am using this on Nexus One with a CM7 Nightly Tom.
Currently you need to scroll to select the contact you wish to send.
I use the search key, it pops up, but it does not register any entries and therefore cannot find the specific contact.
Can you please include a search option?
Thanks.
Click to expand...
Click to collapse
There is very easy work around for this.
Open Contacts App -> search contract -> menu -> share -> select "Share Contact" app -> You get the contact in "Share contacts" Application
Please let me know if it works for you
Hello,
is there an official list of all methods which need android permissions to be set for execution?
It should look like this:
method01() needs READ_PHONE_STATE
method02() needs ACCESS_NETWORK_STATE
...
Regards
Michael
mpowerlight said:
Hello,
is there an official list of all methods which need android permissions to be set for execution?
It should look like this:
method01() needs READ_PHONE_STATE
method02() needs ACCESS_NETWORK_STATE
...
Regards
Michael
Click to expand...
Click to collapse
There is no such official litst. I believe the only official list you can find is the Manifest.permission.html file on android developers site.
API Call to Permission mapping
HazardGames said:
There is no such official litst. I believe the only official list you can find is the Manifest.permission.html file on android developers site.
Click to expand...
Click to collapse
I found a generator for such a list called PScout. You can google it, i am not allowed to post links here.
You can generate a apicall-to-permission mapping by scanning the android sources with the PScout tool.
But PScout comes with a problem:
a)An api call can need one of more permissions to be active. For example some methods need either ACCESS_WIFI_STATE or CHANGE_WIFI_STATE to be active.
b)An api call can need a set of permissions to be active.
PScout can't distinct between case a) and b)
Does anyone know ALL methods which need more than one permission to be active? Every hint will be helpful.
Regards