|
|
Thanks for the link. Unfortunately, our app isn't very related to HTML5, javascript, JQuery, etc. except when we are downloading customer purchases. To put it in perspective, even .NET on desktop has proved to be an inadequate solution in some situations. Qt exacts a measurable performance cost, but much less so than other solutions.)
|
|
|
|
|
Fair enough, sorry. Cross platform just means so many things to different people. I didn't know they had Qt on mobile platforms - great news, thank you!
--------------
TTFN - Kent
|
|
|
|
|
Personally I found Codename One to be a better match for my needs than QT or Xamarin. QT has some nice capabilities and I would agree with you that I would pick it over Xamarin.
This varies a lot with what you are trying to accomplish though e.g. I would not use Codename One for a game just like I wouldn't use Unity for an app that isn't a game...
When comparing Codename One to QT there are several big advantages e.g. you don't need a Mac for iOS development, but surprisingly native integration is better... E.g one of our apps needed Google Maps support and we were sure we'd need to go native with QT or fully native. Turns out QT doesn't support native Google Maps (or didn't at the time) and Codename One had "ready made" integration that worked on iOS & Android. To be fair the Codename One integration had some issues but we got it to work eventually.
|
|
|
|
|
Hi,
Can anybody tell what GPS coordinate system used for the folowing device
IPHONE
Note: I have came across that some of the mobile device use WGS84 coordinate system.But no idea about the above mentioned devices.
modified 28-Oct-13 5:59am.
|
|
|
|
|
GPS coordinates do not depend on the data set - WGS84, NADS27, etc.
The data sets are only used when trying to do a UTM projection to a flat surface.
|
|
|
|
|
Let me add a bit to this.
GPS Coordinates are actually Latitude/Longitude Coordinates - in use looooong before GPS satellites (or any man-made satellite) ever existed.
Latitude/Longitude (Lat/Lon) is a spherical coordinate system.
UTM is spherical surface projection to a 2D flat surface.
However, the Earth is not a perfect sphere. There are different models of the earth that each have varying accuracy in different regions of the Earth. And these models have also improved over time.
The "Vincenty" formulas are used to go back and forth between the spherical model (Lat/Lon) and the flat model (Northing/Easting/Zone).
The "Vincenty" formula are generalized to allow the use of different "ellipsoidial" models of the Earth using a "data set"of which WGS85 is the most common in use today, at least in the USA.
The iPhone GPS chip provides location in Lat/Lon. A particular mapping program will locate a position on its maps based on the UTM data set the maps were created with.
For example, Google uses WGS84 as did the old Microsoft Teraserver. I would expect that all map services located in the USA use WGS84. However, there are some map services with data that originates from older printed maps that used NAD27.
I hope this helps a little.
|
|
|
|
|
Hello friends.
I am developing a software which is sending some picture from pc to android.
it is working for Android 4.0.2 or earlier versions.
But the same code does not work for android 4.2.2 (JB)
Does not return any error message back.
It's all right, but the picture shown in the imageview (on by default have a picture of) an empty changing.
my code are
private void runTcpImageServer() {
ServerSocket ss = null;
Boolean end = false;
Message msg;
Socket s;
InputStream in ;
try {
ss = new ServerSocket(vrSolPort);
while(!end){
s = ss.accept();
in = s.getInputStream();
bmpSol= BitmapFactory.decodeStream(in);
s.close();
msg = threadHandlerIMGSol.obtainMessage();
msg.obj = "Geldi";
threadHandlerIMGSol.sendMessage(msg);
}
ss.close();
} catch (Exception e) {
}
}
can you help me
Komurcu
|
|
|
|
|
Did you decode it successfully? How did you set the bitmap to your ImageView? Please post your code that how you set
bmpSol
|
|
|
|
|
my code like those
private static ImageView myImgSol;
myImgSol = (ImageView) findViewById(R.id.imgBckGroundSol);
private Handler threadHandlerIMGSol = new Handler() {
public void handleMessage(android.os.Message msg) {
// whenever the Thread notifies this handler we have
// only this behavior
try {
// DB operation
//threadModifiedText.setText( threadModifiedText.getText() + (String)msg.obj);
myImgSol.setImageBitmap(bmpSol);
//myImg.refreshDrawableState();
} catch (Exception e){
//throw new RuntimeException(e);
}
Komurcu
|
|
|
|
|
whether following line executed?
myImgSol.setImageBitmap(bmpSol);
Have you dumped bmpSol to check whether the bitmap is correct?
|
|
|
|
|
yes i checked it.
i am using two different device.
one of 4.0.2
other one is 4.1.2
program is working on 4.0.2
but not working on 4.1.2 at same time.
Also i am writing binary file on label
image is coming from pc
|
|
|
|
|
|
|
|
Hi all!
I'm trying to make a part of an application, that includes an image gallery sorted and grouped by date.
The images, are stored in sd card.
I think in a listview with multiple type of rows, but i don't know where to begin :S. I have read more than 30 articles in the web, but nothing.
Layout:
DATE 1
PHOTO1 PHOTO2 PHOTO3...
DATE 2
PHOTO1 PHOTO2 PHOTO3...
DATE 3
PHOTO1 PHOTO2 PHOTO3...
....
Any suggestion?
Thanks!
|
|
|
|
|
Hello there,
I am developing a C++ module for Android and needs to do some XML formatting of messages.
Is there a way of doing XML parsing using C++ in Android?
I know that JAVA has XML class to do parsing. But unfortunately i will not be able to use that as am doing the development on C++.
Please share any sample code.
Thanks in advance.
|
|
|
|
|
|
Please post your question in one location only.
|
|
|
|
|
ok.. i am new here so i think its chat group for android so , i posted here too.
|
|
|
|
|
The reason you post in one location only is that you need answers in one location. If you post in two or more places, answers get spread out and it makes it difficult for people to build on the previous answer to give you what you need.
|
|
|
|
|
ok..i understand now but can u tell me what's the use of this place. It is used to place question or for chat only.If i ask question here then why should i used question reason .
|
|
|
|
|
|
There are two independent places you can ask questions. Here or in quick answers. I find that these forums are better places if you have a question that might require some teasing out of the answer. In other words, if there's ambiguity or you aren't quite certain as to what your question really is about, this is the place to be.
|
|
|
|
|
ok!!Great for helping me.But now i have main question how to pause my countdowntimer. can u help me out on this what i have tried like this:-
long s1=millisUntilFinished;
when i want to pause the timer use..
Counter.cancel();
when i want to resume create a new countdowntimer with left milliseconds..
timervalue=s1
counter= new Counter1();
counter.start();
|
|
|
|