|
i want to develop a multi messenger android app app to send a notification to a mobile receive using the phone number of holder.
|
|
|
|
|
Well go ahead; you have our permission.
Feel free to come back if you need help with the code you have written.
(If you were expecting someone else to write the code for you, then you've come to the wrong place.)
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I work on an android application in Xamarin. For buttons background create e a xml. its so simple. the code is:
="1.0"="utf-8"
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<gradient android:startColor="#ff000000"
android:centerColor="#ffffffff"
android:endColor="#00ffffff"
android:type="radial"
android:gradientRadius="100"
/>
</shape>
</item>
</selector>
when i user linear or sweep in android:type code everything is fine, a good transparent gradient appeare in my device( My device is HTC One M8). but when i user radial a bad solid color appear. no transparency. i want use this technique for the shadow under buttons. but if check the screenshot a very bad harshy solid color appear under the buttons.
is it a bug in the code or in my device or in xamarin deploy setting? i confused whole a day.
Screenshot
thanks for any help
|
|
|
|
|
So what is it SUPPOSED to look like?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
If check the screenshot (third screenshot from left) Big OFF Button, must have a transparent radial gradient, but it has a black solid color.
|
|
|
|
|
nadersadigh wrote: ...transparent radial gradient... Which looks like what exactly?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
I want to scan the AR Marker...can u send me code..
|
|
|
|
|
On its way!!
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Hi all, I've imported a project from https://github.com/nikclayton/android-squeezer[^]
but when I try to build it in Android Studio I get androidmanifest.xml file not found any ideas ? as the file is definitely there
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
pkfox wrote: as the file is definitely there But where is "there". If the project was originally built with eclipse it will be in the project's root directory. But Android Studio keeps it in the main activity's source directory (app/src/main).
|
|
|
|
|
Sorry Richard the project has a lot of nested components and the manifest file is in the src/main folder of one of the nested folders ( probably best if you had a look at the project as I'm not too well versed with the structure of Android projects ) thanks - I'm trying to use the project as a learning aid for Android
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
|
I've written a few apps Richard using Android Studio so am not a complete novice but this app interests me as a learning example because I actually use it and it's very good
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Did you create this project from scratch, or import it from Eclipse?
If the latter, have you looked in those projects to see where the AndroidManifest.xml file resides?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Hi Dave, as I said earlier I downloaded the project from github
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Just took a look on github and the file is definitely there (Squeezer/src/main). Are you sure it got downloaded correctly?
|
|
|
|
|
Yes
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Hi Richard would you mind trying to download and build the project ( obviously if you have the time ) in Android Studio ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Sorry Pete, I don't have Android Studio, I found that it is extremely slow on my system so I use eclipse.
You may like to go back and check exactly where in the build the error appears, as there are (by the look of the build tree) other pieces that may be actioned.
|
|
|
|
|
Ok Richard thanks, when you say other pieces need to be actioned do you mean downloaded seperately and built ? I ask this because I notice a module / project calles EventBus although it's shown on GitHub as being part of the project it doesn't actually get downloaded in the the zip file.
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Yes, I did actually download the zip file yesterday and there seemed to be some other (test) projects in there, so it may be something to do with that. As I said, you need to check exactly where in the build the error occurs.
|
|
|
|
|
Thanks Richard - I've actually installed Eclipse now if that helps ?, I naively thought the process would be similar to downloading a Visual Studio solution and building it - why is everything so difficult ? - thanks again
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Maybe; eclipse uses a different project structure, so you cannot just build from the existing download. I do know that Android Studio will import eclipse projects and (try to) re-configure them, but I don't know if eclipse can do the same with an Android Studio project. I guess you will have to try it and see.
pkfox wrote: why is everything so difficult ? If it was easy then the IT industry would not need clever sods like us. All apps would be created by the guys in Q&A.
|
|
|
|
|
Are you saying the GitHub project is an Eclipse project format ? ( I don't know the difference )
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
No it's definitely Android Studio. The project tree structures are different, and Android Studio uses something called gradle[^] (WTE?), while eclipse uses ADT to do the actual compile, link, package steps.
|
|
|
|