Please Help - Sony Xperia M

I installed an app called C++4droid.
I wanted to make something so I started.
The line of code:
#include <iostream>
didn't work.
I didn't have GCC.
So I went and downloaded it from google play. It failed after saying the app is installing and gave me an error.
The app (insert name) cannot be installed, because there is already an app with the same user id installed.
So I uninstalled C++4droid and I could install it fine. But I need C++ to actually use it.
Is this only my device?
Please help.

I really think it's only yours Xperia M. Because I don't think anyone programs on mobile.
Btw there are too many compiler apps available... And AIDE is definitely best...

StraightEdgeKid said:
I really think it's only yours Xperia M. Because I don't think anyone programs on mobile.
Btw there are too many compiler apps available... And AIDE is definitely best...
Click to expand...
Click to collapse
I fixed it
Still thanks

Congratulations, also try to learn Objective C and Swift!!!

StraightEdgeKid said:
Congratulations, also try to learn Objective C and Swift!!!
Click to expand...
Click to collapse
I already made 3 crappy programmes xF

Related

How do you dive into Android development?

For example how do you make programs that do 1-click rooting, or modify the official ROM such that it does not update HBOOT, or make mods for it? What programming languages do you have to know? What system environment (Windows, Linux, etc.) do you have to be running?
Love Android, want to start contributing after end of my national exams (November )
good skills in Linux and Java-Programming seems to be a good combination
BrainMcFly said:
good skills in Linux and Java-Programming seems to be a good combination
Click to expand...
Click to collapse
Then how do you make programs that do 1-click rooting, or pre-load applications like busybox into the ROM? You'd have to manually edit the source code of the ROM, don't you?
fterh said:
Then how do you make programs that do 1-click rooting
Click to expand...
Click to collapse
Years of hardware hacking experience and days of work / problem solving.
bedeabc said:
Years of hardware hacking experience and days of work / problem solving.
Click to expand...
Click to collapse
I'm 16, no prior programming experience (unless you count a Hello World as one), on Windows right now. How would you advise me if I want to start contributing to the Android scene?
I've found a post which looks like a good starting point and contains a lot of helpful links:
hxxp://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
Regards,
Tom
P.S: Sorry, had to cripple the link, because I'm a new user and therefore not allowed to post a "real" link.
fterh said:
or pre-load applications like busybox into the ROM? You'd have to manually edit the source code of the ROM, don't you?
Click to expand...
Click to collapse
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Rudolfje said:
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Click to expand...
Click to collapse
You mean system/app lol
Sent from my HTC Desire using Tapatalk
Rudolfje said:
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Click to expand...
Click to collapse
You mean /system/app? There is nothing under /data/ in my phone.
fterh said:
You mean /system/app? There is nothing under /data/ in my phone.
Click to expand...
Click to collapse
Data/app is where installed apps go, chances are u dont have anything there cuz ur using apps2sd
Sent from my HTC Desire using Tapatalk
data/app is where you can put user-removable and other apps you want seperate from the system/app in a custom rom - has to be added to the rom itself like A2SD does.
AndroHero said:
Data/app is where installed apps go, chances are u dont have anything there cuz ur using apps2sd
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Oh okay. So before trying my hands at developing a ROM I should try writing some apps first?
Edit: But my ROM Manager has a "Move to SD Card" button, which means it should be in /data/app?
Bump. Then do I need to be on a Linux environment? Any gurus can give some pointers to a newbie to the Android scene?
being on linux would be easier - knowledge of the OS would be better.
If you use Linux you can use dsixda's kitchen to sign and build the rom after youve finished adding removing, editing etc. It's going to be a case of trial and error, but you cant break the phone as long as you're using a rooted/su rom, without the HBOOT or radio in it. You might get a bootloop/freeze, or 57 force closes but you can always re-flash.
Say i wanted to remove certain preinstalled apps from the official Froyo ROM, how would i know which files to delete from the zip?
Sent from my HTC Desire using XDA App
TomakiD said:
I've found a post which looks like a good starting point and contains a lot of helpful links:
hxxp://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
Regards,
Tom
P.S: Sorry, had to cripple the link, because I'm a new user and therefore not allowed to post a "real" link.
Click to expand...
Click to collapse
Where going to post the exact same link. It contains all that you need, usually.
fterh said:
Say i wanted to remove certain preinstalled apps from the official Froyo ROM, how would i know which files to delete from the zip?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
You'll find a lot of info on the following thread. There you're linked to Android Developers pages where the structure of a ROM etc is described. All the info you need is there.
http://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
I think I'll try writing some apps on Ubuntu before even thinking of maintaining and developing my own ROM. This way I can get close and cozy with the Android system and learn Linux. One question though: Is the learning curve steep?
fterh said:
I think I'll try writing some apps on Ubuntu before even thinking of maintaining and developing my own ROM. This way I can get close and cozy with the Android system and learn Linux. One question though: Is the learning curve steep?
Click to expand...
Click to collapse
Bump. Is the learning curve steep for someone who has no prior programming experience?
fterh said:
Bump. Then do I need to be on a Linux environment? Any gurus can give some pointers to a newbie to the Android scene?
Click to expand...
Click to collapse
If you have never had ANY programming experience before I would reccomend learning another language first, before trying to learn Java. Try vb.net if you have Windows, learn that and you get the gist of how to programme, then install Linux Ubuntu or another distro, familiarize yourself with the Terminal command line, then go on to learn Java, then the Android SDK, then make some apps, then learn how to modify roms etc. The last thing you want is a bricked phone

