Code:
android.app.Fragment;
// or
android.support.v4.app.Fragment;
I'm running into issues with context - I'm fairly new with Java as well as Android development so it's a steep learning curve and I appreciate any help!
Thanks!
If you don't need your app to work on old devices (ie if you only want it to work on android 3.0+) then use android.app.Fragment. Otherwise use the support Fragment class.
Related
I'm interested in starting development on Windows Mobile (specifically 6.x on my Fuze). The first thing I want to do is develop a custom shell with a workflow that caters to my use. Here is what I'm wondering:
How easy is it to implement a custom shell? Can it be done using managed code? Or do I have to use lower level unmanaged api's? In a related note: Would the performance of managed code be sufficient for a reasonably featured shell?
How easy is it to put a new shell "in place?" What is involved in the process? Is the shell a standard executable?
How much access do I have to hardware? Specifically, I'd like to be able to light up the d-pad light in certain cases.
A little background on me, I have zero experience developing on Windows Mobile, but I have quite a bit of experience using .NET and the desktop Win32 API.
Thanks in advance. Looking forward to contributing to the community.
Hello, i want to ask if there is any program availiable for android phones like notepad++ for pc where i can write code for programming languages. Compiling them i know it's not possible but i want an app for writing the code while i am away from my pc.
Even though I don't agree with notepad++ (I am a linux user, but I always thought it was terrible) I would like this too.
I have spent some time looking and have yet to find anything that will do this, so I have to ssh into our development server and then use nano. It works for small fixes, which is the only thing you would really want to do on your android.
yeah i also would really like to see this so i can be programming while at work and school when i'm on the go. I've recently started learning to develop for android maybe this would make a good project.
i believe some roms have gedit or nano included so you could use that
Check out our touchqode source code editor for Android at touchqode dot com (forum does not allow us to post link)
It features syntax highlighting, code suggestions (autocomplete) and incremental search. We support Java (most mature), Python, C++, C# and Ruby (partial support).
We are eager to hear some feedback.
We just release Codeanywhere for Android, try it out I think this my be to your linking.
Just search Codeanywhere in the Android Market!
Let us know what you think
Just to let you know... Codeanywhere works but stops showing code at line 52 (consistently, doesn't depend on file type) on my Asus Eee Pad Transformer (16GB) w/ dock.
You can also try DroidEdit: https://market.android.com/details?id=com.aor.droidedit
Hello!
As some could see in my other topic, I'm learning about android studio to make an app with some maths to help me with my job.
Well, in one specific case, I need to search and get values in a table, based in a reference. Its basically like the VLOOKUP/HLOOKUP function in Excel.
My doubt is the ideal way of doing that, is there any kind of table inside the android studio, like a container or something ? Or I should use a data base ?
Below is the same math, on excel, that is the base that I'm creating the app for android, in this case is a simple table, but in some cases are many values:
The attachment 001.png is the list where I select the materials Standard, and then I get the 2 values σt and σe from the table.
The attachment 002.png is the table I am looking for the values:
Sorry about this kind of question, but I'm just reading a lot, looking for tips leading me to an ideal way of doing it, but its a little hard in the beginning.
Thanks in advanced.
Barata
Conversion
Hey from your question , I undestood that you are looking for ready table to give values.
As i see you are getting values in excel.
1) There is no direct conversion table available into android studio.
2) You can use library project import if you require familiar conversion tables.
3) If in excel you make your own conversion method . apply same into Anddroid studio.
What more , share your method or query breif.
Hello,
Thanks for replying satyampv,
Actually my doubt isnt about conversion, I said about excel because I'm used to work with it. And its so easy to use vlookup there that I was wondering if would have something like it on android studio .
If I have to put some huge table in a database here on android, it's ok, I accepted that I would have to do it. But the doubt is if I really have to use a database, or if exists other way to look up for values in a table. Like you said "2) You can use library project import if you require familiar conversion tables.", is that an alternative for a database ?
Or should I just forget those "normal tables" from my mind and use SQL lite ? Because is just to look for values, just read, I don't need to write neither do any changes in the table after it's created.
Thanks in advanced, again.
barata
Hello everybody, happy to have found this forum.
I am a student and have studied 3 years Java in highschool (pretty good level) and studying for about 2 C/C++ at University, am good with PHP and databases and I know some CMS pretty well. So intermediate programming skills, hoping to improve them. I'm from Italy so excuse my bad grammar
I want to create this app for some friends of mine and I want it to be connected to a database and that database will be displayed online on a website. Basic data categorized and if possible displayed differently for different zones. So say you're from Japan and access a category from the website: firstly it asks for location access and then displays to you the "nearest" data available (if you'd want you could access data from other locations). This should have minimum costs, talking website/database.
So what I am asking, how hard this can be? I have never created a project in Android Studio, just worked with Netbeans ,CodeBlocks and Eclipse.
Is there a way to quickly learn how to save the data from an app to a database ? The other way I guess I'm able to do it.
If any of you is so kindhearted to help me find some good tutorials.
Thanks.
It depends on your skill, based on your skill set it will be easy for you.
All you need is create an API for your app so it can exchange data to your web server. You can use a PHP Framework for your API to make your life easy.
On Android part you can use GSON for converting JSON data to Java Object and vice versa.
mariozawa said:
It depends on your skill, based on your skill set it will be easy for you.
All you need is create an API for your app so it can exchange data to your web server. You can use a PHP Framework for your API to make your life easy.
On Android part you can use GSON for converting JSON data to Java Object and vice versa.
Click to expand...
Click to collapse
hello kababayan.. do you specialized on themes? for what devices?
ioubuntu said:
Hello everybody, happy to have found this forum.
I am a student and have studied 3 years Java in highschool (pretty good level) and studying for about 2 C/C++ at University, am good with PHP and databases and I know some CMS pretty well. So intermediate programming skills, hoping to improve them. I'm from Italy so excuse my bad grammar
I want to create this app for some friends of mine and I want it to be connected to a database and that database will be displayed online on a website. Basic data categorized and if possible displayed differently for different zones. So say you're from Japan and access a category from the website: firstly it asks for location access and then displays to you the "nearest" data available (if you'd want you could access data from other locations). This should have minimum costs, talking website/database.
So what I am asking, how hard this can be? I have never created a project in Android Studio, just worked with Netbeans ,CodeBlocks and Eclipse.
Is there a way to quickly learn how to save the data from an app to a database ? The other way I guess I'm able to do it.
If any of you is so kindhearted to help me find some good tutorials.
Thanks.
Click to expand...
Click to collapse
I guess it can be created and to save your time try to build it using a mobile app builder then connecting it to other source would be easier
All the best
Hey all,
I'm about to start developing an open source project for managing android devices from a Linux machine.
Technology stack is going to be;
Symfony (5.1 / PHP 7.4)
VueJs 2.* (ECMAScript 6 / TypeScript/ Buefy)
I'm still setting up the architecture for the backend and yet to begin on the frontend. For the frontend I've got a prebuily VueJs codebase I can use for the frontend architecture
Preliminary road map
Devices details
File manage
Screen interaction (Screenshot, record, touch control)
APK manager
Root / Fastboot tools
Where possible (at least in the beginning) I was to avoid functionality that is specific to devices and custom roms.
If you interested in getting involved drop me a reply on here. Eventually looking to distribute this over APT so would be really good for someone looking to add to or start there portfolio.