SSH client for bada

Hi i've found an OPEN SOURCE SSH client for bada
here's the source
https://github.com/ujifgc/badassh
so someone who has the bada sdk please compile it and send it to samsungapps as it might be a great program
Click "ZIP" to download all files
r_22009 said:
Hi i've found an OPEN SOURCE SSH client for bada
here's the source
https://github.com/ujifgc/badassh
so someone who has the bada sdk please compile it and send it to samsungapps as it might be a great program
Click "ZIP" to download all files
Click to expand...
Click to collapse
yeah,I have sdk,but this time i have no more time,Only night i maybe send it
It's better that you register it with the developers name :"ujifgc"
hmmmmmmm
last commit 11 months ago !
Don't you guys think that it is non-working app ??
Why app developer gave up ?!!!!
Anyway....Please test app first before submitting it to Samsung Apps to avoid bugs
Best Regards
sure we should test it
i've emailed the developers some months ago and he said we're waiting for bada 2.0 to be officially released but now i dont know what are they waiting for!
maybe it's working, testing that is not bad, is it ?
Has anybody done something?
r_22009 said:
Has anybody done something?
Click to expand...
Click to collapse
i tried,But i cannot compile it
hero355 said:
i tried,But i cannot compile it
Click to expand...
Click to collapse
why ? you mean the files are incomplete or something?
r_22009 said:
why ? you mean the files are incomplete or something?
Click to expand...
Click to collapse
Because I Don't know SDK GOOD
And i dont have SDK
Please some one helps and compile it if he has time
thanks to everyone
The source code has a bug in it
I didn't write the app from scratch so i have no idea what is that function meant for
Also manifest file is missing so no idea what privileges the app use
Bottom of the line....The developer need his app and didn't really open source it !
Best Regards
Wow it's new kind of open source sharing i think
Bada sdk 1.2 is needed :/
Hey, it's my repo, and it was frozen until bada 2.0 for my device.
Yes, it's based on PuTTY, and it's working ok on 1.2, but it was refused by samsung apps due to visual glitch I could not fix.
So if you put full source here maybe someone can fix it
the mainfest is missing
i think this project can be completed easily cuz it worked on 1.2
so a small fix can make the problem run on 2.0
so please a specialist come and help this project
I fixed few things that prevented the app from building on sdk 2.0, and added some builder hints in README file (it's in the root of ujifgc/badassh repo on github).
Now it builds and runs fine on my device, but I can't get to debugging because the IDE keeps labeling my breakpoints with 'unresolved breakpoint' complain.
Known bugs with 2.0 are: not saving configuration settings (host, port, username) and not saving RSA2 keys. Something to do with app storage, I think.
If you got putty.ppk file, the app can use it from /Phone/Other/putty.ppk
I installed on phone. But had some problems with usability. How to break command or use editors. There is no ctrl, alt, shift buttons.

Firefox Browser

I would like to try it on the KF but I am not sure if I need to be rooted to download and install.
Is there a Apk file I could use that you know of?
robertc88 said:
I would like to try it on the KF but I am not sure if I need to be rooted to download and install.
Click to expand...
Click to collapse
Not all Android devices are rooted, so it would be ridiculous for a company like Mozilla to only provide Firefox to rooted devices.
Is there a Apk file I could use that you know of?
Click to expand...
Click to collapse
Google "Firefox apk"
Mozilla is not the showstopper. Do you know of a way to load Firefox on the kf? One just cannot load anything on the kf, the closed garden is the issue.
robertc88 said:
Mozilla is not the showstopper.
Click to expand...
Click to collapse
Even though Firefox is open source, it does not fall under GNU guidelines. Mozilla still owns the copyright and has requirements for which it will be implemented, very much like Google does with Android.
Do you know of a way to load Firefox on the kf?
Click to expand...
Click to collapse
Have you tried sideloading it?
One just cannot load anything on the kf,
Click to expand...
Click to collapse
One can "load" anything they want to the KF. Whether or not it works when you try to install it depends on whether or not it's compatible with Gingerbread and the device's hardware. It's all a matter of installing it to see if it works.
the closed garden is the issue.
Click to expand...
Click to collapse
????
First, Download this: http://ftp.mozilla.org/pub/mozilla....droid/multi/fennec-15.0.multi.android-arm.apk (got the link from the Mozilla website, if the mods don't like that i added a direct download link, let me know and i can add a link to the Mozilla page.)
Second, allow installation of apps from unknown services in the Settings
Third, use Quickoffice to go where you downloaded the apk. Tap on it and install it. Enjoy
Is anyone using a ROM with hashcode's new kernel 09/05 having problems with firefox fc-ing upon opening?

Nokia Here maps apk nokia x

some here maps apps puled from nokia x ``not working``
edit :a new version of the main apk and a hidden folder that goo to /sdcard/
white the same problem not working
Is it working? Instal as normal app or pushing to system/app?
Mikulec said:
Is it working? Instal as normal app or pushing to system/app?
Click to expand...
Click to collapse
not working... Here services n here maps installed bt the other package failed tu install.. i m not a root user as root not available fr my device...so havent tried installing in system partition!
galibthegreat said:
not working... Here services n here maps installed bt the other package failed tu install.. i m not a root user as root not available fr my device...so havent tried installing in system partition!
Click to expand...
Click to collapse
installing here(im root)lemme see
the one that fails is because of missing library...
http://prntscr.com/2wb2uu
its com.here.android
lemme do somethings to see if i can get it works
Attached are missing libs and framework.
framework/com.here.android.jar
lib/libMapsEngineResourcePkg.so
lib/libMAPSJNI.so
On 4.4 app gets stuck after loading the HERE logo. Maybe it'll work on Jelly Bean 4.1?? I didn't try the build.prop mod.
Logcat shows signature mismatch of com.androd.location.provider.jar, so I have attached that as well. If you replace this, make sure to do a backup beforehand.
It seems like we're getting close!
progrockguy said:
Attached are missing libs and framework.
framework/com.here.android.jar
lib/libMapsEngineResourcePkg.so
lib/libMAPSJNI.so
On 4.4 app gets stuck after loading the HERE logo. Maybe it'll work on Jelly Bean 4.1?? I didn't try the build.prop mod.
Logcat shows signature mismatch of com.androd.location.provider.jar, so I have attached that as well. If you replace this, make sure to do a backup beforehand.
It seems like we're getting close!
Click to expand...
Click to collapse
Tested on Android 4.2.1, not working. :/
Not working sadly. I hope somebody will install itt soon!
Sent from my HUAWEI P6-U06 using XDA Premium 4 mobile app
Yay, a new challenge with a great reward! Can anyone send me a full system dump from the Nokia X? Through DM/PM is also fine if you don't want to share a dump here.
Chaosz-X said:
Yay, a new challenge with a great reward! Can anyone send me a full system dump from the Nokia X? Through DM/PM is also fine if you don't want to share a dump here.
Click to expand...
Click to collapse
https://mega.co.nz/#!DVEhRJJK!FkmP5cTYjq9svqSAcPdNo4EiP80LvT-xzju6aqojsWk
Excellent, thank you I have a few days to tinker around with this due to a vacation, so hopefully I can bring you some good news
Chaosz-X said:
Excellent, thank you I have a few days to tinker around with this due to a vacation, so hopefully I can bring you some good news
Click to expand...
Click to collapse
waiting to see it soon!
It's not complaining about an incorrect device anymore. That's something. Thanks to some variables in the smali files, I can see that it is looking for a file which can not be found now. There is either a folder on /sdcard by default on a Nokia X, or there is a library/framework we are missing. I will build a list of all required files later.
synescu said:
here are some here maps apps puled from nokia x
Click to expand...
Click to collapse
You must be Crazy bro.. It's just dumb. These three files aren't Nokia HERE apk, they are just services. So, it means Nokia HERE will not work by using these files.
Mrtoxicgamer10 said:
You must be Crazy bro.. It's just dumb. These three files aren't Nokia HERE apk, they are just services. So, it means Nokia HERE will not work by using these files.
Click to expand...
Click to collapse
HereSuite it's not a service app so wat is so dumb?
Sent from my Moto G using Tapatalk
synescu said:
HereSuite it's not a service app so wat is so dumb?
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
ahhh.. I see. Maybe some files are missing or it needs some modification, I mean editing
synescu said:
some here maps apps puled from nokia x ``not working``
edit :a new version of the main apk and a hidden folder that goo to /sdcard/
white the same problem not working
Click to expand...
Click to collapse
can you introduc how to use plz:victory:
i am looking forward to this. thanks!
badboy47 said:
i am looking forward to this. thanks!
Click to expand...
Click to collapse
As a Symbian user, i'm very interested as what i miss the most on Android handset is Nokia's navigation.
Its seems like also depends on "libexticonv.so" library, I found this line on LogCat:
dlopen("/system/lib/libexticonv.so") failed: dlopen failed: library "/system/lib/libexticonv.so" not found
Click to expand...
Click to collapse
I extracted it from the system dump, and uploaded it to dropbox:
https://www.dropbox.com/s/ow2805mkee3h9bf/libexticonv.so
But I don't now how to remove the device restrictions, I've no experience on apk mod
Anxious to try HERE offline maps myself. I appreciate the people who know how & do.

Deploy app on build 14361

so the latest build hasn't fixed the problem yet, but Microsoft says that u can use WinAppDeploycmd insted of it :laugh::laugh:
I tried but encountered this error
i.imgur.com/PQfKCNr.jpg
anyone knows how to fix this? many thanks
p/s: sr i don't have enough posts to p image
It seems that WinAppDeployCmd.exe is only for UWP apps
titi66200 said:
It seems that WinAppDeployCmd.exe is only for UWP apps
Click to expand...
Click to collapse
thanks, ur right so this kit can only used for UWP? so sad :crying: hope they'll fix this soon
I think there is a tool to convert regular apps to UWP
alexche77 said:
I think there is a tool to convert regular apps to UWP
Click to expand...
Click to collapse
really? i searched but it only shows how to convert from desktop app to UWP? can u give me the link, plz?
ITerwithnoname said:
really? i searched but it only shows how to convert from desktop app to UWP? can u give me the link, plz?
Click to expand...
Click to collapse
Actually, looking at the image... You're trying to deploy minecraft (which isn't free). Yeah... no help on this one. Closed

Categories

Resources